@web3modal/scaffold-utils
Advanced tools
Comparing version 4.1.3 to 4.1.4
{ | ||
"name": "@web3modal/scaffold-utils", | ||
"version": "4.1.3", | ||
"version": "4.1.4", | ||
"type": "module", | ||
@@ -43,4 +43,4 @@ "main": "./dist/esm/exports/index.js", | ||
"dependencies": { | ||
"@web3modal/core": "4.1.3", | ||
"@web3modal/polyfills": "4.1.3", | ||
"@web3modal/core": "4.1.4", | ||
"@web3modal/polyfills": "4.1.4", | ||
"valtio": "1.11.2" | ||
@@ -47,0 +47,0 @@ }, |
@@ -14,4 +14,7 @@ export const ConstantsUtil = { | ||
EIP6963_REQUEST_EVENT: 'eip6963:requestProvider', | ||
VERSION: '4.1.3' | ||
CONNECTOR_RDNS_MAP: { | ||
coinbaseWallet: 'com.coinbase.wallet' | ||
}, | ||
VERSION: '4.1.4' | ||
}; | ||
//# sourceMappingURL=ConstantsUtil.js.map |
@@ -1,2 +0,2 @@ | ||
import { subscribeKey as subKey } from 'valtio/utils'; | ||
import { subscribeKey as subKey } from 'valtio/vanilla/utils'; | ||
import { proxy, ref, subscribe as sub } from 'valtio/vanilla'; | ||
@@ -3,0 +3,0 @@ const state = proxy({ |
import { ConstantsUtil } from './ConstantsUtil.js'; | ||
export const HelpersUtil = { | ||
caipNetworkIdToNumber(caipnetworkId) { | ||
return caipnetworkId ? Number(caipnetworkId.split(':')[1]) : undefined; | ||
}, | ||
getCaipTokens(tokens) { | ||
@@ -7,0 +4,0 @@ if (!tokens) { |
@@ -14,3 +14,4 @@ export declare const ConstantsUtil: { | ||
EIP6963_REQUEST_EVENT: string; | ||
CONNECTOR_RDNS_MAP: Record<string, string>; | ||
VERSION: string; | ||
}; |
@@ -1,5 +0,4 @@ | ||
import type { CaipNetworkId, Tokens } from '@web3modal/core'; | ||
import type { Tokens } from '@web3modal/core'; | ||
export declare const HelpersUtil: { | ||
caipNetworkIdToNumber(caipnetworkId?: CaipNetworkId): number | undefined; | ||
getCaipTokens(tokens?: Tokens): Tokens | undefined; | ||
}; |
{ | ||
"name": "@web3modal/scaffold-utils", | ||
"version": "4.1.3", | ||
"version": "4.1.4", | ||
"type": "module", | ||
@@ -43,4 +43,4 @@ "main": "./dist/esm/exports/index.js", | ||
"dependencies": { | ||
"@web3modal/core": "4.1.3", | ||
"@web3modal/polyfills": "4.1.3", | ||
"@web3modal/core": "4.1.4", | ||
"@web3modal/polyfills": "4.1.4", | ||
"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
23925
+ Added@web3modal/common@4.1.4(transitive)
+ Added@web3modal/core@4.1.4(transitive)
+ Added@web3modal/polyfills@4.1.4(transitive)
+ Added@web3modal/wallet@4.1.4(transitive)
- Removed@web3modal/common@4.1.3(transitive)
- Removed@web3modal/core@4.1.3(transitive)
- Removed@web3modal/polyfills@4.1.3(transitive)
- Removed@web3modal/wallet@4.1.3(transitive)
Updated@web3modal/core@4.1.4
Updated@web3modal/polyfills@4.1.4