@xyo-network/react-archivist 2.45.0-rc.17 → 2.45.0-rc.19
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/hooks/useArchivist.js +2 -4
- package/dist/cjs/hooks/useArchivist.js.map +1 -1
- package/dist/docs.json +85 -160
- package/dist/esm/hooks/useArchivist.js +2 -3
- package/dist/esm/hooks/useArchivist.js.map +1 -1
- package/dist/types/hooks/useArchivist.d.ts +2 -3
- package/dist/types/hooks/useArchivist.d.ts.map +1 -1
- package/package.json +11 -12
- package/src/hooks/useArchivist.tsx +3 -5
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.useArchivist = void 0;
|
|
4
4
|
const archivist_1 = require("@xyo-network/archivist");
|
|
5
5
|
const react_node_1 = require("@xyo-network/react-node");
|
|
6
|
-
|
|
7
|
-
exports.useArchivist = useArchivist;
|
|
8
|
-
exports.useWrappedArchivist = (0, react_node_1.WrappedModuleHookFactory)(archivist_1.ArchivistWrapper);
|
|
6
|
+
exports.useArchivist = (0, react_node_1.WrappedModuleHookFactory)(archivist_1.ArchivistWrapper);
|
|
9
7
|
//# sourceMappingURL=useArchivist.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArchivist.js","sourceRoot":"","sources":["../../../src/hooks/useArchivist.tsx"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"useArchivist.js","sourceRoot":"","sources":["../../../src/hooks/useArchivist.tsx"],"names":[],"mappings":";;;AAAA,sDAAyD;AACzD,wDAAkE;AAErD,QAAA,YAAY,GAAG,IAAA,qCAAwB,EAAC,4BAAgB,CAAC,CAAA"}
|
package/dist/docs.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"fileName": "packages/modules/packages/archivist/src/components/Details/Details.tsx",
|
|
27
27
|
"line": 20,
|
|
28
28
|
"character": 2,
|
|
29
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
29
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/components/Details/Details.tsx#L20"
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
32
|
"type": {
|
|
@@ -18396,13 +18396,13 @@
|
|
|
18396
18396
|
"fileName": "packages/modules/packages/archivist/src/components/Details/Details.tsx",
|
|
18397
18397
|
"line": 19,
|
|
18398
18398
|
"character": 17,
|
|
18399
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
18399
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/components/Details/Details.tsx#L19"
|
|
18400
18400
|
},
|
|
18401
18401
|
{
|
|
18402
18402
|
"fileName": "packages/modules/packages/archivist/src/components/Details/Details.tsx",
|
|
18403
18403
|
"line": 23,
|
|
18404
18404
|
"character": 13,
|
|
18405
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
18405
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/components/Details/Details.tsx#L23"
|
|
18406
18406
|
}
|
|
18407
18407
|
],
|
|
18408
18408
|
"extendedTypes": [
|
|
@@ -18415,7 +18415,7 @@
|
|
|
18415
18415
|
]
|
|
18416
18416
|
},
|
|
18417
18417
|
{
|
|
18418
|
-
"id":
|
|
18418
|
+
"id": 415,
|
|
18419
18419
|
"name": "RefreshCallback",
|
|
18420
18420
|
"kind": 4194304,
|
|
18421
18421
|
"kindString": "Type alias",
|
|
@@ -18425,13 +18425,13 @@
|
|
|
18425
18425
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
18426
18426
|
"line": 7,
|
|
18427
18427
|
"character": 12,
|
|
18428
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
18428
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L7"
|
|
18429
18429
|
}
|
|
18430
18430
|
],
|
|
18431
18431
|
"type": {
|
|
18432
18432
|
"type": "reflection",
|
|
18433
18433
|
"declaration": {
|
|
18434
|
-
"id":
|
|
18434
|
+
"id": 416,
|
|
18435
18435
|
"name": "__type",
|
|
18436
18436
|
"kind": 65536,
|
|
18437
18437
|
"kindString": "Type literal",
|
|
@@ -18441,12 +18441,12 @@
|
|
|
18441
18441
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
18442
18442
|
"line": 7,
|
|
18443
18443
|
"character": 30,
|
|
18444
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
18444
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L7"
|
|
18445
18445
|
}
|
|
18446
18446
|
],
|
|
18447
18447
|
"signatures": [
|
|
18448
18448
|
{
|
|
18449
|
-
"id":
|
|
18449
|
+
"id": 417,
|
|
18450
18450
|
"name": "__type",
|
|
18451
18451
|
"kind": 4096,
|
|
18452
18452
|
"kindString": "Call signature",
|
|
@@ -18471,7 +18471,7 @@
|
|
|
18471
18471
|
"fileName": "packages/modules/packages/archivist/src/components/Card/Card.tsx",
|
|
18472
18472
|
"line": 8,
|
|
18473
18473
|
"character": 13,
|
|
18474
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
18474
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/components/Card/Card.tsx#L8"
|
|
18475
18475
|
}
|
|
18476
18476
|
],
|
|
18477
18477
|
"signatures": [
|
|
@@ -19749,7 +19749,7 @@
|
|
|
19749
19749
|
"fileName": "packages/modules/packages/archivist/src/components/Card/CardContent.tsx",
|
|
19750
19750
|
"line": 10,
|
|
19751
19751
|
"character": 13,
|
|
19752
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
19752
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/components/Card/CardContent.tsx#L10"
|
|
19753
19753
|
}
|
|
19754
19754
|
],
|
|
19755
19755
|
"signatures": [
|
|
@@ -19953,7 +19953,7 @@
|
|
|
19953
19953
|
"fileName": "packages/modules/packages/archivist/src/components/Card/CardHeader.tsx",
|
|
19954
19954
|
"line": 5,
|
|
19955
19955
|
"character": 13,
|
|
19956
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
19956
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/components/Card/CardHeader.tsx#L5"
|
|
19957
19957
|
}
|
|
19958
19958
|
],
|
|
19959
19959
|
"signatures": [
|
|
@@ -20181,13 +20181,13 @@
|
|
|
20181
20181
|
"fileName": "packages/modules/packages/archivist/src/components/Details/Details.tsx",
|
|
20182
20182
|
"line": 19,
|
|
20183
20183
|
"character": 17,
|
|
20184
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20184
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/components/Details/Details.tsx#L19"
|
|
20185
20185
|
},
|
|
20186
20186
|
{
|
|
20187
20187
|
"fileName": "packages/modules/packages/archivist/src/components/Details/Details.tsx",
|
|
20188
20188
|
"line": 23,
|
|
20189
20189
|
"character": 13,
|
|
20190
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20190
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/components/Details/Details.tsx#L23"
|
|
20191
20191
|
}
|
|
20192
20192
|
],
|
|
20193
20193
|
"signatures": [
|
|
@@ -20263,7 +20263,7 @@
|
|
|
20263
20263
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivist.tsx",
|
|
20264
20264
|
"line": 4,
|
|
20265
20265
|
"character": 13,
|
|
20266
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20266
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivist.tsx#L4"
|
|
20267
20267
|
}
|
|
20268
20268
|
],
|
|
20269
20269
|
"signatures": [
|
|
@@ -20286,6 +20286,21 @@
|
|
|
20286
20286
|
"type": "intrinsic",
|
|
20287
20287
|
"name": "string"
|
|
20288
20288
|
}
|
|
20289
|
+
},
|
|
20290
|
+
{
|
|
20291
|
+
"id": 403,
|
|
20292
|
+
"name": "account",
|
|
20293
|
+
"kind": 32768,
|
|
20294
|
+
"kindString": "Parameter",
|
|
20295
|
+
"flags": {
|
|
20296
|
+
"isOptional": true
|
|
20297
|
+
},
|
|
20298
|
+
"type": {
|
|
20299
|
+
"type": "reference",
|
|
20300
|
+
"name": "AccountInstance",
|
|
20301
|
+
"qualifiedName": "AccountInstance",
|
|
20302
|
+
"package": "@xyo-network/account-model"
|
|
20303
|
+
}
|
|
20289
20304
|
}
|
|
20290
20305
|
],
|
|
20291
20306
|
"type": {
|
|
@@ -20300,9 +20315,9 @@
|
|
|
20300
20315
|
},
|
|
20301
20316
|
{
|
|
20302
20317
|
"type": "reference",
|
|
20303
|
-
"name": "
|
|
20304
|
-
"qualifiedName": "
|
|
20305
|
-
"package": "@xyo-network/archivist-
|
|
20318
|
+
"name": "ArchivistWrapper",
|
|
20319
|
+
"qualifiedName": "ArchivistWrapper",
|
|
20320
|
+
"package": "@xyo-network/archivist-wrapper"
|
|
20306
20321
|
}
|
|
20307
20322
|
]
|
|
20308
20323
|
},
|
|
@@ -20327,7 +20342,7 @@
|
|
|
20327
20342
|
]
|
|
20328
20343
|
},
|
|
20329
20344
|
{
|
|
20330
|
-
"id":
|
|
20345
|
+
"id": 404,
|
|
20331
20346
|
"name": "useArchivistAll",
|
|
20332
20347
|
"kind": 64,
|
|
20333
20348
|
"kindString": "Function",
|
|
@@ -20337,12 +20352,12 @@
|
|
|
20337
20352
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistAll.tsx",
|
|
20338
20353
|
"line": 6,
|
|
20339
20354
|
"character": 13,
|
|
20340
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20355
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistAll.tsx#L6"
|
|
20341
20356
|
}
|
|
20342
20357
|
],
|
|
20343
20358
|
"signatures": [
|
|
20344
20359
|
{
|
|
20345
|
-
"id":
|
|
20360
|
+
"id": 405,
|
|
20346
20361
|
"name": "useArchivistAll",
|
|
20347
20362
|
"kind": 4096,
|
|
20348
20363
|
"kindString": "Call signature",
|
|
@@ -20376,7 +20391,7 @@
|
|
|
20376
20391
|
{
|
|
20377
20392
|
"type": "reflection",
|
|
20378
20393
|
"declaration": {
|
|
20379
|
-
"id":
|
|
20394
|
+
"id": 406,
|
|
20380
20395
|
"name": "__type",
|
|
20381
20396
|
"kind": 65536,
|
|
20382
20397
|
"kindString": "Type literal",
|
|
@@ -20402,7 +20417,7 @@
|
|
|
20402
20417
|
{
|
|
20403
20418
|
"type": "reflection",
|
|
20404
20419
|
"declaration": {
|
|
20405
|
-
"id":
|
|
20420
|
+
"id": 407,
|
|
20406
20421
|
"name": "__type",
|
|
20407
20422
|
"kind": 65536,
|
|
20408
20423
|
"kindString": "Type literal",
|
|
@@ -20412,12 +20427,12 @@
|
|
|
20412
20427
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
20413
20428
|
"line": 14,
|
|
20414
20429
|
"character": 26,
|
|
20415
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20430
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L14"
|
|
20416
20431
|
}
|
|
20417
20432
|
],
|
|
20418
20433
|
"signatures": [
|
|
20419
20434
|
{
|
|
20420
|
-
"id":
|
|
20435
|
+
"id": 408,
|
|
20421
20436
|
"name": "__type",
|
|
20422
20437
|
"kind": 4096,
|
|
20423
20438
|
"kindString": "Call signature",
|
|
@@ -20437,7 +20452,7 @@
|
|
|
20437
20452
|
]
|
|
20438
20453
|
},
|
|
20439
20454
|
{
|
|
20440
|
-
"id":
|
|
20455
|
+
"id": 409,
|
|
20441
20456
|
"name": "useArchivistGet",
|
|
20442
20457
|
"kind": 64,
|
|
20443
20458
|
"kindString": "Function",
|
|
@@ -20447,19 +20462,19 @@
|
|
|
20447
20462
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistGet.tsx",
|
|
20448
20463
|
"line": 7,
|
|
20449
20464
|
"character": 13,
|
|
20450
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20465
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistGet.tsx#L7"
|
|
20451
20466
|
}
|
|
20452
20467
|
],
|
|
20453
20468
|
"signatures": [
|
|
20454
20469
|
{
|
|
20455
|
-
"id":
|
|
20470
|
+
"id": 410,
|
|
20456
20471
|
"name": "useArchivistGet",
|
|
20457
20472
|
"kind": 4096,
|
|
20458
20473
|
"kindString": "Call signature",
|
|
20459
20474
|
"flags": {},
|
|
20460
20475
|
"typeParameter": [
|
|
20461
20476
|
{
|
|
20462
|
-
"id":
|
|
20477
|
+
"id": 413,
|
|
20463
20478
|
"name": "T",
|
|
20464
20479
|
"kind": 131072,
|
|
20465
20480
|
"kindString": "Type parameter",
|
|
@@ -20482,7 +20497,7 @@
|
|
|
20482
20497
|
{
|
|
20483
20498
|
"type": "reflection",
|
|
20484
20499
|
"declaration": {
|
|
20485
|
-
"id":
|
|
20500
|
+
"id": 411,
|
|
20486
20501
|
"name": "__type",
|
|
20487
20502
|
"kind": 65536,
|
|
20488
20503
|
"kindString": "Type literal",
|
|
@@ -20516,7 +20531,7 @@
|
|
|
20516
20531
|
{
|
|
20517
20532
|
"type": "reflection",
|
|
20518
20533
|
"declaration": {
|
|
20519
|
-
"id":
|
|
20534
|
+
"id": 412,
|
|
20520
20535
|
"name": "__type",
|
|
20521
20536
|
"kind": 65536,
|
|
20522
20537
|
"kindString": "Type literal",
|
|
@@ -20536,7 +20551,7 @@
|
|
|
20536
20551
|
],
|
|
20537
20552
|
"parameters": [
|
|
20538
20553
|
{
|
|
20539
|
-
"id":
|
|
20554
|
+
"id": 414,
|
|
20540
20555
|
"name": "hashes",
|
|
20541
20556
|
"kind": 32768,
|
|
20542
20557
|
"kindString": "Parameter",
|
|
@@ -20561,7 +20576,7 @@
|
|
|
20561
20576
|
"type": "array",
|
|
20562
20577
|
"elementType": {
|
|
20563
20578
|
"type": "reference",
|
|
20564
|
-
"id":
|
|
20579
|
+
"id": 413,
|
|
20565
20580
|
"name": "T"
|
|
20566
20581
|
}
|
|
20567
20582
|
}
|
|
@@ -20579,7 +20594,7 @@
|
|
|
20579
20594
|
"type": "optional",
|
|
20580
20595
|
"elementType": {
|
|
20581
20596
|
"type": "reference",
|
|
20582
|
-
"id":
|
|
20597
|
+
"id": 415,
|
|
20583
20598
|
"name": "RefreshCallback"
|
|
20584
20599
|
}
|
|
20585
20600
|
}
|
|
@@ -20589,7 +20604,7 @@
|
|
|
20589
20604
|
]
|
|
20590
20605
|
},
|
|
20591
20606
|
{
|
|
20592
|
-
"id":
|
|
20607
|
+
"id": 418,
|
|
20593
20608
|
"name": "useArchivistStates",
|
|
20594
20609
|
"kind": 64,
|
|
20595
20610
|
"kindString": "Function",
|
|
@@ -20599,19 +20614,19 @@
|
|
|
20599
20614
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
20600
20615
|
"line": 9,
|
|
20601
20616
|
"character": 13,
|
|
20602
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20617
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L9"
|
|
20603
20618
|
}
|
|
20604
20619
|
],
|
|
20605
20620
|
"signatures": [
|
|
20606
20621
|
{
|
|
20607
|
-
"id":
|
|
20622
|
+
"id": 419,
|
|
20608
20623
|
"name": "useArchivistStates",
|
|
20609
20624
|
"kind": 4096,
|
|
20610
20625
|
"kindString": "Call signature",
|
|
20611
20626
|
"flags": {},
|
|
20612
20627
|
"typeParameter": [
|
|
20613
20628
|
{
|
|
20614
|
-
"id":
|
|
20629
|
+
"id": 422,
|
|
20615
20630
|
"name": "T",
|
|
20616
20631
|
"kind": 131072,
|
|
20617
20632
|
"kindString": "Type parameter",
|
|
@@ -20634,7 +20649,7 @@
|
|
|
20634
20649
|
{
|
|
20635
20650
|
"type": "reflection",
|
|
20636
20651
|
"declaration": {
|
|
20637
|
-
"id":
|
|
20652
|
+
"id": 420,
|
|
20638
20653
|
"name": "__type",
|
|
20639
20654
|
"kind": 65536,
|
|
20640
20655
|
"kindString": "Type literal",
|
|
@@ -20668,7 +20683,7 @@
|
|
|
20668
20683
|
{
|
|
20669
20684
|
"type": "reflection",
|
|
20670
20685
|
"declaration": {
|
|
20671
|
-
"id":
|
|
20686
|
+
"id": 421,
|
|
20672
20687
|
"name": "__type",
|
|
20673
20688
|
"kind": 65536,
|
|
20674
20689
|
"kindString": "Type literal",
|
|
@@ -20689,14 +20704,14 @@
|
|
|
20689
20704
|
"type": {
|
|
20690
20705
|
"type": "reflection",
|
|
20691
20706
|
"declaration": {
|
|
20692
|
-
"id":
|
|
20707
|
+
"id": 423,
|
|
20693
20708
|
"name": "__type",
|
|
20694
20709
|
"kind": 65536,
|
|
20695
20710
|
"kindString": "Type literal",
|
|
20696
20711
|
"flags": {},
|
|
20697
20712
|
"children": [
|
|
20698
20713
|
{
|
|
20699
|
-
"id":
|
|
20714
|
+
"id": 424,
|
|
20700
20715
|
"name": "archivist",
|
|
20701
20716
|
"kind": 1024,
|
|
20702
20717
|
"kindString": "Property",
|
|
@@ -20706,7 +20721,7 @@
|
|
|
20706
20721
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
20707
20722
|
"line": 24,
|
|
20708
20723
|
"character": 11,
|
|
20709
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20724
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L24"
|
|
20710
20725
|
}
|
|
20711
20726
|
],
|
|
20712
20727
|
"type": {
|
|
@@ -20726,7 +20741,7 @@
|
|
|
20726
20741
|
}
|
|
20727
20742
|
},
|
|
20728
20743
|
{
|
|
20729
|
-
"id":
|
|
20744
|
+
"id": 425,
|
|
20730
20745
|
"name": "error",
|
|
20731
20746
|
"kind": 1024,
|
|
20732
20747
|
"kindString": "Property",
|
|
@@ -20736,7 +20751,7 @@
|
|
|
20736
20751
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
20737
20752
|
"line": 24,
|
|
20738
20753
|
"character": 22,
|
|
20739
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20754
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L24"
|
|
20740
20755
|
}
|
|
20741
20756
|
],
|
|
20742
20757
|
"type": {
|
|
@@ -20756,7 +20771,7 @@
|
|
|
20756
20771
|
}
|
|
20757
20772
|
},
|
|
20758
20773
|
{
|
|
20759
|
-
"id":
|
|
20774
|
+
"id": 426,
|
|
20760
20775
|
"name": "payloads",
|
|
20761
20776
|
"kind": 1024,
|
|
20762
20777
|
"kindString": "Property",
|
|
@@ -20766,7 +20781,7 @@
|
|
|
20766
20781
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
20767
20782
|
"line": 24,
|
|
20768
20783
|
"character": 29,
|
|
20769
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20784
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L24"
|
|
20770
20785
|
}
|
|
20771
20786
|
],
|
|
20772
20787
|
"type": {
|
|
@@ -20780,7 +20795,7 @@
|
|
|
20780
20795
|
"type": "array",
|
|
20781
20796
|
"elementType": {
|
|
20782
20797
|
"type": "reference",
|
|
20783
|
-
"id":
|
|
20798
|
+
"id": 422,
|
|
20784
20799
|
"name": "T"
|
|
20785
20800
|
}
|
|
20786
20801
|
}
|
|
@@ -20788,7 +20803,7 @@
|
|
|
20788
20803
|
}
|
|
20789
20804
|
},
|
|
20790
20805
|
{
|
|
20791
|
-
"id":
|
|
20806
|
+
"id": 427,
|
|
20792
20807
|
"name": "refresh",
|
|
20793
20808
|
"kind": 1024,
|
|
20794
20809
|
"kindString": "Property",
|
|
@@ -20798,13 +20813,13 @@
|
|
|
20798
20813
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
20799
20814
|
"line": 24,
|
|
20800
20815
|
"character": 39,
|
|
20801
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20816
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L24"
|
|
20802
20817
|
}
|
|
20803
20818
|
],
|
|
20804
20819
|
"type": {
|
|
20805
20820
|
"type": "reflection",
|
|
20806
20821
|
"declaration": {
|
|
20807
|
-
"id":
|
|
20822
|
+
"id": 428,
|
|
20808
20823
|
"name": "__type",
|
|
20809
20824
|
"kind": 65536,
|
|
20810
20825
|
"kindString": "Type literal",
|
|
@@ -20814,12 +20829,12 @@
|
|
|
20814
20829
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
20815
20830
|
"line": 14,
|
|
20816
20831
|
"character": 26,
|
|
20817
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20832
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L14"
|
|
20818
20833
|
}
|
|
20819
20834
|
],
|
|
20820
20835
|
"signatures": [
|
|
20821
20836
|
{
|
|
20822
|
-
"id":
|
|
20837
|
+
"id": 429,
|
|
20823
20838
|
"name": "__type",
|
|
20824
20839
|
"kind": 4096,
|
|
20825
20840
|
"kindString": "Call signature",
|
|
@@ -20835,7 +20850,7 @@
|
|
|
20835
20850
|
"defaultValue": "refreshPayloads"
|
|
20836
20851
|
},
|
|
20837
20852
|
{
|
|
20838
|
-
"id":
|
|
20853
|
+
"id": 430,
|
|
20839
20854
|
"name": "refreshCount",
|
|
20840
20855
|
"kind": 1024,
|
|
20841
20856
|
"kindString": "Property",
|
|
@@ -20845,7 +20860,7 @@
|
|
|
20845
20860
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
20846
20861
|
"line": 24,
|
|
20847
20862
|
"character": 65,
|
|
20848
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20863
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L24"
|
|
20849
20864
|
}
|
|
20850
20865
|
],
|
|
20851
20866
|
"type": {
|
|
@@ -20854,7 +20869,7 @@
|
|
|
20854
20869
|
}
|
|
20855
20870
|
},
|
|
20856
20871
|
{
|
|
20857
|
-
"id":
|
|
20872
|
+
"id": 431,
|
|
20858
20873
|
"name": "setError",
|
|
20859
20874
|
"kind": 1024,
|
|
20860
20875
|
"kindString": "Property",
|
|
@@ -20864,7 +20879,7 @@
|
|
|
20864
20879
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
20865
20880
|
"line": 24,
|
|
20866
20881
|
"character": 79,
|
|
20867
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20882
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L24"
|
|
20868
20883
|
}
|
|
20869
20884
|
],
|
|
20870
20885
|
"type": {
|
|
@@ -20900,7 +20915,7 @@
|
|
|
20900
20915
|
}
|
|
20901
20916
|
},
|
|
20902
20917
|
{
|
|
20903
|
-
"id":
|
|
20918
|
+
"id": 432,
|
|
20904
20919
|
"name": "setPayloads",
|
|
20905
20920
|
"kind": 1024,
|
|
20906
20921
|
"kindString": "Property",
|
|
@@ -20910,7 +20925,7 @@
|
|
|
20910
20925
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
20911
20926
|
"line": 24,
|
|
20912
20927
|
"character": 89,
|
|
20913
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20928
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L24"
|
|
20914
20929
|
}
|
|
20915
20930
|
],
|
|
20916
20931
|
"type": {
|
|
@@ -20930,7 +20945,7 @@
|
|
|
20930
20945
|
"type": "array",
|
|
20931
20946
|
"elementType": {
|
|
20932
20947
|
"type": "reference",
|
|
20933
|
-
"id":
|
|
20948
|
+
"id": 422,
|
|
20934
20949
|
"name": "T"
|
|
20935
20950
|
}
|
|
20936
20951
|
}
|
|
@@ -20952,13 +20967,13 @@
|
|
|
20952
20967
|
{
|
|
20953
20968
|
"title": "Properties",
|
|
20954
20969
|
"children": [
|
|
20970
|
+
424,
|
|
20971
|
+
425,
|
|
20972
|
+
426,
|
|
20955
20973
|
427,
|
|
20956
|
-
428,
|
|
20957
|
-
429,
|
|
20958
20974
|
430,
|
|
20959
|
-
|
|
20960
|
-
|
|
20961
|
-
435
|
|
20975
|
+
431,
|
|
20976
|
+
432
|
|
20962
20977
|
]
|
|
20963
20978
|
}
|
|
20964
20979
|
],
|
|
@@ -20967,102 +20982,13 @@
|
|
|
20967
20982
|
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx",
|
|
20968
20983
|
"line": 24,
|
|
20969
20984
|
"character": 9,
|
|
20970
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20985
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/hooks/useArchivistStates.tsx#L24"
|
|
20971
20986
|
}
|
|
20972
20987
|
]
|
|
20973
20988
|
}
|
|
20974
20989
|
}
|
|
20975
20990
|
}
|
|
20976
20991
|
]
|
|
20977
|
-
},
|
|
20978
|
-
{
|
|
20979
|
-
"id": 403,
|
|
20980
|
-
"name": "useWrappedArchivist",
|
|
20981
|
-
"kind": 64,
|
|
20982
|
-
"kindString": "Function",
|
|
20983
|
-
"flags": {},
|
|
20984
|
-
"sources": [
|
|
20985
|
-
{
|
|
20986
|
-
"fileName": "packages/modules/packages/archivist/src/hooks/useArchivist.tsx",
|
|
20987
|
-
"line": 6,
|
|
20988
|
-
"character": 13,
|
|
20989
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3f15245d6e5/packages/modules/packages/archivist/src/hooks/useArchivist.tsx#L6"
|
|
20990
|
-
}
|
|
20991
|
-
],
|
|
20992
|
-
"signatures": [
|
|
20993
|
-
{
|
|
20994
|
-
"id": 404,
|
|
20995
|
-
"name": "useWrappedArchivist",
|
|
20996
|
-
"kind": 4096,
|
|
20997
|
-
"kindString": "Call signature",
|
|
20998
|
-
"flags": {},
|
|
20999
|
-
"parameters": [
|
|
21000
|
-
{
|
|
21001
|
-
"id": 405,
|
|
21002
|
-
"name": "nameOrAddress",
|
|
21003
|
-
"kind": 32768,
|
|
21004
|
-
"kindString": "Parameter",
|
|
21005
|
-
"flags": {
|
|
21006
|
-
"isOptional": true
|
|
21007
|
-
},
|
|
21008
|
-
"type": {
|
|
21009
|
-
"type": "intrinsic",
|
|
21010
|
-
"name": "string"
|
|
21011
|
-
}
|
|
21012
|
-
},
|
|
21013
|
-
{
|
|
21014
|
-
"id": 406,
|
|
21015
|
-
"name": "account",
|
|
21016
|
-
"kind": 32768,
|
|
21017
|
-
"kindString": "Parameter",
|
|
21018
|
-
"flags": {
|
|
21019
|
-
"isOptional": true
|
|
21020
|
-
},
|
|
21021
|
-
"type": {
|
|
21022
|
-
"type": "reference",
|
|
21023
|
-
"name": "AccountInstance",
|
|
21024
|
-
"qualifiedName": "AccountInstance",
|
|
21025
|
-
"package": "@xyo-network/account-model"
|
|
21026
|
-
}
|
|
21027
|
-
}
|
|
21028
|
-
],
|
|
21029
|
-
"type": {
|
|
21030
|
-
"type": "tuple",
|
|
21031
|
-
"elements": [
|
|
21032
|
-
{
|
|
21033
|
-
"type": "union",
|
|
21034
|
-
"types": [
|
|
21035
|
-
{
|
|
21036
|
-
"type": "intrinsic",
|
|
21037
|
-
"name": "undefined"
|
|
21038
|
-
},
|
|
21039
|
-
{
|
|
21040
|
-
"type": "reference",
|
|
21041
|
-
"name": "ArchivistWrapper",
|
|
21042
|
-
"qualifiedName": "ArchivistWrapper",
|
|
21043
|
-
"package": "@xyo-network/archivist-wrapper"
|
|
21044
|
-
}
|
|
21045
|
-
]
|
|
21046
|
-
},
|
|
21047
|
-
{
|
|
21048
|
-
"type": "union",
|
|
21049
|
-
"types": [
|
|
21050
|
-
{
|
|
21051
|
-
"type": "intrinsic",
|
|
21052
|
-
"name": "undefined"
|
|
21053
|
-
},
|
|
21054
|
-
{
|
|
21055
|
-
"type": "reference",
|
|
21056
|
-
"name": "Error",
|
|
21057
|
-
"qualifiedName": "Error",
|
|
21058
|
-
"package": "typescript"
|
|
21059
|
-
}
|
|
21060
|
-
]
|
|
21061
|
-
}
|
|
21062
|
-
]
|
|
21063
|
-
}
|
|
21064
|
-
}
|
|
21065
|
-
]
|
|
21066
20992
|
}
|
|
21067
20993
|
],
|
|
21068
20994
|
"groups": [
|
|
@@ -21075,7 +21001,7 @@
|
|
|
21075
21001
|
{
|
|
21076
21002
|
"title": "Type Aliases",
|
|
21077
21003
|
"children": [
|
|
21078
|
-
|
|
21004
|
+
415
|
|
21079
21005
|
]
|
|
21080
21006
|
},
|
|
21081
21007
|
{
|
|
@@ -21086,10 +21012,9 @@
|
|
|
21086
21012
|
14,
|
|
21087
21013
|
20,
|
|
21088
21014
|
400,
|
|
21089
|
-
|
|
21090
|
-
|
|
21091
|
-
|
|
21092
|
-
403
|
|
21015
|
+
404,
|
|
21016
|
+
409,
|
|
21017
|
+
418
|
|
21093
21018
|
]
|
|
21094
21019
|
}
|
|
21095
21020
|
],
|
|
@@ -21098,7 +21023,7 @@
|
|
|
21098
21023
|
"fileName": "packages/modules/packages/archivist/src/index.ts",
|
|
21099
21024
|
"line": 1,
|
|
21100
21025
|
"character": 0,
|
|
21101
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
21026
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/46c7a9f244d/packages/modules/packages/archivist/src/index.ts#L1"
|
|
21102
21027
|
}
|
|
21103
21028
|
]
|
|
21104
21029
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ArchivistWrapper } from '@xyo-network/archivist';
|
|
2
|
-
import {
|
|
3
|
-
export const useArchivist = (
|
|
4
|
-
export const useWrappedArchivist = WrappedModuleHookFactory(ArchivistWrapper);
|
|
2
|
+
import { WrappedModuleHookFactory } from '@xyo-network/react-node';
|
|
3
|
+
export const useArchivist = WrappedModuleHookFactory(ArchivistWrapper);
|
|
5
4
|
//# sourceMappingURL=useArchivist.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArchivist.js","sourceRoot":"","sources":["../../../src/hooks/useArchivist.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useArchivist.js","sourceRoot":"","sources":["../../../src/hooks/useArchivist.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAElE,MAAM,CAAC,MAAM,YAAY,GAAG,wBAAwB,CAAC,gBAAgB,CAAC,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const useArchivist: (nameOrAddress?: string) => [
|
|
3
|
-
export declare const useWrappedArchivist: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined) => [ArchivistWrapper | undefined, Error | undefined];
|
|
1
|
+
import { ArchivistWrapper } from '@xyo-network/archivist';
|
|
2
|
+
export declare const useArchivist: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined) => [ArchivistWrapper | undefined, Error | undefined];
|
|
4
3
|
//# sourceMappingURL=useArchivist.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArchivist.d.ts","sourceRoot":"","sources":["../../../src/hooks/useArchivist.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useArchivist.d.ts","sourceRoot":"","sources":["../../../src/hooks/useArchivist.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAGzD,eAAO,MAAM,YAAY,uKAA6C,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
+
"@xylabs/eth-address": "^2.7.4",
|
|
13
14
|
"@xylabs/react-button": "^2.16.8",
|
|
15
|
+
"@xylabs/react-crypto": "^2.16.8",
|
|
14
16
|
"@xylabs/react-flexbox": "^2.16.8",
|
|
15
17
|
"@xylabs/react-shared": "^2.16.8",
|
|
16
|
-
"@xyo-network/
|
|
17
|
-
"@xyo-network/react-
|
|
18
|
-
"@xyo-network/react-
|
|
19
|
-
"@xyo-network/react-shared": "^2.45.0-rc.17",
|
|
20
|
-
"lodash": "^4.17.21"
|
|
18
|
+
"@xyo-network/react-module": "^2.45.0-rc.19",
|
|
19
|
+
"@xyo-network/react-node": "^2.45.0-rc.19",
|
|
20
|
+
"@xyo-network/react-shared": "^2.45.0-rc.19"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"@mui/icons-material": "^5",
|
|
@@ -32,14 +32,13 @@
|
|
|
32
32
|
"description": "Common React library for all XYO projects that use React",
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@storybook/react": "^6.5.16",
|
|
35
|
-
"@types/lodash": "^4.14.191",
|
|
36
35
|
"@xylabs/ts-scripts-yarn3": "^2.16.1",
|
|
37
36
|
"@xylabs/tsconfig-react": "^2.16.1",
|
|
38
|
-
"@xyo-network/archivist": "^2.51.
|
|
39
|
-
"@xyo-network/archivist-wrapper": "^2.51.
|
|
40
|
-
"@xyo-network/module": "^2.51.
|
|
41
|
-
"@xyo-network/payload-model": "^2.51.
|
|
42
|
-
"@xyo-network/react-storybook": "^2.45.0-rc.
|
|
37
|
+
"@xyo-network/archivist": "^2.51.4",
|
|
38
|
+
"@xyo-network/archivist-wrapper": "^2.51.4",
|
|
39
|
+
"@xyo-network/module": "^2.51.4",
|
|
40
|
+
"@xyo-network/payload-model": "^2.51.4",
|
|
41
|
+
"@xyo-network/react-storybook": "^2.45.0-rc.19",
|
|
43
42
|
"require-from-string": "^2.0.2",
|
|
44
43
|
"typescript": "^4.9.5"
|
|
45
44
|
},
|
|
@@ -85,6 +84,6 @@
|
|
|
85
84
|
},
|
|
86
85
|
"sideEffects": false,
|
|
87
86
|
"types": "dist/types/index.d.ts",
|
|
88
|
-
"version": "2.45.0-rc.
|
|
87
|
+
"version": "2.45.0-rc.19",
|
|
89
88
|
"stableVersion": "2.44.1"
|
|
90
89
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ArchivistWrapper } from '@xyo-network/archivist'
|
|
2
|
+
import { WrappedModuleHookFactory } from '@xyo-network/react-node'
|
|
3
3
|
|
|
4
|
-
export const useArchivist = (
|
|
5
|
-
|
|
6
|
-
export const useWrappedArchivist = WrappedModuleHookFactory(ArchivistWrapper)
|
|
4
|
+
export const useArchivist = WrappedModuleHookFactory(ArchivistWrapper)
|