@cross-deck/node 1.10.1 → 1.11.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/CHANGELOG.md +15 -0
- package/dist/auto-events/index.d.mts +1 -1
- package/dist/auto-events/index.d.ts +1 -1
- package/dist/{crossdeck-server-BpBVFC4O.d.mts → crossdeck-server-DAQX_7rm.d.mts} +18 -2
- package/dist/{crossdeck-server-BpBVFC4O.d.ts → crossdeck-server-DAQX_7rm.d.ts} +18 -2
- package/dist/index.cjs +19 -15
- 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 +19 -15
- 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-DAQX_7rm.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.11.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-
|
|
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-DAQX_7rm.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.11.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.
|
|
332
|
+
var SDK_VERSION = "1.11.0";
|
|
333
333
|
var SDK_NAME = "@cross-deck/node";
|
|
334
334
|
|
|
335
335
|
// src/_diagnostic-telemetry.ts
|
|
@@ -3149,6 +3149,8 @@ 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,
|
|
3152
3154
|
status: typeof raw.status === "string" ? raw.status : "active",
|
|
3153
3155
|
entitlements: Array.isArray(raw.entitlements) ? raw.entitlements.filter((e) => typeof e === "string") : [],
|
|
3154
3156
|
crossdeckCustomerId: raw.crossdeckCustomerId ?? raw.user?.id ?? null,
|
|
@@ -3258,7 +3260,9 @@ var CrossdeckServer = class extends EventEmitter {
|
|
|
3258
3260
|
action,
|
|
3259
3261
|
allow: raw.allow !== false && action !== "block",
|
|
3260
3262
|
blockReason: raw.blockReason ?? null,
|
|
3261
|
-
blockedKey: raw.blockedKey ?? null
|
|
3263
|
+
blockedKey: raw.blockedKey ?? null,
|
|
3264
|
+
reference: raw.reference ?? null,
|
|
3265
|
+
supportEmail: raw.supportEmail ?? null
|
|
3262
3266
|
};
|
|
3263
3267
|
} catch (err) {
|
|
3264
3268
|
this.debug.emit(
|
|
@@ -4716,8 +4720,8 @@ function normaliseSecrets(input) {
|
|
|
4716
4720
|
}
|
|
4717
4721
|
|
|
4718
4722
|
// src/_contracts-bundled.ts
|
|
4719
|
-
var BUNDLED_IN = "@cross-deck/node@1.
|
|
4720
|
-
var SDK_VERSION2 = "1.
|
|
4723
|
+
var BUNDLED_IN = "@cross-deck/node@1.11.0";
|
|
4724
|
+
var SDK_VERSION2 = "1.11.0";
|
|
4721
4725
|
var BUNDLED_CONTRACTS = Object.freeze([
|
|
4722
4726
|
{
|
|
4723
4727
|
"id": "contract-failed-payload-schema-lock",
|
|
@@ -4839,7 +4843,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
4839
4843
|
"legal/security/index.html#diagnostic",
|
|
4840
4844
|
"legal/sdk-data/index.html#b-diagnostic"
|
|
4841
4845
|
],
|
|
4842
|
-
"bundledIn": "@cross-deck/node@1.
|
|
4846
|
+
"bundledIn": "@cross-deck/node@1.11.0"
|
|
4843
4847
|
},
|
|
4844
4848
|
{
|
|
4845
4849
|
"id": "documentation-honesty",
|
|
@@ -4871,7 +4875,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
4871
4875
|
],
|
|
4872
4876
|
"registeredAt": "2026-05-26",
|
|
4873
4877
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 7.1",
|
|
4874
|
-
"bundledIn": "@cross-deck/node@1.
|
|
4878
|
+
"bundledIn": "@cross-deck/node@1.11.0"
|
|
4875
4879
|
},
|
|
4876
4880
|
{
|
|
4877
4881
|
"id": "error-envelope-shape",
|
|
@@ -4910,7 +4914,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
4910
4914
|
],
|
|
4911
4915
|
"registeredAt": "2026-05-26",
|
|
4912
4916
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 8 (codifies existing contract)",
|
|
4913
|
-
"bundledIn": "@cross-deck/node@1.
|
|
4917
|
+
"bundledIn": "@cross-deck/node@1.11.0"
|
|
4914
4918
|
},
|
|
4915
4919
|
{
|
|
4916
4920
|
"id": "flush-interval-parity",
|
|
@@ -4955,7 +4959,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
4955
4959
|
],
|
|
4956
4960
|
"registeredAt": "2026-05-26",
|
|
4957
4961
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 3.3",
|
|
4958
|
-
"bundledIn": "@cross-deck/node@1.
|
|
4962
|
+
"bundledIn": "@cross-deck/node@1.11.0"
|
|
4959
4963
|
},
|
|
4960
4964
|
{
|
|
4961
4965
|
"id": "idempotency-key-deterministic",
|
|
@@ -5060,7 +5064,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5060
5064
|
],
|
|
5061
5065
|
"registeredAt": "2026-05-26",
|
|
5062
5066
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 2.2.a + 2.2.b + 2.2.c",
|
|
5063
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5067
|
+
"bundledIn": "@cross-deck/node@1.11.0"
|
|
5064
5068
|
},
|
|
5065
5069
|
{
|
|
5066
5070
|
"id": "invalid-input-rejected-natively",
|
|
@@ -5116,7 +5120,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5116
5120
|
],
|
|
5117
5121
|
"registeredAt": "2026-06-11",
|
|
5118
5122
|
"firstRegisteredIn": "swift trap-on-input class fix \u2014 first machine-tested Swift release",
|
|
5119
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5123
|
+
"bundledIn": "@cross-deck/node@1.11.0"
|
|
5120
5124
|
},
|
|
5121
5125
|
{
|
|
5122
5126
|
"id": "node-pii-scrubber",
|
|
@@ -5155,7 +5159,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5155
5159
|
],
|
|
5156
5160
|
"registeredAt": "2026-05-26",
|
|
5157
5161
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 3.1",
|
|
5158
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5162
|
+
"bundledIn": "@cross-deck/node@1.11.0"
|
|
5159
5163
|
},
|
|
5160
5164
|
{
|
|
5161
5165
|
"id": "node-shutdown-awaits-flush",
|
|
@@ -5188,7 +5192,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5188
5192
|
],
|
|
5189
5193
|
"registeredAt": "2026-05-26",
|
|
5190
5194
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 5.4",
|
|
5191
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5195
|
+
"bundledIn": "@cross-deck/node@1.11.0"
|
|
5192
5196
|
},
|
|
5193
5197
|
{
|
|
5194
5198
|
"id": "sdk-error-codes-catalogue",
|
|
@@ -5233,7 +5237,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5233
5237
|
],
|
|
5234
5238
|
"registeredAt": "2026-05-26",
|
|
5235
5239
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 6.2",
|
|
5236
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5240
|
+
"bundledIn": "@cross-deck/node@1.11.0"
|
|
5237
5241
|
},
|
|
5238
5242
|
{
|
|
5239
5243
|
"id": "sync-purchases-funnel-parity",
|
|
@@ -5266,7 +5270,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5266
5270
|
],
|
|
5267
5271
|
"registeredAt": "2026-05-26",
|
|
5268
5272
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 3.5",
|
|
5269
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5273
|
+
"bundledIn": "@cross-deck/node@1.11.0"
|
|
5270
5274
|
},
|
|
5271
5275
|
{
|
|
5272
5276
|
"id": "verifier-timestamp-mandatory",
|
|
@@ -5320,7 +5324,7 @@ var BUNDLED_CONTRACTS = Object.freeze([
|
|
|
5320
5324
|
],
|
|
5321
5325
|
"registeredAt": "2026-05-26",
|
|
5322
5326
|
"firstRegisteredIn": "bank-grade reconciliation v1.4.0 \u2014 phase 7.2",
|
|
5323
|
-
"bundledIn": "@cross-deck/node@1.
|
|
5327
|
+
"bundledIn": "@cross-deck/node@1.11.0"
|
|
5324
5328
|
}
|
|
5325
5329
|
]);
|
|
5326
5330
|
|