@xyo-network/react-chain-model 1.7.8 → 1.7.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.
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { ChainConnection } from '@xyo-network/chain-network-model';
|
|
2
|
-
import type { XyoConnectionProvider } from '@xyo-network/xl1-protocol';
|
|
2
|
+
import type { XyoConnectionProvider, XyoGatewayProvider } from '@xyo-network/xl1-protocol';
|
|
3
3
|
export interface XyoGlobal {
|
|
4
4
|
_debug: () => void;
|
|
5
5
|
connections: {
|
|
6
6
|
[chainId: string]: ChainConnection;
|
|
7
7
|
};
|
|
8
|
+
gateway?: XyoGatewayProvider;
|
|
8
9
|
provider?: XyoConnectionProvider;
|
|
9
10
|
walletExtensionId: () => string;
|
|
10
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoGlobal.d.ts","sourceRoot":"","sources":["../../../src/types/XyoGlobal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"XyoGlobal.d.ts","sourceRoot":"","sources":["../../../src/types/XyoGlobal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG1F,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,WAAW,EAAE;QACX,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,CAAA;KACnC,CAAA;IACD,OAAO,CAAC,EAAE,kBAAkB,CAAA;IAC5B,QAAQ,CAAC,EAAE,qBAAqB,CAAA;IAChC,iBAAiB,EAAE,MAAM,MAAM,CAAA;CAChC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@xyo-network/react-chain-model",
|
|
4
|
-
"version": "1.7.
|
|
4
|
+
"version": "1.7.10",
|
|
5
5
|
"description": "XYO Layer One React SDK Stake",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -24,18 +24,25 @@
|
|
|
24
24
|
".": {
|
|
25
25
|
"browser": {
|
|
26
26
|
"types": "./dist/browser/index.d.ts",
|
|
27
|
+
"source": "./src/index.ts",
|
|
27
28
|
"default": "./dist/browser/index.mjs"
|
|
28
29
|
},
|
|
29
30
|
"types": "./dist/browser/index.d.ts",
|
|
31
|
+
"source": "./src/index.ts",
|
|
30
32
|
"default": "./dist/browser/index.mjs"
|
|
31
33
|
},
|
|
32
34
|
"./package.json": "./package.json"
|
|
33
35
|
},
|
|
34
|
-
"module": "dist/browser/index.mjs",
|
|
35
|
-
"
|
|
36
|
+
"module": "./dist/browser/index.mjs",
|
|
37
|
+
"source": "./src/index.ts",
|
|
38
|
+
"types": "./dist/browser/index.d.ts",
|
|
39
|
+
"files": [
|
|
40
|
+
"dist",
|
|
41
|
+
"src"
|
|
42
|
+
],
|
|
36
43
|
"dependencies": {
|
|
37
|
-
"@xyo-network/chain-network-model": "^1.7.
|
|
38
|
-
"@xyo-network/xl1-protocol": "^1.7.
|
|
44
|
+
"@xyo-network/chain-network-model": "^1.7.10",
|
|
45
|
+
"@xyo-network/xl1-protocol": "^1.7.10"
|
|
39
46
|
},
|
|
40
47
|
"devDependencies": {
|
|
41
48
|
"@xylabs/ts-scripts-yarn3": "^7.0.0",
|
package/src/types/XyoGlobal.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ChainConnection } from '@xyo-network/chain-network-model'
|
|
2
|
-
import type { XyoConnectionProvider } from '@xyo-network/xl1-protocol'
|
|
2
|
+
import type { XyoConnectionProvider, XyoGatewayProvider } from '@xyo-network/xl1-protocol'
|
|
3
3
|
|
|
4
4
|
// TODO - add optional send method of type Transport
|
|
5
5
|
export interface XyoGlobal {
|
|
@@ -7,6 +7,7 @@ export interface XyoGlobal {
|
|
|
7
7
|
connections: {
|
|
8
8
|
[chainId: string]: ChainConnection
|
|
9
9
|
}
|
|
10
|
+
gateway?: XyoGatewayProvider
|
|
10
11
|
provider?: XyoConnectionProvider
|
|
11
12
|
walletExtensionId: () => string
|
|
12
13
|
}
|
package/typedoc.json
DELETED