@fleet-sdk/crypto 0.8.2 → 0.8.3
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.
- package/CHANGELOG.md +7 -0
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.mjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { randomBytes as randomBytes$1 } from '@noble/hashes/utils';
|
2
2
|
import { blake2b as blake2b$1 } from '@noble/hashes/blake2b';
|
3
3
|
import { sha256 as sha256$1 } from '@noble/hashes/sha256';
|
4
|
-
import { base58check as base58check$1,
|
5
|
-
import {
|
4
|
+
import { base58check as base58check$1, base58 as base58$1, base64 as base64$1, hex as hex$1 } from '@scure/base';
|
5
|
+
import { assertTypeOf, assert, assertInstanceOf, isEmpty } from '@fleet-sdk/common';
|
6
6
|
|
7
7
|
// src/index.ts
|
8
8
|
var HEXES = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fleet-sdk/crypto",
|
3
|
-
"version": "0.8.
|
3
|
+
"version": "0.8.3",
|
4
4
|
"description": "Ergo blockchain crypto primitives.",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"module": "./dist/index.mjs",
|
@@ -33,9 +33,9 @@
|
|
33
33
|
"node": ">=18"
|
34
34
|
},
|
35
35
|
"dependencies": {
|
36
|
-
"@noble/hashes": "^1.7.
|
36
|
+
"@noble/hashes": "^1.7.2",
|
37
37
|
"@scure/base": "^1.2.4",
|
38
|
-
"@fleet-sdk/common": "^0.8.
|
38
|
+
"@fleet-sdk/common": "^0.8.3"
|
39
39
|
},
|
40
40
|
"files": [
|
41
41
|
"dist",
|