@xyo-network/previous-hash-store 2.74.4 → 2.75.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.
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // src/index.ts
17
17
  var src_exports = {};
18
18
  module.exports = __toCommonJS(src_exports);
19
- //# sourceMappingURL=index.js.map
19
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { PreviousHashStore } from '@xyo-network/previous-hash-store-model'\nexport type { PreviousHashStore }\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAA;AAC1E,YAAY,EAAE,iBAAiB,EAAE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAA;AAC1E,YAAY,EAAE,iBAAiB,EAAE,CAAA"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,3 @@
1
+ import { PreviousHashStore } from '@xyo-network/previous-hash-store-model';
2
+ export type { PreviousHashStore };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAA;AAC1E,YAAY,EAAE,iBAAiB,EAAE,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { PreviousHashStore } from '@xyo-network/previous-hash-store-model';
2
+ export type { PreviousHashStore };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAA;AAC1E,YAAY,EAAE,iBAAiB,EAAE,CAAA"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var src_exports = {};
16
+ module.exports = __toCommonJS(src_exports);
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { PreviousHashStore } from '@xyo-network/previous-hash-store-model'\nexport type { PreviousHashStore }\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -10,42 +10,45 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/previous-hash-store-model": "~2.74.4"
13
+ "@xyo-network/previous-hash-store-model": "~2.75.0"
14
14
  },
15
15
  "description": "Primary SDK for using XYO Protocol 2.0",
16
16
  "devDependencies": {
17
- "@xylabs/ts-scripts-yarn3": "^3.0.28",
18
- "@xylabs/tsconfig": "^3.0.28",
17
+ "@xylabs/ts-scripts-yarn3": "^3.0.70",
18
+ "@xylabs/tsconfig": "^3.0.70",
19
19
  "typescript": "^5.2.2"
20
20
  },
21
21
  "docs": "dist/docs.json",
22
22
  "exports": {
23
23
  ".": {
24
- "require": {
25
- "types": "./dist/index.d.ts",
26
- "default": "./dist/index.js"
24
+ "browser": {
25
+ "require": {
26
+ "types": "./dist/browser/index.d.ts",
27
+ "default": "./dist/browser/index.cjs"
28
+ },
29
+ "import": {
30
+ "types": "./dist/browser/index.d.mts",
31
+ "default": "./dist/browser/index.js"
32
+ }
27
33
  },
28
- "import": {
29
- "types": "./dist/index.d.mts",
30
- "default": "./dist/index.mjs"
34
+ "node": {
35
+ "require": {
36
+ "types": "./dist/node/index.d.ts",
37
+ "default": "./dist/node/index.js"
38
+ },
39
+ "import": {
40
+ "types": "./dist/node/index.d.mts",
41
+ "default": "./dist/node/index.mjs"
42
+ }
31
43
  }
32
44
  },
33
- "./dist/docs.json": {
34
- "default": "./dist/docs.json"
35
- },
36
- "./cjs": {
37
- "default": "./dist/index.js"
38
- },
39
45
  "./docs": {
40
46
  "default": "./dist/docs.json"
41
47
  },
42
- "./esm": {
43
- "default": "./dist/index.mjs"
44
- },
45
48
  "./package.json": "./package.json"
46
49
  },
47
- "main": "dist/index.js",
48
- "module": "dist/index.mjs",
50
+ "main": "dist/node/index.js",
51
+ "module": "dist/node/index.mjs",
49
52
  "homepage": "https://xyo.network",
50
53
  "license": "LGPL-3.0",
51
54
  "publishConfig": {
@@ -56,6 +59,6 @@
56
59
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
57
60
  },
58
61
  "sideEffects": false,
59
- "types": "dist/index.d.ts",
60
- "version": "2.74.4"
62
+ "types": "dist/node/index.d.ts",
63
+ "version": "2.75.0"
61
64
  }
package/dist/docs.json DELETED
@@ -1,325 +0,0 @@
1
- {
2
- "id": 0,
3
- "name": "@xyo-network/previous-hash-store",
4
- "variant": "project",
5
- "kind": 1,
6
- "flags": {},
7
- "children": [
8
- {
9
- "id": 1,
10
- "name": "PreviousHashStore",
11
- "variant": "declaration",
12
- "kind": 256,
13
- "flags": {},
14
- "children": [
15
- {
16
- "id": 2,
17
- "name": "getItem",
18
- "variant": "declaration",
19
- "kind": 2048,
20
- "flags": {},
21
- "sources": [
22
- {
23
- "fileName": "packages/model/dist/PreviousHashStore.d.ts",
24
- "line": 2,
25
- "character": 4
26
- }
27
- ],
28
- "signatures": [
29
- {
30
- "id": 3,
31
- "name": "getItem",
32
- "variant": "signature",
33
- "kind": 4096,
34
- "flags": {},
35
- "sources": [
36
- {
37
- "fileName": "packages/model/dist/PreviousHashStore.d.ts",
38
- "line": 2,
39
- "character": 4
40
- }
41
- ],
42
- "parameters": [
43
- {
44
- "id": 4,
45
- "name": "address",
46
- "variant": "param",
47
- "kind": 32768,
48
- "flags": {},
49
- "type": {
50
- "type": "intrinsic",
51
- "name": "string"
52
- }
53
- }
54
- ],
55
- "type": {
56
- "type": "union",
57
- "types": [
58
- {
59
- "type": "literal",
60
- "value": null
61
- },
62
- {
63
- "type": "intrinsic",
64
- "name": "string"
65
- },
66
- {
67
- "type": "reference",
68
- "target": {
69
- "sourceFileName": "../../../../../../node_modules/typescript/lib/lib.es5.d.ts",
70
- "qualifiedName": "Promise"
71
- },
72
- "typeArguments": [
73
- {
74
- "type": "union",
75
- "types": [
76
- {
77
- "type": "literal",
78
- "value": null
79
- },
80
- {
81
- "type": "intrinsic",
82
- "name": "string"
83
- }
84
- ]
85
- }
86
- ],
87
- "name": "Promise",
88
- "package": "typescript"
89
- }
90
- ]
91
- }
92
- }
93
- ]
94
- },
95
- {
96
- "id": 5,
97
- "name": "removeItem",
98
- "variant": "declaration",
99
- "kind": 2048,
100
- "flags": {},
101
- "sources": [
102
- {
103
- "fileName": "packages/model/dist/PreviousHashStore.d.ts",
104
- "line": 3,
105
- "character": 4
106
- }
107
- ],
108
- "signatures": [
109
- {
110
- "id": 6,
111
- "name": "removeItem",
112
- "variant": "signature",
113
- "kind": 4096,
114
- "flags": {},
115
- "sources": [
116
- {
117
- "fileName": "packages/model/dist/PreviousHashStore.d.ts",
118
- "line": 3,
119
- "character": 4
120
- }
121
- ],
122
- "parameters": [
123
- {
124
- "id": 7,
125
- "name": "address",
126
- "variant": "param",
127
- "kind": 32768,
128
- "flags": {},
129
- "type": {
130
- "type": "intrinsic",
131
- "name": "string"
132
- }
133
- }
134
- ],
135
- "type": {
136
- "type": "union",
137
- "types": [
138
- {
139
- "type": "intrinsic",
140
- "name": "void"
141
- },
142
- {
143
- "type": "reference",
144
- "target": {
145
- "sourceFileName": "../../../../../../node_modules/typescript/lib/lib.es5.d.ts",
146
- "qualifiedName": "Promise"
147
- },
148
- "typeArguments": [
149
- {
150
- "type": "intrinsic",
151
- "name": "void"
152
- }
153
- ],
154
- "name": "Promise",
155
- "package": "typescript"
156
- }
157
- ]
158
- }
159
- }
160
- ]
161
- },
162
- {
163
- "id": 8,
164
- "name": "setItem",
165
- "variant": "declaration",
166
- "kind": 2048,
167
- "flags": {},
168
- "sources": [
169
- {
170
- "fileName": "packages/model/dist/PreviousHashStore.d.ts",
171
- "line": 4,
172
- "character": 4
173
- }
174
- ],
175
- "signatures": [
176
- {
177
- "id": 9,
178
- "name": "setItem",
179
- "variant": "signature",
180
- "kind": 4096,
181
- "flags": {},
182
- "sources": [
183
- {
184
- "fileName": "packages/model/dist/PreviousHashStore.d.ts",
185
- "line": 4,
186
- "character": 4
187
- }
188
- ],
189
- "parameters": [
190
- {
191
- "id": 10,
192
- "name": "address",
193
- "variant": "param",
194
- "kind": 32768,
195
- "flags": {},
196
- "type": {
197
- "type": "intrinsic",
198
- "name": "string"
199
- }
200
- },
201
- {
202
- "id": 11,
203
- "name": "previousHash",
204
- "variant": "param",
205
- "kind": 32768,
206
- "flags": {},
207
- "type": {
208
- "type": "intrinsic",
209
- "name": "string"
210
- }
211
- }
212
- ],
213
- "type": {
214
- "type": "union",
215
- "types": [
216
- {
217
- "type": "intrinsic",
218
- "name": "void"
219
- },
220
- {
221
- "type": "reference",
222
- "target": {
223
- "sourceFileName": "../../../../../../node_modules/typescript/lib/lib.es5.d.ts",
224
- "qualifiedName": "Promise"
225
- },
226
- "typeArguments": [
227
- {
228
- "type": "intrinsic",
229
- "name": "void"
230
- }
231
- ],
232
- "name": "Promise",
233
- "package": "typescript"
234
- }
235
- ]
236
- }
237
- }
238
- ]
239
- }
240
- ],
241
- "groups": [
242
- {
243
- "title": "Methods",
244
- "children": [
245
- 2,
246
- 5,
247
- 8
248
- ]
249
- }
250
- ],
251
- "sources": [
252
- {
253
- "fileName": "packages/model/dist/PreviousHashStore.d.ts",
254
- "line": 1,
255
- "character": 17
256
- }
257
- ]
258
- }
259
- ],
260
- "groups": [
261
- {
262
- "title": "Interfaces",
263
- "children": [
264
- 1
265
- ]
266
- }
267
- ],
268
- "packageName": "@xyo-network/previous-hash-store",
269
- "readme": [
270
- {
271
- "kind": "text",
272
- "text": "[![logo][]](https://xyo.network)\n\nPart of [sdk-xyo-clint-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)\n\n## License\n\n> See the [LICENSE](LICENSE) file for license details\n\n## Credits\n\n[Made with 🔥 and ❄️ by XYO](https://xyo.network)\n\n[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png"
273
- }
274
- ],
275
- "symbolIdMap": {
276
- "0": {
277
- "sourceFileName": "src/index.ts",
278
- "qualifiedName": ""
279
- },
280
- "1": {
281
- "sourceFileName": "packages/model/src/PreviousHashStore.ts",
282
- "qualifiedName": "PreviousHashStore"
283
- },
284
- "2": {
285
- "sourceFileName": "packages/model/src/PreviousHashStore.ts",
286
- "qualifiedName": "PreviousHashStore.getItem"
287
- },
288
- "3": {
289
- "sourceFileName": "packages/model/src/PreviousHashStore.ts",
290
- "qualifiedName": "PreviousHashStore.getItem"
291
- },
292
- "4": {
293
- "sourceFileName": "packages/model/src/PreviousHashStore.ts",
294
- "qualifiedName": "address"
295
- },
296
- "5": {
297
- "sourceFileName": "packages/model/src/PreviousHashStore.ts",
298
- "qualifiedName": "PreviousHashStore.removeItem"
299
- },
300
- "6": {
301
- "sourceFileName": "packages/model/src/PreviousHashStore.ts",
302
- "qualifiedName": "PreviousHashStore.removeItem"
303
- },
304
- "7": {
305
- "sourceFileName": "packages/model/src/PreviousHashStore.ts",
306
- "qualifiedName": "address"
307
- },
308
- "8": {
309
- "sourceFileName": "packages/model/src/PreviousHashStore.ts",
310
- "qualifiedName": "PreviousHashStore.setItem"
311
- },
312
- "9": {
313
- "sourceFileName": "packages/model/src/PreviousHashStore.ts",
314
- "qualifiedName": "PreviousHashStore.setItem"
315
- },
316
- "10": {
317
- "sourceFileName": "packages/model/src/PreviousHashStore.ts",
318
- "qualifiedName": "address"
319
- },
320
- "11": {
321
- "sourceFileName": "packages/model/src/PreviousHashStore.ts",
322
- "qualifiedName": "previousHash"
323
- }
324
- }
325
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAA;AAC1E,YAAY,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAA;AAC1E,YAAY,EAAE,iBAAiB,EAAE,CAAA"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { PreviousHashStore } from '@xyo-network/previous-hash-store-model'\nexport type { PreviousHashStore }\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
File without changes
File without changes
File without changes
File without changes