Sohaib Muhammad
CDCloudflare Developers
•Created by Sohaib Muhammad on 4/25/2024 in #workers-help
Dynamic require of "cloudflare:workers" is not supported please help
Trying to implment RPC --> here is my wrangler --> compatibility_date = "2024-04-19"
compatibility_flags = ["nodejs_compat"]
8 replies
CDCloudflare Developers
•Created by Sohaib Muhammad on 4/22/2024 in #general-help
Svix The 'credentials' field on 'RequestInitializerDict' is not implemented
const svix = new Svix(SVIX_API_KEY);
try {
const response = await svix.message.create(SVIX_APP_ID, {
eventType: SVIX_EVENT_TYPE,
eventId: generateUniqueId(),
payload: { ...payload, eventType: SVIX_EVENT_TYPE },
});
return response;
} catch (error) {
console.log('🚀 ~ notify_discord_using_Svix ~ error:', error);
throw error;
}
3 replies