@xyo-network/react-chain-model 1.15.2 → 1.15.4
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/README.md +34 -14
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ XYO Layer One React SDK Stake
|
|
|
37
37
|
***
|
|
38
38
|
|
|
39
39
|
```ts
|
|
40
|
-
function getXyoProvider(options):
|
|
40
|
+
function getXyoProvider(options): XyoConnection;
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
## Parameters
|
|
@@ -50,7 +50,7 @@ function getXyoProvider(options): XyoConnectionProvider;
|
|
|
50
50
|
|
|
51
51
|
## Returns
|
|
52
52
|
|
|
53
|
-
`
|
|
53
|
+
`XyoConnection`
|
|
54
54
|
|
|
55
55
|
### <a id="hasXyoWalletInjectable"></a>hasXyoWalletInjectable
|
|
56
56
|
|
|
@@ -90,19 +90,15 @@ function hasXyoWalletProvider(): boolean;
|
|
|
90
90
|
|
|
91
91
|
## Properties
|
|
92
92
|
|
|
93
|
-
###
|
|
93
|
+
### client?
|
|
94
94
|
|
|
95
95
|
```ts
|
|
96
|
-
|
|
96
|
+
optional client: XyoClient;
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
-
### Returns
|
|
100
|
-
|
|
101
|
-
`void`
|
|
102
|
-
|
|
103
99
|
***
|
|
104
100
|
|
|
105
|
-
### connections
|
|
101
|
+
### ~~connections~~
|
|
106
102
|
|
|
107
103
|
```ts
|
|
108
104
|
connections: object;
|
|
@@ -114,12 +110,16 @@ connections: object;
|
|
|
114
110
|
[chainId: string]: ChainConnection
|
|
115
111
|
```
|
|
116
112
|
|
|
113
|
+
### Deprecated
|
|
114
|
+
|
|
115
|
+
- use client gateways instead
|
|
116
|
+
|
|
117
117
|
***
|
|
118
118
|
|
|
119
|
-
### errors
|
|
119
|
+
### errors?
|
|
120
120
|
|
|
121
121
|
```ts
|
|
122
|
-
errors: Error[];
|
|
122
|
+
optional errors: Error[];
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
***
|
|
@@ -132,15 +132,31 @@ optional gateway: XyoGatewayProvider;
|
|
|
132
132
|
|
|
133
133
|
***
|
|
134
134
|
|
|
135
|
-
### provider
|
|
135
|
+
### ~~provider?~~
|
|
136
136
|
|
|
137
137
|
```ts
|
|
138
|
-
optional provider:
|
|
138
|
+
optional provider: XyoConnection;
|
|
139
139
|
```
|
|
140
140
|
|
|
141
|
+
### Deprecated
|
|
142
|
+
|
|
143
|
+
- use client gateways instead
|
|
144
|
+
|
|
141
145
|
***
|
|
142
146
|
|
|
143
|
-
###
|
|
147
|
+
### sessionId()
|
|
148
|
+
|
|
149
|
+
```ts
|
|
150
|
+
sessionId: () => string;
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Returns
|
|
154
|
+
|
|
155
|
+
`string`
|
|
156
|
+
|
|
157
|
+
***
|
|
158
|
+
|
|
159
|
+
### ~~walletExtensionId()~~
|
|
144
160
|
|
|
145
161
|
```ts
|
|
146
162
|
walletExtensionId: () => string;
|
|
@@ -150,6 +166,10 @@ walletExtensionId: () => string;
|
|
|
150
166
|
|
|
151
167
|
`string`
|
|
152
168
|
|
|
169
|
+
### Deprecated
|
|
170
|
+
|
|
171
|
+
- use session id instead
|
|
172
|
+
|
|
153
173
|
|
|
154
174
|
## Maintainers
|
|
155
175
|
|
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.15.
|
|
4
|
+
"version": "1.15.4",
|
|
5
5
|
"description": "XYO Layer One React SDK Stake",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"src"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@xyo-network/chain-network-model": "~1.15.
|
|
45
|
-
"@xyo-network/xl1-protocol": "~1.12.
|
|
44
|
+
"@xyo-network/chain-network-model": "~1.15.4",
|
|
45
|
+
"@xyo-network/xl1-protocol": "~1.12.69"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@xylabs/ts-scripts-yarn3": "~7.1.
|
|
49
|
-
"@xylabs/tsconfig": "~7.1.
|
|
50
|
-
"@xylabs/tsconfig-dom": "~7.1.
|
|
51
|
-
"@xylabs/tsconfig-react": "~7.1.
|
|
52
|
-
"eslint": "^9.
|
|
53
|
-
"typescript": "~5.9.
|
|
48
|
+
"@xylabs/ts-scripts-yarn3": "~7.1.8",
|
|
49
|
+
"@xylabs/tsconfig": "~7.1.8",
|
|
50
|
+
"@xylabs/tsconfig-dom": "~7.1.8",
|
|
51
|
+
"@xylabs/tsconfig-react": "~7.1.8",
|
|
52
|
+
"eslint": "^9.37.0",
|
|
53
|
+
"typescript": "~5.9.3"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|