@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("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
7
- client?: import("@xyo-network/bridge-model").BridgeClientConfig | undefined;
8
- discoverRoots?: "start" | "lazy";
9
- host?: import("@xyo-network/bridge-model").BridgeHostConfig | undefined;
10
- schema: "network.xyo.bridge.config";
11
- }, "schema"> & {
12
- schema: "network.xyo.bridge.config";
13
- }, "schema"> & {
14
- schema: string;
15
- }>, import("@xyo-network/bridge-model").BridgeModuleEventData>>;
16
- static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("@xyo-network/bridge-model").BridgeParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
17
- client?: import("@xyo-network/bridge-model").BridgeClientConfig | undefined;
18
- discoverRoots?: "start" | "lazy";
19
- host?: import("@xyo-network/bridge-model").BridgeHostConfig | undefined;
20
- schema: "network.xyo.bridge.config";
21
- }, "schema"> & {
22
- schema: "network.xyo.bridge.config";
23
- }, "schema"> & {
24
- schema: string;
25
- }>, import("@xyo-network/bridge-model").BridgeModuleEventData>>;
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;wBAHoC,2BAClE;;sBAEN,2BAAa;;;;;;oEAA0C;IACxD,OAAgB,mBAAmB;wBAiBxB,2BAAa;;sBAA0F,2BAAa;;;;;;oEAjB3E;IAE9C,MAAM,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAUtF,QAAQ,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAQ1F"}
1
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sC,CAAC;mBAAqC,CAAC;;;mCAAkG,CAAC;4BAA+C,CAAC;;;+BAA4H,CAAC;;;;;;;qEArBvqE;IAE9C,MAAM,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAUtF,QAAQ,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,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.5.2",
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.9",
33
- "@xyo-network/bridge-model": "^3.5.2",
34
- "@xyo-network/module-model": "^3.5.2",
35
- "@xyo-network/module-wrapper": "^3.5.2"
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.4",
39
- "@xylabs/tsconfig": "^4.2.4",
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
  }