@xyo-network/react-wallet-service 4.4.10 → 4.4.11
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/dist/browser/contexts/Context.d.ts +3 -0
- package/dist/browser/contexts/Context.d.ts.map +1 -0
- package/dist/browser/contexts/Provider.d.ts +4 -0
- package/dist/browser/contexts/Provider.d.ts.map +1 -0
- package/dist/browser/contexts/State.d.ts +6 -0
- package/dist/browser/contexts/State.d.ts.map +1 -0
- package/dist/browser/contexts/defaultState.d.ts +3 -0
- package/dist/browser/contexts/defaultState.d.ts.map +1 -0
- package/dist/browser/contexts/index.d.ts +5 -0
- package/dist/browser/contexts/index.d.ts.map +1 -0
- package/dist/browser/contexts/use.d.ts +2 -0
- package/dist/browser/contexts/use.d.ts.map +1 -0
- package/dist/browser/index.d.ts +2 -17
- package/dist/browser/index.d.ts.map +1 -0
- package/package.json +6 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/contexts/Context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEpD,eAAO,MAAM,oBAAoB,kGAAwC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../src/contexts/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAE7D,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MetaMaskConnector } from '@xyo-network/metamask-connector';
|
|
2
|
+
import type { ContextExState } from '@xyo-network/react-shared';
|
|
3
|
+
export interface WalletServiceState extends ContextExState {
|
|
4
|
+
metaMaskWallet: MetaMaskConnector;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=State.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../src/contexts/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD,cAAc,EAAE,iBAAiB,CAAA;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultState.d.ts","sourceRoot":"","sources":["../../../src/contexts/defaultState.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEpD,eAAO,MAAM,YAAY,QAAO,kBAK/B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/contexts/use.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,oGAK5B,CAAA"}
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import * as _xyo_network_react_shared from '@xyo-network/react-shared';
|
|
4
|
-
import { ContextExState } from '@xyo-network/react-shared';
|
|
5
|
-
import { MetaMaskConnector } from '@xyo-network/metamask-connector';
|
|
6
|
-
|
|
7
|
-
interface WalletServiceState extends ContextExState {
|
|
8
|
-
metaMaskWallet: MetaMaskConnector;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
declare const WalletServiceContext: react.Context<WalletServiceState & _xyo_network_react_shared.ContextExState>;
|
|
12
|
-
|
|
13
|
-
declare const WalletServiceProvider: react__default.FC<PropsWithChildren>;
|
|
14
|
-
|
|
15
|
-
declare const useWalletService: () => WalletServiceState & _xyo_network_react_shared.ContextExState;
|
|
16
|
-
|
|
17
|
-
export { WalletServiceContext, WalletServiceProvider, type WalletServiceState, useWalletService };
|
|
1
|
+
export * from './contexts/index.ts';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-wallet-service",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.11",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
"lint-pkg": "npmPkgJsonLint ."
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@xylabs/assert": "^4.5.
|
|
47
|
-
"@xyo-network/metamask-connector": "^3.9.
|
|
48
|
-
"@xyo-network/react-shared": "^4.4.
|
|
46
|
+
"@xylabs/assert": "^4.5.6",
|
|
47
|
+
"@xyo-network/metamask-connector": "^3.9.25",
|
|
48
|
+
"@xyo-network/react-shared": "^4.4.11"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@mui/icons-material": "^6.4.6",
|
|
52
52
|
"@mui/material": "^6.4.6",
|
|
53
53
|
"@mui/styles": "^6.4.6",
|
|
54
|
-
"@xylabs/ts-scripts-yarn3": "^5.0.
|
|
54
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.39",
|
|
55
55
|
"react": "^18.3.1",
|
|
56
56
|
"react-dom": "^18.3.1",
|
|
57
|
-
"typescript": "^5.
|
|
57
|
+
"typescript": "^5.8.2"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@mui/icons-material": "^6",
|