Socket
Socket
Sign inDemoInstall

@wormhole-foundation/sdk-definitions

Package Overview
Dependencies
Maintainers
4
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wormhole-foundation/sdk-definitions - npm Package Compare versions

Comparing version 0.2.3-beta.1 to 0.2.4-beta.0

4

dist/cjs/protocols/tokenBridge.d.ts

@@ -26,6 +26,6 @@ import { Chain, Network, Platform, PlatformToChains } from "@wormhole-foundation/sdk-base";

export interface AutomaticTokenBridge<N extends Network, P extends Platform, C extends PlatformToChains<P>> {
transfer(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C>, amount: bigint, relayerFee: bigint, nativeGas?: bigint): AsyncGenerator<UnsignedTransaction<N, C>>;
transfer(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C>, amount: bigint, nativeGas?: bigint): AsyncGenerator<UnsignedTransaction<N, C>>;
redeem(sender: AccountAddress<C>, vaa: TokenBridge.VAA<"TransferWithPayload">): AsyncGenerator<UnsignedTransaction<N, C>>;
getRelayerFee(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<Chain> | "native"): Promise<bigint>;
getRelayerFee(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C> | "native"): Promise<bigint>;
}
//# sourceMappingURL=tokenBridge.d.ts.map

@@ -26,6 +26,6 @@ import { Chain, Network, Platform, PlatformToChains } from "@wormhole-foundation/sdk-base";

export interface AutomaticTokenBridge<N extends Network, P extends Platform, C extends PlatformToChains<P>> {
transfer(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C>, amount: bigint, relayerFee: bigint, nativeGas?: bigint): AsyncGenerator<UnsignedTransaction<N, C>>;
transfer(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C>, amount: bigint, nativeGas?: bigint): AsyncGenerator<UnsignedTransaction<N, C>>;
redeem(sender: AccountAddress<C>, vaa: TokenBridge.VAA<"TransferWithPayload">): AsyncGenerator<UnsignedTransaction<N, C>>;
getRelayerFee(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<Chain> | "native"): Promise<bigint>;
getRelayerFee(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C> | "native"): Promise<bigint>;
}
//# sourceMappingURL=tokenBridge.d.ts.map
{
"name": "@wormhole-foundation/sdk-definitions",
"version": "0.2.3-beta.1",
"version": "0.2.4-beta.0",
"repository": {

@@ -33,4 +33,4 @@ "type": "git",

"@noble/hashes": "^1.3.1",
"@wormhole-foundation/sdk-base": "^0.2.3-beta.1"
"@wormhole-foundation/sdk-base": "^0.2.4-beta.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

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