@xyo-network/bridge-pub-sub 2.110.15 → 2.110.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/AbstractModuleHost/index.d.cts +1 -1
- package/dist/browser/AbstractModuleHost/index.d.mts +1 -1
- package/dist/browser/AbstractModuleHost/index.d.ts +1 -1
- package/dist/browser/AsyncQueryBus/AsyncQueryBusBase.d.cts +1 -1
- package/dist/browser/AsyncQueryBus/AsyncQueryBusBase.d.mts +1 -1
- package/dist/browser/AsyncQueryBus/AsyncQueryBusBase.d.ts +1 -1
- package/dist/browser/AsyncQueryBus/AsyncQueryBusClient.d.cts +2 -2
- package/dist/browser/AsyncQueryBus/AsyncQueryBusClient.d.mts +2 -2
- package/dist/browser/AsyncQueryBus/AsyncQueryBusClient.d.ts +2 -2
- package/dist/browser/AsyncQueryBus/AsyncQueryBusHost.d.cts +2 -2
- package/dist/browser/AsyncQueryBus/AsyncQueryBusHost.d.mts +2 -2
- package/dist/browser/AsyncQueryBus/AsyncQueryBusHost.d.ts +2 -2
- package/dist/browser/AsyncQueryBus/ModuleHost/ModuleHost.d.cts +2 -2
- package/dist/browser/AsyncQueryBus/ModuleHost/ModuleHost.d.mts +2 -2
- package/dist/browser/AsyncQueryBus/ModuleHost/ModuleHost.d.ts +2 -2
- package/dist/browser/AsyncQueryBus/ModuleHost/index.d.cts +1 -1
- package/dist/browser/AsyncQueryBus/ModuleHost/index.d.mts +1 -1
- package/dist/browser/AsyncQueryBus/ModuleHost/index.d.ts +1 -1
- package/dist/browser/AsyncQueryBus/ModuleProxy/ModuleProxy.d.cts +1 -1
- package/dist/browser/AsyncQueryBus/ModuleProxy/ModuleProxy.d.mts +1 -1
- package/dist/browser/AsyncQueryBus/ModuleProxy/ModuleProxy.d.ts +1 -1
- package/dist/browser/AsyncQueryBus/ModuleProxy/index.d.cts +1 -1
- package/dist/browser/AsyncQueryBus/ModuleProxy/index.d.mts +1 -1
- package/dist/browser/AsyncQueryBus/ModuleProxy/index.d.ts +1 -1
- package/dist/browser/AsyncQueryBus/index.d.cts +5 -5
- package/dist/browser/AsyncQueryBus/index.d.mts +5 -5
- package/dist/browser/AsyncQueryBus/index.d.ts +5 -5
- package/dist/browser/AsyncQueryBus/model/BaseConfig.d.cts +1 -1
- package/dist/browser/AsyncQueryBus/model/BaseConfig.d.mts +1 -1
- package/dist/browser/AsyncQueryBus/model/BaseConfig.d.ts +1 -1
- package/dist/browser/AsyncQueryBus/model/ClientConfig.d.cts +1 -1
- package/dist/browser/AsyncQueryBus/model/ClientConfig.d.mts +1 -1
- package/dist/browser/AsyncQueryBus/model/ClientConfig.d.ts +1 -1
- package/dist/browser/AsyncQueryBus/model/HostConfig.d.cts +1 -1
- package/dist/browser/AsyncQueryBus/model/HostConfig.d.mts +1 -1
- package/dist/browser/AsyncQueryBus/model/HostConfig.d.ts +1 -1
- package/dist/browser/AsyncQueryBus/model/Params.d.cts +3 -3
- package/dist/browser/AsyncQueryBus/model/Params.d.mts +3 -3
- package/dist/browser/AsyncQueryBus/model/Params.d.ts +3 -3
- package/dist/browser/AsyncQueryBus/model/index.d.cts +6 -6
- package/dist/browser/AsyncQueryBus/model/index.d.mts +6 -6
- package/dist/browser/AsyncQueryBus/model/index.d.ts +6 -6
- package/dist/browser/Config.d.cts +1 -1
- package/dist/browser/Config.d.mts +1 -1
- package/dist/browser/Config.d.ts +1 -1
- package/dist/browser/Params.d.cts +1 -1
- package/dist/browser/Params.d.mts +1 -1
- package/dist/browser/Params.d.ts +1 -1
- package/dist/browser/PubSubBridge.d.cts +5 -5
- package/dist/browser/PubSubBridge.d.mts +5 -5
- package/dist/browser/PubSubBridge.d.ts +5 -5
- package/dist/browser/PubSubBridgeModuleResolver.d.cts +1 -1
- package/dist/browser/PubSubBridgeModuleResolver.d.mts +1 -1
- package/dist/browser/PubSubBridgeModuleResolver.d.ts +1 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +7 -7
- package/dist/browser/index.d.mts +7 -7
- package/dist/browser/index.d.ts +7 -7
- package/dist/browser/index.js.map +1 -1
- package/dist/neutral/AbstractModuleHost/index.d.cts +1 -1
- package/dist/neutral/AbstractModuleHost/index.d.mts +1 -1
- package/dist/neutral/AbstractModuleHost/index.d.ts +1 -1
- package/dist/neutral/AsyncQueryBus/AsyncQueryBusBase.d.cts +1 -1
- package/dist/neutral/AsyncQueryBus/AsyncQueryBusBase.d.mts +1 -1
- package/dist/neutral/AsyncQueryBus/AsyncQueryBusBase.d.ts +1 -1
- package/dist/neutral/AsyncQueryBus/AsyncQueryBusClient.d.cts +2 -2
- package/dist/neutral/AsyncQueryBus/AsyncQueryBusClient.d.mts +2 -2
- package/dist/neutral/AsyncQueryBus/AsyncQueryBusClient.d.ts +2 -2
- package/dist/neutral/AsyncQueryBus/AsyncQueryBusHost.d.cts +2 -2
- package/dist/neutral/AsyncQueryBus/AsyncQueryBusHost.d.mts +2 -2
- package/dist/neutral/AsyncQueryBus/AsyncQueryBusHost.d.ts +2 -2
- package/dist/neutral/AsyncQueryBus/ModuleHost/ModuleHost.d.cts +2 -2
- package/dist/neutral/AsyncQueryBus/ModuleHost/ModuleHost.d.mts +2 -2
- package/dist/neutral/AsyncQueryBus/ModuleHost/ModuleHost.d.ts +2 -2
- package/dist/neutral/AsyncQueryBus/ModuleHost/index.d.cts +1 -1
- package/dist/neutral/AsyncQueryBus/ModuleHost/index.d.mts +1 -1
- package/dist/neutral/AsyncQueryBus/ModuleHost/index.d.ts +1 -1
- package/dist/neutral/AsyncQueryBus/ModuleProxy/ModuleProxy.d.cts +1 -1
- package/dist/neutral/AsyncQueryBus/ModuleProxy/ModuleProxy.d.mts +1 -1
- package/dist/neutral/AsyncQueryBus/ModuleProxy/ModuleProxy.d.ts +1 -1
- package/dist/neutral/AsyncQueryBus/ModuleProxy/index.d.cts +1 -1
- package/dist/neutral/AsyncQueryBus/ModuleProxy/index.d.mts +1 -1
- package/dist/neutral/AsyncQueryBus/ModuleProxy/index.d.ts +1 -1
- package/dist/neutral/AsyncQueryBus/index.d.cts +5 -5
- package/dist/neutral/AsyncQueryBus/index.d.mts +5 -5
- package/dist/neutral/AsyncQueryBus/index.d.ts +5 -5
- package/dist/neutral/AsyncQueryBus/model/BaseConfig.d.cts +1 -1
- package/dist/neutral/AsyncQueryBus/model/BaseConfig.d.mts +1 -1
- package/dist/neutral/AsyncQueryBus/model/BaseConfig.d.ts +1 -1
- package/dist/neutral/AsyncQueryBus/model/ClientConfig.d.cts +1 -1
- package/dist/neutral/AsyncQueryBus/model/ClientConfig.d.mts +1 -1
- package/dist/neutral/AsyncQueryBus/model/ClientConfig.d.ts +1 -1
- package/dist/neutral/AsyncQueryBus/model/HostConfig.d.cts +1 -1
- package/dist/neutral/AsyncQueryBus/model/HostConfig.d.mts +1 -1
- package/dist/neutral/AsyncQueryBus/model/HostConfig.d.ts +1 -1
- package/dist/neutral/AsyncQueryBus/model/Params.d.cts +3 -3
- package/dist/neutral/AsyncQueryBus/model/Params.d.mts +3 -3
- package/dist/neutral/AsyncQueryBus/model/Params.d.ts +3 -3
- package/dist/neutral/AsyncQueryBus/model/index.d.cts +6 -6
- package/dist/neutral/AsyncQueryBus/model/index.d.mts +6 -6
- package/dist/neutral/AsyncQueryBus/model/index.d.ts +6 -6
- package/dist/neutral/Config.d.cts +1 -1
- package/dist/neutral/Config.d.mts +1 -1
- package/dist/neutral/Config.d.ts +1 -1
- package/dist/neutral/Params.d.cts +1 -1
- package/dist/neutral/Params.d.mts +1 -1
- package/dist/neutral/Params.d.ts +1 -1
- package/dist/neutral/PubSubBridge.d.cts +5 -5
- package/dist/neutral/PubSubBridge.d.mts +5 -5
- package/dist/neutral/PubSubBridge.d.ts +5 -5
- package/dist/neutral/PubSubBridgeModuleResolver.d.cts +1 -1
- package/dist/neutral/PubSubBridgeModuleResolver.d.mts +1 -1
- package/dist/neutral/PubSubBridgeModuleResolver.d.ts +1 -1
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.d.cts +7 -7
- package/dist/neutral/index.d.mts +7 -7
- package/dist/neutral/index.d.ts +7 -7
- package/dist/neutral/index.js.map +1 -1
- package/dist/node/AbstractModuleHost/index.d.cts +1 -1
- package/dist/node/AbstractModuleHost/index.d.mts +1 -1
- package/dist/node/AbstractModuleHost/index.d.ts +1 -1
- package/dist/node/AsyncQueryBus/AsyncQueryBusBase.d.cts +1 -1
- package/dist/node/AsyncQueryBus/AsyncQueryBusBase.d.mts +1 -1
- package/dist/node/AsyncQueryBus/AsyncQueryBusBase.d.ts +1 -1
- package/dist/node/AsyncQueryBus/AsyncQueryBusClient.d.cts +2 -2
- package/dist/node/AsyncQueryBus/AsyncQueryBusClient.d.mts +2 -2
- package/dist/node/AsyncQueryBus/AsyncQueryBusClient.d.ts +2 -2
- package/dist/node/AsyncQueryBus/AsyncQueryBusHost.d.cts +2 -2
- package/dist/node/AsyncQueryBus/AsyncQueryBusHost.d.mts +2 -2
- package/dist/node/AsyncQueryBus/AsyncQueryBusHost.d.ts +2 -2
- package/dist/node/AsyncQueryBus/ModuleHost/ModuleHost.d.cts +2 -2
- package/dist/node/AsyncQueryBus/ModuleHost/ModuleHost.d.mts +2 -2
- package/dist/node/AsyncQueryBus/ModuleHost/ModuleHost.d.ts +2 -2
- package/dist/node/AsyncQueryBus/ModuleHost/index.d.cts +1 -1
- package/dist/node/AsyncQueryBus/ModuleHost/index.d.mts +1 -1
- package/dist/node/AsyncQueryBus/ModuleHost/index.d.ts +1 -1
- package/dist/node/AsyncQueryBus/ModuleProxy/ModuleProxy.d.cts +1 -1
- package/dist/node/AsyncQueryBus/ModuleProxy/ModuleProxy.d.mts +1 -1
- package/dist/node/AsyncQueryBus/ModuleProxy/ModuleProxy.d.ts +1 -1
- package/dist/node/AsyncQueryBus/ModuleProxy/index.d.cts +1 -1
- package/dist/node/AsyncQueryBus/ModuleProxy/index.d.mts +1 -1
- package/dist/node/AsyncQueryBus/ModuleProxy/index.d.ts +1 -1
- package/dist/node/AsyncQueryBus/index.d.cts +5 -5
- package/dist/node/AsyncQueryBus/index.d.mts +5 -5
- package/dist/node/AsyncQueryBus/index.d.ts +5 -5
- package/dist/node/AsyncQueryBus/model/BaseConfig.d.cts +1 -1
- package/dist/node/AsyncQueryBus/model/BaseConfig.d.mts +1 -1
- package/dist/node/AsyncQueryBus/model/BaseConfig.d.ts +1 -1
- package/dist/node/AsyncQueryBus/model/ClientConfig.d.cts +1 -1
- package/dist/node/AsyncQueryBus/model/ClientConfig.d.mts +1 -1
- package/dist/node/AsyncQueryBus/model/ClientConfig.d.ts +1 -1
- package/dist/node/AsyncQueryBus/model/HostConfig.d.cts +1 -1
- package/dist/node/AsyncQueryBus/model/HostConfig.d.mts +1 -1
- package/dist/node/AsyncQueryBus/model/HostConfig.d.ts +1 -1
- package/dist/node/AsyncQueryBus/model/Params.d.cts +3 -3
- package/dist/node/AsyncQueryBus/model/Params.d.mts +3 -3
- package/dist/node/AsyncQueryBus/model/Params.d.ts +3 -3
- package/dist/node/AsyncQueryBus/model/index.d.cts +6 -6
- package/dist/node/AsyncQueryBus/model/index.d.mts +6 -6
- package/dist/node/AsyncQueryBus/model/index.d.ts +6 -6
- package/dist/node/Config.d.cts +1 -1
- package/dist/node/Config.d.mts +1 -1
- package/dist/node/Config.d.ts +1 -1
- package/dist/node/Params.d.cts +1 -1
- package/dist/node/Params.d.mts +1 -1
- package/dist/node/Params.d.ts +1 -1
- package/dist/node/PubSubBridge.d.cts +5 -5
- package/dist/node/PubSubBridge.d.mts +5 -5
- package/dist/node/PubSubBridge.d.ts +5 -5
- package/dist/node/PubSubBridgeModuleResolver.d.cts +1 -1
- package/dist/node/PubSubBridgeModuleResolver.d.mts +1 -1
- package/dist/node/PubSubBridgeModuleResolver.d.ts +1 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +7 -7
- package/dist/node/index.d.mts +7 -7
- package/dist/node/index.d.ts +7 -7
- package/dist/node/index.js.map +1 -1
- package/package.json +19 -19
- package/src/AbstractModuleHost/index.ts +1 -1
- package/src/AsyncQueryBus/AsyncQueryBusBase.ts +1 -1
- package/src/AsyncQueryBus/AsyncQueryBusClient.ts +2 -2
- package/src/AsyncQueryBus/AsyncQueryBusHost.ts +2 -2
- package/src/AsyncQueryBus/ModuleHost/ModuleHost.ts +3 -3
- package/src/AsyncQueryBus/ModuleHost/index.ts +1 -1
- package/src/AsyncQueryBus/ModuleProxy/ModuleProxy.ts +1 -1
- package/src/AsyncQueryBus/ModuleProxy/index.ts +1 -1
- package/src/AsyncQueryBus/index.ts +5 -5
- package/src/AsyncQueryBus/model/BaseConfig.ts +1 -1
- package/src/AsyncQueryBus/model/ClientConfig.ts +1 -1
- package/src/AsyncQueryBus/model/HostConfig.ts +1 -1
- package/src/AsyncQueryBus/model/Params.ts +3 -3
- package/src/AsyncQueryBus/model/index.ts +6 -6
- package/src/Config.ts +2 -2
- package/src/Params.ts +1 -1
- package/src/PubSubBridge.ts +4 -4
- package/src/PubSubBridgeModuleResolver.ts +1 -1
- package/src/index.ts +7 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './AbstractModuleHost.
|
|
1
|
+
export * from './AbstractModuleHost.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './AbstractModuleHost.
|
|
1
|
+
export * from './AbstractModuleHost.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './AbstractModuleHost.
|
|
1
|
+
export * from './AbstractModuleHost.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,7 +4,7 @@ import { ArchivistInstance } from '@xyo-network/archivist-model';
|
|
|
4
4
|
import { DivinerInstance } from '@xyo-network/diviner-model';
|
|
5
5
|
import { ModuleConfig, ModuleInstance } from '@xyo-network/module-model';
|
|
6
6
|
import { LRUCache } from 'lru-cache';
|
|
7
|
-
import { AsyncQueryBusParams } from './model/index.
|
|
7
|
+
import { AsyncQueryBusParams } from './model/index.ts';
|
|
8
8
|
export declare class AsyncQueryBusBase<TParams extends AsyncQueryBusParams = AsyncQueryBusParams> extends Base<TParams> {
|
|
9
9
|
protected _lastState?: LRUCache<Address, number>;
|
|
10
10
|
protected _targetConfigs: Record<Address, ModuleConfig>;
|
|
@@ -4,7 +4,7 @@ import { ArchivistInstance } from '@xyo-network/archivist-model';
|
|
|
4
4
|
import { DivinerInstance } from '@xyo-network/diviner-model';
|
|
5
5
|
import { ModuleConfig, ModuleInstance } from '@xyo-network/module-model';
|
|
6
6
|
import { LRUCache } from 'lru-cache';
|
|
7
|
-
import { AsyncQueryBusParams } from './model/index.
|
|
7
|
+
import { AsyncQueryBusParams } from './model/index.ts';
|
|
8
8
|
export declare class AsyncQueryBusBase<TParams extends AsyncQueryBusParams = AsyncQueryBusParams> extends Base<TParams> {
|
|
9
9
|
protected _lastState?: LRUCache<Address, number>;
|
|
10
10
|
protected _targetConfigs: Record<Address, ModuleConfig>;
|
|
@@ -4,7 +4,7 @@ import { ArchivistInstance } from '@xyo-network/archivist-model';
|
|
|
4
4
|
import { DivinerInstance } from '@xyo-network/diviner-model';
|
|
5
5
|
import { ModuleConfig, ModuleInstance } from '@xyo-network/module-model';
|
|
6
6
|
import { LRUCache } from 'lru-cache';
|
|
7
|
-
import { AsyncQueryBusParams } from './model/index.
|
|
7
|
+
import { AsyncQueryBusParams } from './model/index.ts';
|
|
8
8
|
export declare class AsyncQueryBusBase<TParams extends AsyncQueryBusParams = AsyncQueryBusParams> extends Base<TParams> {
|
|
9
9
|
protected _lastState?: LRUCache<Address, number>;
|
|
10
10
|
protected _targetConfigs: Record<Address, ModuleConfig>;
|
|
@@ -3,8 +3,8 @@ import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
|
3
3
|
import { ModuleQueryResult } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload } from '@xyo-network/payload-model';
|
|
5
5
|
import { LRUCache } from 'lru-cache';
|
|
6
|
-
import { AsyncQueryBusBase } from './AsyncQueryBusBase.
|
|
7
|
-
import { AsyncQueryBusClientParams, Pending } from './model/index.
|
|
6
|
+
import { AsyncQueryBusBase } from './AsyncQueryBusBase.ts';
|
|
7
|
+
import { AsyncQueryBusClientParams, Pending } from './model/index.ts';
|
|
8
8
|
export declare class AsyncQueryBusClient<TParams extends AsyncQueryBusClientParams = AsyncQueryBusClientParams> extends AsyncQueryBusBase<TParams> {
|
|
9
9
|
protected _queryCache?: LRUCache<Address, Pending | ModuleQueryResult>;
|
|
10
10
|
private _pollCount;
|
|
@@ -3,8 +3,8 @@ import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
|
3
3
|
import { ModuleQueryResult } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload } from '@xyo-network/payload-model';
|
|
5
5
|
import { LRUCache } from 'lru-cache';
|
|
6
|
-
import { AsyncQueryBusBase } from './AsyncQueryBusBase.
|
|
7
|
-
import { AsyncQueryBusClientParams, Pending } from './model/index.
|
|
6
|
+
import { AsyncQueryBusBase } from './AsyncQueryBusBase.ts';
|
|
7
|
+
import { AsyncQueryBusClientParams, Pending } from './model/index.ts';
|
|
8
8
|
export declare class AsyncQueryBusClient<TParams extends AsyncQueryBusClientParams = AsyncQueryBusClientParams> extends AsyncQueryBusBase<TParams> {
|
|
9
9
|
protected _queryCache?: LRUCache<Address, Pending | ModuleQueryResult>;
|
|
10
10
|
private _pollCount;
|
|
@@ -3,8 +3,8 @@ import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
|
3
3
|
import { ModuleQueryResult } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload } from '@xyo-network/payload-model';
|
|
5
5
|
import { LRUCache } from 'lru-cache';
|
|
6
|
-
import { AsyncQueryBusBase } from './AsyncQueryBusBase.
|
|
7
|
-
import { AsyncQueryBusClientParams, Pending } from './model/index.
|
|
6
|
+
import { AsyncQueryBusBase } from './AsyncQueryBusBase.ts';
|
|
7
|
+
import { AsyncQueryBusClientParams, Pending } from './model/index.ts';
|
|
8
8
|
export declare class AsyncQueryBusClient<TParams extends AsyncQueryBusClientParams = AsyncQueryBusClientParams> extends AsyncQueryBusBase<TParams> {
|
|
9
9
|
protected _queryCache?: LRUCache<Address, Pending | ModuleQueryResult>;
|
|
10
10
|
private _pollCount;
|
|
@@ -2,8 +2,8 @@ import { Address } from '@xylabs/hex';
|
|
|
2
2
|
import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
3
|
import { ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
4
4
|
import { Schema, WithMeta } from '@xyo-network/payload-model';
|
|
5
|
-
import { AsyncQueryBusBase } from './AsyncQueryBusBase.
|
|
6
|
-
import { AsyncQueryBusHostParams } from './model/index.
|
|
5
|
+
import { AsyncQueryBusBase } from './AsyncQueryBusBase.ts';
|
|
6
|
+
import { AsyncQueryBusHostParams } from './model/index.ts';
|
|
7
7
|
export interface ExposeOptions {
|
|
8
8
|
allowedQueries?: Schema[];
|
|
9
9
|
failOnAlreadyExposed?: boolean;
|
|
@@ -2,8 +2,8 @@ import { Address } from '@xylabs/hex';
|
|
|
2
2
|
import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
3
|
import { ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
4
4
|
import { Schema, WithMeta } from '@xyo-network/payload-model';
|
|
5
|
-
import { AsyncQueryBusBase } from './AsyncQueryBusBase.
|
|
6
|
-
import { AsyncQueryBusHostParams } from './model/index.
|
|
5
|
+
import { AsyncQueryBusBase } from './AsyncQueryBusBase.ts';
|
|
6
|
+
import { AsyncQueryBusHostParams } from './model/index.ts';
|
|
7
7
|
export interface ExposeOptions {
|
|
8
8
|
allowedQueries?: Schema[];
|
|
9
9
|
failOnAlreadyExposed?: boolean;
|
|
@@ -2,8 +2,8 @@ import { Address } from '@xylabs/hex';
|
|
|
2
2
|
import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
3
|
import { ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
4
4
|
import { Schema, WithMeta } from '@xyo-network/payload-model';
|
|
5
|
-
import { AsyncQueryBusBase } from './AsyncQueryBusBase.
|
|
6
|
-
import { AsyncQueryBusHostParams } from './model/index.
|
|
5
|
+
import { AsyncQueryBusBase } from './AsyncQueryBusBase.ts';
|
|
6
|
+
import { AsyncQueryBusHostParams } from './model/index.ts';
|
|
7
7
|
export interface ExposeOptions {
|
|
8
8
|
allowedQueries?: Schema[];
|
|
9
9
|
failOnAlreadyExposed?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractModuleHost, ModuleHostParams } from '../../AbstractModuleHost/index.
|
|
2
|
-
import { AsyncQueryBusHostConfig } from '../model/index.
|
|
1
|
+
import { AbstractModuleHost, ModuleHostParams } from '../../AbstractModuleHost/index.ts';
|
|
2
|
+
import { AsyncQueryBusHostConfig } from '../model/index.ts';
|
|
3
3
|
export type AsyncQueryBusModuleHostParams = ModuleHostParams & {
|
|
4
4
|
config: AsyncQueryBusHostConfig;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractModuleHost, ModuleHostParams } from '../../AbstractModuleHost/index.
|
|
2
|
-
import { AsyncQueryBusHostConfig } from '../model/index.
|
|
1
|
+
import { AbstractModuleHost, ModuleHostParams } from '../../AbstractModuleHost/index.ts';
|
|
2
|
+
import { AsyncQueryBusHostConfig } from '../model/index.ts';
|
|
3
3
|
export type AsyncQueryBusModuleHostParams = ModuleHostParams & {
|
|
4
4
|
config: AsyncQueryBusHostConfig;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractModuleHost, ModuleHostParams } from '../../AbstractModuleHost/index.
|
|
2
|
-
import { AsyncQueryBusHostConfig } from '../model/index.
|
|
1
|
+
import { AbstractModuleHost, ModuleHostParams } from '../../AbstractModuleHost/index.ts';
|
|
2
|
+
import { AsyncQueryBusHostConfig } from '../model/index.ts';
|
|
3
3
|
export type AsyncQueryBusModuleHostParams = ModuleHostParams & {
|
|
4
4
|
config: AsyncQueryBusHostConfig;
|
|
5
5
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ModuleHost.
|
|
1
|
+
export * from './ModuleHost.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ModuleHost.
|
|
1
|
+
export * from './ModuleHost.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ModuleHost.
|
|
1
|
+
export * from './ModuleHost.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
|
2
2
|
import { AbstractModuleProxy, ModuleProxyParams } from '@xyo-network/bridge-abstract';
|
|
3
3
|
import { ModuleFilter, ModuleFilterOptions, ModuleIdentifier, ModuleInstance, ModuleName, ModuleQueryResult } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload } from '@xyo-network/payload-model';
|
|
5
|
-
import { AsyncQueryBusClient } from '../AsyncQueryBusClient.
|
|
5
|
+
import { AsyncQueryBusClient } from '../AsyncQueryBusClient.ts';
|
|
6
6
|
export type AsyncQueryBusModuleProxyParams = ModuleProxyParams & {
|
|
7
7
|
busClient: AsyncQueryBusClient;
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
|
2
2
|
import { AbstractModuleProxy, ModuleProxyParams } from '@xyo-network/bridge-abstract';
|
|
3
3
|
import { ModuleFilter, ModuleFilterOptions, ModuleIdentifier, ModuleInstance, ModuleName, ModuleQueryResult } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload } from '@xyo-network/payload-model';
|
|
5
|
-
import { AsyncQueryBusClient } from '../AsyncQueryBusClient.
|
|
5
|
+
import { AsyncQueryBusClient } from '../AsyncQueryBusClient.ts';
|
|
6
6
|
export type AsyncQueryBusModuleProxyParams = ModuleProxyParams & {
|
|
7
7
|
busClient: AsyncQueryBusClient;
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
|
2
2
|
import { AbstractModuleProxy, ModuleProxyParams } from '@xyo-network/bridge-abstract';
|
|
3
3
|
import { ModuleFilter, ModuleFilterOptions, ModuleIdentifier, ModuleInstance, ModuleName, ModuleQueryResult } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload } from '@xyo-network/payload-model';
|
|
5
|
-
import { AsyncQueryBusClient } from '../AsyncQueryBusClient.
|
|
5
|
+
import { AsyncQueryBusClient } from '../AsyncQueryBusClient.ts';
|
|
6
6
|
export type AsyncQueryBusModuleProxyParams = ModuleProxyParams & {
|
|
7
7
|
busClient: AsyncQueryBusClient;
|
|
8
8
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ModuleProxy.
|
|
1
|
+
export * from './ModuleProxy.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ModuleProxy.
|
|
1
|
+
export * from './ModuleProxy.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ModuleProxy.
|
|
1
|
+
export * from './ModuleProxy.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './AsyncQueryBusClient.
|
|
2
|
-
export * from './AsyncQueryBusHost.
|
|
3
|
-
export * from './model/index.
|
|
4
|
-
export * from './ModuleHost/index.
|
|
5
|
-
export * from './ModuleProxy/index.
|
|
1
|
+
export * from './AsyncQueryBusClient.ts';
|
|
2
|
+
export * from './AsyncQueryBusHost.ts';
|
|
3
|
+
export * from './model/index.ts';
|
|
4
|
+
export * from './ModuleHost/index.ts';
|
|
5
|
+
export * from './ModuleProxy/index.ts';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './AsyncQueryBusClient.
|
|
2
|
-
export * from './AsyncQueryBusHost.
|
|
3
|
-
export * from './model/index.
|
|
4
|
-
export * from './ModuleHost/index.
|
|
5
|
-
export * from './ModuleProxy/index.
|
|
1
|
+
export * from './AsyncQueryBusClient.ts';
|
|
2
|
+
export * from './AsyncQueryBusHost.ts';
|
|
3
|
+
export * from './model/index.ts';
|
|
4
|
+
export * from './ModuleHost/index.ts';
|
|
5
|
+
export * from './ModuleProxy/index.ts';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './AsyncQueryBusClient.
|
|
2
|
-
export * from './AsyncQueryBusHost.
|
|
3
|
-
export * from './model/index.
|
|
4
|
-
export * from './ModuleHost/index.
|
|
5
|
-
export * from './ModuleProxy/index.
|
|
1
|
+
export * from './AsyncQueryBusClient.ts';
|
|
2
|
+
export * from './AsyncQueryBusHost.ts';
|
|
3
|
+
export * from './model/index.ts';
|
|
4
|
+
export * from './ModuleHost/index.ts';
|
|
5
|
+
export * from './ModuleProxy/index.ts';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchableStorage } from '@xyo-network/diviner-model';
|
|
2
|
-
import { AsyncQueryBusIntersectConfig } from './IntersectConfig.
|
|
2
|
+
import { AsyncQueryBusIntersectConfig } from './IntersectConfig.ts';
|
|
3
3
|
export interface AsyncQueryBusBaseConfig {
|
|
4
4
|
intersect?: AsyncQueryBusIntersectConfig;
|
|
5
5
|
pollFrequency?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchableStorage } from '@xyo-network/diviner-model';
|
|
2
|
-
import { AsyncQueryBusIntersectConfig } from './IntersectConfig.
|
|
2
|
+
import { AsyncQueryBusIntersectConfig } from './IntersectConfig.ts';
|
|
3
3
|
export interface AsyncQueryBusBaseConfig {
|
|
4
4
|
intersect?: AsyncQueryBusIntersectConfig;
|
|
5
5
|
pollFrequency?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchableStorage } from '@xyo-network/diviner-model';
|
|
2
|
-
import { AsyncQueryBusIntersectConfig } from './IntersectConfig.
|
|
2
|
+
import { AsyncQueryBusIntersectConfig } from './IntersectConfig.ts';
|
|
3
3
|
export interface AsyncQueryBusBaseConfig {
|
|
4
4
|
intersect?: AsyncQueryBusIntersectConfig;
|
|
5
5
|
pollFrequency?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BridgeClientConfig } from '@xyo-network/bridge-model';
|
|
2
2
|
import { CacheConfig } from '@xyo-network/module-model';
|
|
3
|
-
import { AsyncQueryBusBaseConfig } from './BaseConfig.
|
|
3
|
+
import { AsyncQueryBusBaseConfig } from './BaseConfig.ts';
|
|
4
4
|
export interface AsyncQueryBusClientConfig extends AsyncQueryBusBaseConfig, BridgeClientConfig {
|
|
5
5
|
queryCache?: CacheConfig | true;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BridgeClientConfig } from '@xyo-network/bridge-model';
|
|
2
2
|
import { CacheConfig } from '@xyo-network/module-model';
|
|
3
|
-
import { AsyncQueryBusBaseConfig } from './BaseConfig.
|
|
3
|
+
import { AsyncQueryBusBaseConfig } from './BaseConfig.ts';
|
|
4
4
|
export interface AsyncQueryBusClientConfig extends AsyncQueryBusBaseConfig, BridgeClientConfig {
|
|
5
5
|
queryCache?: CacheConfig | true;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BridgeClientConfig } from '@xyo-network/bridge-model';
|
|
2
2
|
import { CacheConfig } from '@xyo-network/module-model';
|
|
3
|
-
import { AsyncQueryBusBaseConfig } from './BaseConfig.
|
|
3
|
+
import { AsyncQueryBusBaseConfig } from './BaseConfig.ts';
|
|
4
4
|
export interface AsyncQueryBusClientConfig extends AsyncQueryBusBaseConfig, BridgeClientConfig {
|
|
5
5
|
queryCache?: CacheConfig | true;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Address } from '@xylabs/hex';
|
|
2
|
-
import { AsyncQueryBusBaseConfig } from './BaseConfig.
|
|
2
|
+
import { AsyncQueryBusBaseConfig } from './BaseConfig.ts';
|
|
3
3
|
export interface AsyncQueryBusHostConfig extends AsyncQueryBusBaseConfig {
|
|
4
4
|
idlePollFrequency?: number;
|
|
5
5
|
idleThreshold?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Address } from '@xylabs/hex';
|
|
2
|
-
import { AsyncQueryBusBaseConfig } from './BaseConfig.
|
|
2
|
+
import { AsyncQueryBusBaseConfig } from './BaseConfig.ts';
|
|
3
3
|
export interface AsyncQueryBusHostConfig extends AsyncQueryBusBaseConfig {
|
|
4
4
|
idlePollFrequency?: number;
|
|
5
5
|
idleThreshold?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Address } from '@xylabs/hex';
|
|
2
|
-
import { AsyncQueryBusBaseConfig } from './BaseConfig.
|
|
2
|
+
import { AsyncQueryBusBaseConfig } from './BaseConfig.ts';
|
|
3
3
|
export interface AsyncQueryBusHostConfig extends AsyncQueryBusBaseConfig {
|
|
4
4
|
idlePollFrequency?: number;
|
|
5
5
|
idleThreshold?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseParams } from '@xylabs/object';
|
|
2
2
|
import { QueryFulfillFinishedEventArgs, QueryFulfillStartedEventArgs } from '@xyo-network/bridge-model';
|
|
3
3
|
import { ModuleInstance } from '@xyo-network/module-model';
|
|
4
|
-
import { AsyncQueryBusBaseConfig } from './BaseConfig.
|
|
5
|
-
import { AsyncQueryBusClientConfig } from './ClientConfig.
|
|
6
|
-
import { AsyncQueryBusHostConfig } from './HostConfig.
|
|
4
|
+
import { AsyncQueryBusBaseConfig } from './BaseConfig.ts';
|
|
5
|
+
import { AsyncQueryBusClientConfig } from './ClientConfig.ts';
|
|
6
|
+
import { AsyncQueryBusHostConfig } from './HostConfig.ts';
|
|
7
7
|
export type AsyncQueryBusParams<TConfig extends AsyncQueryBusBaseConfig = AsyncQueryBusBaseConfig> = BaseParams<{
|
|
8
8
|
config?: TConfig;
|
|
9
9
|
rootModule: ModuleInstance;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseParams } from '@xylabs/object';
|
|
2
2
|
import { QueryFulfillFinishedEventArgs, QueryFulfillStartedEventArgs } from '@xyo-network/bridge-model';
|
|
3
3
|
import { ModuleInstance } from '@xyo-network/module-model';
|
|
4
|
-
import { AsyncQueryBusBaseConfig } from './BaseConfig.
|
|
5
|
-
import { AsyncQueryBusClientConfig } from './ClientConfig.
|
|
6
|
-
import { AsyncQueryBusHostConfig } from './HostConfig.
|
|
4
|
+
import { AsyncQueryBusBaseConfig } from './BaseConfig.ts';
|
|
5
|
+
import { AsyncQueryBusClientConfig } from './ClientConfig.ts';
|
|
6
|
+
import { AsyncQueryBusHostConfig } from './HostConfig.ts';
|
|
7
7
|
export type AsyncQueryBusParams<TConfig extends AsyncQueryBusBaseConfig = AsyncQueryBusBaseConfig> = BaseParams<{
|
|
8
8
|
config?: TConfig;
|
|
9
9
|
rootModule: ModuleInstance;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseParams } from '@xylabs/object';
|
|
2
2
|
import { QueryFulfillFinishedEventArgs, QueryFulfillStartedEventArgs } from '@xyo-network/bridge-model';
|
|
3
3
|
import { ModuleInstance } from '@xyo-network/module-model';
|
|
4
|
-
import { AsyncQueryBusBaseConfig } from './BaseConfig.
|
|
5
|
-
import { AsyncQueryBusClientConfig } from './ClientConfig.
|
|
6
|
-
import { AsyncQueryBusHostConfig } from './HostConfig.
|
|
4
|
+
import { AsyncQueryBusBaseConfig } from './BaseConfig.ts';
|
|
5
|
+
import { AsyncQueryBusClientConfig } from './ClientConfig.ts';
|
|
6
|
+
import { AsyncQueryBusHostConfig } from './HostConfig.ts';
|
|
7
7
|
export type AsyncQueryBusParams<TConfig extends AsyncQueryBusBaseConfig = AsyncQueryBusBaseConfig> = BaseParams<{
|
|
8
8
|
config?: TConfig;
|
|
9
9
|
rootModule: ModuleInstance;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './BaseConfig.
|
|
2
|
-
export * from './ClientConfig.
|
|
3
|
-
export * from './HostConfig.
|
|
4
|
-
export * from './IntersectConfig.
|
|
5
|
-
export * from './Params.
|
|
6
|
-
export * from './QueryStatus.
|
|
1
|
+
export * from './BaseConfig.ts';
|
|
2
|
+
export * from './ClientConfig.ts';
|
|
3
|
+
export * from './HostConfig.ts';
|
|
4
|
+
export * from './IntersectConfig.ts';
|
|
5
|
+
export * from './Params.ts';
|
|
6
|
+
export * from './QueryStatus.ts';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './BaseConfig.
|
|
2
|
-
export * from './ClientConfig.
|
|
3
|
-
export * from './HostConfig.
|
|
4
|
-
export * from './IntersectConfig.
|
|
5
|
-
export * from './Params.
|
|
6
|
-
export * from './QueryStatus.
|
|
1
|
+
export * from './BaseConfig.ts';
|
|
2
|
+
export * from './ClientConfig.ts';
|
|
3
|
+
export * from './HostConfig.ts';
|
|
4
|
+
export * from './IntersectConfig.ts';
|
|
5
|
+
export * from './Params.ts';
|
|
6
|
+
export * from './QueryStatus.ts';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './BaseConfig.
|
|
2
|
-
export * from './ClientConfig.
|
|
3
|
-
export * from './HostConfig.
|
|
4
|
-
export * from './IntersectConfig.
|
|
5
|
-
export * from './Params.
|
|
6
|
-
export * from './QueryStatus.
|
|
1
|
+
export * from './BaseConfig.ts';
|
|
2
|
+
export * from './ClientConfig.ts';
|
|
3
|
+
export * from './HostConfig.ts';
|
|
4
|
+
export * from './IntersectConfig.ts';
|
|
5
|
+
export * from './Params.ts';
|
|
6
|
+
export * from './QueryStatus.ts';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address } from '@xylabs/hex';
|
|
2
2
|
import { EmptyObject } from '@xylabs/object';
|
|
3
3
|
import { BridgeConfig } from '@xyo-network/bridge-model';
|
|
4
|
-
import { AsyncQueryBusClientConfig, AsyncQueryBusHostConfig } from './AsyncQueryBus/index.
|
|
4
|
+
import { AsyncQueryBusClientConfig, AsyncQueryBusHostConfig } from './AsyncQueryBus/index.ts';
|
|
5
5
|
export declare const PubSubBridgeConfigSchema: "network.xyo.bridge.pubsub.config";
|
|
6
6
|
export type PubSubBridgeConfigSchema = typeof PubSubBridgeConfigSchema;
|
|
7
7
|
export type PubSubBridgeConfig<TConfig extends EmptyObject = EmptyObject, TSchema extends string | void = void> = BridgeConfig<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address } from '@xylabs/hex';
|
|
2
2
|
import { EmptyObject } from '@xylabs/object';
|
|
3
3
|
import { BridgeConfig } from '@xyo-network/bridge-model';
|
|
4
|
-
import { AsyncQueryBusClientConfig, AsyncQueryBusHostConfig } from './AsyncQueryBus/index.
|
|
4
|
+
import { AsyncQueryBusClientConfig, AsyncQueryBusHostConfig } from './AsyncQueryBus/index.ts';
|
|
5
5
|
export declare const PubSubBridgeConfigSchema: "network.xyo.bridge.pubsub.config";
|
|
6
6
|
export type PubSubBridgeConfigSchema = typeof PubSubBridgeConfigSchema;
|
|
7
7
|
export type PubSubBridgeConfig<TConfig extends EmptyObject = EmptyObject, TSchema extends string | void = void> = BridgeConfig<{
|
package/dist/browser/Config.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address } from '@xylabs/hex';
|
|
2
2
|
import { EmptyObject } from '@xylabs/object';
|
|
3
3
|
import { BridgeConfig } from '@xyo-network/bridge-model';
|
|
4
|
-
import { AsyncQueryBusClientConfig, AsyncQueryBusHostConfig } from './AsyncQueryBus/index.
|
|
4
|
+
import { AsyncQueryBusClientConfig, AsyncQueryBusHostConfig } from './AsyncQueryBus/index.ts';
|
|
5
5
|
export declare const PubSubBridgeConfigSchema: "network.xyo.bridge.pubsub.config";
|
|
6
6
|
export type PubSubBridgeConfigSchema = typeof PubSubBridgeConfigSchema;
|
|
7
7
|
export type PubSubBridgeConfig<TConfig extends EmptyObject = EmptyObject, TSchema extends string | void = void> = BridgeConfig<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BridgeParams } from '@xyo-network/bridge-model';
|
|
2
2
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
-
import { PubSubBridgeConfig } from './Config.
|
|
3
|
+
import { PubSubBridgeConfig } from './Config.ts';
|
|
4
4
|
export type PubSubBridgeParams<TConfig extends AnyConfigSchema<PubSubBridgeConfig> = AnyConfigSchema<PubSubBridgeConfig>> = BridgeParams<TConfig>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BridgeParams } from '@xyo-network/bridge-model';
|
|
2
2
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
-
import { PubSubBridgeConfig } from './Config.
|
|
3
|
+
import { PubSubBridgeConfig } from './Config.ts';
|
|
4
4
|
export type PubSubBridgeParams<TConfig extends AnyConfigSchema<PubSubBridgeConfig> = AnyConfigSchema<PubSubBridgeConfig>> = BridgeParams<TConfig>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
package/dist/browser/Params.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BridgeParams } from '@xyo-network/bridge-model';
|
|
2
2
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
-
import { PubSubBridgeConfig } from './Config.
|
|
3
|
+
import { PubSubBridgeConfig } from './Config.ts';
|
|
4
4
|
export type PubSubBridgeParams<TConfig extends AnyConfigSchema<PubSubBridgeConfig> = AnyConfigSchema<PubSubBridgeConfig>> = BridgeParams<TConfig>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -4,9 +4,9 @@ import { BridgeExposeOptions, BridgeModule, BridgeUnexposeOptions } from '@xyo-n
|
|
|
4
4
|
import { ModuleFilter, ModuleFilterOptions, ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
5
5
|
import { Schema } from '@xyo-network/payload-model';
|
|
6
6
|
import { LRUCache } from 'lru-cache';
|
|
7
|
-
import { AsyncQueryBusClient, AsyncQueryBusHost } from './AsyncQueryBus/index.
|
|
8
|
-
import { PubSubBridgeParams } from './Params.
|
|
9
|
-
import { PubSubBridgeModuleResolver } from './PubSubBridgeModuleResolver.
|
|
7
|
+
import { AsyncQueryBusClient, AsyncQueryBusHost } from './AsyncQueryBus/index.ts';
|
|
8
|
+
import { PubSubBridgeParams } from './Params.ts';
|
|
9
|
+
import { PubSubBridgeModuleResolver } from './PubSubBridgeModuleResolver.ts';
|
|
10
10
|
export declare class PubSubBridge<TParams extends PubSubBridgeParams = PubSubBridgeParams> extends AbstractBridge<TParams> implements BridgeModule<TParams> {
|
|
11
11
|
static readonly configSchemas: Schema[];
|
|
12
12
|
static readonly defaultConfigSchema: Schema;
|
|
@@ -34,8 +34,8 @@ export declare class PubSubBridge<TParams extends PubSubBridgeParams = PubSubBri
|
|
|
34
34
|
resolve<T extends ModuleInstance = ModuleInstance>(filter?: ModuleFilter, options?: ModuleFilterOptions<T>): Promise<T[]>;
|
|
35
35
|
startHandler(): Promise<boolean>;
|
|
36
36
|
unexposeHandler(id: ModuleIdentifier, options?: BridgeUnexposeOptions | undefined): Promise<ModuleInstance[]>;
|
|
37
|
-
protected busClient(): AsyncQueryBusClient<import("./AsyncQueryBus/index.
|
|
38
|
-
protected busHost(): AsyncQueryBusHost<import("./AsyncQueryBus/index.
|
|
37
|
+
protected busClient(): AsyncQueryBusClient<import("./AsyncQueryBus/index.ts").AsyncQueryBusClientParams> | undefined;
|
|
38
|
+
protected busHost(): AsyncQueryBusHost<import("./AsyncQueryBus/index.ts").AsyncQueryBusHostParams> | undefined;
|
|
39
39
|
protected connectInstance(instance?: ModuleInstance, maxDepth?: number): Promise<Address | undefined>;
|
|
40
40
|
protected stopHandler(_timeout?: number | undefined): boolean;
|
|
41
41
|
}
|
|
@@ -4,9 +4,9 @@ import { BridgeExposeOptions, BridgeModule, BridgeUnexposeOptions } from '@xyo-n
|
|
|
4
4
|
import { ModuleFilter, ModuleFilterOptions, ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
5
5
|
import { Schema } from '@xyo-network/payload-model';
|
|
6
6
|
import { LRUCache } from 'lru-cache';
|
|
7
|
-
import { AsyncQueryBusClient, AsyncQueryBusHost } from './AsyncQueryBus/index.
|
|
8
|
-
import { PubSubBridgeParams } from './Params.
|
|
9
|
-
import { PubSubBridgeModuleResolver } from './PubSubBridgeModuleResolver.
|
|
7
|
+
import { AsyncQueryBusClient, AsyncQueryBusHost } from './AsyncQueryBus/index.ts';
|
|
8
|
+
import { PubSubBridgeParams } from './Params.ts';
|
|
9
|
+
import { PubSubBridgeModuleResolver } from './PubSubBridgeModuleResolver.ts';
|
|
10
10
|
export declare class PubSubBridge<TParams extends PubSubBridgeParams = PubSubBridgeParams> extends AbstractBridge<TParams> implements BridgeModule<TParams> {
|
|
11
11
|
static readonly configSchemas: Schema[];
|
|
12
12
|
static readonly defaultConfigSchema: Schema;
|
|
@@ -34,8 +34,8 @@ export declare class PubSubBridge<TParams extends PubSubBridgeParams = PubSubBri
|
|
|
34
34
|
resolve<T extends ModuleInstance = ModuleInstance>(filter?: ModuleFilter, options?: ModuleFilterOptions<T>): Promise<T[]>;
|
|
35
35
|
startHandler(): Promise<boolean>;
|
|
36
36
|
unexposeHandler(id: ModuleIdentifier, options?: BridgeUnexposeOptions | undefined): Promise<ModuleInstance[]>;
|
|
37
|
-
protected busClient(): AsyncQueryBusClient<import("./AsyncQueryBus/index.
|
|
38
|
-
protected busHost(): AsyncQueryBusHost<import("./AsyncQueryBus/index.
|
|
37
|
+
protected busClient(): AsyncQueryBusClient<import("./AsyncQueryBus/index.ts").AsyncQueryBusClientParams> | undefined;
|
|
38
|
+
protected busHost(): AsyncQueryBusHost<import("./AsyncQueryBus/index.ts").AsyncQueryBusHostParams> | undefined;
|
|
39
39
|
protected connectInstance(instance?: ModuleInstance, maxDepth?: number): Promise<Address | undefined>;
|
|
40
40
|
protected stopHandler(_timeout?: number | undefined): boolean;
|
|
41
41
|
}
|
|
@@ -4,9 +4,9 @@ import { BridgeExposeOptions, BridgeModule, BridgeUnexposeOptions } from '@xyo-n
|
|
|
4
4
|
import { ModuleFilter, ModuleFilterOptions, ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
5
5
|
import { Schema } from '@xyo-network/payload-model';
|
|
6
6
|
import { LRUCache } from 'lru-cache';
|
|
7
|
-
import { AsyncQueryBusClient, AsyncQueryBusHost } from './AsyncQueryBus/index.
|
|
8
|
-
import { PubSubBridgeParams } from './Params.
|
|
9
|
-
import { PubSubBridgeModuleResolver } from './PubSubBridgeModuleResolver.
|
|
7
|
+
import { AsyncQueryBusClient, AsyncQueryBusHost } from './AsyncQueryBus/index.ts';
|
|
8
|
+
import { PubSubBridgeParams } from './Params.ts';
|
|
9
|
+
import { PubSubBridgeModuleResolver } from './PubSubBridgeModuleResolver.ts';
|
|
10
10
|
export declare class PubSubBridge<TParams extends PubSubBridgeParams = PubSubBridgeParams> extends AbstractBridge<TParams> implements BridgeModule<TParams> {
|
|
11
11
|
static readonly configSchemas: Schema[];
|
|
12
12
|
static readonly defaultConfigSchema: Schema;
|
|
@@ -34,8 +34,8 @@ export declare class PubSubBridge<TParams extends PubSubBridgeParams = PubSubBri
|
|
|
34
34
|
resolve<T extends ModuleInstance = ModuleInstance>(filter?: ModuleFilter, options?: ModuleFilterOptions<T>): Promise<T[]>;
|
|
35
35
|
startHandler(): Promise<boolean>;
|
|
36
36
|
unexposeHandler(id: ModuleIdentifier, options?: BridgeUnexposeOptions | undefined): Promise<ModuleInstance[]>;
|
|
37
|
-
protected busClient(): AsyncQueryBusClient<import("./AsyncQueryBus/index.
|
|
38
|
-
protected busHost(): AsyncQueryBusHost<import("./AsyncQueryBus/index.
|
|
37
|
+
protected busClient(): AsyncQueryBusClient<import("./AsyncQueryBus/index.ts").AsyncQueryBusClientParams> | undefined;
|
|
38
|
+
protected busHost(): AsyncQueryBusHost<import("./AsyncQueryBus/index.ts").AsyncQueryBusHostParams> | undefined;
|
|
39
39
|
protected connectInstance(instance?: ModuleInstance, maxDepth?: number): Promise<Address | undefined>;
|
|
40
40
|
protected stopHandler(_timeout?: number | undefined): boolean;
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@ import { AbstractBridgeModuleResolver, BridgeModuleResolverParams } from '@xyo-n
|
|
|
2
2
|
import { ModuleFilterOptions, ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
3
3
|
import { Mutex } from 'async-mutex';
|
|
4
4
|
import { LRUCache } from 'lru-cache';
|
|
5
|
-
import { AsyncQueryBusClient } from './AsyncQueryBus/index.
|
|
5
|
+
import { AsyncQueryBusClient } from './AsyncQueryBus/index.ts';
|
|
6
6
|
export interface PubSubBridgeModuleResolverParams extends BridgeModuleResolverParams {
|
|
7
7
|
busClient: AsyncQueryBusClient;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { AbstractBridgeModuleResolver, BridgeModuleResolverParams } from '@xyo-n
|
|
|
2
2
|
import { ModuleFilterOptions, ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
3
3
|
import { Mutex } from 'async-mutex';
|
|
4
4
|
import { LRUCache } from 'lru-cache';
|
|
5
|
-
import { AsyncQueryBusClient } from './AsyncQueryBus/index.
|
|
5
|
+
import { AsyncQueryBusClient } from './AsyncQueryBus/index.ts';
|
|
6
6
|
export interface PubSubBridgeModuleResolverParams extends BridgeModuleResolverParams {
|
|
7
7
|
busClient: AsyncQueryBusClient;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { AbstractBridgeModuleResolver, BridgeModuleResolverParams } from '@xyo-n
|
|
|
2
2
|
import { ModuleFilterOptions, ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
3
3
|
import { Mutex } from 'async-mutex';
|
|
4
4
|
import { LRUCache } from 'lru-cache';
|
|
5
|
-
import { AsyncQueryBusClient } from './AsyncQueryBus/index.
|
|
5
|
+
import { AsyncQueryBusClient } from './AsyncQueryBus/index.ts';
|
|
6
6
|
export interface PubSubBridgeModuleResolverParams extends BridgeModuleResolverParams {
|
|
7
7
|
busClient: AsyncQueryBusClient;
|
|
8
8
|
}
|