@cross-deck/web 1.6.1 → 1.6.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.
- package/CHANGELOG.md +43 -0
- package/dist/contracts.json +58 -12
- package/dist/crossdeck.umd.min.js +2 -2
- package/dist/crossdeck.umd.min.js.map +1 -1
- package/dist/error-codes.json +1 -1
- package/dist/index.cjs +343 -218
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +18 -3
- package/dist/index.d.ts +18 -3
- package/dist/index.mjs +343 -218
- package/dist/index.mjs.map +1 -1
- package/dist/react.cjs +278 -4
- package/dist/react.cjs.map +1 -1
- package/dist/react.mjs +278 -4
- package/dist/react.mjs.map +1 -1
- package/dist/vue.cjs +278 -4
- package/dist/vue.cjs.map +1 -1
- package/dist/vue.mjs +278 -4
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -194,6 +194,21 @@ interface Contract {
|
|
|
194
194
|
readonly firstRegisteredIn: string;
|
|
195
195
|
/** The SDK release this snapshot was bundled with, stamped at build time. */
|
|
196
196
|
readonly bundledIn: string;
|
|
197
|
+
/**
|
|
198
|
+
* Whether THIS SDK self-verifies this contract at runtime (a verifier is
|
|
199
|
+
* registered in the SDK's `STATIC_VERIFIERS` harness, emitting
|
|
200
|
+
* `crossdeck.contract_failed` live), vs. proven by CI tests only.
|
|
201
|
+
*
|
|
202
|
+
* DERIVED at bundle time from the verifier registry — never hand-set —
|
|
203
|
+
* so the registry can never disagree with what actually runs. Runtime
|
|
204
|
+
* status is a property of (contract × SDK): the same contract can be
|
|
205
|
+
* `true` here (web) and `false` in another SDK that lacks the harness.
|
|
206
|
+
*
|
|
207
|
+
* `true` → surfaces in the console as "watch it pass live".
|
|
208
|
+
* `false` → "CI-proven every release" (still enforced, just not a
|
|
209
|
+
* live toggle on this platform).
|
|
210
|
+
*/
|
|
211
|
+
readonly runtimeVerified: boolean;
|
|
197
212
|
}
|
|
198
213
|
/**
|
|
199
214
|
* Typed entry point to the bank-grade contracts bundled with this
|
|
@@ -232,9 +247,9 @@ declare const CrossdeckContracts: {
|
|
|
232
247
|
/** Filter by lifecycle status. */
|
|
233
248
|
readonly withStatus: (status: ContractStatus) => readonly Contract[];
|
|
234
249
|
/** Semver of the SDK release these contracts were bundled with. */
|
|
235
|
-
readonly sdkVersion: "1.6.
|
|
250
|
+
readonly sdkVersion: "1.6.3";
|
|
236
251
|
/** Fully-qualified bundle identifier — e.g. `@cross-deck/web@1.4.2`. */
|
|
237
|
-
readonly bundledIn: "@cross-deck/web@1.6.
|
|
252
|
+
readonly bundledIn: "@cross-deck/web@1.6.3";
|
|
238
253
|
/**
|
|
239
254
|
* Resolve a failing test back to the contract it exercises.
|
|
240
255
|
* Used by test-framework hooks (Vitest `afterEach`, XCTest
|
|
@@ -921,7 +936,7 @@ declare class MemoryStorage implements KeyValueStorage {
|
|
|
921
936
|
*
|
|
922
937
|
* Do NOT edit by hand — `node scripts/sync-sdk-versions.mjs`.
|
|
923
938
|
*/
|
|
924
|
-
declare const SDK_VERSION = "1.6.
|
|
939
|
+
declare const SDK_VERSION = "1.6.3";
|
|
925
940
|
declare const SDK_NAME = "@cross-deck/web";
|
|
926
941
|
|
|
927
942
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -194,6 +194,21 @@ interface Contract {
|
|
|
194
194
|
readonly firstRegisteredIn: string;
|
|
195
195
|
/** The SDK release this snapshot was bundled with, stamped at build time. */
|
|
196
196
|
readonly bundledIn: string;
|
|
197
|
+
/**
|
|
198
|
+
* Whether THIS SDK self-verifies this contract at runtime (a verifier is
|
|
199
|
+
* registered in the SDK's `STATIC_VERIFIERS` harness, emitting
|
|
200
|
+
* `crossdeck.contract_failed` live), vs. proven by CI tests only.
|
|
201
|
+
*
|
|
202
|
+
* DERIVED at bundle time from the verifier registry — never hand-set —
|
|
203
|
+
* so the registry can never disagree with what actually runs. Runtime
|
|
204
|
+
* status is a property of (contract × SDK): the same contract can be
|
|
205
|
+
* `true` here (web) and `false` in another SDK that lacks the harness.
|
|
206
|
+
*
|
|
207
|
+
* `true` → surfaces in the console as "watch it pass live".
|
|
208
|
+
* `false` → "CI-proven every release" (still enforced, just not a
|
|
209
|
+
* live toggle on this platform).
|
|
210
|
+
*/
|
|
211
|
+
readonly runtimeVerified: boolean;
|
|
197
212
|
}
|
|
198
213
|
/**
|
|
199
214
|
* Typed entry point to the bank-grade contracts bundled with this
|
|
@@ -232,9 +247,9 @@ declare const CrossdeckContracts: {
|
|
|
232
247
|
/** Filter by lifecycle status. */
|
|
233
248
|
readonly withStatus: (status: ContractStatus) => readonly Contract[];
|
|
234
249
|
/** Semver of the SDK release these contracts were bundled with. */
|
|
235
|
-
readonly sdkVersion: "1.6.
|
|
250
|
+
readonly sdkVersion: "1.6.3";
|
|
236
251
|
/** Fully-qualified bundle identifier — e.g. `@cross-deck/web@1.4.2`. */
|
|
237
|
-
readonly bundledIn: "@cross-deck/web@1.6.
|
|
252
|
+
readonly bundledIn: "@cross-deck/web@1.6.3";
|
|
238
253
|
/**
|
|
239
254
|
* Resolve a failing test back to the contract it exercises.
|
|
240
255
|
* Used by test-framework hooks (Vitest `afterEach`, XCTest
|
|
@@ -921,7 +936,7 @@ declare class MemoryStorage implements KeyValueStorage {
|
|
|
921
936
|
*
|
|
922
937
|
* Do NOT edit by hand — `node scripts/sync-sdk-versions.mjs`.
|
|
923
938
|
*/
|
|
924
|
-
declare const SDK_VERSION = "1.6.
|
|
939
|
+
declare const SDK_VERSION = "1.6.3";
|
|
925
940
|
declare const SDK_NAME = "@cross-deck/web";
|
|
926
941
|
|
|
927
942
|
/**
|