@cross-deck/node 1.11.0 → 1.12.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.
- package/CHANGELOG.md +26 -0
- package/README.md +25 -3
- package/dist/auto-events/index.d.mts +1 -1
- package/dist/auto-events/index.d.ts +1 -1
- package/dist/{crossdeck-server-DAQX_7rm.d.mts → crossdeck-server-CuTGwrwx.d.mts} +12 -2
- package/dist/{crossdeck-server-DAQX_7rm.d.ts → crossdeck-server-CuTGwrwx.d.ts} +12 -2
- package/dist/index.cjs +18 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +18 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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-
|
|
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.
|
|
20
|
+
declare const SDK_VERSION = "1.12.1";
|
|
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-
|
|
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.
|
|
20
|
+
declare const SDK_VERSION = "1.12.1";
|
|
21
21
|
declare const SDK_NAME = "@cross-deck/node";
|
|
22
22
|
|
|
23
23
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -329,12 +329,12 @@ function byteLength(s) {
|
|
|
329
329
|
import * as https from "https";
|
|
330
330
|
|
|
331
331
|
// src/_version.ts
|
|
332
|
-
var SDK_VERSION = "1.
|
|
332
|
+
var SDK_VERSION = "1.12.1";
|
|
333
333
|
var SDK_NAME = "@cross-deck/node";
|
|
334
334
|
|
|
335
335
|
// src/_diagnostic-telemetry.ts
|
|
336
336
|
var DIAGNOSTIC_TELEMETRY_ENDPOINT = "https://api.cross-deck.com/v1/sdk/diagnostic";
|
|
337
|
-
var DIAGNOSTIC_TELEMETRY_PUBLISHABLE_KEY = "
|
|
337
|
+
var DIAGNOSTIC_TELEMETRY_PUBLISHABLE_KEY = "cd_pub_live_eea2f84dbb834a45b7";
|
|
338
338
|
function isDiagnosticTelemetryEnabled() {
|
|
339
339
|
return !DIAGNOSTIC_TELEMETRY_PUBLISHABLE_KEY.startsWith(
|
|
340
340
|
"cd_pub_RELIABILITY_PLACEHOLDER"
|
|
@@ -3151,6 +3151,7 @@ var CrossdeckServer = class extends EventEmitter {
|
|
|
3151
3151
|
blockedKey: raw.blockedKey ?? null,
|
|
3152
3152
|
reference: raw.reference ?? null,
|
|
3153
3153
|
supportEmail: raw.supportEmail ?? null,
|
|
3154
|
+
blockEventId: raw.blockEventId ?? null,
|
|
3154
3155
|
status: typeof raw.status === "string" ? raw.status : "active",
|
|
3155
3156
|
entitlements: Array.isArray(raw.entitlements) ? raw.entitlements.filter((e) => typeof e === "string") : [],
|
|
3156
3157
|
crossdeckCustomerId: raw.crossdeckCustomerId ?? raw.user?.id ?? null,
|
|
@@ -3262,7 +3263,8 @@ var CrossdeckServer = class extends EventEmitter {
|
|
|
3262
3263
|
blockReason: raw.blockReason ?? null,
|
|
3263
3264
|
blockedKey: raw.blockedKey ?? null,
|
|
3264
3265
|
reference: raw.reference ?? null,
|
|
3265
|
-
supportEmail: raw.supportEmail ?? null
|
|
3266
|
+
supportEmail: raw.supportEmail ?? null,
|
|
3267
|
+
blockEventId: raw.blockEventId ?? null
|
|
3266
3268
|
};
|
|
3267
3269
|
} catch (err) {
|
|
3268
3270
|
this.debug.emit(
|
|
@@ -4720,8 +4722,8 @@ function normaliseSecrets(input) {
|
|
|
4720
4722
|
}
|
|
4721
4723
|
|
|
4722
4724
|
// src/_contracts-bundled.ts
|
|
4723
|
-
var BUNDLED_IN = "@cross-deck/node@1.
|
|
4724
|
-
var SDK_VERSION2 = "1.
|
|
4725
|
+
var BUNDLED_IN = "@cross-deck/node@1.12.0";
|
|
4726
|
+
var SDK_VERSION2 = "1.12.0";
|
|
4725
4727
|
var BUNDLED_CONTRACTS = Object.freeze([
|
|
4726
4728
|
{
|
|
4727
4729
|
"id": "contract-failed-payload-schema-lock",
|
|
@@ -4843,7 +4845,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
4843
4845
|
"legal/security/index.html#diagnostic",
|
|
4844
4846
|
"legal/sdk-data/index.html#b-diagnostic"
|
|
4845
4847
|
],
|
|
4846
|
-
"bundledIn": "@cross-deck/node@1.
|
|
4848
|
+
"bundledIn": "@cross-deck/node@1.12.0"
|
|
4847
4849
|
},
|
|
4848
4850
|
{
|
|
4849
4851
|
"id": "documentation-honesty",
|
|
@@ -4875,7 +4877,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
4875
4877
|
],
|
|
4876
4878
|
"registeredAt": "2026-05-26",
|
|
4877
4879
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 7.1",
|
|
4878
|
-
"bundledIn": "@cross-deck/node@1.
|
|
4880
|
+
"bundledIn": "@cross-deck/node@1.12.0"
|
|
4879
4881
|
},
|
|
4880
4882
|
{
|
|
4881
4883
|
"id": "error-envelope-shape",
|
|
@@ -4914,7 +4916,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
4914
4916
|
],
|
|
4915
4917
|
"registeredAt": "2026-05-26",
|
|
4916
4918
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 8 (codifies existing contract)",
|
|
4917
|
-
"bundledIn": "@cross-deck/node@1.
|
|
4919
|
+
"bundledIn": "@cross-deck/node@1.12.0"
|
|
4918
4920
|
},
|
|
4919
4921
|
{
|
|
4920
4922
|
"id": "flush-interval-parity",
|
|
@@ -4959,7 +4961,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
4959
4961
|
],
|
|
4960
4962
|
"registeredAt": "2026-05-26",
|
|
4961
4963
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 3.3",
|
|
4962
|
-
"bundledIn": "@cross-deck/node@1.
|
|
4964
|
+
"bundledIn": "@cross-deck/node@1.12.0"
|
|
4963
4965
|
},
|
|
4964
4966
|
{
|
|
4965
4967
|
"id": "idempotency-key-deterministic",
|
|
@@ -5064,7 +5066,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5064
5066
|
],
|
|
5065
5067
|
"registeredAt": "2026-05-26",
|
|
5066
5068
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 2.2.a + 2.2.b + 2.2.c",
|
|
5067
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5069
|
+
"bundledIn": "@cross-deck/node@1.12.0"
|
|
5068
5070
|
},
|
|
5069
5071
|
{
|
|
5070
5072
|
"id": "invalid-input-rejected-natively",
|
|
@@ -5120,7 +5122,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5120
5122
|
],
|
|
5121
5123
|
"registeredAt": "2026-06-11",
|
|
5122
5124
|
"firstRegisteredIn": "swift trap-on-input class fix \u2014 first machine-tested Swift release",
|
|
5123
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5125
|
+
"bundledIn": "@cross-deck/node@1.12.0"
|
|
5124
5126
|
},
|
|
5125
5127
|
{
|
|
5126
5128
|
"id": "node-pii-scrubber",
|
|
@@ -5159,7 +5161,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5159
5161
|
],
|
|
5160
5162
|
"registeredAt": "2026-05-26",
|
|
5161
5163
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 3.1",
|
|
5162
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5164
|
+
"bundledIn": "@cross-deck/node@1.12.0"
|
|
5163
5165
|
},
|
|
5164
5166
|
{
|
|
5165
5167
|
"id": "node-shutdown-awaits-flush",
|
|
@@ -5192,7 +5194,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5192
5194
|
],
|
|
5193
5195
|
"registeredAt": "2026-05-26",
|
|
5194
5196
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 5.4",
|
|
5195
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5197
|
+
"bundledIn": "@cross-deck/node@1.12.0"
|
|
5196
5198
|
},
|
|
5197
5199
|
{
|
|
5198
5200
|
"id": "sdk-error-codes-catalogue",
|
|
@@ -5237,7 +5239,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5237
5239
|
],
|
|
5238
5240
|
"registeredAt": "2026-05-26",
|
|
5239
5241
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 6.2",
|
|
5240
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5242
|
+
"bundledIn": "@cross-deck/node@1.12.0"
|
|
5241
5243
|
},
|
|
5242
5244
|
{
|
|
5243
5245
|
"id": "sync-purchases-funnel-parity",
|
|
@@ -5270,7 +5272,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5270
5272
|
],
|
|
5271
5273
|
"registeredAt": "2026-05-26",
|
|
5272
5274
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 3.5",
|
|
5273
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5275
|
+
"bundledIn": "@cross-deck/node@1.12.0"
|
|
5274
5276
|
},
|
|
5275
5277
|
{
|
|
5276
5278
|
"id": "verifier-timestamp-mandatory",
|
|
@@ -5324,7 +5326,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5324
5326
|
],
|
|
5325
5327
|
"registeredAt": "2026-05-26",
|
|
5326
5328
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 7.2",
|
|
5327
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5329
|
+
"bundledIn": "@cross-deck/node@1.12.0"
|
|
5328
5330
|
}
|
|
5329
5331
|
]);
|
|
5330
5332
|
|