@xyo-network/sdk-protocol 7.0.7 → 7.0.9

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.
@@ -10,7 +10,7 @@ import {
10
10
  ObjectHasher,
11
11
  removeEmptyFields,
12
12
  sortFields
13
- } from "../../hash/node/index.mjs";
13
+ } from "../../hash/browser/index-browser.mjs";
14
14
  import { omitSchema, PayloadBuilder } from "../../payload-builder/neutral/index.mjs";
15
15
  import { Mutex } from "async-mutex";
16
16
 
@@ -1,5 +1,5 @@
1
1
  export * from '../../address/neutral/index.ts';
2
2
  export * from '../../data/neutral/index.ts';
3
- export * from '../../hash/node/index.ts';
3
+ export * from '../../hash/browser/index-browser.ts';
4
4
  export * from '../../schema-name-validator/neutral/index.ts';
5
5
  export * from '../../wasm/neutral/index.ts';
@@ -1,6 +1,6 @@
1
1
  // src/index.ts
2
2
  export * from "../../address/neutral/index.mjs";
3
3
  export * from "../../data/neutral/index.mjs";
4
- export * from "../../hash/node/index.mjs";
4
+ export * from "../../hash/browser/index-browser.mjs";
5
5
  export * from "../../schema-name-validator/neutral/index.mjs";
6
6
  export * from "../../wasm/neutral/index.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  pickByPrefix,
8
8
  toSafeJson
9
9
  } from "@ariestools/sdk";
10
- import { ObjectHasher, removeEmptyFields } from "../../hash/node/index.mjs";
10
+ import { ObjectHasher, removeEmptyFields } from "../../hash/browser/index-browser.mjs";
11
11
  import {
12
12
  SequenceComparer,
13
13
  SequenceParser
@@ -1,5 +1,5 @@
1
1
  // src/combinationsBySchema.ts
2
- import { ObjectHasher } from "../../hash/node/index.mjs";
2
+ import { ObjectHasher } from "../../hash/browser/index-browser.mjs";
3
3
  var generateKeyForTuple = async (payloads) => {
4
4
  await Promise.resolve();
5
5
  return payloads.map((p) => ObjectHasher.stringifyHashFields(p)).join("|");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/sdk-protocol",
3
- "version": "7.0.7",
3
+ "version": "7.0.9",
4
4
  "description": "Self-contained foundation SDK for XYO Protocol 2.0 (protocol, core payload plugins, manifest, sdk-utils)",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -128,6 +128,12 @@
128
128
  "default": "./dist/browser/hash.mjs"
129
129
  }
130
130
  },
131
+ "./hash/worker/subtleHash-bundle.mjs": {
132
+ "default": "./dist/_pkg/hash/browser/worker/subtleHash-bundle.mjs"
133
+ },
134
+ "./hash/worker/wasmHash-bundle.mjs": {
135
+ "default": "./dist/_pkg/hash/browser/worker/wasmHash-bundle.mjs"
136
+ },
131
137
  "./huri": {
132
138
  "types": "./dist/neutral/huri.d.ts",
133
139
  "default": "./dist/neutral/huri.mjs"
@@ -286,8 +292,8 @@
286
292
  "@scure/bip39": "~2.2.0",
287
293
  "@xylabs/geo": "^7.0.4",
288
294
  "@xylabs/threads": "^7.0.4",
289
- "@xylabs/toolchain": "~8.5.13",
290
- "@xylabs/tsconfig": "~8.5.13",
295
+ "@xylabs/toolchain": "~8.5.15",
296
+ "@xylabs/tsconfig": "~8.5.15",
291
297
  "ajv": "^8.20.0",
292
298
  "async-mutex": "^0.5.0",
293
299
  "browserslist": "4.28.4",
@@ -301,57 +307,57 @@
301
307
  "typescript": "~6.0.3",
302
308
  "webextension-polyfill": "^0.12.0",
303
309
  "zod": "^4.4.3",
304
- "@private/account": "~7.0.7",
305
- "@private/account-model": "~7.0.7",
306
- "@private/address": "~7.0.7",
307
- "@private/api": "~7.0.7",
308
- "@private/boundwitness": "~7.0.7",
309
- "@private/boundwitness-validator": "~7.0.7",
310
- "@private/boundwitness-builder": "~7.0.7",
311
- "@private/boundwitness-wrapper": "~7.0.7",
312
- "@private/core": "~7.0.7",
313
- "@private/api-models": "~7.0.7",
314
- "@private/core-payload-plugins": "~7.0.7",
315
- "@private/boundwitness-model": "~7.0.7",
316
- "@private/config-payload-plugin": "~7.0.7",
317
- "@private/crypto": "~7.0.7",
318
- "@private/dns": "~7.0.7",
319
- "@private/data": "~7.0.7",
320
- "@private/elliptic": "~7.0.7",
321
- "@private/hash": "~7.0.7",
322
- "@private/domain-payload-plugin": "~7.0.7",
323
- "@private/id-payload-plugin": "~7.0.7",
324
- "@private/manifest": "~7.0.7",
325
- "@private/huri": "~7.0.7",
326
- "@private/key-model": "~7.0.7",
327
- "@private/manifest-model": "~7.0.7",
328
- "@private/payload": "~7.0.7",
329
- "@private/network": "~7.0.7",
330
- "@private/payload-model": "~7.0.7",
331
- "@private/payload-builder": "~7.0.7",
332
- "@private/payload-plugin": "~7.0.7",
333
- "@private/metamask-connector": "~7.0.7",
334
- "@private/payload-utils": "~7.0.7",
335
- "@private/payload-validator": "~7.0.7",
336
- "@private/payload-wrapper": "~7.0.7",
337
- "@private/pqc": "~7.0.7",
338
- "@private/previous-hash-store-indexeddb": "~7.0.7",
339
- "@private/previous-hash-store": "~7.0.7",
340
- "@private/quant-account": "~7.0.7",
341
- "@private/previous-hash-store-model": "~7.0.7",
342
- "@private/previous-hash-store-storage": "~7.0.7",
343
- "@private/protocol": "~7.0.7",
344
- "@private/quadkey": "~7.0.7",
345
- "@private/quant-wallet": "~7.0.7",
346
- "@private/schema-cache": "~7.0.7",
347
- "@private/value-payload-plugin": "~7.0.7",
348
- "@private/wallet": "~7.0.7",
349
- "@private/query-payload-plugin": "~7.0.7",
350
- "@private/schema-name-validator": "~7.0.7",
351
- "@private/wasm": "~7.0.7",
352
- "@private/wallet-model": "~7.0.7",
353
- "@private/schema-payload-plugin": "~7.0.7",
354
- "@private/sdk-utils": "~7.0.7"
310
+ "@private/account": "~7.0.9",
311
+ "@private/address": "~7.0.9",
312
+ "@private/api": "~7.0.9",
313
+ "@private/api-models": "~7.0.9",
314
+ "@private/account-model": "~7.0.9",
315
+ "@private/boundwitness": "~7.0.9",
316
+ "@private/boundwitness-model": "~7.0.9",
317
+ "@private/boundwitness-builder": "~7.0.9",
318
+ "@private/boundwitness-validator": "~7.0.9",
319
+ "@private/boundwitness-wrapper": "~7.0.9",
320
+ "@private/config-payload-plugin": "~7.0.9",
321
+ "@private/core-payload-plugins": "~7.0.9",
322
+ "@private/core": "~7.0.9",
323
+ "@private/crypto": "~7.0.9",
324
+ "@private/dns": "~7.0.9",
325
+ "@private/domain-payload-plugin": "~7.0.9",
326
+ "@private/data": "~7.0.9",
327
+ "@private/elliptic": "~7.0.9",
328
+ "@private/hash": "~7.0.9",
329
+ "@private/huri": "~7.0.9",
330
+ "@private/id-payload-plugin": "~7.0.9",
331
+ "@private/key-model": "~7.0.9",
332
+ "@private/manifest": "~7.0.9",
333
+ "@private/manifest-model": "~7.0.9",
334
+ "@private/network": "~7.0.9",
335
+ "@private/metamask-connector": "~7.0.9",
336
+ "@private/payload": "~7.0.9",
337
+ "@private/payload-builder": "~7.0.9",
338
+ "@private/payload-model": "~7.0.9",
339
+ "@private/payload-plugin": "~7.0.9",
340
+ "@private/payload-utils": "~7.0.9",
341
+ "@private/payload-validator": "~7.0.9",
342
+ "@private/previous-hash-store": "~7.0.9",
343
+ "@private/pqc": "~7.0.9",
344
+ "@private/previous-hash-store-indexeddb": "~7.0.9",
345
+ "@private/protocol": "~7.0.9",
346
+ "@private/previous-hash-store-storage": "~7.0.9",
347
+ "@private/previous-hash-store-model": "~7.0.9",
348
+ "@private/quadkey": "~7.0.9",
349
+ "@private/quant-account": "~7.0.9",
350
+ "@private/payload-wrapper": "~7.0.9",
351
+ "@private/quant-wallet": "~7.0.9",
352
+ "@private/query-payload-plugin": "~7.0.9",
353
+ "@private/schema-name-validator": "~7.0.9",
354
+ "@private/schema-cache": "~7.0.9",
355
+ "@private/sdk-utils": "~7.0.9",
356
+ "@private/schema-payload-plugin": "~7.0.9",
357
+ "@private/wallet-model": "~7.0.9",
358
+ "@private/value-payload-plugin": "~7.0.9",
359
+ "@private/wasm": "~7.0.9",
360
+ "@private/wallet": "~7.0.9"
355
361
  },
356
362
  "peerDependencies": {
357
363
  "@ariestools/sdk": "^7.0",