@xyo-network/previous-hash-store-storage 2.62.0 → 2.62.2
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/dist/cjs/StoragePreviousHashStore.js.map +1 -1
- package/dist/docs.json +80 -111
- package/dist/esm/StoragePreviousHashStore.js +0 -1
- package/dist/esm/StoragePreviousHashStore.js.map +1 -1
- package/dist/types/StoragePreviousHashStore.d.ts +0 -1
- package/dist/types/StoragePreviousHashStore.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/StoragePreviousHashStore.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoragePreviousHashStore.js","sourceRoot":"","sources":["../../src/StoragePreviousHashStore.ts"],"names":[],"mappings":";;;;AACA,4DAAyC;AASzC,MAAa,wBAAwB;
|
|
1
|
+
{"version":3,"file":"StoragePreviousHashStore.js","sourceRoot":"","sources":["../../src/StoragePreviousHashStore.ts"],"names":[],"mappings":";;;;AACA,4DAAyC;AASzC,MAAa,wBAAwB;IAOnC,YAAY,IAA8B;QAJlC,eAAU,GAAG,wBAAwB,CAAC,gBAAgB,CAAA;QAEtD,UAAK,GAAY,wBAAwB,CAAC,kBAAkB,CAAA;QAGlE,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAAE,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,CAAA;QACrD,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI;YAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAA;QACtC,IAAI,CAAC,QAAQ,GAAG,gBAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;IAC5D,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAA;IACxB,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAA;IACnB,CAAC;IAED,IAAY,OAAO;QACjB,IAAI,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,CAAA;YAAE,IAAI,CAAC,QAAQ,GAAG,gBAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QAC/E,OAAO,IAAI,CAAC,QAAQ,CAAA;IACtB,CAAC;IAEK,OAAO,CAAC,OAAe;;YAC3B,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;YAC7C,OAAO,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,IAAI,CAAA;QACtB,CAAC;KAAA;IACK,UAAU,CAAC,OAAe;;YAC9B,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;QACpC,CAAC;KAAA;IACK,OAAO,CAAC,OAAe,EAAE,YAAoB;;YACjD,MAAM,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,YAAY,CAAC,CAAA;QAC/C,CAAC;KAAA;;AAnCH,4DAoCC;AAnCiB,yCAAgB,GAAG,yBAAyB,CAAA;AAC5C,2CAAkB,GAAY,OAAO,CAAA"}
|
package/dist/docs.json
CHANGED
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"sources": [
|
|
22
22
|
{
|
|
23
23
|
"fileName": "StoragePreviousHashStore.ts",
|
|
24
|
-
"line":
|
|
24
|
+
"line": 18,
|
|
25
25
|
"character": 2,
|
|
26
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
26
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L18"
|
|
27
27
|
}
|
|
28
28
|
],
|
|
29
29
|
"signatures": [
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"sources": [
|
|
37
37
|
{
|
|
38
38
|
"fileName": "StoragePreviousHashStore.ts",
|
|
39
|
-
"line":
|
|
39
|
+
"line": 18,
|
|
40
40
|
"character": 2,
|
|
41
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
41
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L18"
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
44
|
"parameters": [
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
]
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
|
-
"id":
|
|
71
|
+
"id": 12,
|
|
72
72
|
"name": "_namespace",
|
|
73
73
|
"variant": "declaration",
|
|
74
74
|
"kind": 1024,
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
"sources": [
|
|
79
79
|
{
|
|
80
80
|
"fileName": "StoragePreviousHashStore.ts",
|
|
81
|
-
"line":
|
|
81
|
+
"line": 14,
|
|
82
82
|
"character": 10,
|
|
83
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
83
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L14"
|
|
84
84
|
}
|
|
85
85
|
],
|
|
86
86
|
"type": {
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"defaultValue": "StoragePreviousHashStore.DefaultNamespace"
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
|
-
"id":
|
|
93
|
+
"id": 13,
|
|
94
94
|
"name": "_storage",
|
|
95
95
|
"variant": "declaration",
|
|
96
96
|
"kind": 1024,
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
"sources": [
|
|
101
101
|
{
|
|
102
102
|
"fileName": "StoragePreviousHashStore.ts",
|
|
103
|
-
"line":
|
|
103
|
+
"line": 15,
|
|
104
104
|
"character": 10,
|
|
105
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
105
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L15"
|
|
106
106
|
}
|
|
107
107
|
],
|
|
108
108
|
"type": {
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
"id":
|
|
128
|
+
"id": 14,
|
|
129
129
|
"name": "_type",
|
|
130
130
|
"variant": "declaration",
|
|
131
131
|
"kind": 1024,
|
|
@@ -135,9 +135,9 @@
|
|
|
135
135
|
"sources": [
|
|
136
136
|
{
|
|
137
137
|
"fileName": "StoragePreviousHashStore.ts",
|
|
138
|
-
"line":
|
|
138
|
+
"line": 16,
|
|
139
139
|
"character": 10,
|
|
140
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
140
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L16"
|
|
141
141
|
}
|
|
142
142
|
],
|
|
143
143
|
"type": {
|
|
@@ -148,32 +148,6 @@
|
|
|
148
148
|
},
|
|
149
149
|
"defaultValue": "StoragePreviousHashStore.DefaultStorageType"
|
|
150
150
|
},
|
|
151
|
-
{
|
|
152
|
-
"id": 12,
|
|
153
|
-
"name": "keyPrefix",
|
|
154
|
-
"variant": "declaration",
|
|
155
|
-
"kind": 1024,
|
|
156
|
-
"flags": {
|
|
157
|
-
"isOptional": true
|
|
158
|
-
},
|
|
159
|
-
"sources": [
|
|
160
|
-
{
|
|
161
|
-
"fileName": "StoragePreviousHashStore.ts",
|
|
162
|
-
"line": 14,
|
|
163
|
-
"character": 2,
|
|
164
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/491a8092bce2/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L14"
|
|
165
|
-
}
|
|
166
|
-
],
|
|
167
|
-
"type": {
|
|
168
|
-
"type": "intrinsic",
|
|
169
|
-
"name": "string"
|
|
170
|
-
},
|
|
171
|
-
"implementationOf": {
|
|
172
|
-
"type": "reference",
|
|
173
|
-
"target": -1,
|
|
174
|
-
"name": "PreviousHashStore.keyPrefix"
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
151
|
{
|
|
178
152
|
"id": 7,
|
|
179
153
|
"name": "DefaultNamespace",
|
|
@@ -188,7 +162,7 @@
|
|
|
188
162
|
"fileName": "StoragePreviousHashStore.ts",
|
|
189
163
|
"line": 12,
|
|
190
164
|
"character": 18,
|
|
191
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
165
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L12"
|
|
192
166
|
}
|
|
193
167
|
],
|
|
194
168
|
"type": {
|
|
@@ -211,7 +185,7 @@
|
|
|
211
185
|
"fileName": "StoragePreviousHashStore.ts",
|
|
212
186
|
"line": 13,
|
|
213
187
|
"character": 18,
|
|
214
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
188
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L13"
|
|
215
189
|
}
|
|
216
190
|
],
|
|
217
191
|
"type": {
|
|
@@ -223,7 +197,7 @@
|
|
|
223
197
|
"defaultValue": "'local'"
|
|
224
198
|
},
|
|
225
199
|
{
|
|
226
|
-
"id":
|
|
200
|
+
"id": 15,
|
|
227
201
|
"name": "namespace",
|
|
228
202
|
"variant": "declaration",
|
|
229
203
|
"kind": 262144,
|
|
@@ -231,13 +205,13 @@
|
|
|
231
205
|
"sources": [
|
|
232
206
|
{
|
|
233
207
|
"fileName": "StoragePreviousHashStore.ts",
|
|
234
|
-
"line":
|
|
208
|
+
"line": 24,
|
|
235
209
|
"character": 6,
|
|
236
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
210
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L24"
|
|
237
211
|
}
|
|
238
212
|
],
|
|
239
213
|
"getSignature": {
|
|
240
|
-
"id":
|
|
214
|
+
"id": 16,
|
|
241
215
|
"name": "namespace",
|
|
242
216
|
"variant": "signature",
|
|
243
217
|
"kind": 524288,
|
|
@@ -245,9 +219,9 @@
|
|
|
245
219
|
"sources": [
|
|
246
220
|
{
|
|
247
221
|
"fileName": "StoragePreviousHashStore.ts",
|
|
248
|
-
"line":
|
|
222
|
+
"line": 24,
|
|
249
223
|
"character": 2,
|
|
250
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
224
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L24"
|
|
251
225
|
}
|
|
252
226
|
],
|
|
253
227
|
"type": {
|
|
@@ -257,7 +231,7 @@
|
|
|
257
231
|
}
|
|
258
232
|
},
|
|
259
233
|
{
|
|
260
|
-
"id":
|
|
234
|
+
"id": 19,
|
|
261
235
|
"name": "storage",
|
|
262
236
|
"variant": "declaration",
|
|
263
237
|
"kind": 262144,
|
|
@@ -267,13 +241,13 @@
|
|
|
267
241
|
"sources": [
|
|
268
242
|
{
|
|
269
243
|
"fileName": "StoragePreviousHashStore.ts",
|
|
270
|
-
"line":
|
|
244
|
+
"line": 32,
|
|
271
245
|
"character": 14,
|
|
272
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
246
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L32"
|
|
273
247
|
}
|
|
274
248
|
],
|
|
275
249
|
"getSignature": {
|
|
276
|
-
"id":
|
|
250
|
+
"id": 20,
|
|
277
251
|
"name": "storage",
|
|
278
252
|
"variant": "signature",
|
|
279
253
|
"kind": 524288,
|
|
@@ -281,9 +255,9 @@
|
|
|
281
255
|
"sources": [
|
|
282
256
|
{
|
|
283
257
|
"fileName": "StoragePreviousHashStore.ts",
|
|
284
|
-
"line":
|
|
258
|
+
"line": 32,
|
|
285
259
|
"character": 2,
|
|
286
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
260
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L32"
|
|
287
261
|
}
|
|
288
262
|
],
|
|
289
263
|
"type": {
|
|
@@ -298,7 +272,7 @@
|
|
|
298
272
|
}
|
|
299
273
|
},
|
|
300
274
|
{
|
|
301
|
-
"id":
|
|
275
|
+
"id": 17,
|
|
302
276
|
"name": "type",
|
|
303
277
|
"variant": "declaration",
|
|
304
278
|
"kind": 262144,
|
|
@@ -306,13 +280,13 @@
|
|
|
306
280
|
"sources": [
|
|
307
281
|
{
|
|
308
282
|
"fileName": "StoragePreviousHashStore.ts",
|
|
309
|
-
"line":
|
|
283
|
+
"line": 28,
|
|
310
284
|
"character": 6,
|
|
311
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
285
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L28"
|
|
312
286
|
}
|
|
313
287
|
],
|
|
314
288
|
"getSignature": {
|
|
315
|
-
"id":
|
|
289
|
+
"id": 18,
|
|
316
290
|
"name": "type",
|
|
317
291
|
"variant": "signature",
|
|
318
292
|
"kind": 524288,
|
|
@@ -320,9 +294,9 @@
|
|
|
320
294
|
"sources": [
|
|
321
295
|
{
|
|
322
296
|
"fileName": "StoragePreviousHashStore.ts",
|
|
323
|
-
"line":
|
|
297
|
+
"line": 28,
|
|
324
298
|
"character": 2,
|
|
325
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
299
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L28"
|
|
326
300
|
}
|
|
327
301
|
],
|
|
328
302
|
"type": {
|
|
@@ -334,7 +308,7 @@
|
|
|
334
308
|
}
|
|
335
309
|
},
|
|
336
310
|
{
|
|
337
|
-
"id":
|
|
311
|
+
"id": 21,
|
|
338
312
|
"name": "getItem",
|
|
339
313
|
"variant": "declaration",
|
|
340
314
|
"kind": 2048,
|
|
@@ -342,14 +316,14 @@
|
|
|
342
316
|
"sources": [
|
|
343
317
|
{
|
|
344
318
|
"fileName": "StoragePreviousHashStore.ts",
|
|
345
|
-
"line":
|
|
319
|
+
"line": 37,
|
|
346
320
|
"character": 8,
|
|
347
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
321
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L37"
|
|
348
322
|
}
|
|
349
323
|
],
|
|
350
324
|
"signatures": [
|
|
351
325
|
{
|
|
352
|
-
"id":
|
|
326
|
+
"id": 22,
|
|
353
327
|
"name": "getItem",
|
|
354
328
|
"variant": "signature",
|
|
355
329
|
"kind": 4096,
|
|
@@ -357,14 +331,14 @@
|
|
|
357
331
|
"sources": [
|
|
358
332
|
{
|
|
359
333
|
"fileName": "StoragePreviousHashStore.ts",
|
|
360
|
-
"line":
|
|
334
|
+
"line": 37,
|
|
361
335
|
"character": 2,
|
|
362
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
336
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L37"
|
|
363
337
|
}
|
|
364
338
|
],
|
|
365
339
|
"parameters": [
|
|
366
340
|
{
|
|
367
|
-
"id":
|
|
341
|
+
"id": 23,
|
|
368
342
|
"name": "address",
|
|
369
343
|
"variant": "param",
|
|
370
344
|
"kind": 32768,
|
|
@@ -413,7 +387,7 @@
|
|
|
413
387
|
}
|
|
414
388
|
},
|
|
415
389
|
{
|
|
416
|
-
"id":
|
|
390
|
+
"id": 24,
|
|
417
391
|
"name": "removeItem",
|
|
418
392
|
"variant": "declaration",
|
|
419
393
|
"kind": 2048,
|
|
@@ -421,14 +395,14 @@
|
|
|
421
395
|
"sources": [
|
|
422
396
|
{
|
|
423
397
|
"fileName": "StoragePreviousHashStore.ts",
|
|
424
|
-
"line":
|
|
398
|
+
"line": 41,
|
|
425
399
|
"character": 8,
|
|
426
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
400
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L41"
|
|
427
401
|
}
|
|
428
402
|
],
|
|
429
403
|
"signatures": [
|
|
430
404
|
{
|
|
431
|
-
"id":
|
|
405
|
+
"id": 25,
|
|
432
406
|
"name": "removeItem",
|
|
433
407
|
"variant": "signature",
|
|
434
408
|
"kind": 4096,
|
|
@@ -436,14 +410,14 @@
|
|
|
436
410
|
"sources": [
|
|
437
411
|
{
|
|
438
412
|
"fileName": "StoragePreviousHashStore.ts",
|
|
439
|
-
"line":
|
|
413
|
+
"line": 41,
|
|
440
414
|
"character": 2,
|
|
441
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
415
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L41"
|
|
442
416
|
}
|
|
443
417
|
],
|
|
444
418
|
"parameters": [
|
|
445
419
|
{
|
|
446
|
-
"id":
|
|
420
|
+
"id": 26,
|
|
447
421
|
"name": "address",
|
|
448
422
|
"variant": "param",
|
|
449
423
|
"kind": 32768,
|
|
@@ -483,7 +457,7 @@
|
|
|
483
457
|
}
|
|
484
458
|
},
|
|
485
459
|
{
|
|
486
|
-
"id":
|
|
460
|
+
"id": 27,
|
|
487
461
|
"name": "setItem",
|
|
488
462
|
"variant": "declaration",
|
|
489
463
|
"kind": 2048,
|
|
@@ -491,14 +465,14 @@
|
|
|
491
465
|
"sources": [
|
|
492
466
|
{
|
|
493
467
|
"fileName": "StoragePreviousHashStore.ts",
|
|
494
|
-
"line":
|
|
468
|
+
"line": 44,
|
|
495
469
|
"character": 8,
|
|
496
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
470
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L44"
|
|
497
471
|
}
|
|
498
472
|
],
|
|
499
473
|
"signatures": [
|
|
500
474
|
{
|
|
501
|
-
"id":
|
|
475
|
+
"id": 28,
|
|
502
476
|
"name": "setItem",
|
|
503
477
|
"variant": "signature",
|
|
504
478
|
"kind": 4096,
|
|
@@ -506,14 +480,14 @@
|
|
|
506
480
|
"sources": [
|
|
507
481
|
{
|
|
508
482
|
"fileName": "StoragePreviousHashStore.ts",
|
|
509
|
-
"line":
|
|
483
|
+
"line": 44,
|
|
510
484
|
"character": 2,
|
|
511
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
485
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L44"
|
|
512
486
|
}
|
|
513
487
|
],
|
|
514
488
|
"parameters": [
|
|
515
489
|
{
|
|
516
|
-
"id":
|
|
490
|
+
"id": 29,
|
|
517
491
|
"name": "address",
|
|
518
492
|
"variant": "param",
|
|
519
493
|
"kind": 32768,
|
|
@@ -524,7 +498,7 @@
|
|
|
524
498
|
}
|
|
525
499
|
},
|
|
526
500
|
{
|
|
527
|
-
"id":
|
|
501
|
+
"id": 30,
|
|
528
502
|
"name": "previousHash",
|
|
529
503
|
"variant": "param",
|
|
530
504
|
"kind": 32768,
|
|
@@ -574,10 +548,9 @@
|
|
|
574
548
|
{
|
|
575
549
|
"title": "Properties",
|
|
576
550
|
"children": [
|
|
551
|
+
12,
|
|
577
552
|
13,
|
|
578
553
|
14,
|
|
579
|
-
15,
|
|
580
|
-
12,
|
|
581
554
|
7,
|
|
582
555
|
8
|
|
583
556
|
]
|
|
@@ -585,17 +558,17 @@
|
|
|
585
558
|
{
|
|
586
559
|
"title": "Accessors",
|
|
587
560
|
"children": [
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
561
|
+
15,
|
|
562
|
+
19,
|
|
563
|
+
17
|
|
591
564
|
]
|
|
592
565
|
},
|
|
593
566
|
{
|
|
594
567
|
"title": "Methods",
|
|
595
568
|
"children": [
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
569
|
+
21,
|
|
570
|
+
24,
|
|
571
|
+
27
|
|
599
572
|
]
|
|
600
573
|
}
|
|
601
574
|
],
|
|
@@ -604,7 +577,7 @@
|
|
|
604
577
|
"fileName": "StoragePreviousHashStore.ts",
|
|
605
578
|
"line": 11,
|
|
606
579
|
"character": 13,
|
|
607
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
580
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L11"
|
|
608
581
|
}
|
|
609
582
|
],
|
|
610
583
|
"implementedTypes": [
|
|
@@ -630,7 +603,7 @@
|
|
|
630
603
|
"fileName": "StoragePreviousHashStore.ts",
|
|
631
604
|
"line": 4,
|
|
632
605
|
"character": 12,
|
|
633
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
606
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L4"
|
|
634
607
|
}
|
|
635
608
|
],
|
|
636
609
|
"type": {
|
|
@@ -662,7 +635,7 @@
|
|
|
662
635
|
"fileName": "StoragePreviousHashStore.ts",
|
|
663
636
|
"line": 6,
|
|
664
637
|
"character": 12,
|
|
665
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
638
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L6"
|
|
666
639
|
}
|
|
667
640
|
],
|
|
668
641
|
"type": {
|
|
@@ -687,7 +660,7 @@
|
|
|
687
660
|
"fileName": "StoragePreviousHashStore.ts",
|
|
688
661
|
"line": 7,
|
|
689
662
|
"character": 2,
|
|
690
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
663
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L7"
|
|
691
664
|
}
|
|
692
665
|
],
|
|
693
666
|
"type": {
|
|
@@ -708,7 +681,7 @@
|
|
|
708
681
|
"fileName": "StoragePreviousHashStore.ts",
|
|
709
682
|
"line": 8,
|
|
710
683
|
"character": 2,
|
|
711
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
684
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L8"
|
|
712
685
|
}
|
|
713
686
|
],
|
|
714
687
|
"type": {
|
|
@@ -733,7 +706,7 @@
|
|
|
733
706
|
"fileName": "StoragePreviousHashStore.ts",
|
|
734
707
|
"line": 6,
|
|
735
708
|
"character": 38,
|
|
736
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
709
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/39239b9b4bdf/packages/protocol/packages/account/packages/previous-hash-store/packages/storage/src/StoragePreviousHashStore.ts#L6"
|
|
737
710
|
}
|
|
738
711
|
]
|
|
739
712
|
}
|
|
@@ -813,19 +786,19 @@
|
|
|
813
786
|
},
|
|
814
787
|
"12": {
|
|
815
788
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
816
|
-
"qualifiedName": "StoragePreviousHashStore.
|
|
789
|
+
"qualifiedName": "StoragePreviousHashStore._namespace"
|
|
817
790
|
},
|
|
818
791
|
"13": {
|
|
819
792
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
820
|
-
"qualifiedName": "StoragePreviousHashStore.
|
|
793
|
+
"qualifiedName": "StoragePreviousHashStore._storage"
|
|
821
794
|
},
|
|
822
795
|
"14": {
|
|
823
796
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
824
|
-
"qualifiedName": "StoragePreviousHashStore.
|
|
797
|
+
"qualifiedName": "StoragePreviousHashStore._type"
|
|
825
798
|
},
|
|
826
799
|
"15": {
|
|
827
800
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
828
|
-
"qualifiedName": "StoragePreviousHashStore.
|
|
801
|
+
"qualifiedName": "StoragePreviousHashStore.namespace"
|
|
829
802
|
},
|
|
830
803
|
"16": {
|
|
831
804
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
@@ -833,7 +806,7 @@
|
|
|
833
806
|
},
|
|
834
807
|
"17": {
|
|
835
808
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
836
|
-
"qualifiedName": "StoragePreviousHashStore.
|
|
809
|
+
"qualifiedName": "StoragePreviousHashStore.type"
|
|
837
810
|
},
|
|
838
811
|
"18": {
|
|
839
812
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
@@ -841,7 +814,7 @@
|
|
|
841
814
|
},
|
|
842
815
|
"19": {
|
|
843
816
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
844
|
-
"qualifiedName": "StoragePreviousHashStore.
|
|
817
|
+
"qualifiedName": "StoragePreviousHashStore.storage"
|
|
845
818
|
},
|
|
846
819
|
"20": {
|
|
847
820
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
@@ -849,7 +822,7 @@
|
|
|
849
822
|
},
|
|
850
823
|
"21": {
|
|
851
824
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
852
|
-
"qualifiedName": "StoragePreviousHashStore.
|
|
825
|
+
"qualifiedName": "StoragePreviousHashStore.getItem"
|
|
853
826
|
},
|
|
854
827
|
"22": {
|
|
855
828
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
@@ -857,11 +830,11 @@
|
|
|
857
830
|
},
|
|
858
831
|
"23": {
|
|
859
832
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
860
|
-
"qualifiedName": "
|
|
833
|
+
"qualifiedName": "address"
|
|
861
834
|
},
|
|
862
835
|
"24": {
|
|
863
836
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
864
|
-
"qualifiedName": "
|
|
837
|
+
"qualifiedName": "StoragePreviousHashStore.removeItem"
|
|
865
838
|
},
|
|
866
839
|
"25": {
|
|
867
840
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
@@ -869,25 +842,21 @@
|
|
|
869
842
|
},
|
|
870
843
|
"26": {
|
|
871
844
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
872
|
-
"qualifiedName": "
|
|
845
|
+
"qualifiedName": "address"
|
|
873
846
|
},
|
|
874
847
|
"27": {
|
|
875
848
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
876
|
-
"qualifiedName": "
|
|
849
|
+
"qualifiedName": "StoragePreviousHashStore.setItem"
|
|
877
850
|
},
|
|
878
851
|
"28": {
|
|
879
852
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
880
853
|
"qualifiedName": "StoragePreviousHashStore.setItem"
|
|
881
854
|
},
|
|
882
855
|
"29": {
|
|
883
|
-
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
884
|
-
"qualifiedName": "StoragePreviousHashStore.setItem"
|
|
885
|
-
},
|
|
886
|
-
"30": {
|
|
887
856
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
888
857
|
"qualifiedName": "address"
|
|
889
858
|
},
|
|
890
|
-
"
|
|
859
|
+
"30": {
|
|
891
860
|
"sourceFileName": "src/StoragePreviousHashStore.ts",
|
|
892
861
|
"qualifiedName": "previousHash"
|
|
893
862
|
}
|
|
@@ -2,7 +2,6 @@ import store from 'store2';
|
|
|
2
2
|
export class StoragePreviousHashStore {
|
|
3
3
|
static DefaultNamespace = 'xyo-previous-hash-store';
|
|
4
4
|
static DefaultStorageType = 'local';
|
|
5
|
-
keyPrefix;
|
|
6
5
|
_namespace = StoragePreviousHashStore.DefaultNamespace;
|
|
7
6
|
_storage;
|
|
8
7
|
_type = StoragePreviousHashStore.DefaultStorageType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoragePreviousHashStore.js","sourceRoot":"","sources":["../../src/StoragePreviousHashStore.ts"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,QAAQ,CAAA;AASzC,MAAM,OAAO,wBAAwB;IACnC,MAAM,CAAU,gBAAgB,GAAG,yBAAyB,CAAA;IAC5D,MAAM,CAAU,kBAAkB,GAAY,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"StoragePreviousHashStore.js","sourceRoot":"","sources":["../../src/StoragePreviousHashStore.ts"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,QAAQ,CAAA;AASzC,MAAM,OAAO,wBAAwB;IACnC,MAAM,CAAU,gBAAgB,GAAG,yBAAyB,CAAA;IAC5D,MAAM,CAAU,kBAAkB,GAAY,OAAO,CAAA;IAC7C,UAAU,GAAG,wBAAwB,CAAC,gBAAgB,CAAA;IACtD,QAAQ,CAAuB;IAC/B,KAAK,GAAY,wBAAwB,CAAC,kBAAkB,CAAA;IAEpE,YAAY,IAA8B;QACxC,IAAI,IAAI,EAAE,SAAS;YAAE,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,CAAA;QACrD,IAAI,IAAI,EAAE,IAAI;YAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAA;QACtC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;IAC5D,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAA;IACxB,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAA;IACnB,CAAC;IAED,IAAY,OAAO;QACjB,IAAI,CAAC,IAAI,EAAE,QAAQ;YAAE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QAC/E,OAAO,IAAI,CAAC,QAAQ,CAAA;IACtB,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,OAAe;QAC3B,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;QAC7C,OAAO,KAAK,IAAI,IAAI,CAAA;IACtB,CAAC;IACD,KAAK,CAAC,UAAU,CAAC,OAAe;QAC9B,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IACpC,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,OAAe,EAAE,YAAoB;QACjD,MAAM,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,YAAY,CAAC,CAAA;IAC/C,CAAC"}
|
|
@@ -7,7 +7,6 @@ export type StoragePreviousHashOpts = {
|
|
|
7
7
|
export declare class StoragePreviousHashStore implements PreviousHashStore {
|
|
8
8
|
static readonly DefaultNamespace = "xyo-previous-hash-store";
|
|
9
9
|
static readonly DefaultStorageType: Storage;
|
|
10
|
-
keyPrefix?: string | undefined;
|
|
11
10
|
private _namespace;
|
|
12
11
|
private _storage;
|
|
13
12
|
private _type;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoragePreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/StoragePreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAA;AAG1E,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;AAElD,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,qBAAa,wBAAyB,YAAW,iBAAiB;IAChE,MAAM,CAAC,QAAQ,CAAC,gBAAgB,6BAA4B;IAC5D,MAAM,CAAC,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAU;IACrD,
|
|
1
|
+
{"version":3,"file":"StoragePreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/StoragePreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAA;AAG1E,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;AAElD,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,qBAAa,wBAAyB,YAAW,iBAAiB;IAChE,MAAM,CAAC,QAAQ,CAAC,gBAAgB,6BAA4B;IAC5D,MAAM,CAAC,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAU;IACrD,OAAO,CAAC,UAAU,CAA4C;IAC9D,OAAO,CAAC,QAAQ,CAAuB;IACvC,OAAO,CAAC,KAAK,CAAuD;gBAExD,IAAI,CAAC,EAAE,uBAAuB;IAM1C,IAAI,SAAS,WAEZ;IAED,IAAI,IAAI,IAAI,OAAO,CAElB;IAED,OAAO,KAAK,OAAO,GAGlB;IAEK,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAIhD,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAG1C,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGpE"}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@xyo-network/previous-hash-store-model": "^2.62.
|
|
14
|
+
"@xyo-network/previous-hash-store-model": "^2.62.2",
|
|
15
15
|
"store2": "^2.14.2"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
},
|
|
52
52
|
"sideEffects": false,
|
|
53
53
|
"types": "dist/types/index.d.ts",
|
|
54
|
-
"version": "2.62.
|
|
54
|
+
"version": "2.62.2"
|
|
55
55
|
}
|
|
@@ -11,7 +11,6 @@ export type StoragePreviousHashOpts = {
|
|
|
11
11
|
export class StoragePreviousHashStore implements PreviousHashStore {
|
|
12
12
|
static readonly DefaultNamespace = 'xyo-previous-hash-store'
|
|
13
13
|
static readonly DefaultStorageType: Storage = 'local'
|
|
14
|
-
keyPrefix?: string | undefined
|
|
15
14
|
private _namespace = StoragePreviousHashStore.DefaultNamespace
|
|
16
15
|
private _storage: StoreBase | undefined
|
|
17
16
|
private _type: Storage = StoragePreviousHashStore.DefaultStorageType
|