@bytescale/sdk 3.14.0 → 3.15.0

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.
@@ -2600,8 +2600,8 @@ var AuthManagerImpl = /*#__PURE__*/function () {
2600
2600
  return AuthManagerBrowser_await(_this6.setAccessToken(session.params, jwt), function (setTokenResult) {
2601
2601
  _this6.setServiceWorkerConfig(session, [{
2602
2602
  headers: [{
2603
- key: "Authorization-Token",
2604
- value: jwt
2603
+ key: "Authorization",
2604
+ value: "Bearer ".concat(jwt)
2605
2605
  }],
2606
2606
  expires: Date.now() + setTokenResult.ttlSeconds * 1000,
2607
2607
  urlPrefix: "".concat(_this6.getCdnUrl(session.params), "/").concat(session.params.accountId, "/")
@@ -2585,8 +2585,8 @@ var AuthManagerImpl = /*#__PURE__*/function () {
2585
2585
  return AuthManagerBrowser_await(_this6.setAccessToken(session.params, jwt), function (setTokenResult) {
2586
2586
  _this6.setServiceWorkerConfig(session, [{
2587
2587
  headers: [{
2588
- key: "Authorization-Token",
2589
- value: jwt
2588
+ key: "Authorization",
2589
+ value: "Bearer ".concat(jwt)
2590
2590
  }],
2591
2591
  expires: Date.now() + setTokenResult.ttlSeconds * 1000,
2592
2592
  urlPrefix: "".concat(_this6.getCdnUrl(session.params), "/").concat(session.params.accountId, "/")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytescale/sdk",
3
- "version": "3.14.0",
3
+ "version": "3.15.0",
4
4
  "description": "Bytescale JavaScript SDK",
5
5
  "author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)",
6
6
  "license": "MIT",