@particle-network/btc-connectkit
Advanced tools
Comparing version 1.0.0-alpha.19 to 1.0.0-alpha.20
@@ -1,2 +0,2 @@ | ||
import { SmartAccount, type AAOptions } from '@particle-network/aa'; | ||
import { SmartAccount, type AAOptions, type AccountContract } from '@particle-network/aa'; | ||
import { type WalletOption } from '@particle-network/wallet'; | ||
@@ -23,5 +23,4 @@ import { type BaseConnector } from '../connector/base'; | ||
}) => Promise<string>; | ||
btcContractVersion: string; | ||
setBTCContractVersion: (version: string) => void; | ||
btcContractVersionList: string[]; | ||
accountContract: AccountContract; | ||
setAccountContract: (accountContract: AccountContract) => void; | ||
} | ||
@@ -28,0 +27,0 @@ interface ConnectOptions { |
@@ -0,3 +1,3 @@ | ||
export { useAccountContract } from './useAccountContract'; | ||
export { useAccounts } from './useAccounts'; | ||
export { useBTCContractVersion } from './useBTCContractVersion'; | ||
export { useBTCProvider } from './useBTCProvider'; | ||
@@ -4,0 +4,0 @@ export { useConnectModal } from './useConnectModal'; |
@@ -5,2 +5,2 @@ import type { SmartAccount, UserOp } from '@particle-network/aa'; | ||
export declare function caculateNativeFee(userOp: UserOp): bigint; | ||
export declare const getBTCAAAddress: (smartAccount: SmartAccount, btcAddress: string, BTCVersion: string) => Promise<string>; | ||
export declare const getBTCAAAddress: (smartAccount: SmartAccount, btcAddress: string, name: string, version: string) => Promise<string>; |
@@ -11,2 +11,2 @@ import type { AAOptions } from '@particle-network/aa'; | ||
export declare const ipfsToSrc: (ipfs: string) => string; | ||
export declare const checkBTCVersion: (accountContracts: AAOptions['accountContracts'], version: string) => boolean; | ||
export declare const checkBTCVersion: (accountContracts: AAOptions['accountContracts'], accountContractKey: string, version: string) => boolean; |
{ | ||
"name": "@particle-network/btc-connectkit", | ||
"version": "1.0.0-alpha.19", | ||
"version": "1.0.0-alpha.20", | ||
"license": "MIT", | ||
@@ -69,3 +69,3 @@ "type": "module", | ||
}, | ||
"gitHead": "46efcf4550a444990d84b5e3228dc757bd36da1f" | ||
"gitHead": "a3bb7fca89df8842ff69ed2ad3dfe1af86aab6ea" | ||
} |
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
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
560643
4935