@particle-network/auth
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -0,5 +1,6 @@ | ||
import { ERC4337Options } from './types'; | ||
export declare const controller: { | ||
languageCode: string; | ||
fiatCoin: string; | ||
erc4337: boolean; | ||
erc4337: boolean | ERC4337Options; | ||
}; |
@@ -5,3 +5,3 @@ import { Chain } from '@particle-network/chains'; | ||
import SolanaService from './service/solanaService'; | ||
import { AuthThemeConfig, Config, CurrencyUnit, EVMProvider, OpenBuyOptions, SolanaWallet, Wallet } from './types'; | ||
import { AuthThemeConfig, Config, CurrencyUnit, ERC4337Options, EVMProvider, OpenBuyOptions, SolanaWallet, Wallet } from './types'; | ||
import { WalletConfig } from './utils/wallet-url'; | ||
@@ -50,6 +50,6 @@ declare global { | ||
* ERC-4337: Account Abstraction Using Alt Mempool | ||
* @param enable Whether to enable the 4337 mode | ||
* @param option Whether to enable the 4337 mode | ||
* @see https://eips.ethereum.org/EIPS/eip-4337 | ||
*/ | ||
setERC4337(enable: boolean): void; | ||
setERC4337(option: boolean | ERC4337Options): void; | ||
} |
@@ -202,2 +202,6 @@ import { Chain, ChainId, ChainName } from '@particle-network/chains'; | ||
} | ||
export declare type ERC4337Options = { | ||
name: 'SIMPLE' | 'CYBERCONNECT' | 'BICONOMY'; | ||
version: string; | ||
}; | ||
export {}; |
{ | ||
"name": "@particle-network/auth", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"files": [ | ||
@@ -18,5 +18,5 @@ "lib", | ||
"dependencies": { | ||
"@particle-network/analytics": "^1.0.0", | ||
"@particle-network/analytics": "^1.0.1", | ||
"@particle-network/chains": "*", | ||
"@particle-network/crypto": "^1.0.0", | ||
"@particle-network/crypto": "^1.0.1", | ||
"buffer": "^6.0.3", | ||
@@ -39,3 +39,3 @@ "draggabilly": "^3.0.0" | ||
}, | ||
"gitHead": "445ba60f1a5dd0daff84980186b537cf5042af6e" | ||
"gitHead": "6ae47c900eb2a04c87fc9ec5168d4f1f4153a81b" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Telemetry
Supply chain riskThis package contains telemetry which tracks how it is used.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
663673
5872
1