@xyo-network/react-node 2.35.11 → 2.36.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.
@@ -1,178 +1,3 @@
1
1
  import { XyoArchivistWrapper } from '@xyo-network/archivist';
2
- export declare const useArchivistModule: (address?: string) => XyoArchivistWrapper<(({
3
- schema: string;
4
- } & {
5
- previousHash?: string | undefined;
6
- sources?: string[] | undefined;
7
- timestamp?: number | undefined;
8
- } & {
9
- schema: "network.xyo.query.module.subscribe";
10
- address: string;
11
- filter?: import("@xyo-network/module").XyoModuleSubscribeFilter | null | undefined;
12
- maxQueue?: number | undefined;
13
- } & {
14
- budget?: number | undefined;
15
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
16
- minBid?: number | undefined;
17
- address?: string | [string] | undefined;
18
- }) | ({
19
- schema: string;
20
- } & {
21
- previousHash?: string | undefined;
22
- sources?: string[] | undefined;
23
- timestamp?: number | undefined;
24
- } & {
25
- schema: "network.xyo.query.module.discover";
26
- } & {
27
- budget?: number | undefined;
28
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
29
- minBid?: number | undefined;
30
- address?: string | [string] | undefined;
31
- }) | ({
32
- schema: string;
33
- } & {
34
- previousHash?: string | undefined;
35
- sources?: string[] | undefined;
36
- timestamp?: number | undefined;
37
- } & {
38
- schema: "network.xyo.query.module.initialize";
39
- config?: ({
40
- schema: string;
41
- } & {
42
- previousHash?: string | undefined;
43
- sources?: string[] | undefined;
44
- timestamp?: number | undefined;
45
- } & {
46
- schema: string;
47
- }) | undefined;
48
- } & {
49
- budget?: number | undefined;
50
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
51
- minBid?: number | undefined;
52
- address?: string | [string] | undefined;
53
- }) | ({
54
- schema: string;
55
- } & {
56
- previousHash?: string | undefined;
57
- sources?: string[] | undefined;
58
- timestamp?: number | undefined;
59
- } & {
60
- schema: "network.xyo.query.module.shutdown";
61
- } & {
62
- budget?: number | undefined;
63
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
64
- minBid?: number | undefined;
65
- address?: string | [string] | undefined;
66
- })) | ({
67
- schema: string;
68
- } & {
69
- previousHash?: string | undefined;
70
- sources?: string[] | undefined;
71
- timestamp?: number | undefined;
72
- } & {
73
- schema: "network.xyo.query.archivist.all";
74
- } & {
75
- budget?: number | undefined;
76
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
77
- minBid?: number | undefined;
78
- address?: string | [string] | undefined;
79
- }) | ({
80
- schema: string;
81
- } & {
82
- previousHash?: string | undefined;
83
- sources?: string[] | undefined;
84
- timestamp?: number | undefined;
85
- } & {
86
- schema: "network.xyo.query.archivist.clear";
87
- } & {
88
- budget?: number | undefined;
89
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
90
- minBid?: number | undefined;
91
- address?: string | [string] | undefined;
92
- }) | ({
93
- schema: string;
94
- } & {
95
- previousHash?: string | undefined;
96
- sources?: string[] | undefined;
97
- timestamp?: number | undefined;
98
- } & {
99
- schema: "network.xyo.query.archivist.commit";
100
- } & {
101
- budget?: number | undefined;
102
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
103
- minBid?: number | undefined;
104
- address?: string | [string] | undefined;
105
- }) | ({
106
- schema: string;
107
- } & {
108
- previousHash?: string | undefined;
109
- sources?: string[] | undefined;
110
- timestamp?: number | undefined;
111
- } & {
112
- schema: "network.xyo.query.archivist.delete";
113
- hashes: string[];
114
- } & {
115
- budget?: number | undefined;
116
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
117
- minBid?: number | undefined;
118
- address?: string | [string] | undefined;
119
- }) | ({
120
- schema: string;
121
- } & {
122
- previousHash?: string | undefined;
123
- sources?: string[] | undefined;
124
- timestamp?: number | undefined;
125
- } & {
126
- schema: "network.xyo.query.archivist.find";
127
- filter?: import("@xyo-network/archivist").XyoPayloadFindFilter | undefined;
128
- } & {
129
- budget?: number | undefined;
130
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
131
- minBid?: number | undefined;
132
- address?: string | [string] | undefined;
133
- }) | ({
134
- schema: string;
135
- } & {
136
- previousHash?: string | undefined;
137
- sources?: string[] | undefined;
138
- timestamp?: number | undefined;
139
- } & {
140
- schema: "network.xyo.query.archivist.get";
141
- hashes: string[];
142
- } & {
143
- budget?: number | undefined;
144
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
145
- minBid?: number | undefined;
146
- address?: string | [string] | undefined;
147
- }) | ({
148
- schema: string;
149
- } & {
150
- previousHash?: string | undefined;
151
- sources?: string[] | undefined;
152
- timestamp?: number | undefined;
153
- } & {
154
- schema: "network.xyo.query.archivist.insert";
155
- payloads: ({
156
- schema: string;
157
- } & {
158
- previousHash?: string | undefined;
159
- sources?: string[] | undefined;
160
- timestamp?: number | undefined;
161
- } & {
162
- schema: string;
163
- })[];
164
- } & {
165
- budget?: number | undefined;
166
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
167
- minBid?: number | undefined;
168
- address?: string | [string] | undefined;
169
- }), {
170
- schema: string;
171
- } & {
172
- previousHash?: string | undefined;
173
- sources?: string[] | undefined;
174
- timestamp?: number | undefined;
175
- } & {
176
- schema: string;
177
- }> | undefined;
2
+ export declare const useArchivistModule: (address?: string) => XyoArchivistWrapper | undefined;
178
3
  //# sourceMappingURL=useArchivistModule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useArchivistModule.d.ts","sourceRoot":"","sources":["../../../src/contexts/useArchivistModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAI5D,eAAO,MAAM,kBAAkB,aAAc,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGlD,CAAA"}
1
+ {"version":3,"file":"useArchivistModule.d.ts","sourceRoot":"","sources":["../../../src/contexts/useArchivistModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAI5D,eAAO,MAAM,kBAAkB,aAAc,MAAM,oCAGlD,CAAA"}
@@ -1,178 +1,3 @@
1
1
  import { XyoArchivistWrapper } from '@xyo-network/archivist';
2
- export declare const useArchivistModules: () => (XyoArchivistWrapper<(({
3
- schema: string;
4
- } & {
5
- previousHash?: string | undefined;
6
- sources?: string[] | undefined;
7
- timestamp?: number | undefined;
8
- } & {
9
- schema: "network.xyo.query.module.subscribe";
10
- address: string;
11
- filter?: import("@xyo-network/module").XyoModuleSubscribeFilter | null | undefined;
12
- maxQueue?: number | undefined;
13
- } & {
14
- budget?: number | undefined;
15
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
16
- minBid?: number | undefined;
17
- address?: string | [string] | undefined;
18
- }) | ({
19
- schema: string;
20
- } & {
21
- previousHash?: string | undefined;
22
- sources?: string[] | undefined;
23
- timestamp?: number | undefined;
24
- } & {
25
- schema: "network.xyo.query.module.discover";
26
- } & {
27
- budget?: number | undefined;
28
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
29
- minBid?: number | undefined;
30
- address?: string | [string] | undefined;
31
- }) | ({
32
- schema: string;
33
- } & {
34
- previousHash?: string | undefined;
35
- sources?: string[] | undefined;
36
- timestamp?: number | undefined;
37
- } & {
38
- schema: "network.xyo.query.module.initialize";
39
- config?: ({
40
- schema: string;
41
- } & {
42
- previousHash?: string | undefined;
43
- sources?: string[] | undefined;
44
- timestamp?: number | undefined;
45
- } & {
46
- schema: string;
47
- }) | undefined;
48
- } & {
49
- budget?: number | undefined;
50
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
51
- minBid?: number | undefined;
52
- address?: string | [string] | undefined;
53
- }) | ({
54
- schema: string;
55
- } & {
56
- previousHash?: string | undefined;
57
- sources?: string[] | undefined;
58
- timestamp?: number | undefined;
59
- } & {
60
- schema: "network.xyo.query.module.shutdown";
61
- } & {
62
- budget?: number | undefined;
63
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
64
- minBid?: number | undefined;
65
- address?: string | [string] | undefined;
66
- })) | ({
67
- schema: string;
68
- } & {
69
- previousHash?: string | undefined;
70
- sources?: string[] | undefined;
71
- timestamp?: number | undefined;
72
- } & {
73
- schema: "network.xyo.query.archivist.all";
74
- } & {
75
- budget?: number | undefined;
76
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
77
- minBid?: number | undefined;
78
- address?: string | [string] | undefined;
79
- }) | ({
80
- schema: string;
81
- } & {
82
- previousHash?: string | undefined;
83
- sources?: string[] | undefined;
84
- timestamp?: number | undefined;
85
- } & {
86
- schema: "network.xyo.query.archivist.clear";
87
- } & {
88
- budget?: number | undefined;
89
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
90
- minBid?: number | undefined;
91
- address?: string | [string] | undefined;
92
- }) | ({
93
- schema: string;
94
- } & {
95
- previousHash?: string | undefined;
96
- sources?: string[] | undefined;
97
- timestamp?: number | undefined;
98
- } & {
99
- schema: "network.xyo.query.archivist.commit";
100
- } & {
101
- budget?: number | undefined;
102
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
103
- minBid?: number | undefined;
104
- address?: string | [string] | undefined;
105
- }) | ({
106
- schema: string;
107
- } & {
108
- previousHash?: string | undefined;
109
- sources?: string[] | undefined;
110
- timestamp?: number | undefined;
111
- } & {
112
- schema: "network.xyo.query.archivist.delete";
113
- hashes: string[];
114
- } & {
115
- budget?: number | undefined;
116
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
117
- minBid?: number | undefined;
118
- address?: string | [string] | undefined;
119
- }) | ({
120
- schema: string;
121
- } & {
122
- previousHash?: string | undefined;
123
- sources?: string[] | undefined;
124
- timestamp?: number | undefined;
125
- } & {
126
- schema: "network.xyo.query.archivist.find";
127
- filter?: import("@xyo-network/archivist").XyoPayloadFindFilter | undefined;
128
- } & {
129
- budget?: number | undefined;
130
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
131
- minBid?: number | undefined;
132
- address?: string | [string] | undefined;
133
- }) | ({
134
- schema: string;
135
- } & {
136
- previousHash?: string | undefined;
137
- sources?: string[] | undefined;
138
- timestamp?: number | undefined;
139
- } & {
140
- schema: "network.xyo.query.archivist.get";
141
- hashes: string[];
142
- } & {
143
- budget?: number | undefined;
144
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
145
- minBid?: number | undefined;
146
- address?: string | [string] | undefined;
147
- }) | ({
148
- schema: string;
149
- } & {
150
- previousHash?: string | undefined;
151
- sources?: string[] | undefined;
152
- timestamp?: number | undefined;
153
- } & {
154
- schema: "network.xyo.query.archivist.insert";
155
- payloads: ({
156
- schema: string;
157
- } & {
158
- previousHash?: string | undefined;
159
- sources?: string[] | undefined;
160
- timestamp?: number | undefined;
161
- } & {
162
- schema: string;
163
- })[];
164
- } & {
165
- budget?: number | undefined;
166
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
167
- minBid?: number | undefined;
168
- address?: string | [string] | undefined;
169
- }), {
170
- schema: string;
171
- } & {
172
- previousHash?: string | undefined;
173
- sources?: string[] | undefined;
174
- timestamp?: number | undefined;
175
- } & {
176
- schema: string;
177
- }> | undefined)[];
2
+ export declare const useArchivistModules: () => (XyoArchivistWrapper | undefined)[];
178
3
  //# sourceMappingURL=useArchivistModules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useArchivistModules.d.ts","sourceRoot":"","sources":["../../../src/contexts/useArchivistModules.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAKxF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM/B,CAAA"}
1
+ {"version":3,"file":"useArchivistModules.d.ts","sourceRoot":"","sources":["../../../src/contexts/useArchivistModules.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAKxF,eAAO,MAAM,mBAAmB,2CAM/B,CAAA"}
@@ -1,31 +1,9 @@
1
- export declare const useModule: (address?: string) => import("@xyo-network/module").XyoModule<{
2
- schema: string;
3
- } & {
4
- previousHash?: string | undefined;
5
- sources?: string[] | undefined;
6
- timestamp?: number | undefined;
7
- } & {
8
- schema: string;
9
- } & {
10
- budget?: number | undefined;
11
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
12
- minBid?: number | undefined;
13
- address?: string | [string] | undefined;
14
- }, {
15
- schema: string;
16
- } & {
17
- previousHash?: string | undefined;
18
- sources?: string[] | undefined;
19
- timestamp?: number | undefined;
20
- } & {
21
- schema: string;
22
- }, {
23
- schema: string;
24
- } & {
25
- previousHash?: string | undefined;
26
- sources?: string[] | undefined;
27
- timestamp?: number | undefined;
1
+ export declare const useModule: (address?: string) => import("@xyo-network/module").XyoModule<import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & {
2
+ security?: {
3
+ allowed?: Record<string, string[][]> | undefined;
4
+ disallowed?: Record<string, string[]> | undefined;
5
+ } | undefined;
28
6
  } & {
29
7
  schema: string;
30
- }> | undefined;
8
+ }> | null | undefined;
31
9
  //# sourceMappingURL=useModule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModule.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,aAAc,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGzC,CAAA"}
1
+ {"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModule.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,aAAc,MAAM;;;;;;;qBAGzC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { useNode } from './useNode';
2
2
  export const useModule = (address) => {
3
3
  const [node] = useNode();
4
- return address ? node?.get(address) : undefined;
4
+ return address ? node?.resolve(address) : undefined;
5
5
  };
6
6
  //# sourceMappingURL=useModule.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useModule.js","sourceRoot":"","sources":["../../../src/contexts/useModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,OAAgB,EAAE,EAAE;IAC5C,MAAM,CAAC,IAAI,CAAC,GAAG,OAAO,EAAE,CAAA;IACxB,OAAO,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;AACjD,CAAC,CAAA"}
1
+ {"version":3,"file":"useModule.js","sourceRoot":"","sources":["../../../src/contexts/useModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,OAAgB,EAAE,EAAE;IAC5C,MAAM,CAAC,IAAI,CAAC,GAAG,OAAO,EAAE,CAAA;IACxB,OAAO,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;AACrD,CAAC,CAAA"}
@@ -1,31 +1,9 @@
1
- export declare const useModules: () => (import("@xyo-network/module").XyoModule<{
2
- schema: string;
3
- } & {
4
- previousHash?: string | undefined;
5
- sources?: string[] | undefined;
6
- timestamp?: number | undefined;
7
- } & {
8
- schema: string;
9
- } & {
10
- budget?: number | undefined;
11
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
12
- minBid?: number | undefined;
13
- address?: string | [string] | undefined;
14
- }, {
15
- schema: string;
16
- } & {
17
- previousHash?: string | undefined;
18
- sources?: string[] | undefined;
19
- timestamp?: number | undefined;
20
- } & {
21
- schema: string;
22
- }, {
23
- schema: string;
24
- } & {
25
- previousHash?: string | undefined;
26
- sources?: string[] | undefined;
27
- timestamp?: number | undefined;
1
+ export declare const useModules: () => (import("@xyo-network/module").XyoModule<import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & {
2
+ security?: {
3
+ allowed?: Record<string, string[][]> | undefined;
4
+ disallowed?: Record<string, string[]> | undefined;
5
+ } | undefined;
28
6
  } & {
29
7
  schema: string;
30
- }> | undefined)[] | undefined;
8
+ }> | null | undefined)[] | undefined;
31
9
  //# sourceMappingURL=useModules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useModules.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModules.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAItB,CAAA"}
1
+ {"version":3,"file":"useModules.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModules.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;oCAItB,CAAA"}
@@ -3,6 +3,6 @@ import { useNode } from './useNode';
3
3
  export const useModules = () => {
4
4
  const [addresses] = useModuleAddresses();
5
5
  const [node] = useNode();
6
- return addresses?.map((address) => node?.get(address));
6
+ return addresses?.map((address) => node?.resolve(address));
7
7
  };
8
8
  //# sourceMappingURL=useModules.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useModules.js","sourceRoot":"","sources":["../../../src/contexts/useModules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,EAAE;IAC7B,MAAM,CAAC,SAAS,CAAC,GAAG,kBAAkB,EAAE,CAAA;IACxC,MAAM,CAAC,IAAI,CAAC,GAAG,OAAO,EAAE,CAAA;IACxB,OAAO,SAAS,EAAE,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAA;AACxD,CAAC,CAAA"}
1
+ {"version":3,"file":"useModules.js","sourceRoot":"","sources":["../../../src/contexts/useModules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,EAAE;IAC7B,MAAM,CAAC,SAAS,CAAC,GAAG,kBAAkB,EAAE,CAAA;IACxC,MAAM,CAAC,IAAI,CAAC,GAAG,OAAO,EAAE,CAAA;IACxB,OAAO,SAAS,EAAE,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAA;AAC5D,CAAC,CAAA"}
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@xylabs/react-flexbox": "^2.14.20",
14
14
  "@xylabs/react-shared": "^2.14.20",
15
- "@xyo-network/react-shared": "^2.35.11",
15
+ "@xyo-network/react-shared": "^2.36.0",
16
16
  "lodash": "^4.17.21",
17
17
  "tslib": "^2.4.0"
18
18
  },
@@ -73,5 +73,5 @@
73
73
  },
74
74
  "sideEffects": false,
75
75
  "types": "dist/esm/index.d.ts",
76
- "version": "2.35.11"
76
+ "version": "2.36.0"
77
77
  }
@@ -2,5 +2,5 @@ import { useNode } from './useNode'
2
2
 
3
3
  export const useModule = (address?: string) => {
4
4
  const [node] = useNode()
5
- return address ? node?.get(address) : undefined
5
+ return address ? node?.resolve(address) : undefined
6
6
  }
@@ -4,5 +4,5 @@ import { useNode } from './useNode'
4
4
  export const useModules = () => {
5
5
  const [addresses] = useModuleAddresses()
6
6
  const [node] = useNode()
7
- return addresses?.map((address) => node?.get(address))
7
+ return addresses?.map((address) => node?.resolve(address))
8
8
  }