@wireweave/core 4.0.0-beta.13 → 4.0.0-beta.15
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/app.cjs +16 -15
- package/dist/app.d.cts +4 -144
- package/dist/app.d.ts +4 -144
- package/dist/app.js +2 -1
- package/dist/chunk-24W2GEKO.js +2342 -0
- package/dist/{chunk-IMUVIIJR.cjs → chunk-H2SWIUMU.cjs} +9 -3
- package/dist/chunk-KMZXXIM2.cjs +396 -0
- package/dist/chunk-NPDSIAWT.js +389 -0
- package/dist/{chunk-FS6A6EJ4.js → chunk-NZGEUVB4.js} +75 -1330
- package/dist/{chunk-3RWGG5EC.js → chunk-UGMDBW46.js} +9 -4
- package/dist/chunk-VCHXMPZL.cjs +2356 -0
- package/dist/{chunk-4UZBGIGJ.cjs → chunk-XODYFTKU.cjs} +136 -1392
- package/dist/index-CIfur9e3.d.cts +1031 -0
- package/dist/{index-DyXaMSgd.d.cts → index-DdQv4Bu5.d.cts} +149 -1
- package/dist/index-DwGsnD0n.d.ts +1031 -0
- package/dist/{index-BGU_4N4W.d.ts → index-c4FTW7XA.d.ts} +149 -1
- package/dist/index.cjs +245 -54
- package/dist/index.d.cts +11 -188
- package/dist/index.d.ts +11 -188
- package/dist/index.js +205 -18
- package/dist/parser.cjs +9 -9
- package/dist/parser.js +1 -1
- package/dist/renderer.cjs +8 -8
- package/dist/renderer.d.cts +4 -756
- package/dist/renderer.d.ts +4 -756
- package/dist/renderer.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-4TMDPWPR.cjs +0 -186
- package/dist/chunk-5DGRIQDU.cjs +0 -824
- package/dist/chunk-JJWAFHSV.js +0 -821
- package/dist/chunk-R5WBZWBC.js +0 -180
|
@@ -5494,6 +5494,7 @@ var schema_default = {
|
|
|
5494
5494
|
},
|
|
5495
5495
|
assets: {
|
|
5496
5496
|
type: "array",
|
|
5497
|
+
description: "Ordered manifest bytes. Core validates unique IDs, digest/byteLength/base64, media content and the 32 MiB aggregate limit before app compilation; the host must materialize any approved URL into these bytes.",
|
|
5497
5498
|
items: {
|
|
5498
5499
|
type: "object",
|
|
5499
5500
|
properties: {
|
|
@@ -5526,7 +5527,8 @@ var schema_default = {
|
|
|
5526
5527
|
const: "15.1.0"
|
|
5527
5528
|
},
|
|
5528
5529
|
fontAssetId: {
|
|
5529
|
-
$ref: "#/$defs/Id"
|
|
5530
|
+
$ref: "#/$defs/Id",
|
|
5531
|
+
description: "Optional asset ID that must resolve to a validated font/woff2 manifest entry."
|
|
5530
5532
|
}
|
|
5531
5533
|
},
|
|
5532
5534
|
required: [
|
|
@@ -6005,6 +6007,7 @@ var schema_default = {
|
|
|
6005
6007
|
additionalProperties: false
|
|
6006
6008
|
},
|
|
6007
6009
|
RuntimeInput: {
|
|
6010
|
+
description: "Closed conformance input union. Event value/checked/key fields are further constrained by the native event and addressed control; unknown fields are rejected.",
|
|
6008
6011
|
oneOf: [
|
|
6009
6012
|
{
|
|
6010
6013
|
type: "object",
|
|
@@ -9273,9 +9276,8 @@ var SHA256_K = new Uint32Array([
|
|
|
9273
9276
|
3204031479,
|
|
9274
9277
|
3329325298
|
|
9275
9278
|
]);
|
|
9276
|
-
function
|
|
9279
|
+
function digestBytesV4(bytes) {
|
|
9277
9280
|
var _a2, _b2, _c, _d, _e, _f, _g;
|
|
9278
|
-
const bytes = new TextEncoder().encode(source);
|
|
9279
9281
|
const padded = new Uint8Array(Math.ceil((bytes.length + 9) / 64) * 64);
|
|
9280
9282
|
padded.set(bytes);
|
|
9281
9283
|
padded[bytes.length] = 128;
|
|
@@ -9320,6 +9322,9 @@ function digestV4(source) {
|
|
|
9320
9322
|
}
|
|
9321
9323
|
return `sha256:${hash.map((value) => value.toString(16).padStart(8, "0")).join("")}`;
|
|
9322
9324
|
}
|
|
9325
|
+
function digestV4(source) {
|
|
9326
|
+
return digestBytesV4(new TextEncoder().encode(source));
|
|
9327
|
+
}
|
|
9323
9328
|
|
|
9324
9329
|
// src/parser/v4.ts
|
|
9325
9330
|
var shapes = schema_default.$defs;
|
|
@@ -18039,4 +18044,4 @@ function getErrors(source) {
|
|
|
18039
18044
|
return result.errors;
|
|
18040
18045
|
}
|
|
18041
18046
|
|
|
18042
|
-
export { V4ParseError, digestV4, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 };
|
|
18047
|
+
export { V4ParseError, digestBytesV4, digestV4, getErrors, getV4SourceSpan, isValid, parse, parseV4, tryParse, tryParseV4 };
|