@bytescale/sdk 3.0.0-alpha.19 → 3.0.0-alpha.20

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.
@@ -2703,8 +2703,7 @@ var AuthManagerImpl = /*#__PURE__*/function () {
2703
2703
  key: "getAccessTokenUrl",
2704
2704
  value: function getAccessTokenUrl(params) {
2705
2705
  var cdnUrl = BytescaleApiClientConfigUtils.getCdnUrl(params);
2706
- var accountId = BytescaleApiClientConfigUtils.getAccountId(params);
2707
- return "".concat(cdnUrl, "/api/v1/access_tokens/").concat(accountId);
2706
+ return "".concat(cdnUrl, "/api/v1/access_tokens/").concat(params.accountId);
2708
2707
  }
2709
2708
  }, {
2710
2709
  key: "deleteAccessToken",
@@ -1,5 +1,6 @@
1
1
  import { BytescaleApiClientConfig } from "../../public/shared";
2
- export interface BeginAuthSessionParams extends Pick<BytescaleApiClientConfig, "fetchApi" | "cdnUrl" | "apiKey"> {
2
+ export interface BeginAuthSessionParams extends Pick<BytescaleApiClientConfig, "fetchApi" | "cdnUrl"> {
3
+ accountId: string;
3
4
  /**
4
5
  * Headers to send to your backend API.
5
6
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytescale/sdk",
3
- "version": "3.0.0-alpha.19",
3
+ "version": "3.0.0-alpha.20",
4
4
  "description": "Bytescale JavaScript SDK",
5
5
  "author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)",
6
6
  "license": "MIT",