@xyo-network/bridge-pub-sub 3.9.2 → 3.9.3

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 (2) hide show
  1. package/dist/neutral/index.d.ts +19 -451
  2. package/package.json +19 -19
@@ -2,7 +2,7 @@ import * as _xylabs_object from '@xylabs/object';
2
2
  import { BaseParams, Base, EmptyObject } from '@xylabs/object';
3
3
  import { Promisable } from '@xylabs/promise';
4
4
  import * as _xyo_network_module_model from '@xyo-network/module-model';
5
- import { ModuleInstance, CacheConfig, ModuleConfig, ModuleIdentifier, ModuleQueryResult, ModuleName, ModuleFilterOptions, AnyConfigSchema } from '@xyo-network/module-model';
5
+ import { ModuleInstance, CacheConfig, ModuleConfig, ModuleQueryResult, ModuleIdentifier, ModuleName, ModuleFilterOptions, AnyConfigSchema } from '@xyo-network/module-model';
6
6
  import { Address, Hex } from '@xylabs/hex';
7
7
  import * as _xyo_network_boundwitness_model from '@xyo-network/boundwitness-model';
8
8
  import { BoundWitness, QueryBoundWitness } from '@xyo-network/boundwitness-model';
@@ -11,10 +11,10 @@ import { Payload, Schema, WithStorageMeta } from '@xyo-network/payload-model';
11
11
  import { LRUCache } from 'lru-cache';
12
12
  import * as _xyo_network_diviner_model from '@xyo-network/diviner-model';
13
13
  import { SearchableStorage, DivinerInstance } from '@xyo-network/diviner-model';
14
- import * as _xyo_network_diviner_payload_model from '@xyo-network/diviner-payload-model';
14
+ import * as _xyo_network_diviner_boundwitness_model from '@xyo-network/diviner-boundwitness-model';
15
+ import { BoundWitnessDivinerQueryPayload } from '@xyo-network/diviner-boundwitness-model';
15
16
  import * as _xyo_network_archivist_model from '@xyo-network/archivist-model';
16
17
  import { ArchivistInstance } from '@xyo-network/archivist-model';
17
- import * as _xylabs_logger from '@xylabs/logger';
18
18
  import * as _xyo_network_account from '@xyo-network/account';
19
19
  import { BridgeClientConfig, QueryFulfillFinishedEventArgs, QueryFulfillStartedEventArgs, BridgeConfig, BridgeParams, BridgeModule, BridgeExposeOptions, BridgeUnexposeOptions } from '@xyo-network/bridge-model';
20
20
  import { ModuleProxyParams, AbstractModuleProxy, AbstractBridgeModuleResolver, BridgeModuleResolverParams, AbstractBridge } from '@xyo-network/bridge-abstract';
@@ -82,42 +82,7 @@ declare class AsyncQueryBusBase<TParams extends AsyncQueryBusParams = AsyncQuery
82
82
  addToResolvers?: boolean;
83
83
  additionalSigners?: _xyo_network_account.AccountInstance[];
84
84
  allowNameResolution?: boolean;
85
- config: _xylabs_object.DeepRestrictToStringKeys<{
86
- schema: _xyo_network_payload_model.Schema;
87
- readonly archiving?: {
88
- readonly archivists?: string[] | undefined;
89
- readonly queries?: string[] | undefined;
90
- } | undefined;
91
- readonly allowedQueries?: string[] | undefined;
92
- readonly archivist?: ModuleIdentifier | undefined;
93
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
94
- readonly labels?: {
95
- [x: string]: string | undefined;
96
- } | undefined;
97
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
98
- readonly paging?: {
99
- [x: string]: {
100
- size?: number | undefined;
101
- };
102
- } | undefined;
103
- readonly retry?: {
104
- backoff?: number | undefined;
105
- interval?: number | undefined;
106
- retries?: number | undefined;
107
- } | undefined;
108
- readonly security?: {
109
- readonly allowAnonymous?: boolean | undefined;
110
- readonly allowed?: {
111
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
112
- } | undefined;
113
- readonly disallowed?: {
114
- [x: string]: Lowercase<string>[];
115
- } | undefined;
116
- } | undefined;
117
- readonly sign?: boolean | undefined;
118
- readonly storeQueries?: boolean | undefined;
119
- readonly timestamp?: boolean | undefined;
120
- }>;
85
+ config: _xyo_network_module_model.AnyConfigSchema<ModuleConfig<void, void>>;
121
86
  ephemeralQueryAccountEnabled?: boolean;
122
87
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
123
88
  }, _xyo_network_module_model.ModuleEventData<object>>;
@@ -127,345 +92,53 @@ declare class AsyncQueryBusBase<TParams extends AsyncQueryBusParams = AsyncQuery
127
92
  addToResolvers?: boolean;
128
93
  additionalSigners?: _xyo_network_account.AccountInstance[];
129
94
  allowNameResolution?: boolean;
130
- config: _xylabs_object.DeepRestrictToStringKeys<{
131
- schema: _xyo_network_payload_model.Schema;
132
- readonly archiving?: {
133
- readonly archivists?: string[] | undefined;
134
- readonly queries?: string[] | undefined;
135
- } | undefined;
136
- readonly allowedQueries?: string[] | undefined;
137
- readonly archivist?: ModuleIdentifier | undefined;
138
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
139
- readonly labels?: {
140
- [x: string]: string | undefined;
141
- } | undefined;
142
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
143
- readonly paging?: {
144
- [x: string]: {
145
- size?: number | undefined;
146
- };
147
- } | undefined;
148
- readonly retry?: {
149
- backoff?: number | undefined;
150
- interval?: number | undefined;
151
- retries?: number | undefined;
152
- } | undefined;
153
- readonly security?: {
154
- readonly allowAnonymous?: boolean | undefined;
155
- readonly allowed?: {
156
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
157
- } | undefined;
158
- readonly disallowed?: {
159
- [x: string]: Lowercase<string>[];
160
- } | undefined;
161
- } | undefined;
162
- readonly sign?: boolean | undefined;
163
- readonly storeQueries?: boolean | undefined;
164
- readonly timestamp?: boolean | undefined;
165
- parents?: {
166
- commit?: string[] | undefined;
167
- read?: string[] | undefined;
168
- write?: string[] | undefined;
169
- } | undefined;
170
- requireAllParents?: boolean | undefined;
171
- storage?: {
172
- indexes?: {
173
- key: {
174
- [x: string]: _xyo_network_archivist_model.IndexDirection;
175
- };
176
- multiEntry?: boolean | undefined;
177
- name?: string | undefined;
178
- unique?: boolean | undefined;
179
- }[] | undefined;
180
- } | undefined;
181
- storeParentReads?: boolean | undefined;
182
- }>;
95
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_archivist_model.ArchivistConfig<void, void>>;
183
96
  ephemeralQueryAccountEnabled?: boolean;
184
97
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
185
- } & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData, _xylabs_object.DeepRestrictToStringKeys<{
186
- schema: _xyo_network_payload_model.Schema;
187
- }>> | undefined>;
98
+ } & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData, _xyo_network_payload_model.Payload> | undefined>;
188
99
  queriesDiviner(): Promise<DivinerInstance<_xylabs_object.BaseParamsFields & {
189
100
  account?: _xyo_network_account.AccountInstance | "random";
190
101
  addToResolvers?: boolean;
191
102
  additionalSigners?: _xyo_network_account.AccountInstance[];
192
103
  allowNameResolution?: boolean;
193
- config: _xylabs_object.DeepRestrictToStringKeys<{
194
- schema: _xyo_network_payload_model.Schema;
195
- readonly archiving?: {
196
- readonly archivists?: string[] | undefined;
197
- readonly queries?: string[] | undefined;
198
- } | undefined;
199
- readonly allowedQueries?: string[] | undefined;
200
- readonly archivist?: ModuleIdentifier | undefined;
201
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
202
- readonly labels?: {
203
- [x: string]: string | undefined;
204
- } | undefined;
205
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
206
- readonly paging?: {
207
- [x: string]: {
208
- size?: number | undefined;
209
- };
210
- } | undefined;
211
- readonly retry?: {
212
- backoff?: number | undefined;
213
- interval?: number | undefined;
214
- retries?: number | undefined;
215
- } | undefined;
216
- readonly security?: {
217
- readonly allowAnonymous?: boolean | undefined;
218
- readonly allowed?: {
219
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
220
- } | undefined;
221
- readonly disallowed?: {
222
- [x: string]: Lowercase<string>[];
223
- } | undefined;
224
- } | undefined;
225
- readonly sign?: boolean | undefined;
226
- readonly storeQueries?: boolean | undefined;
227
- readonly timestamp?: boolean | undefined;
228
- }>;
104
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_diviner_boundwitness_model.BoundWitnessDivinerConfig<_xyo_network_payload_model.Payload>>;
229
105
  ephemeralQueryAccountEnabled?: boolean;
230
106
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
231
- }, _xylabs_object.DeepRestrictToStringKeys<{
232
- schema: "network.xyo.diviner.boundwitness.query";
233
- block?: Lowercase<string> | undefined;
234
- chain?: Lowercase<string> | undefined;
235
- root?: Lowercase<string> | undefined;
236
- addresses?: Lowercase<string>[] | undefined;
237
- payload_hashes?: Lowercase<string>[] | undefined;
238
- payload_schemas?: string[] | undefined;
239
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
240
- cursor?: Lowercase<string> | undefined;
241
- limit?: number | undefined;
242
- order?: _xyo_network_diviner_payload_model.Order | undefined;
243
- destination?: string[] | undefined;
244
- sourceQuery?: string | undefined;
245
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
246
- budget?: number | undefined;
247
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
248
- minBid?: number | undefined;
249
- }>, _xyo_network_boundwitness_model.UnsignedQueryBoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<ModuleInstance<_xylabs_object.BaseParamsFields & {
107
+ }, BoundWitnessDivinerQueryPayload, _xyo_network_boundwitness_model.UnsignedQueryBoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<ModuleInstance<_xylabs_object.BaseParamsFields & {
250
108
  account?: _xyo_network_account.AccountInstance | "random";
251
109
  addToResolvers?: boolean;
252
110
  additionalSigners?: _xyo_network_account.AccountInstance[];
253
111
  allowNameResolution?: boolean;
254
- config: _xylabs_object.DeepRestrictToStringKeys<{
255
- schema: _xyo_network_payload_model.Schema;
256
- readonly archiving?: {
257
- readonly archivists?: string[] | undefined;
258
- readonly queries?: string[] | undefined;
259
- } | undefined;
260
- readonly allowedQueries?: string[] | undefined;
261
- readonly archivist?: ModuleIdentifier | undefined;
262
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
263
- readonly labels?: {
264
- [x: string]: string | undefined;
265
- } | undefined;
266
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
267
- readonly paging?: {
268
- [x: string]: {
269
- size?: number | undefined;
270
- };
271
- } | undefined;
272
- readonly retry?: {
273
- backoff?: number | undefined;
274
- interval?: number | undefined;
275
- retries?: number | undefined;
276
- } | undefined;
277
- readonly security?: {
278
- readonly allowAnonymous?: boolean | undefined;
279
- readonly allowed?: {
280
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
281
- } | undefined;
282
- readonly disallowed?: {
283
- [x: string]: Lowercase<string>[];
284
- } | undefined;
285
- } | undefined;
286
- readonly sign?: boolean | undefined;
287
- readonly storeQueries?: boolean | undefined;
288
- readonly timestamp?: boolean | undefined;
289
- }>;
112
+ config: _xyo_network_module_model.AnyConfigSchema<ModuleConfig<void, void>>;
290
113
  ephemeralQueryAccountEnabled?: boolean;
291
114
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
292
- }, _xyo_network_module_model.ModuleEventData<object>>, _xylabs_object.DeepRestrictToStringKeys<{
293
- schema: _xyo_network_payload_model.Schema;
294
- }>, _xylabs_object.DeepRestrictToStringKeys<{
295
- schema: _xyo_network_payload_model.Schema;
296
- }>>>>;
115
+ }, _xyo_network_module_model.ModuleEventData<object>>, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload>>>;
297
116
  responsesArchivist(): Promise<ArchivistInstance<_xylabs_object.BaseParamsFields & {
298
117
  account?: _xyo_network_account.AccountInstance | "random";
299
118
  addToResolvers?: boolean;
300
119
  additionalSigners?: _xyo_network_account.AccountInstance[];
301
120
  allowNameResolution?: boolean;
302
- config: _xylabs_object.DeepRestrictToStringKeys<{
303
- schema: _xyo_network_payload_model.Schema;
304
- readonly archiving?: {
305
- readonly archivists?: string[] | undefined;
306
- readonly queries?: string[] | undefined;
307
- } | undefined;
308
- readonly allowedQueries?: string[] | undefined;
309
- readonly archivist?: ModuleIdentifier | undefined;
310
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
311
- readonly labels?: {
312
- [x: string]: string | undefined;
313
- } | undefined;
314
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
315
- readonly paging?: {
316
- [x: string]: {
317
- size?: number | undefined;
318
- };
319
- } | undefined;
320
- readonly retry?: {
321
- backoff?: number | undefined;
322
- interval?: number | undefined;
323
- retries?: number | undefined;
324
- } | undefined;
325
- readonly security?: {
326
- readonly allowAnonymous?: boolean | undefined;
327
- readonly allowed?: {
328
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
329
- } | undefined;
330
- readonly disallowed?: {
331
- [x: string]: Lowercase<string>[];
332
- } | undefined;
333
- } | undefined;
334
- readonly sign?: boolean | undefined;
335
- readonly storeQueries?: boolean | undefined;
336
- readonly timestamp?: boolean | undefined;
337
- parents?: {
338
- commit?: string[] | undefined;
339
- read?: string[] | undefined;
340
- write?: string[] | undefined;
341
- } | undefined;
342
- requireAllParents?: boolean | undefined;
343
- storage?: {
344
- indexes?: {
345
- key: {
346
- [x: string]: _xyo_network_archivist_model.IndexDirection;
347
- };
348
- multiEntry?: boolean | undefined;
349
- name?: string | undefined;
350
- unique?: boolean | undefined;
351
- }[] | undefined;
352
- } | undefined;
353
- storeParentReads?: boolean | undefined;
354
- }>;
121
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_archivist_model.ArchivistConfig<void, void>>;
355
122
  ephemeralQueryAccountEnabled?: boolean;
356
123
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
357
- } & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData, _xylabs_object.DeepRestrictToStringKeys<{
358
- schema: _xyo_network_payload_model.Schema;
359
- }>> | undefined>;
124
+ } & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData, _xyo_network_payload_model.Payload> | undefined>;
360
125
  responsesDiviner(): Promise<DivinerInstance<_xylabs_object.BaseParamsFields & {
361
126
  account?: _xyo_network_account.AccountInstance | "random";
362
127
  addToResolvers?: boolean;
363
128
  additionalSigners?: _xyo_network_account.AccountInstance[];
364
129
  allowNameResolution?: boolean;
365
- config: _xylabs_object.DeepRestrictToStringKeys<{
366
- schema: _xyo_network_payload_model.Schema;
367
- readonly archiving?: {
368
- readonly archivists?: string[] | undefined;
369
- readonly queries?: string[] | undefined;
370
- } | undefined;
371
- readonly allowedQueries?: string[] | undefined;
372
- readonly archivist?: ModuleIdentifier | undefined;
373
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
374
- readonly labels?: {
375
- [x: string]: string | undefined;
376
- } | undefined;
377
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
378
- readonly paging?: {
379
- [x: string]: {
380
- size?: number | undefined;
381
- };
382
- } | undefined;
383
- readonly retry?: {
384
- backoff?: number | undefined;
385
- interval?: number | undefined;
386
- retries?: number | undefined;
387
- } | undefined;
388
- readonly security?: {
389
- readonly allowAnonymous?: boolean | undefined;
390
- readonly allowed?: {
391
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
392
- } | undefined;
393
- readonly disallowed?: {
394
- [x: string]: Lowercase<string>[];
395
- } | undefined;
396
- } | undefined;
397
- readonly sign?: boolean | undefined;
398
- readonly storeQueries?: boolean | undefined;
399
- readonly timestamp?: boolean | undefined;
400
- }>;
130
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_diviner_boundwitness_model.BoundWitnessDivinerConfig<_xyo_network_payload_model.Payload>>;
401
131
  ephemeralQueryAccountEnabled?: boolean;
402
132
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
403
- }, _xylabs_object.DeepRestrictToStringKeys<{
404
- schema: "network.xyo.diviner.boundwitness.query";
405
- block?: Lowercase<string> | undefined;
406
- chain?: Lowercase<string> | undefined;
407
- root?: Lowercase<string> | undefined;
408
- addresses?: Lowercase<string>[] | undefined;
409
- payload_hashes?: Lowercase<string>[] | undefined;
410
- payload_schemas?: string[] | undefined;
411
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
412
- cursor?: Lowercase<string> | undefined;
413
- limit?: number | undefined;
414
- order?: _xyo_network_diviner_payload_model.Order | undefined;
415
- destination?: string[] | undefined;
416
- sourceQuery?: string | undefined;
417
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
418
- budget?: number | undefined;
419
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
420
- minBid?: number | undefined;
421
- }>, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<ModuleInstance<_xylabs_object.BaseParamsFields & {
133
+ }, BoundWitnessDivinerQueryPayload, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<ModuleInstance<_xylabs_object.BaseParamsFields & {
422
134
  account?: _xyo_network_account.AccountInstance | "random";
423
135
  addToResolvers?: boolean;
424
136
  additionalSigners?: _xyo_network_account.AccountInstance[];
425
137
  allowNameResolution?: boolean;
426
- config: _xylabs_object.DeepRestrictToStringKeys<{
427
- schema: _xyo_network_payload_model.Schema;
428
- readonly archiving?: {
429
- readonly archivists?: string[] | undefined;
430
- readonly queries?: string[] | undefined;
431
- } | undefined;
432
- readonly allowedQueries?: string[] | undefined;
433
- readonly archivist?: ModuleIdentifier | undefined;
434
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
435
- readonly labels?: {
436
- [x: string]: string | undefined;
437
- } | undefined;
438
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
439
- readonly paging?: {
440
- [x: string]: {
441
- size?: number | undefined;
442
- };
443
- } | undefined;
444
- readonly retry?: {
445
- backoff?: number | undefined;
446
- interval?: number | undefined;
447
- retries?: number | undefined;
448
- } | undefined;
449
- readonly security?: {
450
- readonly allowAnonymous?: boolean | undefined;
451
- readonly allowed?: {
452
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
453
- } | undefined;
454
- readonly disallowed?: {
455
- [x: string]: Lowercase<string>[];
456
- } | undefined;
457
- } | undefined;
458
- readonly sign?: boolean | undefined;
459
- readonly storeQueries?: boolean | undefined;
460
- readonly timestamp?: boolean | undefined;
461
- }>;
138
+ config: _xyo_network_module_model.AnyConfigSchema<ModuleConfig<void, void>>;
462
139
  ephemeralQueryAccountEnabled?: boolean;
463
140
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
464
- }, _xyo_network_module_model.ModuleEventData<object>>, _xylabs_object.DeepRestrictToStringKeys<{
465
- schema: _xyo_network_payload_model.Schema;
466
- }>, _xylabs_object.DeepRestrictToStringKeys<{
467
- schema: _xyo_network_payload_model.Schema;
468
- }>>>>;
141
+ }, _xyo_network_module_model.ModuleEventData<object>>, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload>>>;
469
142
  protected commitState(address: Address, nextState: Hex): Promise<void>;
470
143
  protected retrieveState(address: Address): Promise<Hex>;
471
144
  private resolve;
@@ -508,42 +181,7 @@ declare class AsyncQueryBusHost<TParams extends AsyncQueryBusHostParams = AsyncQ
508
181
  addToResolvers?: boolean;
509
182
  additionalSigners?: _xyo_network_account.AccountInstance[];
510
183
  allowNameResolution?: boolean;
511
- config: _xylabs_object.DeepRestrictToStringKeys<{
512
- schema: Schema;
513
- readonly archiving?: {
514
- readonly archivists?: string[] | undefined;
515
- readonly queries?: string[] | undefined;
516
- } | undefined;
517
- readonly allowedQueries?: string[] | undefined;
518
- readonly archivist?: ModuleIdentifier | undefined;
519
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
520
- readonly labels?: {
521
- [x: string]: string | undefined;
522
- } | undefined;
523
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
524
- readonly paging?: {
525
- [x: string]: {
526
- size?: number | undefined;
527
- };
528
- } | undefined;
529
- readonly retry?: {
530
- backoff?: number | undefined;
531
- interval?: number | undefined;
532
- retries?: number | undefined;
533
- } | undefined;
534
- readonly security?: {
535
- readonly allowAnonymous?: boolean | undefined;
536
- readonly allowed?: {
537
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
538
- } | undefined;
539
- readonly disallowed?: {
540
- [x: string]: Lowercase<string>[];
541
- } | undefined;
542
- } | undefined;
543
- readonly sign?: boolean | undefined;
544
- readonly storeQueries?: boolean | undefined;
545
- readonly timestamp?: boolean | undefined;
546
- }>;
184
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
547
185
  ephemeralQueryAccountEnabled?: boolean;
548
186
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
549
187
  }, _xyo_network_module_model.ModuleEventData<object>> | undefined;
@@ -555,42 +193,7 @@ declare class AsyncQueryBusHost<TParams extends AsyncQueryBusHostParams = AsyncQ
555
193
  addToResolvers?: boolean;
556
194
  additionalSigners?: _xyo_network_account.AccountInstance[];
557
195
  allowNameResolution?: boolean;
558
- config: _xylabs_object.DeepRestrictToStringKeys<{
559
- schema: Schema;
560
- readonly archiving?: {
561
- readonly archivists?: string[] | undefined;
562
- readonly queries?: string[] | undefined;
563
- } | undefined;
564
- readonly allowedQueries?: string[] | undefined;
565
- readonly archivist?: ModuleIdentifier | undefined;
566
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
567
- readonly labels?: {
568
- [x: string]: string | undefined;
569
- } | undefined;
570
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
571
- readonly paging?: {
572
- [x: string]: {
573
- size?: number | undefined;
574
- };
575
- } | undefined;
576
- readonly retry?: {
577
- backoff?: number | undefined;
578
- interval?: number | undefined;
579
- retries?: number | undefined;
580
- } | undefined;
581
- readonly security?: {
582
- readonly allowAnonymous?: boolean | undefined;
583
- readonly allowed?: {
584
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
585
- } | undefined;
586
- readonly disallowed?: {
587
- [x: string]: Lowercase<string>[];
588
- } | undefined;
589
- } | undefined;
590
- readonly sign?: boolean | undefined;
591
- readonly storeQueries?: boolean | undefined;
592
- readonly timestamp?: boolean | undefined;
593
- }>;
196
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig>;
594
197
  ephemeralQueryAccountEnabled?: boolean;
595
198
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
596
199
  }, _xyo_network_module_model.ModuleEventData<object>> | undefined>;
@@ -649,42 +252,7 @@ declare class PubSubBridgeModuleResolver extends AbstractBridgeModuleResolver<Pu
649
252
  addToResolvers?: boolean;
650
253
  additionalSigners?: _xyo_network_account.AccountInstance[];
651
254
  allowNameResolution?: boolean;
652
- config: _xylabs_object.DeepRestrictToStringKeys<{
653
- schema: _xyo_network_payload_model.Schema;
654
- readonly archiving?: {
655
- readonly archivists?: string[] | undefined;
656
- readonly queries?: string[] | undefined;
657
- } | undefined;
658
- readonly allowedQueries?: string[] | undefined;
659
- readonly archivist?: ModuleIdentifier | undefined;
660
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
661
- readonly labels?: {
662
- [x: string]: string | undefined;
663
- } | undefined;
664
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
665
- readonly paging?: {
666
- [x: string]: {
667
- size?: number | undefined;
668
- };
669
- } | undefined;
670
- readonly retry?: {
671
- backoff?: number | undefined;
672
- interval?: number | undefined;
673
- retries?: number | undefined;
674
- } | undefined;
675
- readonly security?: {
676
- readonly allowAnonymous?: boolean | undefined;
677
- readonly allowed?: {
678
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
679
- } | undefined;
680
- readonly disallowed?: {
681
- [x: string]: Lowercase<string>[];
682
- } | undefined;
683
- } | undefined;
684
- readonly sign?: boolean | undefined;
685
- readonly storeQueries?: boolean | undefined;
686
- readonly timestamp?: boolean | undefined;
687
- }>;
255
+ config: _xyo_network_module_model.AnyConfigSchema<ModuleConfig<void, void>>;
688
256
  ephemeralQueryAccountEnabled?: boolean;
689
257
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
690
258
  }, _xyo_network_module_model.ModuleEventData<object>>, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/bridge-pub-sub",
3
- "version": "3.9.2",
3
+ "version": "3.9.3",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -38,18 +38,18 @@
38
38
  "@xylabs/object": "^4.5.1",
39
39
  "@xylabs/promise": "^4.5.1",
40
40
  "@xylabs/timer": "^4.5.1",
41
- "@xyo-network/account": "^3.9.2",
42
- "@xyo-network/archivist-model": "^3.9.2",
43
- "@xyo-network/boundwitness-model": "^3.9.2",
44
- "@xyo-network/bridge-abstract": "^3.9.2",
45
- "@xyo-network/bridge-model": "^3.9.2",
46
- "@xyo-network/config-payload-plugin": "^3.9.2",
47
- "@xyo-network/diviner-boundwitness-model": "^3.9.2",
48
- "@xyo-network/diviner-model": "^3.9.2",
49
- "@xyo-network/module-model": "^3.9.2",
50
- "@xyo-network/node-model": "^3.9.2",
51
- "@xyo-network/payload-builder": "^3.9.2",
52
- "@xyo-network/payload-model": "^3.9.2",
41
+ "@xyo-network/account": "^3.9.3",
42
+ "@xyo-network/archivist-model": "^3.9.3",
43
+ "@xyo-network/boundwitness-model": "^3.9.3",
44
+ "@xyo-network/bridge-abstract": "^3.9.3",
45
+ "@xyo-network/bridge-model": "^3.9.3",
46
+ "@xyo-network/config-payload-plugin": "^3.9.3",
47
+ "@xyo-network/diviner-boundwitness-model": "^3.9.3",
48
+ "@xyo-network/diviner-model": "^3.9.3",
49
+ "@xyo-network/module-model": "^3.9.3",
50
+ "@xyo-network/node-model": "^3.9.3",
51
+ "@xyo-network/payload-builder": "^3.9.3",
52
+ "@xyo-network/payload-model": "^3.9.3",
53
53
  "async-mutex": "^0.5.0",
54
54
  "lru-cache": "^11.0.2"
55
55
  },
@@ -58,12 +58,12 @@
58
58
  "@xylabs/ts-scripts-yarn3": "^5.0.24",
59
59
  "@xylabs/tsconfig": "^5.0.24",
60
60
  "@xylabs/vitest-extended": "^4.5.1",
61
- "@xyo-network/archivist-memory": "^3.9.2",
62
- "@xyo-network/diviner-boundwitness-memory": "^3.9.2",
63
- "@xyo-network/module-abstract": "^3.9.2",
64
- "@xyo-network/node-memory": "^3.9.2",
65
- "@xyo-network/node-model": "^3.9.2",
66
- "@xyo-network/payload-wrapper": "^3.9.2",
61
+ "@xyo-network/archivist-memory": "^3.9.3",
62
+ "@xyo-network/diviner-boundwitness-memory": "^3.9.3",
63
+ "@xyo-network/module-abstract": "^3.9.3",
64
+ "@xyo-network/node-memory": "^3.9.3",
65
+ "@xyo-network/node-model": "^3.9.3",
66
+ "@xyo-network/payload-wrapper": "^3.9.3",
67
67
  "typescript": "^5.7.3",
68
68
  "vitest": "^3.0.5"
69
69
  },