@xyo-network/bridge-model 6.0.1 → 6.0.2
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.
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Promisable } from '@xylabs/sdk-js';
|
|
2
2
|
import type { ModuleInstance } from '@xyo-network/module-model';
|
|
3
|
+
import type { XyoAddress } from '@xyo-network/sdk-protocol-js';
|
|
3
4
|
import type { BridgeModuleEventData } from './EventData.ts';
|
|
4
5
|
import type { BridgeModule } from './Module.ts';
|
|
5
6
|
import type { BridgeParams } from './Params.ts';
|
|
6
7
|
import type { BridgeQueryFunctions } from './QueryFunctions.ts';
|
|
7
8
|
export interface BridgeInstance<TParams extends BridgeParams = BridgeParams, TEventData extends BridgeModuleEventData = BridgeModuleEventData> extends BridgeModule<TParams, TEventData>, BridgeQueryFunctions, ModuleInstance<TParams, TEventData> {
|
|
8
|
-
exposed?: () => Promisable<
|
|
9
|
+
exposed?: () => Promisable<XyoAddress[]>;
|
|
9
10
|
}
|
|
10
11
|
//# sourceMappingURL=Instance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Instance.d.ts","sourceRoot":"","sources":["../../src/Instance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Instance.d.ts","sourceRoot":"","sources":["../../src/Instance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAE9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAE/D,MAAM,WAAW,cAAc,CAAC,OAAO,SAAS,YAAY,GAAG,YAAY,EAAE,UAAU,SAAS,qBAAqB,GAAG,qBAAqB,CAC3I,SAAQ,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,EACzC,oBAAoB,EACpB,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,UAAU,CAAC,UAAU,EAAE,CAAC,CAAA;CACzC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Promisable } from '@xylabs/sdk-js';
|
|
2
2
|
import type { ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
3
|
+
import type { XyoAddress } from '@xyo-network/sdk-protocol-js';
|
|
3
4
|
import type { BridgeExposeOptions, BridgeUnexposeOptions } from './Queries/index.ts';
|
|
4
5
|
export interface BridgeQueryFunctions {
|
|
5
|
-
connect?: (id: ModuleIdentifier, maxDepth?: number) => Promisable<
|
|
6
|
-
disconnect?: (id: ModuleIdentifier, maxDepth?: number) => Promisable<
|
|
6
|
+
connect?: (id: ModuleIdentifier, maxDepth?: number) => Promisable<XyoAddress | undefined>;
|
|
7
|
+
disconnect?: (id: ModuleIdentifier, maxDepth?: number) => Promisable<XyoAddress | undefined>;
|
|
7
8
|
expose: (id: ModuleIdentifier, options?: BridgeExposeOptions) => Promisable<ModuleInstance[]>;
|
|
8
|
-
unexpose?: (id: ModuleIdentifier, options?: BridgeUnexposeOptions) => Promisable<
|
|
9
|
+
unexpose?: (id: ModuleIdentifier, options?: BridgeUnexposeOptions) => Promisable<XyoAddress[]>;
|
|
9
10
|
}
|
|
10
11
|
//# sourceMappingURL=QueryFunctions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryFunctions.d.ts","sourceRoot":"","sources":["../../src/QueryFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"QueryFunctions.d.ts","sourceRoot":"","sources":["../../src/QueryFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAE9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAEpF,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,gBAAgB,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,UAAU,CAAC,UAAU,GAAG,SAAS,CAAC,CAAA;IACzF,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,gBAAgB,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,UAAU,CAAC,UAAU,GAAG,SAAS,CAAC,CAAA;IAC5F,MAAM,EAAE,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,mBAAmB,KAAK,UAAU,CAAC,cAAc,EAAE,CAAC,CAAA;IAC7F,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,qBAAqB,KAAK,UAAU,CAAC,UAAU,EAAE,CAAC,CAAA;CAC/F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/bridge-model",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -34,39 +34,35 @@
|
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@xyo-network/module-model": "~6.0.
|
|
37
|
+
"@xyo-network/module-model": "~6.0.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@bitauth/libauth": "~3.0",
|
|
41
|
-
"@metamask/providers": "^22.1",
|
|
40
|
+
"@bitauth/libauth": "~3.0.0",
|
|
41
|
+
"@metamask/providers": "^22.1.1",
|
|
42
42
|
"@noble/post-quantum": "~0.6.1",
|
|
43
43
|
"@opentelemetry/api": "^1.9.1",
|
|
44
44
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
45
45
|
"@scure/base": "~2.2.0",
|
|
46
|
-
"@scure/bip39": "~2.2",
|
|
47
|
-
"@xylabs/geo": "^6.0",
|
|
48
|
-
"@xylabs/sdk-js": "^6.0.
|
|
49
|
-
"@xylabs/threads": "^6.0",
|
|
50
|
-
"@xylabs/toolchain": "~8.1.
|
|
51
|
-
"@xylabs/tsconfig": "~8.1.
|
|
52
|
-
"@xyo-network/sdk-protocol-js": "~6.0.
|
|
53
|
-
"ajv": "^8.20",
|
|
46
|
+
"@scure/bip39": "~2.2.0",
|
|
47
|
+
"@xylabs/geo": "^6.0.6",
|
|
48
|
+
"@xylabs/sdk-js": "^6.0.6",
|
|
49
|
+
"@xylabs/threads": "^6.0.6",
|
|
50
|
+
"@xylabs/toolchain": "~8.1.8",
|
|
51
|
+
"@xylabs/tsconfig": "~8.1.8",
|
|
52
|
+
"@xyo-network/sdk-protocol-js": "~6.0.7",
|
|
53
|
+
"ajv": "^8.20.0",
|
|
54
54
|
"async-mutex": "^0.5.0",
|
|
55
55
|
"bn.js": "^5.2.3",
|
|
56
56
|
"buffer": "^6.0.3",
|
|
57
|
-
"debug": "~4.4",
|
|
58
|
-
"eslint": "^10.4.
|
|
57
|
+
"debug": "~4.4.3",
|
|
58
|
+
"eslint": "^10.4.1",
|
|
59
59
|
"ethers": "^6.16.0",
|
|
60
|
-
"hash-wasm": "~4.12",
|
|
61
|
-
"idb": "^8.0",
|
|
62
|
-
"
|
|
63
|
-
"mapbox-gl": "^3.23",
|
|
64
|
-
"observable-fns": "~0.6",
|
|
60
|
+
"hash-wasm": "~4.12.0",
|
|
61
|
+
"idb": "^8.0.3",
|
|
62
|
+
"observable-fns": "~0.6.1",
|
|
65
63
|
"pako": "~2.1.0",
|
|
66
|
-
"store2": "~2.14",
|
|
67
64
|
"typescript": "~6.0.3",
|
|
68
|
-
"
|
|
69
|
-
"webextension-polyfill": "^0.12",
|
|
65
|
+
"webextension-polyfill": "^0.12.0",
|
|
70
66
|
"zod": "^4.4.3"
|
|
71
67
|
},
|
|
72
68
|
"peerDependencies": {
|
|
@@ -89,12 +85,8 @@
|
|
|
89
85
|
"ethers": "^6.16",
|
|
90
86
|
"hash-wasm": "~4.12",
|
|
91
87
|
"idb": "^8.0",
|
|
92
|
-
"lru-cache": "^11.3",
|
|
93
|
-
"mapbox-gl": "^3.23",
|
|
94
88
|
"observable-fns": "~0.6",
|
|
95
89
|
"pako": "~2.1",
|
|
96
|
-
"store2": "~2.14",
|
|
97
|
-
"wasm-feature-detect": "~1.8",
|
|
98
90
|
"webextension-polyfill": "^0.12",
|
|
99
91
|
"zod": "^4.4"
|
|
100
92
|
},
|