@sinch/functions-runtime 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/sinch-runtime.js +4 -4
- package/dist/bin/sinch-runtime.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -686,8 +686,8 @@ async function configureConversationWebhooks(tunnelUrl, config) {
|
|
|
686
686
|
try {
|
|
687
687
|
const conversationAppId = process.env.CONVERSATION_APP_ID;
|
|
688
688
|
const projectId = process.env.PROJECT_ID;
|
|
689
|
-
const keyId = process.env.
|
|
690
|
-
const keySecret = process.env.
|
|
689
|
+
const keyId = process.env.PROJECT_ID_API_KEY;
|
|
690
|
+
const keySecret = process.env.PROJECT_ID_API_SECRET;
|
|
691
691
|
if (!conversationAppId || !projectId || !keyId || !keySecret) {
|
|
692
692
|
console.log("\u{1F4A1} Conversation API not fully configured - skipping webhook setup");
|
|
693
693
|
return;
|
|
@@ -731,8 +731,8 @@ async function cleanupConversationWebhook(config) {
|
|
|
731
731
|
try {
|
|
732
732
|
const conversationAppId = process.env.CONVERSATION_APP_ID;
|
|
733
733
|
const projectId = process.env.PROJECT_ID;
|
|
734
|
-
const keyId = process.env.
|
|
735
|
-
const keySecret = process.env.
|
|
734
|
+
const keyId = process.env.PROJECT_ID_API_KEY;
|
|
735
|
+
const keySecret = process.env.PROJECT_ID_API_SECRET;
|
|
736
736
|
if (!conversationAppId || !projectId || !keyId || !keySecret) return;
|
|
737
737
|
const sinchClient = new SinchClient2({
|
|
738
738
|
projectId,
|