@corti/sdk 0.0.0-rc → 0.0.0-rc.1

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.
@@ -64,8 +64,8 @@ class CortiClient {
64
64
  "Tenant-Name": _options === null || _options === void 0 ? void 0 : _options.tenantName,
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@corti/sdk",
67
- "X-Fern-SDK-Version": "0.0.0-rc",
68
- "User-Agent": "@corti/sdk/0.0.0-rc",
67
+ "X-Fern-SDK-Version": "0.0.0-rc.1",
68
+ "User-Agent": "@corti/sdk/0.0.0-rc.1",
69
69
  "X-Fern-Runtime": core.RUNTIME.type,
70
70
  "X-Fern-Runtime-Version": core.RUNTIME.version,
71
71
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -2,8 +2,9 @@
2
2
  * RefreshBearerProvider used as a replacement of OAuthTokenProvider, in case when accessToken from outside of library was used instead of Client credentials.
3
3
  */
4
4
  import * as api from "../api/index.js";
5
- type ExpectedTokenResponse = Omit<api.GetTokenResponse, 'tokenType'> & {
5
+ type ExpectedTokenResponse = Omit<api.GetTokenResponse, 'tokenType' | 'expiresIn'> & {
6
6
  tokenType?: string;
7
+ expiresIn?: string;
7
8
  };
8
9
  type RefreshAccessTokenFunction = (refreshToken?: string) => Promise<ExpectedTokenResponse> | ExpectedTokenResponse;
9
10
  export type BearerOptions = Partial<Omit<api.GetTokenResponse, 'accessToken'>> & ({
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.0-rc";
1
+ export declare const SDK_VERSION = "0.0.0-rc.1";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.0-rc";
4
+ exports.SDK_VERSION = "0.0.0-rc.1";
@@ -28,8 +28,8 @@ export class CortiClient {
28
28
  "Tenant-Name": _options === null || _options === void 0 ? void 0 : _options.tenantName,
29
29
  "X-Fern-Language": "JavaScript",
30
30
  "X-Fern-SDK-Name": "@corti/sdk",
31
- "X-Fern-SDK-Version": "0.0.0-rc",
32
- "User-Agent": "@corti/sdk/0.0.0-rc",
31
+ "X-Fern-SDK-Version": "0.0.0-rc.1",
32
+ "User-Agent": "@corti/sdk/0.0.0-rc.1",
33
33
  "X-Fern-Runtime": core.RUNTIME.type,
34
34
  "X-Fern-Runtime-Version": core.RUNTIME.version,
35
35
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -2,8 +2,9 @@
2
2
  * RefreshBearerProvider used as a replacement of OAuthTokenProvider, in case when accessToken from outside of library was used instead of Client credentials.
3
3
  */
4
4
  import * as api from "../api/index.mjs";
5
- type ExpectedTokenResponse = Omit<api.GetTokenResponse, 'tokenType'> & {
5
+ type ExpectedTokenResponse = Omit<api.GetTokenResponse, 'tokenType' | 'expiresIn'> & {
6
6
  tokenType?: string;
7
+ expiresIn?: string;
7
8
  };
8
9
  type RefreshAccessTokenFunction = (refreshToken?: string) => Promise<ExpectedTokenResponse> | ExpectedTokenResponse;
9
10
  export type BearerOptions = Partial<Omit<api.GetTokenResponse, 'accessToken'>> & ({
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.0-rc";
1
+ export declare const SDK_VERSION = "0.0.0-rc.1";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.0-rc";
1
+ export const SDK_VERSION = "0.0.0-rc.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corti/sdk",
3
- "version": "0.0.0-rc",
3
+ "version": "0.0.0-rc.1",
4
4
  "private": false,
5
5
  "repository": "github:corticph/corti-sdk-javascript",
6
6
  "license": "MIT",