@web3modal/scaffold-utils
Advanced tools
Comparing version 4.1.11 to 4.1.12-ethers-status.0
{ | ||
"name": "@web3modal/scaffold-utils", | ||
"version": "4.1.11", | ||
"version": "4.1.12-ethers-status.0", | ||
"type": "module", | ||
@@ -43,4 +43,4 @@ "main": "./dist/esm/exports/index.js", | ||
"dependencies": { | ||
"@web3modal/core": "4.1.11", | ||
"@web3modal/polyfills": "4.1.11", | ||
"@web3modal/core": "4.1.12-ethers-status.0", | ||
"@web3modal/polyfills": "4.1.12-ethers-status.0", | ||
"valtio": "1.11.2" | ||
@@ -47,0 +47,0 @@ }, |
@@ -17,4 +17,4 @@ export const ConstantsUtil = { | ||
}, | ||
VERSION: '4.1.11' | ||
VERSION: '4.1.12-ethers-status.0' | ||
}; | ||
//# sourceMappingURL=ConstantsUtil.js.map |
@@ -8,2 +8,3 @@ import { subscribeKey as subKey } from 'valtio/vanilla/utils'; | ||
chainId: undefined, | ||
status: 'reconnecting', | ||
isConnected: false | ||
@@ -36,2 +37,5 @@ }); | ||
}, | ||
setStatus(status) { | ||
state.status = status; | ||
}, | ||
setIsConnected(isConnected) { | ||
@@ -48,2 +52,3 @@ state.isConnected = isConnected; | ||
state.providerType = undefined; | ||
state.status = 'disconnected'; | ||
state.isConnected = false; | ||
@@ -50,0 +55,0 @@ state.error = undefined; |
export { EthersConstantsUtil } from '../src/EthersConstantsUtil.js'; | ||
export { EthersHelpersUtil } from '../src/EthersHelpersUtil.js'; | ||
export { EthersStoreUtil } from '../src/EthersStoreUtil.js'; | ||
export type { EthersStoreUtilState } from '../src/EthersStoreUtil.js'; | ||
export type { EthersStoreUtilState, Status } from '../src/EthersStoreUtil.js'; | ||
export type * from '../src/EthersTypesUtil.js'; |
import type { Address, CombinedProvider, Provider } from './EthersTypesUtil.js'; | ||
import type { W3mFrameTypes } from '@web3modal/wallet'; | ||
export type Status = 'reconnecting' | 'connected' | 'disconnected'; | ||
export interface EthersStoreUtilState { | ||
@@ -10,2 +11,3 @@ provider?: Provider | CombinedProvider; | ||
preferredAccountType?: W3mFrameTypes.AccountType; | ||
status: Status; | ||
isConnected: boolean; | ||
@@ -22,2 +24,3 @@ } | ||
setChainId(chainId: EthersStoreUtilState['chainId']): void; | ||
setStatus(status: EthersStoreUtilState['status']): void; | ||
setIsConnected(isConnected: EthersStoreUtilState['isConnected']): void; | ||
@@ -24,0 +27,0 @@ setError(error: EthersStoreUtilState['error']): void; |
{ | ||
"name": "@web3modal/scaffold-utils", | ||
"version": "4.1.11", | ||
"version": "4.1.12-ethers-status.0", | ||
"type": "module", | ||
@@ -43,4 +43,4 @@ "main": "./dist/esm/exports/index.js", | ||
"dependencies": { | ||
"@web3modal/core": "4.1.11", | ||
"@web3modal/polyfills": "4.1.11", | ||
"@web3modal/core": "4.1.12-ethers-status.0", | ||
"@web3modal/polyfills": "4.1.12-ethers-status.0", | ||
"valtio": "1.11.2" | ||
@@ -47,0 +47,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
24949
356
1
+ Added@web3modal/common@4.1.12-ethers-status.0(transitive)
+ Added@web3modal/core@4.1.12-ethers-status.0(transitive)
+ Added@web3modal/polyfills@4.1.12-ethers-status.0(transitive)
+ Added@web3modal/wallet@4.1.12-ethers-status.0(transitive)
- Removed@web3modal/common@4.1.11(transitive)
- Removed@web3modal/core@4.1.11(transitive)
- Removed@web3modal/polyfills@4.1.11(transitive)
- Removed@web3modal/wallet@4.1.11(transitive)