@xyo-network/previous-hash-store-model 7.0.5 → 7.0.6

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 CHANGED
@@ -1,49 +1,3 @@
1
- [![logo][]](https://xyo.network)
2
-
3
1
  # @xyo-network/previous-hash-store-model
4
2
 
5
- [![npm][npm-badge]][npm-link]
6
- [![license][license-badge]][license-link]
7
-
8
- > Primary SDK for using XYO Protocol 2.0
9
-
10
- ## Install
11
-
12
- Using npm:
13
-
14
- ```sh
15
- npm install {{name}}
16
- ```
17
-
18
- Using yarn:
19
-
20
- ```sh
21
- yarn add {{name}}
22
- ```
23
-
24
- Using pnpm:
25
-
26
- ```sh
27
- pnpm add {{name}}
28
- ```
29
-
30
- Using bun:
31
-
32
- ```sh
33
- bun add {{name}}
34
- ```
35
-
36
-
37
- ## License
38
-
39
- See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
-
41
- ## Credits
42
-
43
- [Made with 🔥 and ❄️ by XYO Foundation](https://xyo.network)
44
-
45
- [npm-badge]: https://img.shields.io/npm/v/@xyo-network/previous-hash-store-model.svg
46
- [npm-link]: https://www.npmjs.com/package/@xyo-network/previous-hash-store-model
47
- [license-badge]: https://img.shields.io/npm/l/@xyo-network/previous-hash-store-model.svg
48
- [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
49
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
3
+ Deprecated compatibility stub. Use `@xyo-network/sdk-protocol/previous-hash-store-model` instead.
@@ -1,2 +1,6 @@
1
- export * from './PreviousHashStore.ts';
1
+ /**
2
+ * @deprecated Use `@xyo-network/sdk-protocol/previous-hash-store-model` instead.
3
+ * `@xyo-network/previous-hash-store-model` is a backward-compatibility re-export stub.
4
+ */
5
+ export * from '@xyo-network/sdk-protocol/previous-hash-store-model';
2
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,qDAAqD,CAAA"}
@@ -1 +1,3 @@
1
+ // src/index.ts
2
+ export * from "@xyo-network/sdk-protocol/previous-hash-store-model";
1
3
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["/**\n * @deprecated Use `@xyo-network/sdk-protocol/previous-hash-store-model` instead.\n * `@xyo-network/previous-hash-store-model` is a backward-compatibility re-export stub.\n */\nexport * from '@xyo-network/sdk-protocol/previous-hash-store-model'\n"],
5
+ "mappings": ";AAIA,cAAc;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@xyo-network/previous-hash-store-model",
3
- "version": "7.0.5",
4
- "description": "Primary SDK for using XYO Protocol 2.0",
3
+ "version": "7.0.6",
4
+ "description": "DEPRECATED - use @xyo-network/sdk-protocol/previous-hash-store-model. Backward-compatibility re-export stub for @xyo-network/previous-hash-store-model.",
5
+ "deprecated": "Use @xyo-network/sdk-protocol/previous-hash-store-model instead. @xyo-network/previous-hash-store-model is a backward-compatibility re-export stub and will not receive further updates.",
5
6
  "homepage": "https://xyo.network",
6
7
  "bugs": {
7
8
  "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues",
@@ -34,28 +35,33 @@
34
35
  "README.md"
35
36
  ],
36
37
  "dependencies": {
37
- "@xyo-network/address": "~7.0.5"
38
+ "@xyo-network/sdk-protocol": "~7.0.6"
38
39
  },
39
40
  "devDependencies": {
40
- "@opentelemetry/api": "^1.9.1",
41
- "@opentelemetry/sdk-trace-base": "^2.8.0",
42
- "@scure/base": "~2.2.0",
43
- "@xylabs/sdk": "^7.0.1",
44
- "@xylabs/toolchain": "~8.5.3",
45
- "@xylabs/tsconfig": "~8.5.3",
46
- "async-mutex": "^0.5.0",
41
+ "@xylabs/toolchain": "~8.5.12",
42
+ "@xylabs/tsconfig": "~8.5.12",
47
43
  "browserslist": "4.28.4",
48
44
  "eslint": "^10.6.0",
49
45
  "eslint-import-resolver-typescript": "^4.4.5",
50
- "typescript": "~6.0.3",
51
- "zod": "^4.4.3"
46
+ "typescript": "~6.0.3"
52
47
  },
53
48
  "peerDependencies": {
49
+ "@ariestools/sdk": "^7.0.4",
50
+ "@bitauth/libauth": "~3.0",
51
+ "@noble/post-quantum": "~0.6.1",
54
52
  "@opentelemetry/api": "^1.9",
55
53
  "@opentelemetry/sdk-trace-base": "^2.7",
56
54
  "@scure/base": "~2.2",
57
- "@xylabs/sdk": "^7.0",
55
+ "@scure/bip39": "~2.2",
56
+ "@xylabs/geo": "^7.0",
57
+ "@xylabs/threads": "^7.0",
58
+ "ajv": "^8.20",
58
59
  "async-mutex": "^0.5",
60
+ "debug": "^4.4",
61
+ "ethers": "^6.16",
62
+ "hash-wasm": "~4.12",
63
+ "idb": "^8.0",
64
+ "observable-fns": "^0.6",
59
65
  "zod": "^4.4"
60
66
  },
61
67
  "engines": {
@@ -1,8 +0,0 @@
1
- import type { Hash } from '@xylabs/sdk';
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,aAAa,CAAA;AACvC,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"}