@xyo-network/hash
Advanced tools
Comparing version 2.107.6 to 2.108.0
@@ -41,2 +41,3 @@ var __defProp = Object.defineProperty; | ||
import { asHash, hexFromArrayBuffer } from "@xylabs/hex"; | ||
import { omitBy } from "@xylabs/lodash"; | ||
import { ObjectWrapper } from "@xylabs/object"; | ||
@@ -64,5 +65,2 @@ import { subtle } from "@xylabs/platform"; | ||
// src/PayloadHasher.ts | ||
import { omitBy } from "@xylabs/lodash"; | ||
// src/sortFields.ts | ||
@@ -69,0 +67,0 @@ import { isObject } from "@xylabs/object"; |
@@ -46,2 +46,3 @@ var __defProp = Object.defineProperty; | ||
import { asHash, hexFromArrayBuffer } from "@xylabs/hex"; | ||
import { omitBy } from "@xylabs/lodash"; | ||
import { ObjectWrapper } from "@xylabs/object"; | ||
@@ -69,5 +70,2 @@ import { subtle } from "@xylabs/platform"; | ||
// src/PayloadHasher.ts | ||
import { omitBy } from "@xylabs/lodash"; | ||
// src/sortFields.ts | ||
@@ -74,0 +72,0 @@ import { isObject } from "@xylabs/object"; |
@@ -48,2 +48,3 @@ var __defProp = Object.defineProperty; | ||
import { asHash, hexFromArrayBuffer } from "@xylabs/hex"; | ||
import { omitBy } from "@xylabs/lodash"; | ||
import { ObjectWrapper } from "@xylabs/object"; | ||
@@ -71,5 +72,2 @@ import { subtle } from "@xylabs/platform"; | ||
// src/PayloadHasher.ts | ||
import { omitBy } from "@xylabs/lodash"; | ||
// src/sortFields.ts | ||
@@ -76,0 +74,0 @@ import { isObject } from "@xylabs/object"; |
@@ -20,3 +20,3 @@ { | ||
"@xylabs/typeof": "^3.5.2", | ||
"@xyo-network/wasm": "^2.107.6", | ||
"@xyo-network/wasm": "^2.108.0", | ||
"hash-wasm": "^4.11.0", | ||
@@ -31,4 +31,4 @@ "sha.js": "^2.4.11" | ||
"@xylabs/tsconfig": "^3.11.12", | ||
"esbuild": "^0.21.5", | ||
"typescript": "^5.5.2" | ||
"esbuild": "^0.22.0", | ||
"typescript": "^5.5.3" | ||
}, | ||
@@ -80,4 +80,4 @@ "exports": { | ||
"sideEffects": false, | ||
"version": "2.107.6", | ||
"version": "2.108.0", | ||
"type": "module" | ||
} |
declare module globalThis { | ||
// eslint-disable-next-line no-var | ||
var xyo: { | ||
@@ -3,0 +4,0 @@ hashing?: PayloadHasher |
import { assertEx } from '@xylabs/assert' | ||
import { asHash, Hash, hexFromArrayBuffer } from '@xylabs/hex' | ||
import { omitBy } from '@xylabs/lodash' | ||
import { EmptyObject, ObjectWrapper } from '@xylabs/object' | ||
import { subtle } from '@xylabs/platform' | ||
import { ModuleThread, Pool, spawn, Worker } from '@xylabs/threads' | ||
// eslint-disable-next-line import/no-unresolved | ||
// eslint-disable-next-line import/no-unresolved, import/no-internal-modules | ||
import { WorkerModule } from '@xylabs/threads/dist/types/worker' | ||
@@ -14,3 +14,2 @@ import { WasmSupport } from '@xyo-network/wasm' | ||
import { removeEmptyFields } from './removeEmptyFields' | ||
import { omitBy } from '@xylabs/lodash' | ||
import { sortFields } from './sortFields' | ||
@@ -17,0 +16,0 @@ import { jsHashFunc, subtleHashFunc, wasmHashFunc } from './worker' |
import { asHash } from '@xylabs/hex' | ||
// eslint-disable-next-line import/no-internal-modules | ||
import { expose } from '@xylabs/threads/worker' | ||
@@ -3,0 +4,0 @@ import shajs from 'sha.js' |
@@ -5,2 +5,3 @@ /* eslint-disable @typescript-eslint/no-var-requires */ | ||
const { asHash } = require('@xylabs/hex') | ||
// eslint-disable-next-line import/no-internal-modules | ||
const { expose } = require('@xylabs/threads/worker') | ||
@@ -7,0 +8,0 @@ |
import { subtle } from '@xylabs/platform' | ||
// eslint-disable-next-line import/no-internal-modules | ||
import { expose } from '@xylabs/threads/worker' | ||
@@ -3,0 +4,0 @@ |
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
export const subtleHashFunc = () => { | ||
const { subtle } = require('@xylabs/platform') | ||
// eslint-disable-next-line import/no-internal-modules | ||
const { expose } = require('@xylabs/threads/worker') | ||
@@ -5,0 +6,0 @@ |
import { asHash } from '@xylabs/hex' | ||
// eslint-disable-next-line import/no-internal-modules | ||
import { expose } from '@xylabs/threads/worker' | ||
@@ -3,0 +4,0 @@ import { sha256 } from 'hash-wasm' |
@@ -5,2 +5,3 @@ /* eslint-disable @typescript-eslint/no-var-requires */ | ||
const { asHash } = require('@xylabs/hex') | ||
// eslint-disable-next-line import/no-internal-modules | ||
const { expose } = require('@xylabs/threads/worker') | ||
@@ -7,0 +8,0 @@ |
@@ -13,2 +13,3 @@ import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3' | ||
// eslint-disable-next-line import/no-default-export | ||
export default config |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
630764
8090
Updated@xyo-network/wasm@^2.108.0