New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@web3modal/scaffold-utils

Package Overview
Dependencies
Maintainers
11
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web3modal/scaffold-utils - npm Package Compare versions

Comparing version 4.2.0-3f0d3b12.1 to 4.2.0-448f7f4.1

6

dist/esm/package.json
{
"name": "@web3modal/scaffold-utils",
"version": "4.2.0-3f0d3b12.1",
"version": "4.2.0-448f7f4.1",
"type": "module",

@@ -43,4 +43,4 @@ "main": "./dist/esm/exports/index.js",

"dependencies": {
"@web3modal/core": "4.2.0-3f0d3b12.1",
"@web3modal/polyfills": "4.2.0-3f0d3b12.1",
"@web3modal/core": "4.2.0-448f7f4.1",
"@web3modal/polyfills": "4.2.0-448f7f4.1",
"valtio": "1.11.2"

@@ -47,0 +47,0 @@ },

@@ -14,4 +14,7 @@ export const ConstantsUtil = {

EIP6963_REQUEST_EVENT: 'eip6963:requestProvider',
VERSION: '4.1.1'
CONNECTOR_RDNS_MAP: {
coinbaseWallet: 'com.coinbase.wallet'
},
VERSION: '4.1.12-910a844.0'
};
//# 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';

@@ -29,2 +29,5 @@ const state = proxy({

},
setPreferredAccountType(preferredAccountType) {
state.preferredAccountType = preferredAccountType;
},
setChainId(chainId) {

@@ -46,4 +49,5 @@ state.chainId = chainId;

state.error = undefined;
state.preferredAccountType = undefined;
}
};
//# sourceMappingURL=EthersStoreUtil.js.map
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;
};
import type { Address, CombinedProvider, Provider } from './EthersTypesUtil.js';
import type { W3mFrameTypes } from '@web3modal/wallet';
export interface EthersStoreUtilState {

@@ -8,2 +9,3 @@ provider?: Provider | CombinedProvider;

error?: unknown;
preferredAccountType?: W3mFrameTypes.AccountType;
isConnected: boolean;

@@ -18,2 +20,3 @@ }

setAddress(address: EthersStoreUtilState['address']): void;
setPreferredAccountType(preferredAccountType: EthersStoreUtilState['preferredAccountType']): void;
setChainId(chainId: EthersStoreUtilState['chainId']): void;

@@ -20,0 +23,0 @@ setIsConnected(isConnected: EthersStoreUtilState['isConnected']): void;

@@ -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.2.0-3f0d3b12.1",
"version": "4.2.0-448f7f4.1",
"type": "module",

@@ -43,4 +43,4 @@ "main": "./dist/esm/exports/index.js",

"dependencies": {
"@web3modal/core": "4.2.0-3f0d3b12.1",
"@web3modal/polyfills": "4.2.0-3f0d3b12.1",
"@web3modal/core": "4.2.0-448f7f4.1",
"@web3modal/polyfills": "4.2.0-448f7f4.1",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc