@uniformdev/mesh-sdk 20.74.6-alpha.5 → 20.74.6-alpha.7.sha-23d7a1d929

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/index.esm.js CHANGED
@@ -18,7 +18,7 @@ var _IntegrationDefinitionClient = class _IntegrationDefinitionClient extends Ap
18
18
  const fetchUri = this.createUrl(__privateGet(_IntegrationDefinitionClient, _url), { ...options, teamId });
19
19
  return await this.apiClient(fetchUri);
20
20
  }
21
- /** Creates or updates a mesh app definition on a team. Identity-delegation credentials must be minted separately via {@link rotateCredential}. */
21
+ /** Creates or updates a mesh app definition on a team. Identity-delegation credentials must be minted separately via {@link IntegrationDefinitionClient.rotateCredential}. */
22
22
  async upsert(body) {
23
23
  const fetchUri = this.createUrl(__privateGet(_IntegrationDefinitionClient, _url));
24
24
  return await this.apiClient(fetchUri, {
@@ -167,7 +167,7 @@ var getLogger = (prefix, debug) => {
167
167
  };
168
168
 
169
169
  // src/temp/version.ts
170
- var UNIFORM_MESH_SDK_VERSION = "20.75.0";
170
+ var UNIFORM_MESH_SDK_VERSION = "20.79.0";
171
171
 
172
172
  // src/framepost/constants.ts
173
173
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
package/dist/index.js CHANGED
@@ -64,7 +64,7 @@ var _IntegrationDefinitionClient = class _IntegrationDefinitionClient extends im
64
64
  const fetchUri = this.createUrl(__privateGet(_IntegrationDefinitionClient, _url), { ...options, teamId });
65
65
  return await this.apiClient(fetchUri);
66
66
  }
67
- /** Creates or updates a mesh app definition on a team. Identity-delegation credentials must be minted separately via {@link rotateCredential}. */
67
+ /** Creates or updates a mesh app definition on a team. Identity-delegation credentials must be minted separately via {@link IntegrationDefinitionClient.rotateCredential}. */
68
68
  async upsert(body) {
69
69
  const fetchUri = this.createUrl(__privateGet(_IntegrationDefinitionClient, _url));
70
70
  return await this.apiClient(fetchUri, {
@@ -213,7 +213,7 @@ var getLogger = (prefix, debug) => {
213
213
  };
214
214
 
215
215
  // src/temp/version.ts
216
- var UNIFORM_MESH_SDK_VERSION = "20.75.0";
216
+ var UNIFORM_MESH_SDK_VERSION = "20.79.0";
217
217
 
218
218
  // src/framepost/constants.ts
219
219
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ var _IntegrationDefinitionClient = class _IntegrationDefinitionClient extends Ap
18
18
  const fetchUri = this.createUrl(__privateGet(_IntegrationDefinitionClient, _url), { ...options, teamId });
19
19
  return await this.apiClient(fetchUri);
20
20
  }
21
- /** Creates or updates a mesh app definition on a team. Identity-delegation credentials must be minted separately via {@link rotateCredential}. */
21
+ /** Creates or updates a mesh app definition on a team. Identity-delegation credentials must be minted separately via {@link IntegrationDefinitionClient.rotateCredential}. */
22
22
  async upsert(body) {
23
23
  const fetchUri = this.createUrl(__privateGet(_IntegrationDefinitionClient, _url));
24
24
  return await this.apiClient(fetchUri, {
@@ -167,7 +167,7 @@ var getLogger = (prefix, debug) => {
167
167
  };
168
168
 
169
169
  // src/temp/version.ts
170
- var UNIFORM_MESH_SDK_VERSION = "20.75.0";
170
+ var UNIFORM_MESH_SDK_VERSION = "20.79.0";
171
171
 
172
172
  // src/framepost/constants.ts
173
173
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
@@ -1,6 +1,5 @@
1
1
  import { ApiClient } from '@uniformdev/context/api';
2
2
 
3
- /** @deprecated This beta identity delegation API may change with breaking changes. */
4
3
  interface DelegationTokenClientOptions {
5
4
  /** Uniform API host (e.g. 'https://uniform.app'). */
6
5
  apiHost: string;
@@ -11,7 +10,6 @@ interface DelegationTokenClientOptions {
11
10
  /** Optional fetch implementation. Defaults to global fetch. */
12
11
  fetch?: typeof fetch;
13
12
  }
14
- /** @deprecated This beta identity delegation API may change with breaking changes. */
15
13
  interface DelegationTokenResponse {
16
14
  /** Bearer access token that can be used to call Uniform APIs on behalf of the user. */
17
15
  accessToken: string;
@@ -28,7 +26,6 @@ interface DelegationTokenResponse {
28
26
  * sanitised public message rather than whatever the server happened to return.
29
27
  */
30
28
  type DelegationTokenErrorKind = 'bad_request' | 'unauthenticated' | 'forbidden' | 'not_found' | 'rate_limited' | 'server_error' | 'unknown';
31
- /** @deprecated This beta identity delegation API may change with breaking changes. */
32
29
  declare class DelegationTokenError extends Error {
33
30
  readonly status: number;
34
31
  readonly kind: DelegationTokenErrorKind;
@@ -55,8 +52,6 @@ declare function buildDelegationTokenError(status: number): DelegationTokenError
55
52
  * Extends {@link ApiClient} to inherit concurrency limiting (limitPolicy) and 429 retry
56
53
  * with exponential backoff (handleRateLimits). Auth credentials go in the POST body —
57
54
  * the inherited header-based auth is intentionally unused.
58
- *
59
- * @deprecated This beta identity delegation API may change with breaking changes.
60
55
  */
61
56
  declare class DelegationTokenClient extends ApiClient {
62
57
  #private;
@@ -64,8 +59,6 @@ declare class DelegationTokenClient extends ApiClient {
64
59
  /**
65
60
  * Exchanges a short-lived session token for a delegation token and refresh token.
66
61
  * The session token is obtained by the integration's frontend via `sdk.getSessionToken()`.
67
- *
68
- * @deprecated This beta identity delegation API may change with breaking changes.
69
62
  */
70
63
  exchangeSessionToken(sessionToken: string): Promise<DelegationTokenResponse>;
71
64
  /**
@@ -76,8 +69,6 @@ declare class DelegationTokenClient extends ApiClient {
76
69
  * replayed by an attacker that also has the integration secret until it expires.
77
70
  * Single-use enforcement (refresh-token storage, family/jti tracking, replay revocation)
78
71
  * is tracked in `UNI-9279`.
79
- *
80
- * @deprecated This beta identity delegation API may change with breaking changes.
81
72
  */
82
73
  refreshDelegationToken(refreshToken: string): Promise<DelegationTokenResponse>;
83
74
  }
@@ -343,7 +334,7 @@ interface VerifyDelegationTokenOptions {
343
334
  jwksUrl?: string | URL;
344
335
  /**
345
336
  * Clock tolerance in seconds for `exp` / `nbf` validation.
346
- * @default 2
337
+ * @defaultValue 2
347
338
  */
348
339
  clockToleranceSeconds?: number;
349
340
  }
@@ -69,8 +69,6 @@ var DelegationTokenClient = class extends ApiClient {
69
69
  /**
70
70
  * Exchanges a short-lived session token for a delegation token and refresh token.
71
71
  * The session token is obtained by the integration's frontend via `sdk.getSessionToken()`.
72
- *
73
- * @deprecated This beta identity delegation API may change with breaking changes.
74
72
  */
75
73
  async exchangeSessionToken(sessionToken) {
76
74
  return __privateMethod(this, _DelegationTokenClient_instances, post_fn).call(this, {
@@ -88,8 +86,6 @@ var DelegationTokenClient = class extends ApiClient {
88
86
  * replayed by an attacker that also has the integration secret until it expires.
89
87
  * Single-use enforcement (refresh-token storage, family/jti tracking, replay revocation)
90
88
  * is tracked in `UNI-9279`.
91
- *
92
- * @deprecated This beta identity delegation API may change with breaking changes.
93
89
  */
94
90
  async refreshDelegationToken(refreshToken) {
95
91
  return __privateMethod(this, _DelegationTokenClient_instances, post_fn).call(this, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "20.74.6-alpha.5+aaa8f352b2",
3
+ "version": "20.74.6-alpha.7.sha-23d7a1d929",
4
4
  "description": "Uniform Mesh Framework SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -51,10 +51,10 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@uniformdev/assets": "20.74.6-alpha.5+aaa8f352b2",
55
- "@uniformdev/canvas": "20.74.6-alpha.5+aaa8f352b2",
56
- "@uniformdev/context": "20.74.6-alpha.5+aaa8f352b2",
57
- "@uniformdev/project-map": "20.74.6-alpha.5+aaa8f352b2",
54
+ "@uniformdev/assets": "20.74.6-alpha.7.sha-23d7a1d929",
55
+ "@uniformdev/canvas": "20.74.6-alpha.7.sha-23d7a1d929",
56
+ "@uniformdev/context": "20.74.6-alpha.7.sha-23d7a1d929",
57
+ "@uniformdev/project-map": "20.74.6-alpha.7.sha-23d7a1d929",
58
58
  "cookie": "^1.1.1",
59
59
  "imagesloaded": "^5.0.0",
60
60
  "jose": "^6.2.2",
@@ -62,8 +62,7 @@
62
62
  },
63
63
  "devDependencies": {
64
64
  "@types/imagesloaded": "^4.1.2",
65
- "openai": "6.44.0",
66
- "tsup": "8.5.1"
65
+ "openai": "6.44.0"
67
66
  },
68
- "gitHead": "aaa8f352b2378d4ef9f062e364ebf7336145d95d"
67
+ "gitHead": "23d7a1d929f2626dc09db5965d8aa6d25588d67c"
69
68
  }