@dynamic-labs/types
Advanced tools
Comparing version 0.17.16 to 0.17.100-viem.1
{ | ||
"name": "@dynamic-labs/types", | ||
"version": "0.17.16", | ||
"version": "0.17.100-viem.1", | ||
"repository": { | ||
@@ -29,5 +29,7 @@ "type": "git", | ||
"dependencies": { | ||
"@dynamic-labs/sdk-api": "0.0.198", | ||
"ethers": "5.7.2" | ||
"@dynamic-labs/sdk-api": "0.0.198" | ||
}, | ||
"peerDependencies": { | ||
"viem": "^1.1.0" | ||
} | ||
} |
@@ -1,13 +0,12 @@ | ||
import { type ethers } from 'ethers'; | ||
import { TransactionReceipt, TransactionRequest } from 'viem'; | ||
export type WalletUiUtils = { | ||
disabledConfirmationOnce: () => void; | ||
sendTransaction: (props: { | ||
handler: (transaction: ethers.utils.Deferrable<ethers.providers.TransactionRequest>) => Promise<ethers.providers.TransactionResponse>; | ||
provider: ethers.providers.Web3Provider; | ||
transaction: ethers.utils.Deferrable<ethers.providers.TransactionRequest>; | ||
}) => Promise<ethers.providers.TransactionResponse>; | ||
handler: (transaction: TransactionRequest) => Promise<TransactionReceipt>; | ||
transaction: TransactionRequest; | ||
}) => Promise<TransactionReceipt>; | ||
signMessage: (props: { | ||
handler: (message: string | ethers.utils.Bytes) => Promise<string>; | ||
message: string | ethers.utils.Bytes; | ||
handler: () => Promise<string>; | ||
message: string | ArrayLike<number>; | ||
}) => Promise<string>; | ||
}; |
export * from './networks'; | ||
export * from './ethers'; | ||
export * from './oauth'; |
@@ -0,0 +0,0 @@ import { type NetworkConfiguration } from '@dynamic-labs/sdk-api'; |
export type SocialOAuthProvider = 'google' | 'facebook' | 'apple' | 'github' | 'bitbucket' | 'gitlab' | 'linkedin' | 'twitter' | 'discord' | 'twitch' | 'microsoft'; |
Sorry, the diff of this file is too big to display
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
103847
28
+ Added@adraffy/ens-normalize@1.10.0(transitive)
+ Added@noble/curves@1.2.0(transitive)
+ Added@noble/hashes@1.3.2(transitive)
+ Added@scure/base@1.1.9(transitive)
+ Added@scure/bip32@1.3.2(transitive)
+ Added@scure/bip39@1.2.1(transitive)
+ Addedabitype@0.9.8(transitive)
+ Addedisows@1.0.3(transitive)
+ Addedviem@1.21.4(transitive)
+ Addedws@8.13.0(transitive)
- Removedethers@5.7.2
- Removed@ethersproject/abi@5.7.0(transitive)
- Removed@ethersproject/abstract-provider@5.7.0(transitive)
- Removed@ethersproject/abstract-signer@5.7.0(transitive)
- Removed@ethersproject/address@5.7.0(transitive)
- Removed@ethersproject/base64@5.7.0(transitive)
- Removed@ethersproject/basex@5.7.0(transitive)
- Removed@ethersproject/bignumber@5.7.0(transitive)
- Removed@ethersproject/bytes@5.7.0(transitive)
- Removed@ethersproject/constants@5.7.0(transitive)
- Removed@ethersproject/contracts@5.7.0(transitive)
- Removed@ethersproject/hash@5.7.0(transitive)
- Removed@ethersproject/hdnode@5.7.0(transitive)
- Removed@ethersproject/json-wallets@5.7.0(transitive)
- Removed@ethersproject/keccak256@5.7.0(transitive)
- Removed@ethersproject/logger@5.7.0(transitive)
- Removed@ethersproject/networks@5.7.1(transitive)
- Removed@ethersproject/pbkdf2@5.7.0(transitive)
- Removed@ethersproject/properties@5.7.0(transitive)
- Removed@ethersproject/providers@5.7.2(transitive)
- Removed@ethersproject/random@5.7.0(transitive)
- Removed@ethersproject/rlp@5.7.0(transitive)
- Removed@ethersproject/sha2@5.7.0(transitive)
- Removed@ethersproject/signing-key@5.7.0(transitive)
- Removed@ethersproject/solidity@5.7.0(transitive)
- Removed@ethersproject/strings@5.7.0(transitive)
- Removed@ethersproject/transactions@5.7.0(transitive)
- Removed@ethersproject/units@5.7.0(transitive)
- Removed@ethersproject/wallet@5.7.0(transitive)
- Removed@ethersproject/web@5.7.1(transitive)
- Removed@ethersproject/wordlists@5.7.0(transitive)
- Removedaes-js@3.0.0(transitive)
- Removedbech32@1.1.4(transitive)
- Removedbn.js@4.12.15.2.1(transitive)
- Removedbrorand@1.1.0(transitive)
- Removedelliptic@6.5.4(transitive)
- Removedethers@5.7.2(transitive)
- Removedhash.js@1.1.7(transitive)
- Removedhmac-drbg@1.0.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedjs-sha3@0.8.0(transitive)
- Removedminimalistic-assert@1.0.1(transitive)
- Removedminimalistic-crypto-utils@1.0.1(transitive)
- Removedscrypt-js@3.0.1(transitive)
- Removedws@7.4.6(transitive)