@sylergydigital/issue-pin-sdk 0.6.7 → 0.6.8
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/CHANGELOG.md +5 -0
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -446,7 +446,8 @@ function FeedbackProvider({
|
|
|
446
446
|
method: "POST",
|
|
447
447
|
headers: {
|
|
448
448
|
"Content-Type": "application/json",
|
|
449
|
-
Authorization: `Bearer ${autoIdentity.accessToken}
|
|
449
|
+
Authorization: `Bearer ${autoIdentity.accessToken}`,
|
|
450
|
+
apikey: resolved.supabaseAnonKey
|
|
450
451
|
},
|
|
451
452
|
body: JSON.stringify({
|
|
452
453
|
apiKey: config.apiKey,
|
|
@@ -464,7 +465,7 @@ function FeedbackProvider({
|
|
|
464
465
|
return;
|
|
465
466
|
}
|
|
466
467
|
window.open(`${baseUrl}${threadPath}`, "_blank", "noopener,noreferrer");
|
|
467
|
-
}, [resolved.supabaseUrl, resolved.siteUrl, config.apiKey, autoIdentity.accessToken]);
|
|
468
|
+
}, [resolved.supabaseUrl, resolved.supabaseAnonKey, resolved.siteUrl, config.apiKey, autoIdentity.accessToken]);
|
|
468
469
|
return /* @__PURE__ */ jsx(
|
|
469
470
|
FeedbackProviderInner,
|
|
470
471
|
{
|