@xyo-network/previous-hash-store-model 5.3.30 → 5.4.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 +0 -85
- package/package.json +5 -9
package/README.md
CHANGED
|
@@ -38,91 +38,6 @@ bun add {{name}}
|
|
|
38
38
|
|
|
39
39
|
See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
|
|
40
40
|
|
|
41
|
-
## Reference
|
|
42
|
-
|
|
43
|
-
### packages
|
|
44
|
-
|
|
45
|
-
### protocol
|
|
46
|
-
|
|
47
|
-
### packages
|
|
48
|
-
|
|
49
|
-
### crypto
|
|
50
|
-
|
|
51
|
-
### packages
|
|
52
|
-
|
|
53
|
-
### previous-hash-store
|
|
54
|
-
|
|
55
|
-
### packages
|
|
56
|
-
|
|
57
|
-
### model
|
|
58
|
-
|
|
59
|
-
### .temp-typedoc
|
|
60
|
-
|
|
61
|
-
### interfaces
|
|
62
|
-
|
|
63
|
-
### <a id="PreviousHashStore"></a>PreviousHashStore
|
|
64
|
-
|
|
65
|
-
[**@xyo-network/previous-hash-store-model**](#../README)
|
|
66
|
-
|
|
67
|
-
***
|
|
68
|
-
|
|
69
|
-
## Methods
|
|
70
|
-
|
|
71
|
-
### getItem()
|
|
72
|
-
|
|
73
|
-
```ts
|
|
74
|
-
getItem(address): BrandedHash | Promise<BrandedHash | null> | null;
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### Parameters
|
|
78
|
-
|
|
79
|
-
#### address
|
|
80
|
-
|
|
81
|
-
`BrandedAddress`
|
|
82
|
-
|
|
83
|
-
### Returns
|
|
84
|
-
|
|
85
|
-
`BrandedHash` \| `Promise`\<`BrandedHash` \| `null`\> \| `null`
|
|
86
|
-
|
|
87
|
-
***
|
|
88
|
-
|
|
89
|
-
### removeItem()
|
|
90
|
-
|
|
91
|
-
```ts
|
|
92
|
-
removeItem(address): void | Promise<void>;
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
### Parameters
|
|
96
|
-
|
|
97
|
-
#### address
|
|
98
|
-
|
|
99
|
-
`BrandedAddress`
|
|
100
|
-
|
|
101
|
-
### Returns
|
|
102
|
-
|
|
103
|
-
`void` \| `Promise`\<`void`\>
|
|
104
|
-
|
|
105
|
-
***
|
|
106
|
-
|
|
107
|
-
### setItem()
|
|
108
|
-
|
|
109
|
-
```ts
|
|
110
|
-
setItem(address, previousHash): void | Promise<void>;
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
### Parameters
|
|
114
|
-
|
|
115
|
-
#### address
|
|
116
|
-
|
|
117
|
-
`BrandedAddress`
|
|
118
|
-
|
|
119
|
-
#### previousHash
|
|
120
|
-
|
|
121
|
-
`BrandedHash`
|
|
122
|
-
|
|
123
|
-
### Returns
|
|
124
|
-
|
|
125
|
-
`void` \| `Promise`\<`void`\>
|
|
126
41
|
|
|
127
42
|
|
|
128
43
|
[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": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -22,12 +22,10 @@
|
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
24
|
"types": "./dist/neutral/index.d.ts",
|
|
25
|
-
"import": "./dist/neutral/index.mjs",
|
|
26
25
|
"default": "./dist/neutral/index.mjs"
|
|
27
26
|
},
|
|
28
27
|
"./package.json": "./package.json"
|
|
29
28
|
},
|
|
30
|
-
"types": "dist/neutral/index.d.ts",
|
|
31
29
|
"files": [
|
|
32
30
|
"dist",
|
|
33
31
|
"!**/*.bench.*",
|
|
@@ -37,17 +35,15 @@
|
|
|
37
35
|
],
|
|
38
36
|
"devDependencies": {
|
|
39
37
|
"@opentelemetry/api": "^1.9.1",
|
|
40
|
-
"@xylabs/sdk-js": "^5.0.
|
|
41
|
-
"@xylabs/
|
|
42
|
-
"@xylabs/
|
|
43
|
-
"@xylabs/tsconfig": "~7.8.7",
|
|
44
|
-
"axios": "^1.14.0",
|
|
38
|
+
"@xylabs/sdk-js": "^5.0.97",
|
|
39
|
+
"@xylabs/toolchain": "~7.10.8",
|
|
40
|
+
"@xylabs/tsconfig": "~7.10.8",
|
|
45
41
|
"pako": "~2.1.0",
|
|
46
42
|
"typescript": "~5.9.3",
|
|
47
43
|
"zod": "^4.3.6"
|
|
48
44
|
},
|
|
49
45
|
"peerDependencies": {
|
|
50
|
-
"@xylabs/sdk-js": "^5"
|
|
46
|
+
"@xylabs/sdk-js": "^5.0.97"
|
|
51
47
|
},
|
|
52
48
|
"publishConfig": {
|
|
53
49
|
"access": "public"
|