@xyo-network/hash 6.0.0 → 6.0.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@6.0.
|
|
3
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+platform@6.0.2/node_modules/@xylabs/platform/dist/browser/index-browser.mjs
|
|
4
4
|
var subtle = globalThis.crypto.subtle;
|
|
5
5
|
|
|
6
|
-
// ../../../../../../node_modules/.pnpm/@xylabs+threads@6.0.
|
|
6
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+threads@6.0.2_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), {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(() => {
|
|
3
|
-
// ../../../../../../node_modules/.pnpm/@xylabs+typeof@6.0.
|
|
3
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+typeof@6.0.2/node_modules/@xylabs/typeof/dist/neutral/index.mjs
|
|
4
4
|
function isUndefined(value) {
|
|
5
5
|
return value === void 0;
|
|
6
6
|
}
|
|
@@ -854,7 +854,7 @@
|
|
|
854
854
|
return _refine(ZodMiniCustom, fn, _params);
|
|
855
855
|
}
|
|
856
856
|
|
|
857
|
-
// ../../../../../../node_modules/.pnpm/@xylabs+error@6.0.
|
|
857
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+error@6.0.2/node_modules/@xylabs/error/dist/neutral/index.mjs
|
|
858
858
|
var assertError = (value, assert, defaultMessage) => {
|
|
859
859
|
if (!isUndefined(assert)) {
|
|
860
860
|
const assertString = typeof assert === "string" ? assert : typeof assert === "boolean" ? defaultMessage : assert(value, defaultMessage);
|
|
@@ -865,7 +865,7 @@
|
|
|
865
865
|
return void 0;
|
|
866
866
|
};
|
|
867
867
|
|
|
868
|
-
// ../../../../../../node_modules/.pnpm/@xylabs+hex@6.0.
|
|
868
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+hex@6.0.2_zod@4.4.3/node_modules/@xylabs/hex/dist/neutral/index.mjs
|
|
869
869
|
var HexRegExMinMax = (minBytes = 0, maxBytes = Number.MAX_SAFE_INTEGER / 2) => {
|
|
870
870
|
return new RegExp(`^[a-f0-9]{${minBytes * 2},${maxBytes * 2}}$`);
|
|
871
871
|
};
|
|
@@ -1026,7 +1026,7 @@
|
|
|
1026
1026
|
transform((x) => hexToBigInt(toHex(x)))
|
|
1027
1027
|
);
|
|
1028
1028
|
|
|
1029
|
-
// ../../../../../../node_modules/.pnpm/@xylabs+threads@6.0.
|
|
1029
|
+
// ../../../../../../node_modules/.pnpm/@xylabs+threads@6.0.2_debug@4.4.3_observable-fns@0.6.1/node_modules/@xylabs/threads/dist/browser/worker/worker.browser.mjs
|
|
1030
1030
|
var DefaultErrorSerializer = {
|
|
1031
1031
|
deserialize(message) {
|
|
1032
1032
|
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": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -48,19 +48,19 @@
|
|
|
48
48
|
"README.md"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@xyo-network/wasm": "~6.0.
|
|
51
|
+
"@xyo-network/wasm": "~6.0.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@opentelemetry/api": "^1.9.1",
|
|
55
55
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
56
56
|
"@types/node": "^25.9.1",
|
|
57
|
-
"@xylabs/hex": "^6.0.
|
|
58
|
-
"@xylabs/platform": "^6.0.
|
|
59
|
-
"@xylabs/sdk-js": "~6.0",
|
|
60
|
-
"@xylabs/threads": "~6.0",
|
|
61
|
-
"@xylabs/toolchain": "~8.
|
|
62
|
-
"@xylabs/tsconfig": "~8.
|
|
63
|
-
"@xylabs/vitest-extended": "^6.0.
|
|
57
|
+
"@xylabs/hex": "^6.0.2",
|
|
58
|
+
"@xylabs/platform": "^6.0.2",
|
|
59
|
+
"@xylabs/sdk-js": "~6.0.2",
|
|
60
|
+
"@xylabs/threads": "~6.0.2",
|
|
61
|
+
"@xylabs/toolchain": "~8.1.1",
|
|
62
|
+
"@xylabs/tsconfig": "~8.1.1",
|
|
63
|
+
"@xylabs/vitest-extended": "^6.0.2",
|
|
64
64
|
"async-mutex": "^0.5.0",
|
|
65
65
|
"bn.js": "^5.2.3",
|
|
66
66
|
"buffer": "^6.0.3",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"pako": "~2.1.0",
|
|
75
75
|
"publint": "~0.3.21",
|
|
76
76
|
"typescript": "~6.0.3",
|
|
77
|
-
"vite": "^8.0.
|
|
78
|
-
"vitest": "~4.1.
|
|
77
|
+
"vite": "^8.0.14",
|
|
78
|
+
"vitest": "~4.1.7",
|
|
79
79
|
"wasm-feature-detect": "~1.8.0",
|
|
80
80
|
"zod": "^4.4.3"
|
|
81
81
|
},
|