@verdocs/js-sdk 4.2.92 → 4.2.93
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/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1327,8 +1327,9 @@ class VerdocsEndpoint {
|
|
|
1327
1327
|
}
|
|
1328
1328
|
else {
|
|
1329
1329
|
// Required for legacy calls to rForm
|
|
1330
|
-
this.api.defaults.headers.common.signer = token
|
|
1331
|
-
this
|
|
1330
|
+
this.api.defaults.headers.common.signer = `Bearer ${token}`;
|
|
1331
|
+
// TODO: Once we confirm rForm doesn't react badly to this, we can switch over
|
|
1332
|
+
// this.api.defaults.headers.common.Authorization = `Bearer ${token}`;
|
|
1332
1333
|
}
|
|
1333
1334
|
if (this.sessionType === 'user') {
|
|
1334
1335
|
window?.console?.debug('[JS_SDK] Loading current profile...', this.endpointId, this.sub, session.sub);
|