@xyo-network/hash
Advanced tools
Comparing version 3.2.0 to 3.3.0
export { BrowserPayloadHasher as PayloadHasher } from './BrowserPayloadHasher.ts'; | ||
export * from './removeEmptyFields.ts'; | ||
export * from './removeFields.ts'; | ||
export * from './sortFields.ts'; | ||
//# sourceMappingURL=index-browser.d.ts.map |
export * from './hasEmptyFields.ts'; | ||
export { NodePayloadHasher as PayloadHasher } from './NodePayloadHasher.ts'; | ||
export * from './removeEmptyFields.ts'; | ||
export * from './removeFields.ts'; | ||
export * from './sortFields.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
export { BrowserPayloadHasher as PayloadHasher } from './BrowserPayloadHasher.ts'; | ||
export * from './removeEmptyFields.ts'; | ||
export * from './removeFields.ts'; | ||
export * from './sortFields.ts'; | ||
//# sourceMappingURL=index-browser.d.ts.map |
export * from './hasEmptyFields.ts'; | ||
export { NodePayloadHasher as PayloadHasher } from './NodePayloadHasher.ts'; | ||
export * from './removeEmptyFields.ts'; | ||
export * from './removeFields.ts'; | ||
export * from './sortFields.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
export { BrowserPayloadHasher as PayloadHasher } from './BrowserPayloadHasher.ts'; | ||
export * from './removeEmptyFields.ts'; | ||
export * from './removeFields.ts'; | ||
export * from './sortFields.ts'; | ||
//# sourceMappingURL=index-browser.d.ts.map |
export * from './hasEmptyFields.ts'; | ||
export { NodePayloadHasher as PayloadHasher } from './NodePayloadHasher.ts'; | ||
export * from './removeEmptyFields.ts'; | ||
export * from './removeFields.ts'; | ||
export * from './sortFields.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@xyo-network/hash", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
@@ -53,19 +53,18 @@ "homepage": "https://xyo.network", | ||
"dependencies": { | ||
"@xylabs/assert": "^4.1.0", | ||
"@xylabs/hex": "^4.1.0", | ||
"@xylabs/lodash": "^4.1.0", | ||
"@xylabs/object": "^4.1.0", | ||
"@xylabs/platform": "^4.1.0", | ||
"@xylabs/threads": "^4.1.0", | ||
"@xylabs/typeof": "^4.1.0", | ||
"@xyo-network/wasm": "^3.2.0", | ||
"@xylabs/assert": "^4.2.2", | ||
"@xylabs/hex": "^4.2.2", | ||
"@xylabs/object": "^4.2.2", | ||
"@xylabs/platform": "^4.2.2", | ||
"@xylabs/threads": "^4.2.2", | ||
"@xylabs/typeof": "^4.2.2", | ||
"@xyo-network/wasm": "^3.3.0", | ||
"hash-wasm": "^4.11.0" | ||
}, | ||
"devDependencies": { | ||
"@xylabs/delay": "^4.1.0", | ||
"@xylabs/ts-scripts-yarn3": "^4.1.0", | ||
"@xylabs/tsconfig": "^4.1.0", | ||
"@xylabs/delay": "^4.2.2", | ||
"@xylabs/ts-scripts-yarn3": "^4.2.1", | ||
"@xylabs/tsconfig": "^4.2.1", | ||
"esbuild": "^0.24.0", | ||
"publint": "^0.2.11", | ||
"typescript": "^5.6.2" | ||
"typescript": "^5.6.3" | ||
}, | ||
@@ -72,0 +71,0 @@ "publishConfig": { |
export { BrowserPayloadHasher as PayloadHasher } from './BrowserPayloadHasher.ts' | ||
export * from './removeEmptyFields.ts' | ||
export * from './removeFields.ts' | ||
export * from './sortFields.ts' |
export * from './hasEmptyFields.ts' | ||
export { NodePayloadHasher as PayloadHasher } from './NodePayloadHasher.ts' | ||
export * from './removeEmptyFields.ts' | ||
export * from './removeFields.ts' | ||
export * from './sortFields.ts' |
import { assertEx } from '@xylabs/assert' | ||
import type { Hash } from '@xylabs/hex' | ||
import { asHash, hexFromArrayBuffer } from '@xylabs/hex' | ||
import { omitBy } from '@xylabs/lodash' | ||
import type { EmptyObject } from '@xylabs/object' | ||
import { ObjectWrapper } from '@xylabs/object' | ||
import { ObjectWrapper, omitBy } from '@xylabs/object' | ||
import { subtle } from '@xylabs/platform' | ||
@@ -25,5 +24,5 @@ import type { ModuleThread, Worker } from '@xylabs/threads' | ||
const omitByPredicate = (prefix: string) => (_: unknown, key: string) => { | ||
assertEx(typeof key === 'string', () => `Invalid key type [${key}, ${typeof key}]`) | ||
return key.startsWith(prefix) | ||
const omitByPredicate = <T extends object>(prefix: string) => (_: T[keyof T], key: keyof T) => { | ||
assertEx(typeof key === 'string', () => `Invalid key type [${String(key)}, ${typeof key}]`) | ||
return String(key).startsWith(prefix) | ||
} | ||
@@ -30,0 +29,0 @@ |
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
8
432834
139
7694
- Removed@xylabs/lodash@^4.1.0
- Removed@types/lodash@4.17.13(transitive)
- Removed@types/lodash-es@4.17.12(transitive)
- Removed@xylabs/lodash@4.3.4(transitive)
- Removedlodash-es@4.17.21(transitive)
Updated@xylabs/assert@^4.2.2
Updated@xylabs/hex@^4.2.2
Updated@xylabs/object@^4.2.2
Updated@xylabs/platform@^4.2.2
Updated@xylabs/threads@^4.2.2
Updated@xylabs/typeof@^4.2.2
Updated@xyo-network/wasm@^3.3.0