@xyo-network/previous-hash-store-model 6.0.9 → 6.1.0
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/README.md +3 -1
- package/package.json +5 -11
- package/dist/browser/PreviousHashStore.d.ts +0 -8
- package/dist/browser/PreviousHashStore.d.ts.map +0 -1
- package/dist/browser/index.d.ts +0 -2
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.mjs +0 -1
- package/dist/browser/index.mjs.map +0 -7
- package/dist/node/PreviousHashStore.d.ts +0 -8
- package/dist/node/PreviousHashStore.d.ts.map +0 -1
- package/dist/node/index.d.ts +0 -2
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.mjs +0 -1
- package/dist/node/index.mjs.map +0 -7
package/README.md
CHANGED
|
@@ -38,10 +38,12 @@ bun add {{name}}
|
|
|
38
38
|
|
|
39
39
|
See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
|
|
40
40
|
|
|
41
|
+
## Credits
|
|
41
42
|
|
|
43
|
+
[Made with 🔥 and ❄️ by XYO Foundation](https://xyo.network)
|
|
42
44
|
|
|
43
|
-
[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
|
|
44
45
|
[npm-badge]: https://img.shields.io/npm/v/@xyo-network/previous-hash-store-model.svg
|
|
45
46
|
[npm-link]: https://www.npmjs.com/package/@xyo-network/previous-hash-store-model
|
|
46
47
|
[license-badge]: https://img.shields.io/npm/l/@xyo-network/previous-hash-store-model.svg
|
|
47
48
|
[license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
|
|
49
|
+
[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/previous-hash-store-model",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -34,20 +34,17 @@
|
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@xyo-network/address": "~6.0
|
|
37
|
+
"@xyo-network/address": "~6.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@opentelemetry/api": "^1.9.1",
|
|
41
41
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
42
42
|
"@scure/base": "~2.2.0",
|
|
43
|
-
"@xylabs/sdk-js": "^6.0
|
|
44
|
-
"@xylabs/toolchain": "~8.1.
|
|
45
|
-
"@xylabs/tsconfig": "~8.1.
|
|
43
|
+
"@xylabs/sdk-js": "^6.1.0",
|
|
44
|
+
"@xylabs/toolchain": "~8.1.20",
|
|
45
|
+
"@xylabs/tsconfig": "~8.1.20",
|
|
46
46
|
"async-mutex": "^0.5.0",
|
|
47
|
-
"bn.js": "^5.2.3",
|
|
48
|
-
"buffer": "^6.0.3",
|
|
49
47
|
"eslint": "^10.4.1",
|
|
50
|
-
"ethers": "^6.16.0",
|
|
51
48
|
"typescript": "~6.0.3",
|
|
52
49
|
"zod": "^4.4.3"
|
|
53
50
|
},
|
|
@@ -57,9 +54,6 @@
|
|
|
57
54
|
"@scure/base": "~2.2",
|
|
58
55
|
"@xylabs/sdk-js": "^6.0",
|
|
59
56
|
"async-mutex": "^0.5",
|
|
60
|
-
"bn.js": "^5.2",
|
|
61
|
-
"buffer": "^6.0",
|
|
62
|
-
"ethers": "^6.16",
|
|
63
57
|
"zod": "^4.4"
|
|
64
58
|
},
|
|
65
59
|
"engines": {
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/sdk-js';
|
|
2
|
-
import type { XyoAddress } from '@xyo-network/address';
|
|
3
|
-
export interface PreviousHashStore {
|
|
4
|
-
getItem(address: XyoAddress): Hash | null | Promise<Hash | null>;
|
|
5
|
-
removeItem(address: XyoAddress): void | Promise<void>;
|
|
6
|
-
setItem(address: XyoAddress, previousHash: Hash): void | Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=PreviousHashStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/PreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEtD,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IAChE,UAAU,CAAC,OAAO,EAAE,UAAU,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACrD,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACvE"}
|
package/dist/browser/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
package/dist/browser/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/sdk-js';
|
|
2
|
-
import type { XyoAddress } from '@xyo-network/address';
|
|
3
|
-
export interface PreviousHashStore {
|
|
4
|
-
getItem(address: XyoAddress): Hash | null | Promise<Hash | null>;
|
|
5
|
-
removeItem(address: XyoAddress): void | Promise<void>;
|
|
6
|
-
setItem(address: XyoAddress, previousHash: Hash): void | Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=PreviousHashStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/PreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEtD,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IAChE,UAAU,CAAC,OAAO,EAAE,UAAU,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACrD,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACvE"}
|
package/dist/node/index.d.ts
DELETED
package/dist/node/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
package/dist/node/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.mjs.map
|