@xyo-network/react-node 2.35.0-rc.7 → 2.35.0-rc.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.
@@ -1,8 +1,178 @@
1
1
  import { XyoArchivistWrapper } from '@xyo-network/archivist';
2
- export declare const useArchivistModule: (address?: string) => XyoArchivistWrapper<import("@xyo-network/archivist").XyoArchivistQuery, {
2
+ export declare const useArchivistModule: (address?: string) => XyoArchivistWrapper<(({
3
3
  schema: string;
4
+ } & {
4
5
  previousHash?: string | undefined;
5
6
  sources?: string[] | undefined;
6
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;
7
177
  }> | undefined;
8
178
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGlD,CAAA"}
@@ -1,8 +1,178 @@
1
1
  import { XyoArchivistWrapper } from '@xyo-network/archivist';
2
- export declare const useArchivistModules: () => (XyoArchivistWrapper<import("@xyo-network/archivist").XyoArchivistQuery, {
2
+ export declare const useArchivistModules: () => (XyoArchivistWrapper<(({
3
3
  schema: string;
4
+ } & {
4
5
  previousHash?: string | undefined;
5
6
  sources?: string[] | undefined;
6
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;
7
177
  }> | undefined)[];
8
178
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM/B,CAAA"}
@@ -1,17 +1,31 @@
1
- export declare const useModule: (address?: string) => import("@xyo-network/module").XyoModule<import("@xyo-network/module").XyoQuery<{
1
+ export declare const useModule: (address?: string) => import("@xyo-network/module").XyoModule<{
2
2
  schema: string;
3
+ } & {
3
4
  previousHash?: string | undefined;
4
5
  sources?: string[] | undefined;
5
6
  timestamp?: number | undefined;
6
- }, string>, {
7
+ } & {
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
+ } & {
8
17
  previousHash?: string | undefined;
9
18
  sources?: string[] | undefined;
10
19
  timestamp?: number | undefined;
20
+ } & {
21
+ schema: string;
11
22
  }, {
12
23
  schema: string;
24
+ } & {
13
25
  previousHash?: string | undefined;
14
26
  sources?: string[] | undefined;
15
27
  timestamp?: number | undefined;
28
+ } & {
29
+ schema: string;
16
30
  }> | undefined;
17
31
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGzC,CAAA"}
@@ -1,17 +1,31 @@
1
- export declare const useModules: () => (import("@xyo-network/module").XyoModule<import("@xyo-network/module").XyoQuery<{
1
+ export declare const useModules: () => (import("@xyo-network/module").XyoModule<{
2
2
  schema: string;
3
+ } & {
3
4
  previousHash?: string | undefined;
4
5
  sources?: string[] | undefined;
5
6
  timestamp?: number | undefined;
6
- }, string>, {
7
+ } & {
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
+ } & {
8
17
  previousHash?: string | undefined;
9
18
  sources?: string[] | undefined;
10
19
  timestamp?: number | undefined;
20
+ } & {
21
+ schema: string;
11
22
  }, {
12
23
  schema: string;
24
+ } & {
13
25
  previousHash?: string | undefined;
14
26
  sources?: string[] | undefined;
15
27
  timestamp?: number | undefined;
28
+ } & {
29
+ schema: string;
16
30
  }> | undefined)[] | undefined;
17
31
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAItB,CAAA"}
package/package.json CHANGED
@@ -10,9 +10,9 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/react-flexbox": "^2.14.19",
14
- "@xylabs/react-shared": "^2.14.19",
15
- "@xyo-network/react-shared": "^2.35.0-rc.7",
13
+ "@xylabs/react-flexbox": "^2.14.20",
14
+ "@xylabs/react-shared": "^2.14.20",
15
+ "@xyo-network/react-shared": "^2.35.0-rc.8",
16
16
  "lodash": "^4.17.21",
17
17
  "tslib": "^2.4.0"
18
18
  },
@@ -73,6 +73,6 @@
73
73
  },
74
74
  "sideEffects": false,
75
75
  "types": "dist/esm/index.d.ts",
76
- "version": "2.35.0-rc.7",
76
+ "version": "2.35.0-rc.8",
77
77
  "stableVersion": "2.34.2"
78
78
  }