@corti/sdk 1.0.0-rc.2 → 1.0.0-rc.3

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.
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@corti/sdk",
46
- "X-Fern-SDK-Version": "1.0.0-rc.2",
47
- "User-Agent": "@corti/sdk/1.0.0-rc.2",
46
+ "X-Fern-SDK-Version": "1.0.0-rc.3",
47
+ "User-Agent": "@corti/sdk/1.0.0-rc.3",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
@@ -172,7 +172,7 @@ class CortiAuth extends Client_js_1.AuthClient {
172
172
  authorizeURL(_a, options_1) {
173
173
  return __awaiter(this, arguments, void 0, function* ({ clientId, redirectUri, codeChallenge, scopes }, options) {
174
174
  const envUrls = yield core.Supplier.get(this._options.environment);
175
- const tenantName = yield core.Supplier.get(this._options.tenantName);
175
+ const tenantName = yield core.Supplier.get(this._tenantName);
176
176
  const authUrl = new URL(core.url.join(envUrls.login, tenantName, "protocol/openid-connect/auth"));
177
177
  authUrl.searchParams.set("response_type", "code");
178
178
  const allScopes = ["openid", "profile", ...(scopes !== null && scopes !== void 0 ? scopes : [])];
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.0-rc.2";
1
+ export declare const SDK_VERSION = "1.0.0-rc.3";
@@ -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 = "1.0.0-rc.2";
4
+ exports.SDK_VERSION = "1.0.0-rc.3";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@corti/sdk",
9
- "X-Fern-SDK-Version": "1.0.0-rc.2",
10
- "User-Agent": "@corti/sdk/1.0.0-rc.2",
9
+ "X-Fern-SDK-Version": "1.0.0-rc.3",
10
+ "User-Agent": "@corti/sdk/1.0.0-rc.3",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  "Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
@@ -136,7 +136,7 @@ export class CortiAuth extends AuthClient {
136
136
  authorizeURL(_a, options_1) {
137
137
  return __awaiter(this, arguments, void 0, function* ({ clientId, redirectUri, codeChallenge, scopes }, options) {
138
138
  const envUrls = yield core.Supplier.get(this._options.environment);
139
- const tenantName = yield core.Supplier.get(this._options.tenantName);
139
+ const tenantName = yield core.Supplier.get(this._tenantName);
140
140
  const authUrl = new URL(core.url.join(envUrls.login, tenantName, "protocol/openid-connect/auth"));
141
141
  authUrl.searchParams.set("response_type", "code");
142
142
  const allScopes = ["openid", "profile", ...(scopes !== null && scopes !== void 0 ? scopes : [])];
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.0-rc.2";
1
+ export declare const SDK_VERSION = "1.0.0-rc.3";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.0.0-rc.2";
1
+ export const SDK_VERSION = "1.0.0-rc.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corti/sdk",
3
- "version": "1.0.0-rc.2",
3
+ "version": "1.0.0-rc.3",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",