@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.
package/dist/browser/cjs/main.js
CHANGED
|
@@ -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
|
-
|
|
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"
|
|
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
|
*
|