@xyo-network/hash 5.5.0 → 5.5.2
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(() => {
|
|
3
|
-
// ../../../../../../node_modules/.pnpm/@xylabs+platform@5.0.
|
|
3
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+platform@5.0.100/node_modules/@xylabs/platform/dist/browser/index-browser.mjs
|
|
4
4
|
var subtle = globalThis.crypto.subtle;
|
|
5
5
|
|
|
6
|
-
// ../../../../../../node_modules/.pnpm/@xylabs+threads@5.0.
|
|
6
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+threads@5.0.100_debug@4.4.3_observable-fns@0.6.1/node_modules/@xylabs/threads/dist/browser/worker/worker.browser.mjs
|
|
7
7
|
var DefaultErrorSerializer = {
|
|
8
8
|
deserialize(message) {
|
|
9
9
|
return Object.assign(new Error(message.message), {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
// ../../../../../../node_modules/.pnpm/@xylabs+typeof@5.0.
|
|
9
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+typeof@5.0.100/node_modules/@xylabs/typeof/dist/neutral/index.mjs
|
|
10
10
|
function isUndefined(value) {
|
|
11
11
|
return value === void 0;
|
|
12
12
|
}
|
|
@@ -3962,7 +3962,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3962
3962
|
return _superRefine(fn);
|
|
3963
3963
|
}
|
|
3964
3964
|
|
|
3965
|
-
// ../../../../../../node_modules/.pnpm/@xylabs+error@5.0.
|
|
3965
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+error@5.0.100/node_modules/@xylabs/error/dist/neutral/index.mjs
|
|
3966
3966
|
var assertError = (value, assert2, defaultMessage) => {
|
|
3967
3967
|
if (!isUndefined(assert2)) {
|
|
3968
3968
|
const assertString = typeof assert2 === "string" ? assert2 : typeof assert2 === "boolean" ? defaultMessage : assert2(value, defaultMessage);
|
|
@@ -3973,7 +3973,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3973
3973
|
return void 0;
|
|
3974
3974
|
};
|
|
3975
3975
|
|
|
3976
|
-
// ../../../../../../node_modules/.pnpm/@xylabs+hex@5.0.
|
|
3976
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+hex@5.0.100_zod@4.3.6/node_modules/@xylabs/hex/dist/neutral/index.mjs
|
|
3977
3977
|
var HexRegExMinMax = (minBytes = 0, maxBytes = Number.MAX_SAFE_INTEGER / 2) => {
|
|
3978
3978
|
return new RegExp(`^[a-f0-9]{${minBytes * 2},${maxBytes * 2}}$`);
|
|
3979
3979
|
};
|
|
@@ -4110,7 +4110,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4110
4110
|
var BigIntToJsonZod = bigint2().nonnegative().transform((x) => toHex(x));
|
|
4111
4111
|
var JsonToBigIntZod = string2().transform((x) => toHex(x)).transform((x) => hexToBigInt(x));
|
|
4112
4112
|
|
|
4113
|
-
// ../../../../../../node_modules/.pnpm/@xylabs+threads@5.0.
|
|
4113
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+threads@5.0.100_debug@4.4.3_observable-fns@0.6.1/node_modules/@xylabs/threads/dist/browser/worker/worker.browser.mjs
|
|
4114
4114
|
var DefaultErrorSerializer = {
|
|
4115
4115
|
deserialize(message) {
|
|
4116
4116
|
return Object.assign(new Error(message.message), {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/hash",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.2",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -47,63 +47,46 @@
|
|
|
47
47
|
"!**/*.test.*",
|
|
48
48
|
"README.md"
|
|
49
49
|
],
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@xyo-network/wasm": "~5.5.2"
|
|
52
|
+
},
|
|
50
53
|
"devDependencies": {
|
|
51
|
-
"@inquirer/core": "~11.1.8",
|
|
52
54
|
"@opentelemetry/api": "^1.9.1",
|
|
53
|
-
"@opentelemetry/sdk-trace-base": "^2",
|
|
55
|
+
"@opentelemetry/sdk-trace-base": "^2.7.0",
|
|
54
56
|
"@types/node": "^25.6.0",
|
|
55
|
-
"@xylabs/hex": "^5.0.
|
|
56
|
-
"@xylabs/platform": "^5.0.
|
|
57
|
-
"@xylabs/sdk-js": "^5.0.
|
|
58
|
-
"@xylabs/threads": "
|
|
59
|
-
"@xylabs/toolchain": "~7.11.
|
|
60
|
-
"@xylabs/tsconfig": "~7.11.
|
|
61
|
-
"@xylabs/vitest-extended": "
|
|
62
|
-
"@xylabs/vitest-matchers": "~5.0.
|
|
63
|
-
"async-mutex": "^0.5",
|
|
64
|
-
"bn.js": "^5",
|
|
65
|
-
"buffer": "^6",
|
|
66
|
-
"chalk": "^5",
|
|
67
|
-
"cosmiconfig": ">=9",
|
|
68
|
-
"cosmiconfig-typescript-loader": "~6.3.0",
|
|
69
|
-
"cpy": "~13.2.1",
|
|
57
|
+
"@xylabs/hex": "^5.0.100",
|
|
58
|
+
"@xylabs/platform": "^5.0.100",
|
|
59
|
+
"@xylabs/sdk-js": "^5.0.100",
|
|
60
|
+
"@xylabs/threads": "^5.0.100",
|
|
61
|
+
"@xylabs/toolchain": "~7.11.12",
|
|
62
|
+
"@xylabs/tsconfig": "~7.11.12",
|
|
63
|
+
"@xylabs/vitest-extended": "^5.0.100",
|
|
64
|
+
"@xylabs/vitest-matchers": "~5.0.100",
|
|
65
|
+
"async-mutex": "^0.5.0",
|
|
66
|
+
"bn.js": "^5.2.3",
|
|
67
|
+
"buffer": "^6.0.3",
|
|
68
|
+
"chalk": "^5.6.2",
|
|
70
69
|
"debug": "~4.4.3",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"ethers": "^6",
|
|
75
|
-
"find-up": "~8.0.0",
|
|
76
|
-
"get-tsconfig": "~4.13.7",
|
|
77
|
-
"glob": "~13.0.6",
|
|
70
|
+
"esbuild": "^0.28.0",
|
|
71
|
+
"eslint": "^10.2.1",
|
|
72
|
+
"ethers": "^6.16.0",
|
|
78
73
|
"hash-wasm": "~4.12.0",
|
|
79
|
-
"license-checker": "~25.0.1",
|
|
80
74
|
"observable-fns": "~0.6.1",
|
|
81
75
|
"pako": "~2.1.0",
|
|
82
|
-
"parse-git-config": "~3.0.0",
|
|
83
|
-
"picomatch": "~4.0.4",
|
|
84
76
|
"publint": "~0.3.18",
|
|
85
|
-
"rollup": "~4.60.1",
|
|
86
|
-
"rollup-plugin-dts": "~6.4.1",
|
|
87
|
-
"rollup-plugin-node-externals": "~9.0.1",
|
|
88
|
-
"semver": "~7.7.4",
|
|
89
|
-
"sort-package-json": "~3.6.1",
|
|
90
|
-
"tsup": "~8.5.1",
|
|
91
|
-
"types-package-json": "~2.0.39",
|
|
92
77
|
"typescript": "~5.9.3",
|
|
93
|
-
"vite": "^8.0.
|
|
78
|
+
"vite": "^8.0.10",
|
|
94
79
|
"vitest": "~4.1.5",
|
|
95
80
|
"wasm-feature-detect": "~1.8.0",
|
|
96
|
-
"
|
|
97
|
-
"zod": "^4.3.6",
|
|
98
|
-
"@xyo-network/wasm": "~5.5.0"
|
|
81
|
+
"zod": "^4.3.6"
|
|
99
82
|
},
|
|
100
83
|
"peerDependencies": {
|
|
101
|
-
"@xylabs/sdk-js": "
|
|
102
|
-
"@xylabs/threads": "
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
84
|
+
"@xylabs/sdk-js": ">=5.0.100 <6",
|
|
85
|
+
"@xylabs/threads": ">=5.0.100 <6",
|
|
86
|
+
"debug": ">=4.4.3 <5",
|
|
87
|
+
"hash-wasm": ">=4.12.0 <5",
|
|
88
|
+
"observable-fns": ">=0.6.1 <1",
|
|
89
|
+
"wasm-feature-detect": ">=1.8.0 <2"
|
|
107
90
|
},
|
|
108
91
|
"publishConfig": {
|
|
109
92
|
"access": "public"
|