@xyo-network/bridge-wrapper 3.9.2 → 3.9.4
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/neutral/index.d.ts +4 -111
- package/package.json +4 -4
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,121 +1,14 @@
|
|
|
1
|
-
import * as _xyo_network_bridge_model from '@xyo-network/bridge-model';
|
|
2
|
-
import { BridgeModule, BridgeInstance, BridgeExposeOptions, BridgeUnexposeOptions } from '@xyo-network/bridge-model';
|
|
3
1
|
import * as _xylabs_object from '@xylabs/object';
|
|
4
2
|
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
5
3
|
import { ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
6
|
-
import * as
|
|
4
|
+
import * as _xyo_network_bridge_model from '@xyo-network/bridge-model';
|
|
5
|
+
import { BridgeModule, BridgeInstance, BridgeExposeOptions, BridgeUnexposeOptions } from '@xyo-network/bridge-model';
|
|
7
6
|
import { Address } from '@xylabs/hex';
|
|
8
7
|
import { ModuleWrapper } from '@xyo-network/module-wrapper';
|
|
9
8
|
|
|
10
9
|
declare class BridgeWrapper<TWrappedModule extends BridgeModule = BridgeModule> extends ModuleWrapper<TWrappedModule> implements BridgeInstance<TWrappedModule['params']> {
|
|
11
|
-
static readonly instanceIdentityCheck: _xylabs_object.TypeCheck<BridgeInstance<_xyo_network_bridge_model.BridgeParams<
|
|
12
|
-
|
|
13
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
14
|
-
client?: {
|
|
15
|
-
cache?: true | {
|
|
16
|
-
max?: number | undefined;
|
|
17
|
-
maxSize?: number | undefined;
|
|
18
|
-
ttl?: number | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
discoverRoots?: "start" | "lazy" | undefined;
|
|
21
|
-
maxDepth?: number | undefined;
|
|
22
|
-
} | undefined;
|
|
23
|
-
discoverRoots?: "start" | "lazy" | undefined;
|
|
24
|
-
host?: {
|
|
25
|
-
cache?: true | {
|
|
26
|
-
max?: number | undefined;
|
|
27
|
-
maxSize?: number | undefined;
|
|
28
|
-
ttl?: number | undefined;
|
|
29
|
-
} | undefined;
|
|
30
|
-
maxDepth?: number | undefined;
|
|
31
|
-
} | undefined;
|
|
32
|
-
readonly archiving?: {
|
|
33
|
-
readonly archivists?: string[] | undefined;
|
|
34
|
-
readonly queries?: string[] | undefined;
|
|
35
|
-
} | undefined;
|
|
36
|
-
readonly allowedQueries?: string[] | undefined;
|
|
37
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
38
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
39
|
-
readonly labels?: {
|
|
40
|
-
[x: string]: string | undefined;
|
|
41
|
-
} | undefined;
|
|
42
|
-
readonly paging?: {
|
|
43
|
-
[x: string]: {
|
|
44
|
-
size?: number | undefined;
|
|
45
|
-
};
|
|
46
|
-
} | undefined;
|
|
47
|
-
readonly retry?: {
|
|
48
|
-
backoff?: number | undefined;
|
|
49
|
-
interval?: number | undefined;
|
|
50
|
-
retries?: number | undefined;
|
|
51
|
-
} | undefined;
|
|
52
|
-
readonly security?: {
|
|
53
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
54
|
-
readonly allowed?: {
|
|
55
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
56
|
-
} | undefined;
|
|
57
|
-
readonly disallowed?: {
|
|
58
|
-
[x: string]: Lowercase<string>[];
|
|
59
|
-
} | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
readonly sign?: boolean | undefined;
|
|
62
|
-
readonly storeQueries?: boolean | undefined;
|
|
63
|
-
readonly timestamp?: boolean | undefined;
|
|
64
|
-
}>>, _xyo_network_bridge_model.BridgeModuleEventData>>;
|
|
65
|
-
static readonly moduleIdentityCheck: _xyo_network_module_model.ModuleTypeCheck<BridgeModule<_xyo_network_bridge_model.BridgeParams<_xylabs_object.DeepRestrictToStringKeys<{
|
|
66
|
-
schema: _xyo_network_payload_model.Schema;
|
|
67
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
68
|
-
client?: {
|
|
69
|
-
cache?: true | {
|
|
70
|
-
max?: number | undefined;
|
|
71
|
-
maxSize?: number | undefined;
|
|
72
|
-
ttl?: number | undefined;
|
|
73
|
-
} | undefined;
|
|
74
|
-
discoverRoots?: "start" | "lazy" | undefined;
|
|
75
|
-
maxDepth?: number | undefined;
|
|
76
|
-
} | undefined;
|
|
77
|
-
discoverRoots?: "start" | "lazy" | undefined;
|
|
78
|
-
host?: {
|
|
79
|
-
cache?: true | {
|
|
80
|
-
max?: number | undefined;
|
|
81
|
-
maxSize?: number | undefined;
|
|
82
|
-
ttl?: number | undefined;
|
|
83
|
-
} | undefined;
|
|
84
|
-
maxDepth?: number | undefined;
|
|
85
|
-
} | undefined;
|
|
86
|
-
readonly archiving?: {
|
|
87
|
-
readonly archivists?: string[] | undefined;
|
|
88
|
-
readonly queries?: string[] | undefined;
|
|
89
|
-
} | undefined;
|
|
90
|
-
readonly allowedQueries?: string[] | undefined;
|
|
91
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
92
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
93
|
-
readonly labels?: {
|
|
94
|
-
[x: string]: string | undefined;
|
|
95
|
-
} | undefined;
|
|
96
|
-
readonly paging?: {
|
|
97
|
-
[x: string]: {
|
|
98
|
-
size?: number | undefined;
|
|
99
|
-
};
|
|
100
|
-
} | undefined;
|
|
101
|
-
readonly retry?: {
|
|
102
|
-
backoff?: number | undefined;
|
|
103
|
-
interval?: number | undefined;
|
|
104
|
-
retries?: number | undefined;
|
|
105
|
-
} | undefined;
|
|
106
|
-
readonly security?: {
|
|
107
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
108
|
-
readonly allowed?: {
|
|
109
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
110
|
-
} | undefined;
|
|
111
|
-
readonly disallowed?: {
|
|
112
|
-
[x: string]: Lowercase<string>[];
|
|
113
|
-
} | undefined;
|
|
114
|
-
} | undefined;
|
|
115
|
-
readonly sign?: boolean | undefined;
|
|
116
|
-
readonly storeQueries?: boolean | undefined;
|
|
117
|
-
readonly timestamp?: boolean | undefined;
|
|
118
|
-
}>>, _xyo_network_bridge_model.BridgeModuleEventData>>;
|
|
10
|
+
static readonly instanceIdentityCheck: _xylabs_object.TypeCheck<BridgeInstance<_xyo_network_bridge_model.BridgeParams<_xyo_network_module_model.AnyConfigSchema<_xyo_network_bridge_model.BridgeConfig<void, void, void, void>>>, _xyo_network_bridge_model.BridgeModuleEventData>>;
|
|
11
|
+
static readonly moduleIdentityCheck: _xyo_network_module_model.ModuleTypeCheck<BridgeModule<_xyo_network_bridge_model.BridgeParams<_xyo_network_module_model.AnyConfigSchema<_xyo_network_bridge_model.BridgeConfig<void, void, void, void>>>, _xyo_network_bridge_model.BridgeModuleEventData>>;
|
|
119
12
|
expose(id: ModuleIdentifier, options?: BridgeExposeOptions): Promise<ModuleInstance[]>;
|
|
120
13
|
unexpose(id: ModuleIdentifier, options?: BridgeUnexposeOptions): Promise<Address[]>;
|
|
121
14
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/bridge-wrapper",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.4",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@xylabs/hex": "^4.5.1",
|
|
33
|
-
"@xyo-network/bridge-model": "^3.9.
|
|
34
|
-
"@xyo-network/module-model": "^3.9.
|
|
35
|
-
"@xyo-network/module-wrapper": "^3.9.
|
|
33
|
+
"@xyo-network/bridge-model": "^3.9.4",
|
|
34
|
+
"@xyo-network/module-model": "^3.9.4",
|
|
35
|
+
"@xyo-network/module-wrapper": "^3.9.4"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@xylabs/ts-scripts-yarn3": "^5.0.24",
|