@xyo-network/bridge-wrapper 2.92.1 → 2.92.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.
- package/dist/browser/BridgeWrapper.d.cts +6 -70
- package/dist/browser/BridgeWrapper.d.cts.map +1 -1
- package/dist/browser/BridgeWrapper.d.mts +6 -70
- package/dist/browser/BridgeWrapper.d.mts.map +1 -1
- package/dist/browser/BridgeWrapper.d.ts +6 -70
- package/dist/browser/BridgeWrapper.d.ts.map +1 -1
- package/dist/node/BridgeWrapper.d.cts +6 -70
- package/dist/node/BridgeWrapper.d.cts.map +1 -1
- package/dist/node/BridgeWrapper.d.mts +6 -70
- package/dist/node/BridgeWrapper.d.mts.map +1 -1
- package/dist/node/BridgeWrapper.d.ts +6 -70
- package/dist/node/BridgeWrapper.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -3,85 +3,21 @@ import { BridgeExposeOptions, BridgeInstance, BridgeModule, BridgeUnexposeOption
|
|
|
3
3
|
import { ModuleIdentifier } 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("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
7
|
-
readonly archivist?: string | undefined;
|
|
8
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
9
|
-
readonly name?: string | undefined;
|
|
10
|
-
readonly paging?: Record<string, {
|
|
11
|
-
size?: number | undefined;
|
|
12
|
-
}> | undefined;
|
|
13
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
14
|
-
schema: "network.xyo.bridge.config";
|
|
15
|
-
readonly security?: {
|
|
16
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
18
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
readonly sign?: boolean | undefined;
|
|
21
|
-
readonly storeQueries?: boolean | undefined;
|
|
22
|
-
readonly timestamp?: boolean | undefined;
|
|
23
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
-
readonly archivist?: string | undefined;
|
|
25
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
26
|
-
readonly name?: string | undefined;
|
|
27
|
-
readonly paging?: Record<string, {
|
|
28
|
-
size?: number | undefined;
|
|
29
|
-
}> | undefined;
|
|
30
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
31
|
-
schema: "network.xyo.bridge.config";
|
|
32
|
-
readonly security?: {
|
|
33
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
34
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
35
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
36
|
-
} | undefined;
|
|
37
|
-
readonly sign?: boolean | undefined;
|
|
38
|
-
readonly storeQueries?: boolean | undefined;
|
|
39
|
-
readonly timestamp?: boolean | undefined;
|
|
40
|
-
} & {
|
|
6
|
+
static instanceIdentityCheck: import("@xylabs/object").TypeCheck<BridgeInstance<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
41
7
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
42
8
|
maxDepth?: number | undefined;
|
|
43
9
|
schema: "network.xyo.bridge.config";
|
|
10
|
+
}, "schema"> & {
|
|
11
|
+
schema: "network.xyo.bridge.config";
|
|
44
12
|
}, "schema"> & {
|
|
45
13
|
schema: string;
|
|
46
14
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
47
|
-
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
48
|
-
readonly archivist?: string | undefined;
|
|
49
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
50
|
-
readonly name?: string | undefined;
|
|
51
|
-
readonly paging?: Record<string, {
|
|
52
|
-
size?: number | undefined;
|
|
53
|
-
}> | undefined;
|
|
54
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
55
|
-
schema: "network.xyo.bridge.config";
|
|
56
|
-
readonly security?: {
|
|
57
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
58
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
59
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
readonly sign?: boolean | undefined;
|
|
62
|
-
readonly storeQueries?: boolean | undefined;
|
|
63
|
-
readonly timestamp?: boolean | undefined;
|
|
64
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
65
|
-
readonly archivist?: string | undefined;
|
|
66
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
67
|
-
readonly name?: string | undefined;
|
|
68
|
-
readonly paging?: Record<string, {
|
|
69
|
-
size?: number | undefined;
|
|
70
|
-
}> | undefined;
|
|
71
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
72
|
-
schema: "network.xyo.bridge.config";
|
|
73
|
-
readonly security?: {
|
|
74
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
75
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
76
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
readonly sign?: boolean | undefined;
|
|
79
|
-
readonly storeQueries?: boolean | undefined;
|
|
80
|
-
readonly timestamp?: boolean | undefined;
|
|
81
|
-
} & {
|
|
15
|
+
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
82
16
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
83
17
|
maxDepth?: number | undefined;
|
|
84
18
|
schema: "network.xyo.bridge.config";
|
|
19
|
+
}, "schema"> & {
|
|
20
|
+
schema: "network.xyo.bridge.config";
|
|
85
21
|
}, "schema"> & {
|
|
86
22
|
schema: string;
|
|
87
23
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB
|
|
1
|
+
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB;;;;;;;;sEAAmB;IACxD,OAAgB,mBAAmB;;;;;;;;sEAAiB;IAE9C,MAAM,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAO/E,QAAQ,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAM1F"}
|
|
@@ -3,85 +3,21 @@ import { BridgeExposeOptions, BridgeInstance, BridgeModule, BridgeUnexposeOption
|
|
|
3
3
|
import { ModuleIdentifier } 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("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
7
|
-
readonly archivist?: string | undefined;
|
|
8
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
9
|
-
readonly name?: string | undefined;
|
|
10
|
-
readonly paging?: Record<string, {
|
|
11
|
-
size?: number | undefined;
|
|
12
|
-
}> | undefined;
|
|
13
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
14
|
-
schema: "network.xyo.bridge.config";
|
|
15
|
-
readonly security?: {
|
|
16
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
18
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
readonly sign?: boolean | undefined;
|
|
21
|
-
readonly storeQueries?: boolean | undefined;
|
|
22
|
-
readonly timestamp?: boolean | undefined;
|
|
23
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
-
readonly archivist?: string | undefined;
|
|
25
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
26
|
-
readonly name?: string | undefined;
|
|
27
|
-
readonly paging?: Record<string, {
|
|
28
|
-
size?: number | undefined;
|
|
29
|
-
}> | undefined;
|
|
30
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
31
|
-
schema: "network.xyo.bridge.config";
|
|
32
|
-
readonly security?: {
|
|
33
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
34
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
35
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
36
|
-
} | undefined;
|
|
37
|
-
readonly sign?: boolean | undefined;
|
|
38
|
-
readonly storeQueries?: boolean | undefined;
|
|
39
|
-
readonly timestamp?: boolean | undefined;
|
|
40
|
-
} & {
|
|
6
|
+
static instanceIdentityCheck: import("@xylabs/object").TypeCheck<BridgeInstance<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
41
7
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
42
8
|
maxDepth?: number | undefined;
|
|
43
9
|
schema: "network.xyo.bridge.config";
|
|
10
|
+
}, "schema"> & {
|
|
11
|
+
schema: "network.xyo.bridge.config";
|
|
44
12
|
}, "schema"> & {
|
|
45
13
|
schema: string;
|
|
46
14
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
47
|
-
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
48
|
-
readonly archivist?: string | undefined;
|
|
49
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
50
|
-
readonly name?: string | undefined;
|
|
51
|
-
readonly paging?: Record<string, {
|
|
52
|
-
size?: number | undefined;
|
|
53
|
-
}> | undefined;
|
|
54
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
55
|
-
schema: "network.xyo.bridge.config";
|
|
56
|
-
readonly security?: {
|
|
57
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
58
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
59
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
readonly sign?: boolean | undefined;
|
|
62
|
-
readonly storeQueries?: boolean | undefined;
|
|
63
|
-
readonly timestamp?: boolean | undefined;
|
|
64
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
65
|
-
readonly archivist?: string | undefined;
|
|
66
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
67
|
-
readonly name?: string | undefined;
|
|
68
|
-
readonly paging?: Record<string, {
|
|
69
|
-
size?: number | undefined;
|
|
70
|
-
}> | undefined;
|
|
71
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
72
|
-
schema: "network.xyo.bridge.config";
|
|
73
|
-
readonly security?: {
|
|
74
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
75
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
76
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
readonly sign?: boolean | undefined;
|
|
79
|
-
readonly storeQueries?: boolean | undefined;
|
|
80
|
-
readonly timestamp?: boolean | undefined;
|
|
81
|
-
} & {
|
|
15
|
+
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
82
16
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
83
17
|
maxDepth?: number | undefined;
|
|
84
18
|
schema: "network.xyo.bridge.config";
|
|
19
|
+
}, "schema"> & {
|
|
20
|
+
schema: "network.xyo.bridge.config";
|
|
85
21
|
}, "schema"> & {
|
|
86
22
|
schema: string;
|
|
87
23
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB
|
|
1
|
+
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB;;;;;;;;sEAAmB;IACxD,OAAgB,mBAAmB;;;;;;;;sEAAiB;IAE9C,MAAM,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAO/E,QAAQ,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAM1F"}
|
|
@@ -3,85 +3,21 @@ import { BridgeExposeOptions, BridgeInstance, BridgeModule, BridgeUnexposeOption
|
|
|
3
3
|
import { ModuleIdentifier } 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("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
7
|
-
readonly archivist?: string | undefined;
|
|
8
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
9
|
-
readonly name?: string | undefined;
|
|
10
|
-
readonly paging?: Record<string, {
|
|
11
|
-
size?: number | undefined;
|
|
12
|
-
}> | undefined;
|
|
13
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
14
|
-
schema: "network.xyo.bridge.config";
|
|
15
|
-
readonly security?: {
|
|
16
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
18
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
readonly sign?: boolean | undefined;
|
|
21
|
-
readonly storeQueries?: boolean | undefined;
|
|
22
|
-
readonly timestamp?: boolean | undefined;
|
|
23
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
-
readonly archivist?: string | undefined;
|
|
25
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
26
|
-
readonly name?: string | undefined;
|
|
27
|
-
readonly paging?: Record<string, {
|
|
28
|
-
size?: number | undefined;
|
|
29
|
-
}> | undefined;
|
|
30
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
31
|
-
schema: "network.xyo.bridge.config";
|
|
32
|
-
readonly security?: {
|
|
33
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
34
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
35
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
36
|
-
} | undefined;
|
|
37
|
-
readonly sign?: boolean | undefined;
|
|
38
|
-
readonly storeQueries?: boolean | undefined;
|
|
39
|
-
readonly timestamp?: boolean | undefined;
|
|
40
|
-
} & {
|
|
6
|
+
static instanceIdentityCheck: import("@xylabs/object").TypeCheck<BridgeInstance<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
41
7
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
42
8
|
maxDepth?: number | undefined;
|
|
43
9
|
schema: "network.xyo.bridge.config";
|
|
10
|
+
}, "schema"> & {
|
|
11
|
+
schema: "network.xyo.bridge.config";
|
|
44
12
|
}, "schema"> & {
|
|
45
13
|
schema: string;
|
|
46
14
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
47
|
-
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
48
|
-
readonly archivist?: string | undefined;
|
|
49
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
50
|
-
readonly name?: string | undefined;
|
|
51
|
-
readonly paging?: Record<string, {
|
|
52
|
-
size?: number | undefined;
|
|
53
|
-
}> | undefined;
|
|
54
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
55
|
-
schema: "network.xyo.bridge.config";
|
|
56
|
-
readonly security?: {
|
|
57
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
58
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
59
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
readonly sign?: boolean | undefined;
|
|
62
|
-
readonly storeQueries?: boolean | undefined;
|
|
63
|
-
readonly timestamp?: boolean | undefined;
|
|
64
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
65
|
-
readonly archivist?: string | undefined;
|
|
66
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
67
|
-
readonly name?: string | undefined;
|
|
68
|
-
readonly paging?: Record<string, {
|
|
69
|
-
size?: number | undefined;
|
|
70
|
-
}> | undefined;
|
|
71
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
72
|
-
schema: "network.xyo.bridge.config";
|
|
73
|
-
readonly security?: {
|
|
74
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
75
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
76
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
readonly sign?: boolean | undefined;
|
|
79
|
-
readonly storeQueries?: boolean | undefined;
|
|
80
|
-
readonly timestamp?: boolean | undefined;
|
|
81
|
-
} & {
|
|
15
|
+
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
82
16
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
83
17
|
maxDepth?: number | undefined;
|
|
84
18
|
schema: "network.xyo.bridge.config";
|
|
19
|
+
}, "schema"> & {
|
|
20
|
+
schema: "network.xyo.bridge.config";
|
|
85
21
|
}, "schema"> & {
|
|
86
22
|
schema: string;
|
|
87
23
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB
|
|
1
|
+
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB;;;;;;;;sEAAmB;IACxD,OAAgB,mBAAmB;;;;;;;;sEAAiB;IAE9C,MAAM,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAO/E,QAAQ,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAM1F"}
|
|
@@ -3,85 +3,21 @@ import { BridgeExposeOptions, BridgeInstance, BridgeModule, BridgeUnexposeOption
|
|
|
3
3
|
import { ModuleIdentifier } 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("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
7
|
-
readonly archivist?: string | undefined;
|
|
8
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
9
|
-
readonly name?: string | undefined;
|
|
10
|
-
readonly paging?: Record<string, {
|
|
11
|
-
size?: number | undefined;
|
|
12
|
-
}> | undefined;
|
|
13
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
14
|
-
schema: "network.xyo.bridge.config";
|
|
15
|
-
readonly security?: {
|
|
16
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
18
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
readonly sign?: boolean | undefined;
|
|
21
|
-
readonly storeQueries?: boolean | undefined;
|
|
22
|
-
readonly timestamp?: boolean | undefined;
|
|
23
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
-
readonly archivist?: string | undefined;
|
|
25
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
26
|
-
readonly name?: string | undefined;
|
|
27
|
-
readonly paging?: Record<string, {
|
|
28
|
-
size?: number | undefined;
|
|
29
|
-
}> | undefined;
|
|
30
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
31
|
-
schema: "network.xyo.bridge.config";
|
|
32
|
-
readonly security?: {
|
|
33
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
34
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
35
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
36
|
-
} | undefined;
|
|
37
|
-
readonly sign?: boolean | undefined;
|
|
38
|
-
readonly storeQueries?: boolean | undefined;
|
|
39
|
-
readonly timestamp?: boolean | undefined;
|
|
40
|
-
} & {
|
|
6
|
+
static instanceIdentityCheck: import("@xylabs/object").TypeCheck<BridgeInstance<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
41
7
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
42
8
|
maxDepth?: number | undefined;
|
|
43
9
|
schema: "network.xyo.bridge.config";
|
|
10
|
+
}, "schema"> & {
|
|
11
|
+
schema: "network.xyo.bridge.config";
|
|
44
12
|
}, "schema"> & {
|
|
45
13
|
schema: string;
|
|
46
14
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
47
|
-
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
48
|
-
readonly archivist?: string | undefined;
|
|
49
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
50
|
-
readonly name?: string | undefined;
|
|
51
|
-
readonly paging?: Record<string, {
|
|
52
|
-
size?: number | undefined;
|
|
53
|
-
}> | undefined;
|
|
54
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
55
|
-
schema: "network.xyo.bridge.config";
|
|
56
|
-
readonly security?: {
|
|
57
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
58
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
59
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
readonly sign?: boolean | undefined;
|
|
62
|
-
readonly storeQueries?: boolean | undefined;
|
|
63
|
-
readonly timestamp?: boolean | undefined;
|
|
64
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
65
|
-
readonly archivist?: string | undefined;
|
|
66
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
67
|
-
readonly name?: string | undefined;
|
|
68
|
-
readonly paging?: Record<string, {
|
|
69
|
-
size?: number | undefined;
|
|
70
|
-
}> | undefined;
|
|
71
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
72
|
-
schema: "network.xyo.bridge.config";
|
|
73
|
-
readonly security?: {
|
|
74
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
75
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
76
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
readonly sign?: boolean | undefined;
|
|
79
|
-
readonly storeQueries?: boolean | undefined;
|
|
80
|
-
readonly timestamp?: boolean | undefined;
|
|
81
|
-
} & {
|
|
15
|
+
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
82
16
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
83
17
|
maxDepth?: number | undefined;
|
|
84
18
|
schema: "network.xyo.bridge.config";
|
|
19
|
+
}, "schema"> & {
|
|
20
|
+
schema: "network.xyo.bridge.config";
|
|
85
21
|
}, "schema"> & {
|
|
86
22
|
schema: string;
|
|
87
23
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB
|
|
1
|
+
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB;;;;;;;;sEAAmB;IACxD,OAAgB,mBAAmB;;;;;;;;sEAAiB;IAE9C,MAAM,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAO/E,QAAQ,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAM1F"}
|
|
@@ -3,85 +3,21 @@ import { BridgeExposeOptions, BridgeInstance, BridgeModule, BridgeUnexposeOption
|
|
|
3
3
|
import { ModuleIdentifier } 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("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
7
|
-
readonly archivist?: string | undefined;
|
|
8
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
9
|
-
readonly name?: string | undefined;
|
|
10
|
-
readonly paging?: Record<string, {
|
|
11
|
-
size?: number | undefined;
|
|
12
|
-
}> | undefined;
|
|
13
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
14
|
-
schema: "network.xyo.bridge.config";
|
|
15
|
-
readonly security?: {
|
|
16
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
18
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
readonly sign?: boolean | undefined;
|
|
21
|
-
readonly storeQueries?: boolean | undefined;
|
|
22
|
-
readonly timestamp?: boolean | undefined;
|
|
23
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
-
readonly archivist?: string | undefined;
|
|
25
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
26
|
-
readonly name?: string | undefined;
|
|
27
|
-
readonly paging?: Record<string, {
|
|
28
|
-
size?: number | undefined;
|
|
29
|
-
}> | undefined;
|
|
30
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
31
|
-
schema: "network.xyo.bridge.config";
|
|
32
|
-
readonly security?: {
|
|
33
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
34
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
35
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
36
|
-
} | undefined;
|
|
37
|
-
readonly sign?: boolean | undefined;
|
|
38
|
-
readonly storeQueries?: boolean | undefined;
|
|
39
|
-
readonly timestamp?: boolean | undefined;
|
|
40
|
-
} & {
|
|
6
|
+
static instanceIdentityCheck: import("@xylabs/object").TypeCheck<BridgeInstance<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
41
7
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
42
8
|
maxDepth?: number | undefined;
|
|
43
9
|
schema: "network.xyo.bridge.config";
|
|
10
|
+
}, "schema"> & {
|
|
11
|
+
schema: "network.xyo.bridge.config";
|
|
44
12
|
}, "schema"> & {
|
|
45
13
|
schema: string;
|
|
46
14
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
47
|
-
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
48
|
-
readonly archivist?: string | undefined;
|
|
49
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
50
|
-
readonly name?: string | undefined;
|
|
51
|
-
readonly paging?: Record<string, {
|
|
52
|
-
size?: number | undefined;
|
|
53
|
-
}> | undefined;
|
|
54
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
55
|
-
schema: "network.xyo.bridge.config";
|
|
56
|
-
readonly security?: {
|
|
57
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
58
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
59
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
readonly sign?: boolean | undefined;
|
|
62
|
-
readonly storeQueries?: boolean | undefined;
|
|
63
|
-
readonly timestamp?: boolean | undefined;
|
|
64
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
65
|
-
readonly archivist?: string | undefined;
|
|
66
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
67
|
-
readonly name?: string | undefined;
|
|
68
|
-
readonly paging?: Record<string, {
|
|
69
|
-
size?: number | undefined;
|
|
70
|
-
}> | undefined;
|
|
71
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
72
|
-
schema: "network.xyo.bridge.config";
|
|
73
|
-
readonly security?: {
|
|
74
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
75
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
76
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
readonly sign?: boolean | undefined;
|
|
79
|
-
readonly storeQueries?: boolean | undefined;
|
|
80
|
-
readonly timestamp?: boolean | undefined;
|
|
81
|
-
} & {
|
|
15
|
+
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
82
16
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
83
17
|
maxDepth?: number | undefined;
|
|
84
18
|
schema: "network.xyo.bridge.config";
|
|
19
|
+
}, "schema"> & {
|
|
20
|
+
schema: "network.xyo.bridge.config";
|
|
85
21
|
}, "schema"> & {
|
|
86
22
|
schema: string;
|
|
87
23
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB
|
|
1
|
+
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB;;;;;;;;sEAAmB;IACxD,OAAgB,mBAAmB;;;;;;;;sEAAiB;IAE9C,MAAM,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAO/E,QAAQ,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAM1F"}
|
|
@@ -3,85 +3,21 @@ import { BridgeExposeOptions, BridgeInstance, BridgeModule, BridgeUnexposeOption
|
|
|
3
3
|
import { ModuleIdentifier } 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("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
7
|
-
readonly archivist?: string | undefined;
|
|
8
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
9
|
-
readonly name?: string | undefined;
|
|
10
|
-
readonly paging?: Record<string, {
|
|
11
|
-
size?: number | undefined;
|
|
12
|
-
}> | undefined;
|
|
13
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
14
|
-
schema: "network.xyo.bridge.config";
|
|
15
|
-
readonly security?: {
|
|
16
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
18
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
readonly sign?: boolean | undefined;
|
|
21
|
-
readonly storeQueries?: boolean | undefined;
|
|
22
|
-
readonly timestamp?: boolean | undefined;
|
|
23
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
-
readonly archivist?: string | undefined;
|
|
25
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
26
|
-
readonly name?: string | undefined;
|
|
27
|
-
readonly paging?: Record<string, {
|
|
28
|
-
size?: number | undefined;
|
|
29
|
-
}> | undefined;
|
|
30
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
31
|
-
schema: "network.xyo.bridge.config";
|
|
32
|
-
readonly security?: {
|
|
33
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
34
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
35
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
36
|
-
} | undefined;
|
|
37
|
-
readonly sign?: boolean | undefined;
|
|
38
|
-
readonly storeQueries?: boolean | undefined;
|
|
39
|
-
readonly timestamp?: boolean | undefined;
|
|
40
|
-
} & {
|
|
6
|
+
static instanceIdentityCheck: import("@xylabs/object").TypeCheck<BridgeInstance<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
41
7
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
42
8
|
maxDepth?: number | undefined;
|
|
43
9
|
schema: "network.xyo.bridge.config";
|
|
10
|
+
}, "schema"> & {
|
|
11
|
+
schema: "network.xyo.bridge.config";
|
|
44
12
|
}, "schema"> & {
|
|
45
13
|
schema: string;
|
|
46
14
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
47
|
-
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
48
|
-
readonly archivist?: string | undefined;
|
|
49
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
50
|
-
readonly name?: string | undefined;
|
|
51
|
-
readonly paging?: Record<string, {
|
|
52
|
-
size?: number | undefined;
|
|
53
|
-
}> | undefined;
|
|
54
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
55
|
-
schema: "network.xyo.bridge.config";
|
|
56
|
-
readonly security?: {
|
|
57
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
58
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
59
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
readonly sign?: boolean | undefined;
|
|
62
|
-
readonly storeQueries?: boolean | undefined;
|
|
63
|
-
readonly timestamp?: boolean | undefined;
|
|
64
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
65
|
-
readonly archivist?: string | undefined;
|
|
66
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
67
|
-
readonly name?: string | undefined;
|
|
68
|
-
readonly paging?: Record<string, {
|
|
69
|
-
size?: number | undefined;
|
|
70
|
-
}> | undefined;
|
|
71
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
72
|
-
schema: "network.xyo.bridge.config";
|
|
73
|
-
readonly security?: {
|
|
74
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
75
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
76
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
readonly sign?: boolean | undefined;
|
|
79
|
-
readonly storeQueries?: boolean | undefined;
|
|
80
|
-
readonly timestamp?: boolean | undefined;
|
|
81
|
-
} & {
|
|
15
|
+
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
82
16
|
discoverCache?: true | import("@xyo-network/bridge-model").CacheConfig | undefined;
|
|
83
17
|
maxDepth?: number | undefined;
|
|
84
18
|
schema: "network.xyo.bridge.config";
|
|
19
|
+
}, "schema"> & {
|
|
20
|
+
schema: "network.xyo.bridge.config";
|
|
85
21
|
}, "schema"> & {
|
|
86
22
|
schema: string;
|
|
87
23
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB
|
|
1
|
+
{"version":3,"file":"BridgeWrapper.d.ts","sourceRoot":"","sources":["../../src/BridgeWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,mBAAmB,EAGnB,cAAc,EACd,YAAY,EACZ,qBAAqB,EAOtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,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;IAEnD,OAAgB,qBAAqB;;;;;;;;sEAAmB;IACxD,OAAgB,mBAAmB;;;;;;;;sEAAiB;IAE9C,MAAM,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAO/E,QAAQ,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAM1F"}
|
package/package.json
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/hex": "^3.0.
|
|
14
|
-
"@xyo-network/address-payload-plugin": "~2.92.
|
|
15
|
-
"@xyo-network/bridge-model": "~2.92.
|
|
16
|
-
"@xyo-network/module-model": "~2.92.
|
|
17
|
-
"@xyo-network/module-wrapper": "~2.92.
|
|
13
|
+
"@xylabs/hex": "^3.0.12",
|
|
14
|
+
"@xyo-network/address-payload-plugin": "~2.92.3",
|
|
15
|
+
"@xyo-network/bridge-model": "~2.92.3",
|
|
16
|
+
"@xyo-network/module-model": "~2.92.3",
|
|
17
|
+
"@xyo-network/module-wrapper": "~2.92.3"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@xylabs/ts-scripts-yarn3": "^3.5.
|
|
21
|
-
"@xylabs/tsconfig": "^3.5.
|
|
20
|
+
"@xylabs/ts-scripts-yarn3": "^3.5.2",
|
|
21
|
+
"@xylabs/tsconfig": "^3.5.2",
|
|
22
22
|
"typescript": "^5.4.2"
|
|
23
23
|
},
|
|
24
24
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
61
61
|
},
|
|
62
62
|
"sideEffects": false,
|
|
63
|
-
"version": "2.92.
|
|
63
|
+
"version": "2.92.3",
|
|
64
64
|
"type": "module"
|
|
65
65
|
}
|