@xyo-network/bridge-wrapper 3.5.2 → 3.6.0-rc.10
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.
|
@@ -3,26 +3,114 @@ import type { BridgeExposeOptions, BridgeInstance, BridgeModule, BridgeUnexposeO
|
|
|
3
3
|
import type { ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
4
4
|
import { ModuleWrapper } from '@xyo-network/module-wrapper';
|
|
5
5
|
export declare class BridgeWrapper<TWrappedModule extends BridgeModule = BridgeModule> extends ModuleWrapper<TWrappedModule> implements BridgeInstance<TWrappedModule['params']> {
|
|
6
|
-
static instanceIdentityCheck: import("@xylabs/object").TypeCheck<BridgeInstance<import("@xyo-network/bridge-model").BridgeParams<import("@
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
discoverRoots?: "start" | "lazy";
|
|
19
|
-
host?:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
6
|
+
static instanceIdentityCheck: import("@xylabs/object").TypeCheck<BridgeInstance<import("@xyo-network/bridge-model").BridgeParams<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
7
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
8
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
9
|
+
client?: {
|
|
10
|
+
cache?: true | {
|
|
11
|
+
max?: number | undefined;
|
|
12
|
+
maxSize?: number | undefined;
|
|
13
|
+
ttl?: number | undefined;
|
|
14
|
+
} | undefined;
|
|
15
|
+
discoverRoots?: "start" | "lazy" | undefined;
|
|
16
|
+
maxDepth?: number | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
discoverRoots?: "start" | "lazy" | undefined;
|
|
19
|
+
host?: {
|
|
20
|
+
cache?: true | {
|
|
21
|
+
max?: number | undefined;
|
|
22
|
+
maxSize?: number | undefined;
|
|
23
|
+
ttl?: number | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
maxDepth?: number | undefined;
|
|
26
|
+
} | undefined;
|
|
27
|
+
readonly archiving?: {
|
|
28
|
+
readonly archivists?: string[] | undefined;
|
|
29
|
+
readonly queries?: string[] | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
readonly allowedQueries?: string[] | undefined;
|
|
32
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
33
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
34
|
+
readonly labels?: {
|
|
35
|
+
[x: string]: string | undefined;
|
|
36
|
+
} | undefined;
|
|
37
|
+
readonly paging?: {
|
|
38
|
+
[x: string]: {
|
|
39
|
+
size?: number | undefined;
|
|
40
|
+
};
|
|
41
|
+
} | undefined;
|
|
42
|
+
readonly retry?: {
|
|
43
|
+
backoff?: number | undefined;
|
|
44
|
+
interval?: number | undefined;
|
|
45
|
+
retries?: number | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
readonly security?: {
|
|
48
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
49
|
+
readonly allowed?: {
|
|
50
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
51
|
+
} | undefined;
|
|
52
|
+
readonly disallowed?: {
|
|
53
|
+
[x: string]: Lowercase<string>[];
|
|
54
|
+
} | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
readonly sign?: boolean | undefined;
|
|
57
|
+
readonly storeQueries?: boolean | undefined;
|
|
58
|
+
readonly timestamp?: boolean | undefined;
|
|
59
|
+
}>>, import("@xyo-network/bridge-model").BridgeModuleEventData>>;
|
|
60
|
+
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
61
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
62
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
63
|
+
client?: {
|
|
64
|
+
cache?: true | {
|
|
65
|
+
max?: number | undefined;
|
|
66
|
+
maxSize?: number | undefined;
|
|
67
|
+
ttl?: number | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
discoverRoots?: "start" | "lazy" | undefined;
|
|
70
|
+
maxDepth?: number | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
discoverRoots?: "start" | "lazy" | undefined;
|
|
73
|
+
host?: {
|
|
74
|
+
cache?: true | {
|
|
75
|
+
max?: number | undefined;
|
|
76
|
+
maxSize?: number | undefined;
|
|
77
|
+
ttl?: number | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
maxDepth?: number | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
readonly archiving?: {
|
|
82
|
+
readonly archivists?: string[] | undefined;
|
|
83
|
+
readonly queries?: string[] | undefined;
|
|
84
|
+
} | undefined;
|
|
85
|
+
readonly allowedQueries?: string[] | undefined;
|
|
86
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
87
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
88
|
+
readonly labels?: {
|
|
89
|
+
[x: string]: string | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
readonly paging?: {
|
|
92
|
+
[x: string]: {
|
|
93
|
+
size?: number | undefined;
|
|
94
|
+
};
|
|
95
|
+
} | undefined;
|
|
96
|
+
readonly retry?: {
|
|
97
|
+
backoff?: number | undefined;
|
|
98
|
+
interval?: number | undefined;
|
|
99
|
+
retries?: number | undefined;
|
|
100
|
+
} | undefined;
|
|
101
|
+
readonly security?: {
|
|
102
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
103
|
+
readonly allowed?: {
|
|
104
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
105
|
+
} | undefined;
|
|
106
|
+
readonly disallowed?: {
|
|
107
|
+
[x: string]: Lowercase<string>[];
|
|
108
|
+
} | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
readonly sign?: boolean | undefined;
|
|
111
|
+
readonly storeQueries?: boolean | undefined;
|
|
112
|
+
readonly timestamp?: boolean | undefined;
|
|
113
|
+
}>>, import("@xyo-network/bridge-model").BridgeModuleEventData>>;
|
|
26
114
|
expose(id: ModuleIdentifier, options?: BridgeExposeOptions): Promise<ModuleInstance[]>;
|
|
27
115
|
unexpose(id: ModuleIdentifier, options?: BridgeUnexposeOptions): Promise<Address[]>;
|
|
28
116
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EACV,mBAAmB,EAEnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAGtB,MAAM,2BAA2B,CAAA;AAQlC,OAAO,KAAK,EACM,gBAAgB,EAAE,cAAc,EACjD,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAA8B,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAGvF,qBAAa,aAAa,CAAC,cAAc,SAAS,YAAY,GAAG,YAAY,CAC3E,SAAQ,aAAa,CAAC,cAAc,CACpC,YAAW,cAAc,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;IACnD,OAAgB,qBAAqB;
|
|
1
|
+
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EACV,mBAAmB,EAEnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAGtB,MAAM,2BAA2B,CAAA;AAQlC,OAAO,KAAK,EACM,gB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E,qBAAqB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAQ1F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/bridge-wrapper",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0-rc.10",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,17 +29,18 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/hex": "^4.4.
|
|
33
|
-
"@xyo-network/bridge-model": "^3.
|
|
34
|
-
"@xyo-network/module-model": "^3.
|
|
35
|
-
"@xyo-network/module-wrapper": "^3.
|
|
32
|
+
"@xylabs/hex": "^4.4.21",
|
|
33
|
+
"@xyo-network/bridge-model": "^3.6.0-rc.10",
|
|
34
|
+
"@xyo-network/module-model": "^3.6.0-rc.10",
|
|
35
|
+
"@xyo-network/module-wrapper": "^3.6.0-rc.10"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@xylabs/ts-scripts-yarn3": "^4.2.
|
|
39
|
-
"@xylabs/tsconfig": "^4.2.
|
|
38
|
+
"@xylabs/ts-scripts-yarn3": "^4.2.6",
|
|
39
|
+
"@xylabs/tsconfig": "^4.2.6",
|
|
40
40
|
"typescript": "^5.7.2"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
|
-
}
|
|
44
|
+
},
|
|
45
|
+
"stableVersion": "3.5.2"
|
|
45
46
|
}
|