@xyo-network/bridge-model 2.90.23 → 2.91.1

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.
Files changed (76) hide show
  1. package/dist/browser/Bridge.d.cts +9 -8
  2. package/dist/browser/Bridge.d.cts.map +1 -1
  3. package/dist/browser/Bridge.d.mts +9 -8
  4. package/dist/browser/Bridge.d.mts.map +1 -1
  5. package/dist/browser/Bridge.d.ts +9 -8
  6. package/dist/browser/Bridge.d.ts.map +1 -1
  7. package/dist/browser/Queries/Connect.d.cts +2 -3
  8. package/dist/browser/Queries/Connect.d.cts.map +1 -1
  9. package/dist/browser/Queries/Connect.d.mts +2 -3
  10. package/dist/browser/Queries/Connect.d.mts.map +1 -1
  11. package/dist/browser/Queries/Connect.d.ts +2 -3
  12. package/dist/browser/Queries/Connect.d.ts.map +1 -1
  13. package/dist/browser/Queries/Connected.d.cts +2 -3
  14. package/dist/browser/Queries/Connected.d.cts.map +1 -1
  15. package/dist/browser/Queries/Connected.d.mts +2 -3
  16. package/dist/browser/Queries/Connected.d.mts.map +1 -1
  17. package/dist/browser/Queries/Connected.d.ts +2 -3
  18. package/dist/browser/Queries/Connected.d.ts.map +1 -1
  19. package/dist/browser/Queries/Disconnect.d.cts +2 -3
  20. package/dist/browser/Queries/Disconnect.d.cts.map +1 -1
  21. package/dist/browser/Queries/Disconnect.d.mts +2 -3
  22. package/dist/browser/Queries/Disconnect.d.mts.map +1 -1
  23. package/dist/browser/Queries/Disconnect.d.ts +2 -3
  24. package/dist/browser/Queries/Disconnect.d.ts.map +1 -1
  25. package/dist/browser/Queries/index.d.cts +3 -5
  26. package/dist/browser/Queries/index.d.cts.map +1 -1
  27. package/dist/browser/Queries/index.d.mts +3 -5
  28. package/dist/browser/Queries/index.d.mts.map +1 -1
  29. package/dist/browser/Queries/index.d.ts +3 -5
  30. package/dist/browser/Queries/index.d.ts.map +1 -1
  31. package/dist/browser/index.cjs.map +1 -1
  32. package/dist/browser/index.js.map +1 -1
  33. package/dist/browser/typeChecks.d.cts +32 -32
  34. package/dist/browser/typeChecks.d.mts +32 -32
  35. package/dist/browser/typeChecks.d.ts +32 -32
  36. package/dist/node/Bridge.d.cts +9 -8
  37. package/dist/node/Bridge.d.cts.map +1 -1
  38. package/dist/node/Bridge.d.mts +9 -8
  39. package/dist/node/Bridge.d.mts.map +1 -1
  40. package/dist/node/Bridge.d.ts +9 -8
  41. package/dist/node/Bridge.d.ts.map +1 -1
  42. package/dist/node/Queries/Connect.d.cts +2 -3
  43. package/dist/node/Queries/Connect.d.cts.map +1 -1
  44. package/dist/node/Queries/Connect.d.mts +2 -3
  45. package/dist/node/Queries/Connect.d.mts.map +1 -1
  46. package/dist/node/Queries/Connect.d.ts +2 -3
  47. package/dist/node/Queries/Connect.d.ts.map +1 -1
  48. package/dist/node/Queries/Connected.d.cts +2 -3
  49. package/dist/node/Queries/Connected.d.cts.map +1 -1
  50. package/dist/node/Queries/Connected.d.mts +2 -3
  51. package/dist/node/Queries/Connected.d.mts.map +1 -1
  52. package/dist/node/Queries/Connected.d.ts +2 -3
  53. package/dist/node/Queries/Connected.d.ts.map +1 -1
  54. package/dist/node/Queries/Disconnect.d.cts +2 -3
  55. package/dist/node/Queries/Disconnect.d.cts.map +1 -1
  56. package/dist/node/Queries/Disconnect.d.mts +2 -3
  57. package/dist/node/Queries/Disconnect.d.mts.map +1 -1
  58. package/dist/node/Queries/Disconnect.d.ts +2 -3
  59. package/dist/node/Queries/Disconnect.d.ts.map +1 -1
  60. package/dist/node/Queries/index.d.cts +3 -5
  61. package/dist/node/Queries/index.d.cts.map +1 -1
  62. package/dist/node/Queries/index.d.mts +3 -5
  63. package/dist/node/Queries/index.d.mts.map +1 -1
  64. package/dist/node/Queries/index.d.ts +3 -5
  65. package/dist/node/Queries/index.d.ts.map +1 -1
  66. package/dist/node/index.cjs.map +1 -1
  67. package/dist/node/index.js.map +1 -1
  68. package/dist/node/typeChecks.d.cts +32 -32
  69. package/dist/node/typeChecks.d.mts +32 -32
  70. package/dist/node/typeChecks.d.ts +32 -32
  71. package/package.json +10 -9
  72. package/src/Bridge.ts +9 -8
  73. package/src/Queries/Connect.ts +4 -5
  74. package/src/Queries/Connected.ts +3 -4
  75. package/src/Queries/Disconnect.ts +4 -5
  76. package/src/Queries/index.ts +3 -5
@@ -10,8 +10,8 @@ export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<Bridge
10
10
  schema: "network.xyo.bridge.config";
11
11
  readonly security?: {
12
12
  readonly allowAnonymous?: boolean | undefined;
13
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
14
- readonly disallowed?: Record<string, string[]> | undefined;
13
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
14
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
15
15
  } | undefined;
16
16
  readonly sign?: boolean | undefined;
17
17
  readonly storeQueries?: boolean | undefined;
@@ -27,8 +27,8 @@ export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<Bridge
27
27
  schema: "network.xyo.bridge.config";
28
28
  readonly security?: {
29
29
  readonly allowAnonymous?: boolean | undefined;
30
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
31
- readonly disallowed?: Record<string, string[]> | undefined;
30
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
31
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
32
32
  } | undefined;
33
33
  readonly sign?: boolean | undefined;
34
34
  readonly storeQueries?: boolean | undefined;
@@ -51,8 +51,8 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
51
51
  schema: "network.xyo.bridge.config";
52
52
  readonly security?: {
53
53
  readonly allowAnonymous?: boolean | undefined;
54
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
55
- readonly disallowed?: Record<string, string[]> | undefined;
54
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
55
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
56
56
  } | undefined;
57
57
  readonly sign?: boolean | undefined;
58
58
  readonly storeQueries?: boolean | undefined;
@@ -68,8 +68,8 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
68
68
  schema: "network.xyo.bridge.config";
69
69
  readonly security?: {
70
70
  readonly allowAnonymous?: boolean | undefined;
71
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
72
- readonly disallowed?: Record<string, string[]> | undefined;
71
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
72
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
73
73
  } | undefined;
74
74
  readonly sign?: boolean | undefined;
75
75
  readonly storeQueries?: boolean | undefined;
@@ -93,8 +93,8 @@ export declare const asBridgeModule: {
93
93
  schema: "network.xyo.bridge.config";
94
94
  readonly security?: {
95
95
  readonly allowAnonymous?: boolean | undefined;
96
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
97
- readonly disallowed?: Record<string, string[]> | undefined;
96
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
97
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
98
98
  } | undefined;
99
99
  readonly sign?: boolean | undefined;
100
100
  readonly storeQueries?: boolean | undefined;
@@ -110,8 +110,8 @@ export declare const asBridgeModule: {
110
110
  schema: "network.xyo.bridge.config";
111
111
  readonly security?: {
112
112
  readonly allowAnonymous?: boolean | undefined;
113
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
114
- readonly disallowed?: Record<string, string[]> | undefined;
113
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
114
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
115
115
  } | undefined;
116
116
  readonly sign?: boolean | undefined;
117
117
  readonly storeQueries?: boolean | undefined;
@@ -134,8 +134,8 @@ export declare const asBridgeModule: {
134
134
  schema: "network.xyo.bridge.config";
135
135
  readonly security?: {
136
136
  readonly allowAnonymous?: boolean | undefined;
137
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
138
- readonly disallowed?: Record<string, string[]> | undefined;
137
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
138
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
139
139
  } | undefined;
140
140
  readonly sign?: boolean | undefined;
141
141
  readonly storeQueries?: boolean | undefined;
@@ -151,8 +151,8 @@ export declare const asBridgeModule: {
151
151
  schema: "network.xyo.bridge.config";
152
152
  readonly security?: {
153
153
  readonly allowAnonymous?: boolean | undefined;
154
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
155
- readonly disallowed?: Record<string, string[]> | undefined;
154
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
155
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
156
156
  } | undefined;
157
157
  readonly sign?: boolean | undefined;
158
158
  readonly storeQueries?: boolean | undefined;
@@ -177,8 +177,8 @@ export declare const asBridgeInstance: {
177
177
  schema: "network.xyo.bridge.config";
178
178
  readonly security?: {
179
179
  readonly allowAnonymous?: boolean | undefined;
180
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
181
- readonly disallowed?: Record<string, string[]> | undefined;
180
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
181
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
182
182
  } | undefined;
183
183
  readonly sign?: boolean | undefined;
184
184
  readonly storeQueries?: boolean | undefined;
@@ -194,8 +194,8 @@ export declare const asBridgeInstance: {
194
194
  schema: "network.xyo.bridge.config";
195
195
  readonly security?: {
196
196
  readonly allowAnonymous?: boolean | undefined;
197
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
198
- readonly disallowed?: Record<string, string[]> | undefined;
197
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
198
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
199
199
  } | undefined;
200
200
  readonly sign?: boolean | undefined;
201
201
  readonly storeQueries?: boolean | undefined;
@@ -218,8 +218,8 @@ export declare const asBridgeInstance: {
218
218
  schema: "network.xyo.bridge.config";
219
219
  readonly security?: {
220
220
  readonly allowAnonymous?: boolean | undefined;
221
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
222
- readonly disallowed?: Record<string, string[]> | undefined;
221
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
222
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
223
223
  } | undefined;
224
224
  readonly sign?: boolean | undefined;
225
225
  readonly storeQueries?: boolean | undefined;
@@ -235,8 +235,8 @@ export declare const asBridgeInstance: {
235
235
  schema: "network.xyo.bridge.config";
236
236
  readonly security?: {
237
237
  readonly allowAnonymous?: boolean | undefined;
238
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
239
- readonly disallowed?: Record<string, string[]> | undefined;
238
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
239
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
240
240
  } | undefined;
241
241
  readonly sign?: boolean | undefined;
242
242
  readonly storeQueries?: boolean | undefined;
@@ -260,8 +260,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
260
260
  schema: "network.xyo.bridge.config";
261
261
  readonly security?: {
262
262
  readonly allowAnonymous?: boolean | undefined;
263
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
264
- readonly disallowed?: Record<string, string[]> | undefined;
263
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
264
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
265
265
  } | undefined;
266
266
  readonly sign?: boolean | undefined;
267
267
  readonly storeQueries?: boolean | undefined;
@@ -277,8 +277,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
277
277
  schema: "network.xyo.bridge.config";
278
278
  readonly security?: {
279
279
  readonly allowAnonymous?: boolean | undefined;
280
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
281
- readonly disallowed?: Record<string, string[]> | undefined;
280
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
281
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
282
282
  } | undefined;
283
283
  readonly sign?: boolean | undefined;
284
284
  readonly storeQueries?: boolean | undefined;
@@ -301,8 +301,8 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
301
301
  schema: "network.xyo.bridge.config";
302
302
  readonly security?: {
303
303
  readonly allowAnonymous?: boolean | undefined;
304
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
305
- readonly disallowed?: Record<string, string[]> | undefined;
304
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
305
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
306
306
  } | undefined;
307
307
  readonly sign?: boolean | undefined;
308
308
  readonly storeQueries?: boolean | undefined;
@@ -318,8 +318,8 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
318
318
  schema: "network.xyo.bridge.config";
319
319
  readonly security?: {
320
320
  readonly allowAnonymous?: boolean | undefined;
321
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
322
- readonly disallowed?: Record<string, string[]> | undefined;
321
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
322
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
323
323
  } | undefined;
324
324
  readonly sign?: boolean | undefined;
325
325
  readonly storeQueries?: boolean | undefined;
@@ -10,8 +10,8 @@ export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<Bridge
10
10
  schema: "network.xyo.bridge.config";
11
11
  readonly security?: {
12
12
  readonly allowAnonymous?: boolean | undefined;
13
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
14
- readonly disallowed?: Record<string, string[]> | undefined;
13
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
14
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
15
15
  } | undefined;
16
16
  readonly sign?: boolean | undefined;
17
17
  readonly storeQueries?: boolean | undefined;
@@ -27,8 +27,8 @@ export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<Bridge
27
27
  schema: "network.xyo.bridge.config";
28
28
  readonly security?: {
29
29
  readonly allowAnonymous?: boolean | undefined;
30
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
31
- readonly disallowed?: Record<string, string[]> | undefined;
30
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
31
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
32
32
  } | undefined;
33
33
  readonly sign?: boolean | undefined;
34
34
  readonly storeQueries?: boolean | undefined;
@@ -51,8 +51,8 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
51
51
  schema: "network.xyo.bridge.config";
52
52
  readonly security?: {
53
53
  readonly allowAnonymous?: boolean | undefined;
54
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
55
- readonly disallowed?: Record<string, string[]> | undefined;
54
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
55
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
56
56
  } | undefined;
57
57
  readonly sign?: boolean | undefined;
58
58
  readonly storeQueries?: boolean | undefined;
@@ -68,8 +68,8 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
68
68
  schema: "network.xyo.bridge.config";
69
69
  readonly security?: {
70
70
  readonly allowAnonymous?: boolean | undefined;
71
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
72
- readonly disallowed?: Record<string, string[]> | undefined;
71
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
72
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
73
73
  } | undefined;
74
74
  readonly sign?: boolean | undefined;
75
75
  readonly storeQueries?: boolean | undefined;
@@ -93,8 +93,8 @@ export declare const asBridgeModule: {
93
93
  schema: "network.xyo.bridge.config";
94
94
  readonly security?: {
95
95
  readonly allowAnonymous?: boolean | undefined;
96
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
97
- readonly disallowed?: Record<string, string[]> | undefined;
96
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
97
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
98
98
  } | undefined;
99
99
  readonly sign?: boolean | undefined;
100
100
  readonly storeQueries?: boolean | undefined;
@@ -110,8 +110,8 @@ export declare const asBridgeModule: {
110
110
  schema: "network.xyo.bridge.config";
111
111
  readonly security?: {
112
112
  readonly allowAnonymous?: boolean | undefined;
113
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
114
- readonly disallowed?: Record<string, string[]> | undefined;
113
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
114
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
115
115
  } | undefined;
116
116
  readonly sign?: boolean | undefined;
117
117
  readonly storeQueries?: boolean | undefined;
@@ -134,8 +134,8 @@ export declare const asBridgeModule: {
134
134
  schema: "network.xyo.bridge.config";
135
135
  readonly security?: {
136
136
  readonly allowAnonymous?: boolean | undefined;
137
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
138
- readonly disallowed?: Record<string, string[]> | undefined;
137
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
138
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
139
139
  } | undefined;
140
140
  readonly sign?: boolean | undefined;
141
141
  readonly storeQueries?: boolean | undefined;
@@ -151,8 +151,8 @@ export declare const asBridgeModule: {
151
151
  schema: "network.xyo.bridge.config";
152
152
  readonly security?: {
153
153
  readonly allowAnonymous?: boolean | undefined;
154
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
155
- readonly disallowed?: Record<string, string[]> | undefined;
154
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
155
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
156
156
  } | undefined;
157
157
  readonly sign?: boolean | undefined;
158
158
  readonly storeQueries?: boolean | undefined;
@@ -177,8 +177,8 @@ export declare const asBridgeInstance: {
177
177
  schema: "network.xyo.bridge.config";
178
178
  readonly security?: {
179
179
  readonly allowAnonymous?: boolean | undefined;
180
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
181
- readonly disallowed?: Record<string, string[]> | undefined;
180
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
181
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
182
182
  } | undefined;
183
183
  readonly sign?: boolean | undefined;
184
184
  readonly storeQueries?: boolean | undefined;
@@ -194,8 +194,8 @@ export declare const asBridgeInstance: {
194
194
  schema: "network.xyo.bridge.config";
195
195
  readonly security?: {
196
196
  readonly allowAnonymous?: boolean | undefined;
197
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
198
- readonly disallowed?: Record<string, string[]> | undefined;
197
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
198
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
199
199
  } | undefined;
200
200
  readonly sign?: boolean | undefined;
201
201
  readonly storeQueries?: boolean | undefined;
@@ -218,8 +218,8 @@ export declare const asBridgeInstance: {
218
218
  schema: "network.xyo.bridge.config";
219
219
  readonly security?: {
220
220
  readonly allowAnonymous?: boolean | undefined;
221
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
222
- readonly disallowed?: Record<string, string[]> | undefined;
221
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
222
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
223
223
  } | undefined;
224
224
  readonly sign?: boolean | undefined;
225
225
  readonly storeQueries?: boolean | undefined;
@@ -235,8 +235,8 @@ export declare const asBridgeInstance: {
235
235
  schema: "network.xyo.bridge.config";
236
236
  readonly security?: {
237
237
  readonly allowAnonymous?: boolean | undefined;
238
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
239
- readonly disallowed?: Record<string, string[]> | undefined;
238
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
239
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
240
240
  } | undefined;
241
241
  readonly sign?: boolean | undefined;
242
242
  readonly storeQueries?: boolean | undefined;
@@ -260,8 +260,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
260
260
  schema: "network.xyo.bridge.config";
261
261
  readonly security?: {
262
262
  readonly allowAnonymous?: boolean | undefined;
263
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
264
- readonly disallowed?: Record<string, string[]> | undefined;
263
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
264
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
265
265
  } | undefined;
266
266
  readonly sign?: boolean | undefined;
267
267
  readonly storeQueries?: boolean | undefined;
@@ -277,8 +277,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
277
277
  schema: "network.xyo.bridge.config";
278
278
  readonly security?: {
279
279
  readonly allowAnonymous?: boolean | undefined;
280
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
281
- readonly disallowed?: Record<string, string[]> | undefined;
280
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
281
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
282
282
  } | undefined;
283
283
  readonly sign?: boolean | undefined;
284
284
  readonly storeQueries?: boolean | undefined;
@@ -301,8 +301,8 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
301
301
  schema: "network.xyo.bridge.config";
302
302
  readonly security?: {
303
303
  readonly allowAnonymous?: boolean | undefined;
304
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
305
- readonly disallowed?: Record<string, string[]> | undefined;
304
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
305
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
306
306
  } | undefined;
307
307
  readonly sign?: boolean | undefined;
308
308
  readonly storeQueries?: boolean | undefined;
@@ -318,8 +318,8 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
318
318
  schema: "network.xyo.bridge.config";
319
319
  readonly security?: {
320
320
  readonly allowAnonymous?: boolean | undefined;
321
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
322
- readonly disallowed?: Record<string, string[]> | undefined;
321
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
322
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
323
323
  } | undefined;
324
324
  readonly sign?: boolean | undefined;
325
325
  readonly storeQueries?: boolean | undefined;
@@ -10,8 +10,8 @@ export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<Bridge
10
10
  schema: "network.xyo.bridge.config";
11
11
  readonly security?: {
12
12
  readonly allowAnonymous?: boolean | undefined;
13
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
14
- readonly disallowed?: Record<string, string[]> | undefined;
13
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
14
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
15
15
  } | undefined;
16
16
  readonly sign?: boolean | undefined;
17
17
  readonly storeQueries?: boolean | undefined;
@@ -27,8 +27,8 @@ export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<Bridge
27
27
  schema: "network.xyo.bridge.config";
28
28
  readonly security?: {
29
29
  readonly allowAnonymous?: boolean | undefined;
30
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
31
- readonly disallowed?: Record<string, string[]> | undefined;
30
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
31
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
32
32
  } | undefined;
33
33
  readonly sign?: boolean | undefined;
34
34
  readonly storeQueries?: boolean | undefined;
@@ -51,8 +51,8 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
51
51
  schema: "network.xyo.bridge.config";
52
52
  readonly security?: {
53
53
  readonly allowAnonymous?: boolean | undefined;
54
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
55
- readonly disallowed?: Record<string, string[]> | undefined;
54
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
55
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
56
56
  } | undefined;
57
57
  readonly sign?: boolean | undefined;
58
58
  readonly storeQueries?: boolean | undefined;
@@ -68,8 +68,8 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
68
68
  schema: "network.xyo.bridge.config";
69
69
  readonly security?: {
70
70
  readonly allowAnonymous?: boolean | undefined;
71
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
72
- readonly disallowed?: Record<string, string[]> | undefined;
71
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
72
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
73
73
  } | undefined;
74
74
  readonly sign?: boolean | undefined;
75
75
  readonly storeQueries?: boolean | undefined;
@@ -93,8 +93,8 @@ export declare const asBridgeModule: {
93
93
  schema: "network.xyo.bridge.config";
94
94
  readonly security?: {
95
95
  readonly allowAnonymous?: boolean | undefined;
96
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
97
- readonly disallowed?: Record<string, string[]> | undefined;
96
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
97
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
98
98
  } | undefined;
99
99
  readonly sign?: boolean | undefined;
100
100
  readonly storeQueries?: boolean | undefined;
@@ -110,8 +110,8 @@ export declare const asBridgeModule: {
110
110
  schema: "network.xyo.bridge.config";
111
111
  readonly security?: {
112
112
  readonly allowAnonymous?: boolean | undefined;
113
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
114
- readonly disallowed?: Record<string, string[]> | undefined;
113
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
114
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
115
115
  } | undefined;
116
116
  readonly sign?: boolean | undefined;
117
117
  readonly storeQueries?: boolean | undefined;
@@ -134,8 +134,8 @@ export declare const asBridgeModule: {
134
134
  schema: "network.xyo.bridge.config";
135
135
  readonly security?: {
136
136
  readonly allowAnonymous?: boolean | undefined;
137
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
138
- readonly disallowed?: Record<string, string[]> | undefined;
137
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
138
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
139
139
  } | undefined;
140
140
  readonly sign?: boolean | undefined;
141
141
  readonly storeQueries?: boolean | undefined;
@@ -151,8 +151,8 @@ export declare const asBridgeModule: {
151
151
  schema: "network.xyo.bridge.config";
152
152
  readonly security?: {
153
153
  readonly allowAnonymous?: boolean | undefined;
154
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
155
- readonly disallowed?: Record<string, string[]> | undefined;
154
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
155
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
156
156
  } | undefined;
157
157
  readonly sign?: boolean | undefined;
158
158
  readonly storeQueries?: boolean | undefined;
@@ -177,8 +177,8 @@ export declare const asBridgeInstance: {
177
177
  schema: "network.xyo.bridge.config";
178
178
  readonly security?: {
179
179
  readonly allowAnonymous?: boolean | undefined;
180
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
181
- readonly disallowed?: Record<string, string[]> | undefined;
180
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
181
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
182
182
  } | undefined;
183
183
  readonly sign?: boolean | undefined;
184
184
  readonly storeQueries?: boolean | undefined;
@@ -194,8 +194,8 @@ export declare const asBridgeInstance: {
194
194
  schema: "network.xyo.bridge.config";
195
195
  readonly security?: {
196
196
  readonly allowAnonymous?: boolean | undefined;
197
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
198
- readonly disallowed?: Record<string, string[]> | undefined;
197
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
198
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
199
199
  } | undefined;
200
200
  readonly sign?: boolean | undefined;
201
201
  readonly storeQueries?: boolean | undefined;
@@ -218,8 +218,8 @@ export declare const asBridgeInstance: {
218
218
  schema: "network.xyo.bridge.config";
219
219
  readonly security?: {
220
220
  readonly allowAnonymous?: boolean | undefined;
221
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
222
- readonly disallowed?: Record<string, string[]> | undefined;
221
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
222
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
223
223
  } | undefined;
224
224
  readonly sign?: boolean | undefined;
225
225
  readonly storeQueries?: boolean | undefined;
@@ -235,8 +235,8 @@ export declare const asBridgeInstance: {
235
235
  schema: "network.xyo.bridge.config";
236
236
  readonly security?: {
237
237
  readonly allowAnonymous?: boolean | undefined;
238
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
239
- readonly disallowed?: Record<string, string[]> | undefined;
238
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
239
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
240
240
  } | undefined;
241
241
  readonly sign?: boolean | undefined;
242
242
  readonly storeQueries?: boolean | undefined;
@@ -260,8 +260,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
260
260
  schema: "network.xyo.bridge.config";
261
261
  readonly security?: {
262
262
  readonly allowAnonymous?: boolean | undefined;
263
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
264
- readonly disallowed?: Record<string, string[]> | undefined;
263
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
264
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
265
265
  } | undefined;
266
266
  readonly sign?: boolean | undefined;
267
267
  readonly storeQueries?: boolean | undefined;
@@ -277,8 +277,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
277
277
  schema: "network.xyo.bridge.config";
278
278
  readonly security?: {
279
279
  readonly allowAnonymous?: boolean | undefined;
280
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
281
- readonly disallowed?: Record<string, string[]> | undefined;
280
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
281
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
282
282
  } | undefined;
283
283
  readonly sign?: boolean | undefined;
284
284
  readonly storeQueries?: boolean | undefined;
@@ -301,8 +301,8 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
301
301
  schema: "network.xyo.bridge.config";
302
302
  readonly security?: {
303
303
  readonly allowAnonymous?: boolean | undefined;
304
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
305
- readonly disallowed?: Record<string, string[]> | undefined;
304
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
305
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
306
306
  } | undefined;
307
307
  readonly sign?: boolean | undefined;
308
308
  readonly storeQueries?: boolean | undefined;
@@ -318,8 +318,8 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
318
318
  schema: "network.xyo.bridge.config";
319
319
  readonly security?: {
320
320
  readonly allowAnonymous?: boolean | undefined;
321
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
322
- readonly disallowed?: Record<string, string[]> | undefined;
321
+ readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
322
+ readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
323
323
  } | undefined;
324
324
  readonly sign?: boolean | undefined;
325
325
  readonly storeQueries?: boolean | undefined;
package/package.json CHANGED
@@ -10,16 +10,17 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/object": "^2.89.3",
14
- "@xylabs/promise": "^2.14.3",
15
- "@xyo-network/boundwitness-model": "~2.90.23",
16
- "@xyo-network/manifest-model": "~2.90.23",
17
- "@xyo-network/module-model": "~2.90.23",
18
- "@xyo-network/payload-model": "~2.90.23"
13
+ "@xylabs/hex": "^3.0.2",
14
+ "@xylabs/object": "^3.0.2",
15
+ "@xylabs/promise": "^3.0.2",
16
+ "@xyo-network/boundwitness-model": "~2.91.1",
17
+ "@xyo-network/manifest-model": "~2.91.1",
18
+ "@xyo-network/module-model": "~2.91.1",
19
+ "@xyo-network/payload-model": "~2.91.1"
19
20
  },
20
21
  "devDependencies": {
21
- "@xylabs/ts-scripts-yarn3": "^3.2.42",
22
- "@xylabs/tsconfig": "^3.2.42",
22
+ "@xylabs/ts-scripts-yarn3": "^3.4.1",
23
+ "@xylabs/tsconfig": "^3.4.1",
23
24
  "typescript": "^5.3.3"
24
25
  },
25
26
  "description": "Primary SDK for using XYO Protocol 2.0",
@@ -61,6 +62,6 @@
61
62
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
62
63
  },
63
64
  "sideEffects": false,
64
- "version": "2.90.23",
65
+ "version": "2.91.1",
65
66
  "type": "module"
66
67
  }
package/src/Bridge.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { Address } from '@xylabs/hex'
1
2
  import { Promisable } from '@xylabs/promise'
2
3
  import { QueryBoundWitness } from '@xyo-network/boundwitness-model'
3
4
  import { ModuleManifestPayload } from '@xyo-network/manifest-model'
@@ -34,13 +35,13 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
34
35
  * though its children (through potentially several generations) are also able to be communicated to
35
36
  * across the bridge.
36
37
  */
37
- getRootAddress(): Promisable<string>
38
+ getRootAddress(): Promisable<Address>
38
39
 
39
40
  /**
40
41
  * Returns the config for a bridged module
41
42
  * @param address Address of the module connected to the bridge
42
43
  */
43
- targetConfig(address: string): ModuleConfig
44
+ targetConfig(address: Address): ModuleConfig
44
45
 
45
46
  /**
46
47
  * Returns the result of a discover query for a bridged module
@@ -66,7 +67,7 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
66
67
  * Returns the supported queries for a bridged module
67
68
  * @param address Address of the module connected to the bridge
68
69
  */
69
- targetQueries(address: string): string[]
70
+ targetQueries(address: Address): string[]
70
71
 
71
72
  /**
72
73
  * Queries a module connected to the bridge using the supplied query, payloads, and query configuration
@@ -74,7 +75,7 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
74
75
  * @param query The query to issue against the address
75
76
  * @param payloads The payloads to use in the query
76
77
  */
77
- targetQuery(address: string, query: Query, payloads?: Payload[]): Promisable<ModuleQueryResult>
78
+ targetQuery(address: Address, query: Query, payloads?: Payload[]): Promisable<ModuleQueryResult>
78
79
 
79
80
  /**
80
81
  * Determines if a bridged module is queryable using the supplied query, payloads, and query configuration
@@ -83,7 +84,7 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
83
84
  * @param payloads The payloads to use in the query
84
85
  * @param queryConfig The query configuration
85
86
  */
86
- targetQueryable(address: string, query: QueryBoundWitness, payloads?: Payload[], queryConfig?: ModuleConfig): Promisable<boolean>
87
+ targetQueryable(address: Address, query: QueryBoundWitness, payloads?: Payload[], queryConfig?: ModuleConfig): Promisable<boolean>
87
88
 
88
89
  /**
89
90
  *
@@ -91,14 +92,14 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
91
92
  * @param filter
92
93
  * @param options
93
94
  */
94
- targetResolve(address: string, filter?: ModuleFilter, options?: ModuleFilterOptions): Promisable<ModuleInstance[]>
95
+ targetResolve(address: Address, filter?: ModuleFilter, options?: ModuleFilterOptions): Promisable<ModuleInstance[]>
95
96
  /**
96
97
  *
97
98
  * @param address Address of the module potentially connected to the bridge
98
99
  * @param nameOrAddress
99
100
  * @param options
100
101
  */
101
- targetResolve(address: string, nameOrAddress: string, options?: ModuleFilterOptions): Promisable<ModuleInstance | undefined>
102
+ targetResolve(address: Address, nameOrAddress: string, options?: ModuleFilterOptions): Promisable<ModuleInstance | undefined>
102
103
  /**
103
104
  *
104
105
  * @param address Address of the module potentially connected to the bridge
@@ -106,7 +107,7 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
106
107
  * @param options
107
108
  */
108
109
  targetResolve(
109
- address: string,
110
+ address: Address,
110
111
  nameOrAddressOrFilter?: ModuleFilter | string,
111
112
  options?: ModuleFilterOptions,
112
113
  ): Promisable<ModuleInstance | ModuleInstance[] | undefined>