@xyo-network/react-archivist 2.56.6 → 2.56.8
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/node/useArchivistFromNode.js +1 -1
- package/dist/cjs/hooks/node/useArchivistFromNode.js.map +1 -1
- package/dist/docs.json +26 -40
- package/dist/esm/hooks/node/useArchivistFromNode.js +1 -1
- package/dist/esm/hooks/node/useArchivistFromNode.js.map +1 -1
- package/dist/types/hooks/node/useArchivistFromNode.d.ts +5 -6
- package/dist/types/hooks/node/useArchivistFromNode.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/hooks/node/useArchivistFromNode.tsx +2 -3
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useArchivistFromNode = void 0;
|
|
4
4
|
const react_node_1 = require("@xyo-network/react-node");
|
|
5
|
-
const useArchivistFromNode = (
|
|
5
|
+
const useArchivistFromNode = (nameOrAddress, up = false, logger) => (0, react_node_1.useModuleFromNode)(nameOrAddress, up, logger);
|
|
6
6
|
exports.useArchivistFromNode = useArchivistFromNode;
|
|
7
7
|
//# sourceMappingURL=useArchivistFromNode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArchivistFromNode.js","sourceRoot":"","sources":["../../../../src/hooks/node/useArchivistFromNode.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"useArchivistFromNode.js","sourceRoot":"","sources":["../../../../src/hooks/node/useArchivistFromNode.tsx"],"names":[],"mappings":";;;AAEA,wDAA2D;AAEpD,MAAM,oBAAoB,GAAG,CAAC,aAAsB,EAAE,EAAE,GAAG,KAAK,EAAE,MAAe,EAAE,EAAE,CAC1F,IAAA,8BAAiB,EAAkB,aAAa,EAAE,EAAE,EAAE,MAAM,CAAC,CAAA;AADlD,QAAA,oBAAoB,wBAC8B"}
|
package/dist/docs.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"fileName": "packages/modules/packages/archivist/src/components/Details/Details.tsx",
|
|
26
26
|
"line": 21,
|
|
27
27
|
"character": 2,
|
|
28
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
28
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/components/Details/Details.tsx#L21"
|
|
29
29
|
}
|
|
30
30
|
],
|
|
31
31
|
"type": {
|
|
@@ -21604,13 +21604,13 @@
|
|
|
21604
21604
|
"fileName": "packages/modules/packages/archivist/src/components/Details/Details.tsx",
|
|
21605
21605
|
"line": 20,
|
|
21606
21606
|
"character": 17,
|
|
21607
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
21607
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/components/Details/Details.tsx#L20"
|
|
21608
21608
|
},
|
|
21609
21609
|
{
|
|
21610
21610
|
"fileName": "packages/modules/packages/archivist/src/components/Details/Details.tsx",
|
|
21611
21611
|
"line": 24,
|
|
21612
21612
|
"character": 13,
|
|
21613
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
21613
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/components/Details/Details.tsx#L24"
|
|
21614
21614
|
}
|
|
21615
21615
|
],
|
|
21616
21616
|
"extendedTypes": [
|
|
@@ -21636,7 +21636,7 @@
|
|
|
21636
21636
|
"fileName": "packages/modules/packages/archivist/src/components/Card/Card.tsx",
|
|
21637
21637
|
"line": 8,
|
|
21638
21638
|
"character": 13,
|
|
21639
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
21639
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/components/Card/Card.tsx#L8"
|
|
21640
21640
|
}
|
|
21641
21641
|
],
|
|
21642
21642
|
"signatures": [
|
|
@@ -23215,7 +23215,7 @@
|
|
|
23215
23215
|
"fileName": "packages/modules/packages/archivist/src/components/Card/CardContent.tsx",
|
|
23216
23216
|
"line": 12,
|
|
23217
23217
|
"character": 13,
|
|
23218
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
23218
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/components/Card/CardContent.tsx#L12"
|
|
23219
23219
|
}
|
|
23220
23220
|
],
|
|
23221
23221
|
"signatures": [
|
|
@@ -23678,7 +23678,7 @@
|
|
|
23678
23678
|
"fileName": "packages/modules/packages/archivist/src/components/Card/CardHeader.tsx",
|
|
23679
23679
|
"line": 17,
|
|
23680
23680
|
"character": 13,
|
|
23681
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
23681
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/components/Card/CardHeader.tsx#L17"
|
|
23682
23682
|
}
|
|
23683
23683
|
],
|
|
23684
23684
|
"signatures": [
|
|
@@ -24165,13 +24165,13 @@
|
|
|
24165
24165
|
"fileName": "packages/modules/packages/archivist/src/components/Details/Details.tsx",
|
|
24166
24166
|
"line": 20,
|
|
24167
24167
|
"character": 17,
|
|
24168
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
24168
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/components/Details/Details.tsx#L20"
|
|
24169
24169
|
},
|
|
24170
24170
|
{
|
|
24171
24171
|
"fileName": "packages/modules/packages/archivist/src/components/Details/Details.tsx",
|
|
24172
24172
|
"line": 24,
|
|
24173
24173
|
"character": 13,
|
|
24174
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
24174
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/components/Details/Details.tsx#L24"
|
|
24175
24175
|
}
|
|
24176
24176
|
],
|
|
24177
24177
|
"signatures": [
|
|
@@ -24259,7 +24259,7 @@
|
|
|
24259
24259
|
"fileName": "packages/modules/packages/archivist/src/hooks/queries/useArchivistAll.tsx",
|
|
24260
24260
|
"line": 9,
|
|
24261
24261
|
"character": 13,
|
|
24262
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
24262
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/queries/useArchivistAll.tsx#L9"
|
|
24263
24263
|
}
|
|
24264
24264
|
],
|
|
24265
24265
|
"signatures": [
|
|
@@ -24274,7 +24274,7 @@
|
|
|
24274
24274
|
"fileName": "packages/modules/packages/archivist/src/hooks/queries/useArchivistAll.tsx",
|
|
24275
24275
|
"line": 9,
|
|
24276
24276
|
"character": 31,
|
|
24277
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
24277
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/queries/useArchivistAll.tsx#L9"
|
|
24278
24278
|
}
|
|
24279
24279
|
],
|
|
24280
24280
|
"parameters": [
|
|
@@ -24662,9 +24662,9 @@
|
|
|
24662
24662
|
"sources": [
|
|
24663
24663
|
{
|
|
24664
24664
|
"fileName": "packages/modules/packages/archivist/src/hooks/node/useArchivistFromNode.tsx",
|
|
24665
|
-
"line":
|
|
24665
|
+
"line": 5,
|
|
24666
24666
|
"character": 13,
|
|
24667
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
24667
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/node/useArchivistFromNode.tsx#L5"
|
|
24668
24668
|
}
|
|
24669
24669
|
],
|
|
24670
24670
|
"signatures": [
|
|
@@ -24677,37 +24677,23 @@
|
|
|
24677
24677
|
"sources": [
|
|
24678
24678
|
{
|
|
24679
24679
|
"fileName": "packages/modules/packages/archivist/src/hooks/node/useArchivistFromNode.tsx",
|
|
24680
|
-
"line":
|
|
24680
|
+
"line": 5,
|
|
24681
24681
|
"character": 36,
|
|
24682
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
24682
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/node/useArchivistFromNode.tsx#L5"
|
|
24683
24683
|
}
|
|
24684
24684
|
],
|
|
24685
24685
|
"parameters": [
|
|
24686
24686
|
{
|
|
24687
24687
|
"id": 414,
|
|
24688
|
-
"name": "
|
|
24688
|
+
"name": "nameOrAddress",
|
|
24689
24689
|
"variant": "param",
|
|
24690
24690
|
"kind": 32768,
|
|
24691
24691
|
"flags": {
|
|
24692
24692
|
"isOptional": true
|
|
24693
24693
|
},
|
|
24694
24694
|
"type": {
|
|
24695
|
-
"type": "
|
|
24696
|
-
"
|
|
24697
|
-
{
|
|
24698
|
-
"type": "intrinsic",
|
|
24699
|
-
"name": "string"
|
|
24700
|
-
},
|
|
24701
|
-
{
|
|
24702
|
-
"type": "reference",
|
|
24703
|
-
"target": {
|
|
24704
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/module-model/src/ModuleFilter.ts",
|
|
24705
|
-
"qualifiedName": "ModuleFilter"
|
|
24706
|
-
},
|
|
24707
|
-
"name": "ModuleFilter",
|
|
24708
|
-
"package": "@xyo-network/module-model"
|
|
24709
|
-
}
|
|
24710
|
-
]
|
|
24695
|
+
"type": "intrinsic",
|
|
24696
|
+
"name": "string"
|
|
24711
24697
|
}
|
|
24712
24698
|
},
|
|
24713
24699
|
{
|
|
@@ -25014,7 +25000,7 @@
|
|
|
25014
25000
|
"fileName": "packages/modules/packages/archivist/src/hooks/queries/useArchivistGet.tsx",
|
|
25015
25001
|
"line": 9,
|
|
25016
25002
|
"character": 13,
|
|
25017
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
25003
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/queries/useArchivistGet.tsx#L9"
|
|
25018
25004
|
}
|
|
25019
25005
|
],
|
|
25020
25006
|
"signatures": [
|
|
@@ -25029,7 +25015,7 @@
|
|
|
25029
25015
|
"fileName": "packages/modules/packages/archivist/src/hooks/queries/useArchivistGet.tsx",
|
|
25030
25016
|
"line": 9,
|
|
25031
25017
|
"character": 31,
|
|
25032
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
25018
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/queries/useArchivistGet.tsx#L9"
|
|
25033
25019
|
}
|
|
25034
25020
|
],
|
|
25035
25021
|
"typeParameter": [
|
|
@@ -25462,7 +25448,7 @@
|
|
|
25462
25448
|
"fileName": "packages/modules/packages/archivist/src/hooks/node/useArchivistsFromNode.tsx",
|
|
25463
25449
|
"line": 6,
|
|
25464
25450
|
"character": 13,
|
|
25465
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
25451
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/node/useArchivistsFromNode.tsx#L6"
|
|
25466
25452
|
}
|
|
25467
25453
|
],
|
|
25468
25454
|
"signatures": [
|
|
@@ -25477,7 +25463,7 @@
|
|
|
25477
25463
|
"fileName": "packages/modules/packages/archivist/src/hooks/node/useArchivistsFromNode.tsx",
|
|
25478
25464
|
"line": 6,
|
|
25479
25465
|
"character": 37,
|
|
25480
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
25466
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/node/useArchivistsFromNode.tsx#L6"
|
|
25481
25467
|
}
|
|
25482
25468
|
],
|
|
25483
25469
|
"parameters": [
|
|
@@ -25806,7 +25792,7 @@
|
|
|
25806
25792
|
"fileName": "packages/modules/packages/archivist/src/hooks/useWrappedArchivist.tsx",
|
|
25807
25793
|
"line": 4,
|
|
25808
25794
|
"character": 13,
|
|
25809
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
25795
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/useWrappedArchivist.tsx#L4"
|
|
25810
25796
|
}
|
|
25811
25797
|
],
|
|
25812
25798
|
"signatures": [
|
|
@@ -26391,7 +26377,7 @@
|
|
|
26391
26377
|
"fileName": "packages/modules/packages/archivist/src/hooks/node/useWrappedArchivistFromNode.tsx",
|
|
26392
26378
|
"line": 4,
|
|
26393
26379
|
"character": 13,
|
|
26394
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
26380
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/node/useWrappedArchivistFromNode.tsx#L4"
|
|
26395
26381
|
}
|
|
26396
26382
|
],
|
|
26397
26383
|
"signatures": [
|
|
@@ -26752,7 +26738,7 @@
|
|
|
26752
26738
|
"fileName": "packages/modules/packages/archivist/src/hooks/useWrappedArchivists.tsx",
|
|
26753
26739
|
"line": 4,
|
|
26754
26740
|
"character": 13,
|
|
26755
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
26741
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/useWrappedArchivists.tsx#L4"
|
|
26756
26742
|
}
|
|
26757
26743
|
],
|
|
26758
26744
|
"signatures": [
|
|
@@ -27325,7 +27311,7 @@
|
|
|
27325
27311
|
"fileName": "packages/modules/packages/archivist/src/hooks/node/useWrappedArchivistsFromNode.tsx",
|
|
27326
27312
|
"line": 4,
|
|
27327
27313
|
"character": 13,
|
|
27328
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
27314
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a4cffa673cd5/packages/modules/packages/archivist/src/hooks/node/useWrappedArchivistsFromNode.tsx#L4"
|
|
27329
27315
|
}
|
|
27330
27316
|
],
|
|
27331
27317
|
"signatures": [
|
|
@@ -29357,7 +29343,7 @@
|
|
|
29357
29343
|
},
|
|
29358
29344
|
"414": {
|
|
29359
29345
|
"sourceFileName": "src/hooks/node/useArchivistFromNode.tsx",
|
|
29360
|
-
"qualifiedName": "
|
|
29346
|
+
"qualifiedName": "nameOrAddress"
|
|
29361
29347
|
},
|
|
29362
29348
|
"415": {
|
|
29363
29349
|
"sourceFileName": "src/hooks/node/useArchivistFromNode.tsx",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { useModuleFromNode } from '@xyo-network/react-node';
|
|
2
|
-
export const useArchivistFromNode = (
|
|
2
|
+
export const useArchivistFromNode = (nameOrAddress, up = false, logger) => useModuleFromNode(nameOrAddress, up, logger);
|
|
3
3
|
//# sourceMappingURL=useArchivistFromNode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArchivistFromNode.js","sourceRoot":"","sources":["../../../../src/hooks/node/useArchivistFromNode.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useArchivistFromNode.js","sourceRoot":"","sources":["../../../../src/hooks/node/useArchivistFromNode.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAE3D,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,aAAsB,EAAE,EAAE,GAAG,KAAK,EAAE,MAAe,EAAE,EAAE,CAC1F,iBAAiB,CAAkB,aAAa,EAAE,EAAE,EAAE,MAAM,CAAC,CAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ArchivistModule } from '@xyo-network/archivist';
|
|
2
2
|
import { Logger } from '@xyo-network/core';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
3
|
+
export declare const useArchivistFromNode: (nameOrAddress?: string, up?: boolean, logger?: Logger) => [ArchivistModule<import("@xyo-network/archivist").ArchivistParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
4
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
6
5
|
readonly name?: string | undefined;
|
|
7
6
|
readonly paging?: Record<string, {
|
|
8
7
|
size?: number | undefined;
|
|
@@ -10,12 +9,12 @@ export declare const useArchivistFromNode: (nameOrAddressOrFilter?: string | Mod
|
|
|
10
9
|
readonly schema: string;
|
|
11
10
|
readonly security?: {
|
|
12
11
|
readonly allowAnonymous?: boolean | undefined;
|
|
13
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
12
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
14
13
|
readonly disallowed?: Record<string, string[]> | undefined;
|
|
15
14
|
} | undefined;
|
|
16
15
|
readonly storeQueries?: boolean | undefined;
|
|
17
16
|
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
18
|
-
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
17
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
19
18
|
readonly name?: string | undefined;
|
|
20
19
|
readonly paging?: Record<string, {
|
|
21
20
|
size?: number | undefined;
|
|
@@ -23,7 +22,7 @@ export declare const useArchivistFromNode: (nameOrAddressOrFilter?: string | Mod
|
|
|
23
22
|
readonly schema: "network.xyo.archivist.config";
|
|
24
23
|
readonly security?: {
|
|
25
24
|
readonly allowAnonymous?: boolean | undefined;
|
|
26
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
25
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
27
26
|
readonly disallowed?: Record<string, string[]> | undefined;
|
|
28
27
|
} | undefined;
|
|
29
28
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArchivistFromNode.d.ts","sourceRoot":"","sources":["../../../../src/hooks/node/useArchivistFromNode.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"useArchivistFromNode.d.ts","sourceRoot":"","sources":["../../../../src/hooks/node/useArchivistFromNode.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAG1C,eAAO,MAAM,oBAAoB,mBAAoB,MAAM,yBAAuB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2HACzB,CAAA"}
|
package/package.json
CHANGED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"@xyo-network/boundwitness-model": "^2.64.3",
|
|
18
18
|
"@xyo-network/boundwitness-wrapper": "^2.64.3",
|
|
19
19
|
"@xyo-network/core": "^2.64.3",
|
|
20
|
-
"@xyo-network/react-module": "^2.56.
|
|
21
|
-
"@xyo-network/react-node": "^2.56.
|
|
22
|
-
"@xyo-network/react-wallet": "^2.56.
|
|
20
|
+
"@xyo-network/react-module": "^2.56.8",
|
|
21
|
+
"@xyo-network/react-node": "^2.56.8",
|
|
22
|
+
"@xyo-network/react-wallet": "^2.56.8",
|
|
23
23
|
"react-icons": "^4.10.1"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@xyo-network/boundwitness-builder": "^2.64.3",
|
|
44
44
|
"@xyo-network/module": "^2.64.3",
|
|
45
45
|
"@xyo-network/payload-model": "^2.64.3",
|
|
46
|
-
"@xyo-network/react-storybook": "^2.56.
|
|
46
|
+
"@xyo-network/react-storybook": "^2.56.8",
|
|
47
47
|
"typescript": "^5.1.6"
|
|
48
48
|
},
|
|
49
49
|
"browser": "dist/esm/index.js",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
},
|
|
89
89
|
"sideEffects": false,
|
|
90
90
|
"types": "dist/types/index.d.ts",
|
|
91
|
-
"version": "2.56.
|
|
91
|
+
"version": "2.56.8"
|
|
92
92
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ArchivistModule } from '@xyo-network/archivist'
|
|
2
2
|
import { Logger } from '@xyo-network/core'
|
|
3
|
-
import { ModuleFilter } from '@xyo-network/module'
|
|
4
3
|
import { useModuleFromNode } from '@xyo-network/react-node'
|
|
5
4
|
|
|
6
|
-
export const useArchivistFromNode = (
|
|
7
|
-
useModuleFromNode<ArchivistModule>(
|
|
5
|
+
export const useArchivistFromNode = (nameOrAddress?: string, up = false, logger?: Logger) =>
|
|
6
|
+
useModuleFromNode<ArchivistModule>(nameOrAddress, up, logger)
|