@cross-deck/node 1.10.1 → 1.12.0

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.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as AliasIdentityInput, a as AliasResult, b as AuditDecision, c as AuditEntry, B as BlockVerdict, d as Breadcrumb, e as BreadcrumbCategory, f as BreadcrumbLevel, C as CROSSDECK_API_VERSION, g as CapturedError, h as Contract, i as ContractAppliesTo, j as ContractFailureInput, k as ContractPillar, l as ContractStatus, m as ContractTestRef, n as CrossdeckAuthenticationError, o as CrossdeckConfigurationError, p as CrossdeckContracts, q as CrossdeckError, r as CrossdeckErrorPayload, s as CrossdeckErrorType, t as CrossdeckInternalError, u as CrossdeckNetworkError, v as CrossdeckPermissionError, w as CrossdeckRateLimitError, x as CrossdeckServer, y as CrossdeckServerOptions, z as CrossdeckValidationError, D as DEFAULT_BASE_URL, E as DEFAULT_TIMEOUT_MS, F as Diagnostics, G as EntitlementCacheOptions, H as EntitlementMutationResult, I as EntitlementStore, J as EntitlementsListResponse, K as EntitlementsListener, L as Environment, M as ErrorCaptureConfig, N as ErrorLevel, O as EventProperties, P as ForgetResult, Q as GateInput, R as GateVerdict, S as GrantDuration, T as GrantEntitlementInput, U as GroupMembership, V as HeartbeatResponse, W as HttpRequestInfo, X as HttpResponseInfo, Y as HttpRetriesConfig, Z as IdentifyOptions, _ as IdentityHints, $ as IngestOptions, a0 as IngestResponse, a1 as OwnerStatusInput, a2 as PublicEntitlement, a3 as PurchaseResult, a4 as RequestOptions, a5 as ResolveInput, a6 as ResolveResult, a7 as RevokeEntitlementInput, a8 as RuntimeHost, a9 as RuntimeInfo, aa as ServerEvent, ab as StackFrame, ac as StoredEntitlements, ad as SyncPurchaseInput, ae as makeCrossdeckError } from './crossdeck-server-BpBVFC4O.mjs';
1
+ export { A as AliasIdentityInput, a as AliasResult, b as AuditDecision, c as AuditEntry, B as BlockVerdict, d as Breadcrumb, e as BreadcrumbCategory, f as BreadcrumbLevel, C as CROSSDECK_API_VERSION, g as CapturedError, h as Contract, i as ContractAppliesTo, j as ContractFailureInput, k as ContractPillar, l as ContractStatus, m as ContractTestRef, n as CrossdeckAuthenticationError, o as CrossdeckConfigurationError, p as CrossdeckContracts, q as CrossdeckError, r as CrossdeckErrorPayload, s as CrossdeckErrorType, t as CrossdeckInternalError, u as CrossdeckNetworkError, v as CrossdeckPermissionError, w as CrossdeckRateLimitError, x as CrossdeckServer, y as CrossdeckServerOptions, z as CrossdeckValidationError, D as DEFAULT_BASE_URL, E as DEFAULT_TIMEOUT_MS, F as Diagnostics, G as EntitlementCacheOptions, H as EntitlementMutationResult, I as EntitlementStore, J as EntitlementsListResponse, K as EntitlementsListener, L as Environment, M as ErrorCaptureConfig, N as ErrorLevel, O as EventProperties, P as ForgetResult, Q as GateInput, R as GateVerdict, S as GrantDuration, T as GrantEntitlementInput, U as GroupMembership, V as HeartbeatResponse, W as HttpRequestInfo, X as HttpResponseInfo, Y as HttpRetriesConfig, Z as IdentifyOptions, _ as IdentityHints, $ as IngestOptions, a0 as IngestResponse, a1 as OwnerStatusInput, a2 as PublicEntitlement, a3 as PurchaseResult, a4 as RequestOptions, a5 as ResolveInput, a6 as ResolveResult, a7 as RevokeEntitlementInput, a8 as RuntimeHost, a9 as RuntimeInfo, aa as ServerEvent, ab as StackFrame, ac as StoredEntitlements, ad as SyncPurchaseInput, ae as makeCrossdeckError } from './crossdeck-server-CuTGwrwx.mjs';
2
2
  import 'node:events';
3
3
 
4
4
  /**
@@ -17,7 +17,7 @@ import 'node:events';
17
17
  *
18
18
  * Do NOT edit by hand — `node scripts/sync-sdk-versions.mjs`.
19
19
  */
20
- declare const SDK_VERSION = "1.10.1";
20
+ declare const SDK_VERSION = "1.12.0";
21
21
  declare const SDK_NAME = "@cross-deck/node";
22
22
 
23
23
  /**
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as AliasIdentityInput, a as AliasResult, b as AuditDecision, c as AuditEntry, B as BlockVerdict, d as Breadcrumb, e as BreadcrumbCategory, f as BreadcrumbLevel, C as CROSSDECK_API_VERSION, g as CapturedError, h as Contract, i as ContractAppliesTo, j as ContractFailureInput, k as ContractPillar, l as ContractStatus, m as ContractTestRef, n as CrossdeckAuthenticationError, o as CrossdeckConfigurationError, p as CrossdeckContracts, q as CrossdeckError, r as CrossdeckErrorPayload, s as CrossdeckErrorType, t as CrossdeckInternalError, u as CrossdeckNetworkError, v as CrossdeckPermissionError, w as CrossdeckRateLimitError, x as CrossdeckServer, y as CrossdeckServerOptions, z as CrossdeckValidationError, D as DEFAULT_BASE_URL, E as DEFAULT_TIMEOUT_MS, F as Diagnostics, G as EntitlementCacheOptions, H as EntitlementMutationResult, I as EntitlementStore, J as EntitlementsListResponse, K as EntitlementsListener, L as Environment, M as ErrorCaptureConfig, N as ErrorLevel, O as EventProperties, P as ForgetResult, Q as GateInput, R as GateVerdict, S as GrantDuration, T as GrantEntitlementInput, U as GroupMembership, V as HeartbeatResponse, W as HttpRequestInfo, X as HttpResponseInfo, Y as HttpRetriesConfig, Z as IdentifyOptions, _ as IdentityHints, $ as IngestOptions, a0 as IngestResponse, a1 as OwnerStatusInput, a2 as PublicEntitlement, a3 as PurchaseResult, a4 as RequestOptions, a5 as ResolveInput, a6 as ResolveResult, a7 as RevokeEntitlementInput, a8 as RuntimeHost, a9 as RuntimeInfo, aa as ServerEvent, ab as StackFrame, ac as StoredEntitlements, ad as SyncPurchaseInput, ae as makeCrossdeckError } from './crossdeck-server-BpBVFC4O.js';
1
+ export { A as AliasIdentityInput, a as AliasResult, b as AuditDecision, c as AuditEntry, B as BlockVerdict, d as Breadcrumb, e as BreadcrumbCategory, f as BreadcrumbLevel, C as CROSSDECK_API_VERSION, g as CapturedError, h as Contract, i as ContractAppliesTo, j as ContractFailureInput, k as ContractPillar, l as ContractStatus, m as ContractTestRef, n as CrossdeckAuthenticationError, o as CrossdeckConfigurationError, p as CrossdeckContracts, q as CrossdeckError, r as CrossdeckErrorPayload, s as CrossdeckErrorType, t as CrossdeckInternalError, u as CrossdeckNetworkError, v as CrossdeckPermissionError, w as CrossdeckRateLimitError, x as CrossdeckServer, y as CrossdeckServerOptions, z as CrossdeckValidationError, D as DEFAULT_BASE_URL, E as DEFAULT_TIMEOUT_MS, F as Diagnostics, G as EntitlementCacheOptions, H as EntitlementMutationResult, I as EntitlementStore, J as EntitlementsListResponse, K as EntitlementsListener, L as Environment, M as ErrorCaptureConfig, N as ErrorLevel, O as EventProperties, P as ForgetResult, Q as GateInput, R as GateVerdict, S as GrantDuration, T as GrantEntitlementInput, U as GroupMembership, V as HeartbeatResponse, W as HttpRequestInfo, X as HttpResponseInfo, Y as HttpRetriesConfig, Z as IdentifyOptions, _ as IdentityHints, $ as IngestOptions, a0 as IngestResponse, a1 as OwnerStatusInput, a2 as PublicEntitlement, a3 as PurchaseResult, a4 as RequestOptions, a5 as ResolveInput, a6 as ResolveResult, a7 as RevokeEntitlementInput, a8 as RuntimeHost, a9 as RuntimeInfo, aa as ServerEvent, ab as StackFrame, ac as StoredEntitlements, ad as SyncPurchaseInput, ae as makeCrossdeckError } from './crossdeck-server-CuTGwrwx.js';
2
2
  import 'node:events';
3
3
 
4
4
  /**
@@ -17,7 +17,7 @@ import 'node:events';
17
17
  *
18
18
  * Do NOT edit by hand — `node scripts/sync-sdk-versions.mjs`.
19
19
  */
20
- declare const SDK_VERSION = "1.10.1";
20
+ declare const SDK_VERSION = "1.12.0";
21
21
  declare const SDK_NAME = "@cross-deck/node";
22
22
 
23
23
  /**
package/dist/index.mjs CHANGED
@@ -329,7 +329,7 @@ function byteLength(s) {
329
329
  import * as https from "https";
330
330
 
331
331
  // src/_version.ts
332
- var SDK_VERSION = "1.10.1";
332
+ var SDK_VERSION = "1.12.0";
333
333
  var SDK_NAME = "@cross-deck/node";
334
334
 
335
335
  // src/_diagnostic-telemetry.ts
@@ -3149,6 +3149,9 @@ var CrossdeckServer = class extends EventEmitter {
3149
3149
  blocked: raw.blocked === true,
3150
3150
  blockReason: raw.blockReason ?? null,
3151
3151
  blockedKey: raw.blockedKey ?? null,
3152
+ reference: raw.reference ?? null,
3153
+ supportEmail: raw.supportEmail ?? null,
3154
+ blockEventId: raw.blockEventId ?? null,
3152
3155
  status: typeof raw.status === "string" ? raw.status : "active",
3153
3156
  entitlements: Array.isArray(raw.entitlements) ? raw.entitlements.filter((e) => typeof e === "string") : [],
3154
3157
  crossdeckCustomerId: raw.crossdeckCustomerId ?? raw.user?.id ?? null,
@@ -3258,7 +3261,10 @@ var CrossdeckServer = class extends EventEmitter {
3258
3261
  action,
3259
3262
  allow: raw.allow !== false && action !== "block",
3260
3263
  blockReason: raw.blockReason ?? null,
3261
- blockedKey: raw.blockedKey ?? null
3264
+ blockedKey: raw.blockedKey ?? null,
3265
+ reference: raw.reference ?? null,
3266
+ supportEmail: raw.supportEmail ?? null,
3267
+ blockEventId: raw.blockEventId ?? null
3262
3268
  };
3263
3269
  } catch (err) {
3264
3270
  this.debug.emit(
@@ -4716,8 +4722,8 @@ function normaliseSecrets(input) {
4716
4722
  }
4717
4723
 
4718
4724
  // src/_contracts-bundled.ts
4719
- var BUNDLED_IN = "@cross-deck/node@1.10.1";
4720
- var SDK_VERSION2 = "1.10.1";
4725
+ var BUNDLED_IN = "@cross-deck/node@1.12.0";
4726
+ var SDK_VERSION2 = "1.12.0";
4721
4727
  var BUNDLED_CONTRACTS = Object.freeze([
4722
4728
  {
4723
4729
  "id": "contract-failed-payload-schema-lock",
@@ -4839,7 +4845,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
4839
4845
  "legal/security/index.html#diagnostic",
4840
4846
  "legal/sdk-data/index.html#b-diagnostic"
4841
4847
  ],
4842
- "bundledIn": "@cross-deck/node@1.10.1"
4848
+ "bundledIn": "@cross-deck/node@1.12.0"
4843
4849
  },
4844
4850
  {
4845
4851
  "id": "documentation-honesty",
@@ -4871,7 +4877,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
4871
4877
  ],
4872
4878
  "registeredAt": "2026-05-26",
4873
4879
  "firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 7.1",
4874
- "bundledIn": "@cross-deck/node@1.10.1"
4880
+ "bundledIn": "@cross-deck/node@1.12.0"
4875
4881
  },
4876
4882
  {
4877
4883
  "id": "error-envelope-shape",
@@ -4910,7 +4916,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
4910
4916
  ],
4911
4917
  "registeredAt": "2026-05-26",
4912
4918
  "firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 8 (codifies existing contract)",
4913
- "bundledIn": "@cross-deck/node@1.10.1"
4919
+ "bundledIn": "@cross-deck/node@1.12.0"
4914
4920
  },
4915
4921
  {
4916
4922
  "id": "flush-interval-parity",
@@ -4955,7 +4961,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
4955
4961
  ],
4956
4962
  "registeredAt": "2026-05-26",
4957
4963
  "firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 3.3",
4958
- "bundledIn": "@cross-deck/node@1.10.1"
4964
+ "bundledIn": "@cross-deck/node@1.12.0"
4959
4965
  },
4960
4966
  {
4961
4967
  "id": "idempotency-key-deterministic",
@@ -5060,7 +5066,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
5060
5066
  ],
5061
5067
  "registeredAt": "2026-05-26",
5062
5068
  "firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 2.2.a + 2.2.b + 2.2.c",
5063
- "bundledIn": "@cross-deck/node@1.10.1"
5069
+ "bundledIn": "@cross-deck/node@1.12.0"
5064
5070
  },
5065
5071
  {
5066
5072
  "id": "invalid-input-rejected-natively",
@@ -5116,7 +5122,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
5116
5122
  ],
5117
5123
  "registeredAt": "2026-06-11",
5118
5124
  "firstRegisteredIn": "swift trap-on-input class fix \u2014 first machine-tested Swift release",
5119
- "bundledIn": "@cross-deck/node@1.10.1"
5125
+ "bundledIn": "@cross-deck/node@1.12.0"
5120
5126
  },
5121
5127
  {
5122
5128
  "id": "node-pii-scrubber",
@@ -5155,7 +5161,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
5155
5161
  ],
5156
5162
  "registeredAt": "2026-05-26",
5157
5163
  "firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 3.1",
5158
- "bundledIn": "@cross-deck/node@1.10.1"
5164
+ "bundledIn": "@cross-deck/node@1.12.0"
5159
5165
  },
5160
5166
  {
5161
5167
  "id": "node-shutdown-awaits-flush",
@@ -5188,7 +5194,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
5188
5194
  ],
5189
5195
  "registeredAt": "2026-05-26",
5190
5196
  "firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 5.4",
5191
- "bundledIn": "@cross-deck/node@1.10.1"
5197
+ "bundledIn": "@cross-deck/node@1.12.0"
5192
5198
  },
5193
5199
  {
5194
5200
  "id": "sdk-error-codes-catalogue",
@@ -5233,7 +5239,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
5233
5239
  ],
5234
5240
  "registeredAt": "2026-05-26",
5235
5241
  "firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 6.2",
5236
- "bundledIn": "@cross-deck/node@1.10.1"
5242
+ "bundledIn": "@cross-deck/node@1.12.0"
5237
5243
  },
5238
5244
  {
5239
5245
  "id": "sync-purchases-funnel-parity",
@@ -5266,7 +5272,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
5266
5272
  ],
5267
5273
  "registeredAt": "2026-05-26",
5268
5274
  "firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 3.5",
5269
- "bundledIn": "@cross-deck/node@1.10.1"
5275
+ "bundledIn": "@cross-deck/node@1.12.0"
5270
5276
  },
5271
5277
  {
5272
5278
  "id": "verifier-timestamp-mandatory",
@@ -5320,7 +5326,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
5320
5326
  ],
5321
5327
  "registeredAt": "2026-05-26",
5322
5328
  "firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 7.2",
5323
- "bundledIn": "@cross-deck/node@1.10.1"
5329
+ "bundledIn": "@cross-deck/node@1.12.0"
5324
5330
  }
5325
5331
  ]);
5326
5332