@web3modal/scaffold-utils
Advanced tools
Comparing version 4.2.3 to 4.2.4-6e5496a.0
{ | ||
"name": "@web3modal/scaffold-utils", | ||
"version": "4.2.3", | ||
"version": "4.2.4-6e5496a.0", | ||
"type": "module", | ||
@@ -43,4 +43,4 @@ "main": "./dist/esm/exports/index.js", | ||
"dependencies": { | ||
"@web3modal/core": "4.2.3", | ||
"@web3modal/polyfills": "4.2.3", | ||
"@web3modal/core": "4.2.4-6e5496a.0", | ||
"@web3modal/polyfills": "4.2.4-6e5496a.0", | ||
"valtio": "1.11.2" | ||
@@ -47,0 +47,0 @@ }, |
@@ -17,4 +17,4 @@ export const ConstantsUtil = { | ||
}, | ||
VERSION: '4.2.3' | ||
VERSION: '4.2.4-6e5496a.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; |
@@ -5,2 +5,3 @@ import { ConstantsUtil } from './ConstantsUtil.js'; | ||
[ConstantsUtil.COINBASE_CONNECTOR_ID]: 'fd20dc426fb37566d803205b19bbc1d4096b248ac04548e3cfb6b3a38bd033aa', | ||
[ConstantsUtil.COINBASE_SDK_CONNECTOR_ID]: 'fd20dc426fb37566d803205b19bbc1d4096b248ac04548e3cfb6b3a38bd033aa', | ||
[ConstantsUtil.SAFE_CONNECTOR_ID]: '225affb176778569276e484e1b92637ad061b01e13a048b35a9d280c3b58970f', | ||
@@ -7,0 +8,0 @@ [ConstantsUtil.LEDGER_CONNECTOR_ID]: '19177a98252e07ddfc9af2083ba8e07ef627cb6103467ffebb3f8f4205fd7927' |
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; |
@@ -13,4 +13,4 @@ import type { W3mFrameProvider } from '@web3modal/wallet'; | ||
coinbase?: ProviderInterface; | ||
email?: boolean; | ||
auth?: { | ||
email?: boolean; | ||
socials?: SocialProvider[]; | ||
@@ -17,0 +17,0 @@ showWallets?: boolean; |
{ | ||
"name": "@web3modal/scaffold-utils", | ||
"version": "4.2.3", | ||
"version": "4.2.4-6e5496a.0", | ||
"type": "module", | ||
@@ -43,4 +43,4 @@ "main": "./dist/esm/exports/index.js", | ||
"dependencies": { | ||
"@web3modal/core": "4.2.3", | ||
"@web3modal/polyfills": "4.2.3", | ||
"@web3modal/core": "4.2.4-6e5496a.0", | ||
"@web3modal/polyfills": "4.2.4-6e5496a.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
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
25980
379
1
+ Added@web3modal/common@4.2.4-6e5496a.0(transitive)
+ Added@web3modal/core@4.2.4-6e5496a.0(transitive)
+ Added@web3modal/polyfills@4.2.4-6e5496a.0(transitive)
+ Added@web3modal/wallet@4.2.4-6e5496a.0(transitive)
- Removed@web3modal/common@4.2.3(transitive)
- Removed@web3modal/core@4.2.3(transitive)
- Removed@web3modal/polyfills@4.2.3(transitive)
- Removed@web3modal/wallet@4.2.3(transitive)