@xyo-network/react-wallet-service 2.56.2 → 2.56.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.
|
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const Context_1 = require("./Context");
|
|
6
6
|
const defaultState_1 = require("./defaultState");
|
|
7
7
|
const WalletServiceProvider = ({ children }) => {
|
|
8
|
-
return (0, jsx_runtime_1.jsx)(Context_1.WalletServiceContext.Provider, { value: (0, defaultState_1.defaultState)(), children: children });
|
|
8
|
+
return (0, jsx_runtime_1.jsx)(Context_1.WalletServiceContext.Provider, Object.assign({ value: (0, defaultState_1.defaultState)() }, { children: children }));
|
|
9
9
|
};
|
|
10
10
|
exports.WalletServiceProvider = WalletServiceProvider;
|
|
11
11
|
//# sourceMappingURL=Provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../src/contexts/Provider.tsx"],"names":[],"mappings":";;;;AAEA,uCAAgD;AAChD,iDAA6C;AAEtC,MAAM,qBAAqB,GAA2B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,uBAAC,8BAAoB,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../src/contexts/Provider.tsx"],"names":[],"mappings":";;;;AAEA,uCAAgD;AAChD,iDAA6C;AAEtC,MAAM,qBAAqB,GAA2B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,uBAAC,8BAAoB,CAAC,QAAQ,kBAAC,KAAK,EAAE,IAAA,2BAAY,GAAE,gBAAG,QAAQ,IAAiC,CAAA;AACzG,CAAC,CAAA;AAFY,QAAA,qBAAqB,yBAEjC"}
|
package/dist/docs.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"fileName": "packages/sdk/packages/wallet-service/src/contexts/State.ts",
|
|
24
24
|
"line": 5,
|
|
25
25
|
"character": 2,
|
|
26
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
26
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/6fb243dd859e/packages/sdk/packages/wallet-service/src/contexts/State.ts#L5"
|
|
27
27
|
}
|
|
28
28
|
],
|
|
29
29
|
"type": {
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"fileName": "packages/sdk/packages/wallet-service/src/contexts/State.ts",
|
|
75
75
|
"line": 4,
|
|
76
76
|
"character": 17,
|
|
77
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
77
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/6fb243dd859e/packages/sdk/packages/wallet-service/src/contexts/State.ts#L4"
|
|
78
78
|
}
|
|
79
79
|
],
|
|
80
80
|
"extendedTypes": [
|
|
@@ -102,13 +102,13 @@
|
|
|
102
102
|
"fileName": "packages/sdk/packages/wallet-service/src/contexts/Context.tsx",
|
|
103
103
|
"line": 5,
|
|
104
104
|
"character": 13,
|
|
105
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
105
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/6fb243dd859e/packages/sdk/packages/wallet-service/src/contexts/Context.tsx#L5"
|
|
106
106
|
}
|
|
107
107
|
],
|
|
108
108
|
"type": {
|
|
109
109
|
"type": "reference",
|
|
110
110
|
"target": {
|
|
111
|
-
"sourceFileName": "../../../../node_modules/@types/react/index.d.ts",
|
|
111
|
+
"sourceFileName": "../../../../node_modules/@types/react/ts5.0/index.d.ts",
|
|
112
112
|
"qualifiedName": "React.Context"
|
|
113
113
|
},
|
|
114
114
|
"typeArguments": [
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"fileName": "packages/sdk/packages/wallet-service/src/contexts/Provider.tsx",
|
|
151
151
|
"line": 6,
|
|
152
152
|
"character": 13,
|
|
153
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
153
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/6fb243dd859e/packages/sdk/packages/wallet-service/src/contexts/Provider.tsx#L6"
|
|
154
154
|
}
|
|
155
155
|
],
|
|
156
156
|
"signatures": [
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
"flags": {},
|
|
163
163
|
"sources": [
|
|
164
164
|
{
|
|
165
|
-
"fileName": "node_modules/@types/react/index.d.ts",
|
|
166
|
-
"line":
|
|
165
|
+
"fileName": "node_modules/@types/react/ts5.0/index.d.ts",
|
|
166
|
+
"line": 525,
|
|
167
167
|
"character": 8
|
|
168
168
|
}
|
|
169
169
|
],
|
|
@@ -180,6 +180,12 @@
|
|
|
180
180
|
"sourceFileName": "../../../../node_modules/@xylabs/react-shared/src/WithChildren.ts",
|
|
181
181
|
"qualifiedName": "WithChildren"
|
|
182
182
|
},
|
|
183
|
+
"typeArguments": [
|
|
184
|
+
{
|
|
185
|
+
"type": "intrinsic",
|
|
186
|
+
"name": "unknown"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
183
189
|
"name": "WithChildren",
|
|
184
190
|
"package": "@xylabs/react-shared"
|
|
185
191
|
}
|
|
@@ -199,14 +205,33 @@
|
|
|
199
205
|
}
|
|
200
206
|
],
|
|
201
207
|
"type": {
|
|
202
|
-
"type": "
|
|
203
|
-
"
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
"type": "union",
|
|
209
|
+
"types": [
|
|
210
|
+
{
|
|
211
|
+
"type": "literal",
|
|
212
|
+
"value": null
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"type": "reference",
|
|
216
|
+
"target": {
|
|
217
|
+
"sourceFileName": "../../../../node_modules/@types/react/ts5.0/index.d.ts",
|
|
218
|
+
"qualifiedName": "React.ReactElement"
|
|
219
|
+
},
|
|
220
|
+
"typeArguments": [
|
|
221
|
+
{
|
|
222
|
+
"type": "intrinsic",
|
|
223
|
+
"name": "any"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "intrinsic",
|
|
227
|
+
"name": "any"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"name": "ReactElement",
|
|
231
|
+
"package": "@types/react",
|
|
232
|
+
"qualifiedName": "React.ReactElement"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
210
235
|
}
|
|
211
236
|
}
|
|
212
237
|
]
|
|
@@ -222,7 +247,7 @@
|
|
|
222
247
|
"fileName": "packages/sdk/packages/wallet-service/src/contexts/use.tsx",
|
|
223
248
|
"line": 6,
|
|
224
249
|
"character": 13,
|
|
225
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
250
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/6fb243dd859e/packages/sdk/packages/wallet-service/src/contexts/use.tsx#L6"
|
|
226
251
|
}
|
|
227
252
|
],
|
|
228
253
|
"signatures": [
|
|
@@ -237,7 +262,7 @@
|
|
|
237
262
|
"fileName": "packages/sdk/packages/wallet-service/src/contexts/use.tsx",
|
|
238
263
|
"line": 6,
|
|
239
264
|
"character": 32,
|
|
240
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
265
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/6fb243dd859e/packages/sdk/packages/wallet-service/src/contexts/use.tsx#L6"
|
|
241
266
|
}
|
|
242
267
|
],
|
|
243
268
|
"type": {
|
|
@@ -306,15 +331,15 @@
|
|
|
306
331
|
"qualifiedName": "WalletServiceProvider"
|
|
307
332
|
},
|
|
308
333
|
"3": {
|
|
309
|
-
"sourceFileName": "../../../../node_modules/@types/react/index.d.ts",
|
|
334
|
+
"sourceFileName": "../../../../node_modules/@types/react/ts5.0/index.d.ts",
|
|
310
335
|
"qualifiedName": "WalletServiceProvider"
|
|
311
336
|
},
|
|
312
337
|
"4": {
|
|
313
|
-
"sourceFileName": "../../../../node_modules/@types/react/index.d.ts",
|
|
338
|
+
"sourceFileName": "../../../../node_modules/@types/react/ts5.0/index.d.ts",
|
|
314
339
|
"qualifiedName": "props"
|
|
315
340
|
},
|
|
316
341
|
"5": {
|
|
317
|
-
"sourceFileName": "../../../../node_modules/@types/react/index.d.ts",
|
|
342
|
+
"sourceFileName": "../../../../node_modules/@types/react/ts5.0/index.d.ts",
|
|
318
343
|
"qualifiedName": "context"
|
|
319
344
|
},
|
|
320
345
|
"6": {
|
package/package.json
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xylabs/assert": "^2.9.3",
|
|
14
14
|
"@xylabs/react-shared": "^2.17.6",
|
|
15
|
-
"@xyo-network/metamask-connector": "^2.64.
|
|
16
|
-
"@xyo-network/react-shared": "^2.56.
|
|
15
|
+
"@xyo-network/metamask-connector": "^2.64.3",
|
|
16
|
+
"@xyo-network/react-shared": "^2.56.4"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@mui/icons-material": "^5",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"react-router-dom": "^6.3.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@xylabs/ts-scripts-yarn3": "^2.18.
|
|
28
|
+
"@xylabs/ts-scripts-yarn3": "^2.18.7",
|
|
29
29
|
"typescript": "^5.1.6"
|
|
30
30
|
},
|
|
31
31
|
"description": "Common React library for all XYO projects that use React",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
},
|
|
72
72
|
"sideEffects": false,
|
|
73
73
|
"types": "dist/types/index.d.ts",
|
|
74
|
-
"version": "2.56.
|
|
74
|
+
"version": "2.56.4"
|
|
75
75
|
}
|