@wormhole-foundation/sdk-evm
Advanced tools
Comparing version 0.5.0-alpha.0 to 0.5.0-alpha.1
@@ -1,3 +0,4 @@ | ||
import { Address, UniversalAddress } from '@wormhole-foundation/sdk-connect'; | ||
import { AnyEvmAddress } from './types'; | ||
import type { Address } from '@wormhole-foundation/sdk-connect'; | ||
import { UniversalAddress } from '@wormhole-foundation/sdk-connect'; | ||
import type { AnyEvmAddress } from './types'; | ||
export declare const EvmZeroAddress: string; | ||
@@ -4,0 +5,0 @@ export declare class EvmAddress implements Address { |
@@ -1,3 +0,4 @@ | ||
import { Chain, ChainContext, Network } from '@wormhole-foundation/sdk-connect'; | ||
import { EvmChains } from './types'; | ||
import type { Chain, Network } from '@wormhole-foundation/sdk-connect'; | ||
import { ChainContext } from '@wormhole-foundation/sdk-connect'; | ||
import type { EvmChains } from './types'; | ||
/** | ||
@@ -4,0 +5,0 @@ * A ChainContext for the EVM platform |
@@ -1,6 +0,7 @@ | ||
import { Balances, Chain, ChainsConfig, Network, PlatformContext, SignedTx, StaticPlatformMethods, TokenId, TxHash } from '@wormhole-foundation/sdk-connect'; | ||
import { Provider } from 'ethers'; | ||
import type { Balances, Chain, ChainsConfig, Network, SignedTx, StaticPlatformMethods, TokenId, TxHash } from '@wormhole-foundation/sdk-connect'; | ||
import { PlatformContext } from '@wormhole-foundation/sdk-connect'; | ||
import type { Provider } from 'ethers'; | ||
import * as ethers_contracts from './ethers-contracts'; | ||
import { EvmChain } from './chain'; | ||
import { AnyEvmAddress, EvmChains, EvmPlatformType } from './types'; | ||
import type { AnyEvmAddress, EvmChains, EvmPlatformType } from './types'; | ||
/** | ||
@@ -7,0 +8,0 @@ * @category EVM |
@@ -1,4 +0,5 @@ | ||
import { Network, PlatformNativeSigner, SignOnlySigner, SignedTx, Signer, UnsignedTransaction } from '@wormhole-foundation/sdk-connect'; | ||
import { Provider, Signer as EthersSigner } from 'ethers'; | ||
import { EvmChains } from './types'; | ||
import type { Network, SignOnlySigner, SignedTx, Signer, UnsignedTransaction } from '@wormhole-foundation/sdk-connect'; | ||
import { PlatformNativeSigner } from '@wormhole-foundation/sdk-connect'; | ||
import type { Provider, Signer as EthersSigner } from 'ethers'; | ||
import type { EvmChains } from './types'; | ||
export declare function getEvmSignerForKey(rpc: Provider, privateKey: string): Promise<Signer>; | ||
@@ -5,0 +6,0 @@ export declare function getEvmSignerForSigner(chain: EvmChains, signer: EthersSigner): Promise<Signer>; |
@@ -1,3 +0,3 @@ | ||
import { PlatformToChains, UniversalOrNative } from '@wormhole-foundation/sdk-connect'; | ||
import { TransactionRequest } from 'ethers'; | ||
import type { PlatformToChains, UniversalOrNative } from '@wormhole-foundation/sdk-connect'; | ||
import type { TransactionRequest } from 'ethers'; | ||
export declare const unusedNonce = 0; | ||
@@ -4,0 +4,0 @@ export declare const unusedArbiterFee = 0n; |
@@ -1,4 +0,4 @@ | ||
import { Network, UnsignedTransaction } from '@wormhole-foundation/sdk-connect'; | ||
import { TransactionRequest } from 'ethers'; | ||
import { EvmChains } from './types'; | ||
import type { Network, UnsignedTransaction } from '@wormhole-foundation/sdk-connect'; | ||
import type { TransactionRequest } from 'ethers'; | ||
import type { EvmChains } from './types'; | ||
/** | ||
@@ -5,0 +5,0 @@ * An unsigned transaction for the EVM platform |
@@ -1,3 +0,4 @@ | ||
import { Address, UniversalAddress } from '@wormhole-foundation/sdk-connect'; | ||
import { AnyEvmAddress } from './types'; | ||
import type { Address } from '@wormhole-foundation/sdk-connect'; | ||
import { UniversalAddress } from '@wormhole-foundation/sdk-connect'; | ||
import type { AnyEvmAddress } from './types'; | ||
export declare const EvmZeroAddress: string; | ||
@@ -4,0 +5,0 @@ export declare class EvmAddress implements Address { |
@@ -1,3 +0,4 @@ | ||
import { Chain, ChainContext, Network } from '@wormhole-foundation/sdk-connect'; | ||
import { EvmChains } from './types'; | ||
import type { Chain, Network } from '@wormhole-foundation/sdk-connect'; | ||
import { ChainContext } from '@wormhole-foundation/sdk-connect'; | ||
import type { EvmChains } from './types'; | ||
/** | ||
@@ -4,0 +5,0 @@ * A ChainContext for the EVM platform |
@@ -1,6 +0,7 @@ | ||
import { Balances, Chain, ChainsConfig, Network, PlatformContext, SignedTx, StaticPlatformMethods, TokenId, TxHash } from '@wormhole-foundation/sdk-connect'; | ||
import { Provider } from 'ethers'; | ||
import type { Balances, Chain, ChainsConfig, Network, SignedTx, StaticPlatformMethods, TokenId, TxHash } from '@wormhole-foundation/sdk-connect'; | ||
import { PlatformContext } from '@wormhole-foundation/sdk-connect'; | ||
import type { Provider } from 'ethers'; | ||
import * as ethers_contracts from './ethers-contracts'; | ||
import { EvmChain } from './chain'; | ||
import { AnyEvmAddress, EvmChains, EvmPlatformType } from './types'; | ||
import type { AnyEvmAddress, EvmChains, EvmPlatformType } from './types'; | ||
/** | ||
@@ -7,0 +8,0 @@ * @category EVM |
@@ -1,4 +0,5 @@ | ||
import { Network, PlatformNativeSigner, SignOnlySigner, SignedTx, Signer, UnsignedTransaction } from '@wormhole-foundation/sdk-connect'; | ||
import { Provider, Signer as EthersSigner } from 'ethers'; | ||
import { EvmChains } from './types'; | ||
import type { Network, SignOnlySigner, SignedTx, Signer, UnsignedTransaction } from '@wormhole-foundation/sdk-connect'; | ||
import { PlatformNativeSigner } from '@wormhole-foundation/sdk-connect'; | ||
import type { Provider, Signer as EthersSigner } from 'ethers'; | ||
import type { EvmChains } from './types'; | ||
export declare function getEvmSignerForKey(rpc: Provider, privateKey: string): Promise<Signer>; | ||
@@ -5,0 +6,0 @@ export declare function getEvmSignerForSigner(chain: EvmChains, signer: EthersSigner): Promise<Signer>; |
import { PlatformNativeSigner, chainToPlatform, isNativeSigner, } from '@wormhole-foundation/sdk-connect'; | ||
import { Wallet, } from 'ethers'; | ||
import { Wallet } from 'ethers'; | ||
import { EvmPlatform } from './platform'; | ||
@@ -4,0 +4,0 @@ import { _platform } from './types'; |
@@ -1,3 +0,3 @@ | ||
import { PlatformToChains, UniversalOrNative } from '@wormhole-foundation/sdk-connect'; | ||
import { TransactionRequest } from 'ethers'; | ||
import type { PlatformToChains, UniversalOrNative } from '@wormhole-foundation/sdk-connect'; | ||
import type { TransactionRequest } from 'ethers'; | ||
export declare const unusedNonce = 0; | ||
@@ -4,0 +4,0 @@ export declare const unusedArbiterFee = 0n; |
@@ -1,4 +0,4 @@ | ||
import { Network, UnsignedTransaction } from '@wormhole-foundation/sdk-connect'; | ||
import { TransactionRequest } from 'ethers'; | ||
import { EvmChains } from './types'; | ||
import type { Network, UnsignedTransaction } from '@wormhole-foundation/sdk-connect'; | ||
import type { TransactionRequest } from 'ethers'; | ||
import type { EvmChains } from './types'; | ||
/** | ||
@@ -5,0 +5,0 @@ * An unsigned transaction for the EVM platform |
{ | ||
"name": "@wormhole-foundation/sdk-evm", | ||
"version": "0.5.0-alpha.0", | ||
"version": "0.5.0-alpha.1", | ||
"repository": { | ||
@@ -56,3 +56,3 @@ "type": "git", | ||
"clean": "rm -rf ./dist && rm -rf ./.turbo", | ||
"lint": "npm run prettier && eslint --fix", | ||
"lint": "npm run prettier && eslint --fix ./src --ext .ts", | ||
"prettier": "prettier --write ./src", | ||
@@ -65,3 +65,3 @@ "test": "jest --config ./jest.config.ts" | ||
"dependencies": { | ||
"@wormhole-foundation/sdk-connect": "0.5.0-alpha.0", | ||
"@wormhole-foundation/sdk-connect": "0.5.0-alpha.1", | ||
"typechain": "^8.2.0", | ||
@@ -68,0 +68,0 @@ "ethers": "^6.5.1", |
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
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
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
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
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
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
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
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
286361
4036
+ Added@wormhole-foundation/sdk-base@0.5.0-alpha.1(transitive)
+ Added@wormhole-foundation/sdk-connect@0.5.0-alpha.1(transitive)
+ Added@wormhole-foundation/sdk-definitions@0.5.0-alpha.1(transitive)
- Removed@wormhole-foundation/sdk-base@0.5.0-alpha.0(transitive)
- Removed@wormhole-foundation/sdk-connect@0.5.0-alpha.0(transitive)
- Removed@wormhole-foundation/sdk-definitions@0.5.0-alpha.0(transitive)