Socket
Socket
Sign inDemoInstall

@wormhole-foundation/sdk-connect

Package Overview
Dependencies
Maintainers
5
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.5.2-beta.4 to 0.5.2-beta.5

2

dist/cjs/protocols/cctpTransfer.d.ts

@@ -18,3 +18,3 @@ import type { Chain, Network } from "@wormhole-foundation/sdk-base";

attestations?: AttestationReceipt<CircleTransferProtocol>[];
private constructor();
constructor(wh: Wormhole<N>, transfer: CircleTransferDetails, fromChain?: ChainContext<N, Chain>, toChain?: ChainContext<N, Chain>);
getTransferState(): TransferState;

@@ -21,0 +21,0 @@ static from<N extends Network>(wh: Wormhole<N>, from: CircleTransferDetails, timeout?: number, fromChain?: ChainContext<N, Chain>, toChain?: ChainContext<N, Chain>): Promise<CircleTransfer<N>>;

@@ -1,3 +0,3 @@

import type { Chain, Network } from "@wormhole-foundation/sdk-base";
import type { AttestationId, ChainContext, GatewayTransferDetails, IbcTransferInfo, Signer, TokenId, TransactionId, TxHash, WormholeMessageId } from "@wormhole-foundation/sdk-definitions";
import type { Chain, Network, PlatformToChains } from "@wormhole-foundation/sdk-base";
import type { AttestationId, ChainContext, GatewayTransferDetails, IbcBridge, IbcTransferInfo, Signer, TokenId, TransactionId, TxHash, WormholeMessageId } from "@wormhole-foundation/sdk-definitions";
import { TokenBridge } from "@wormhole-foundation/sdk-definitions";

@@ -7,2 +7,3 @@ import { TransferState } from "../types.js";

import type { WormholeTransfer } from "./wormholeTransfer.js";
type GatewayContext<N extends Network> = ChainContext<N, typeof GatewayTransfer.chain>;
export declare class GatewayTransfer<N extends Network = Network> implements WormholeTransfer<"IbcBridge"> {

@@ -23,3 +24,3 @@ static chain: "Wormchain";

ibcTransfers: IbcTransferInfo[];
private constructor();
constructor(wh: Wormhole<N>, transfer: GatewayTransferDetails, gateway: GatewayContext<N>, gatewayIbc: IbcBridge<N, PlatformToChains<"Cosmwasm">>);
getTransferState(): TransferState;

@@ -43,2 +44,3 @@ static from<N extends Network>(wh: Wormhole<N>, from: GatewayTransferDetails): Promise<GatewayTransfer<N>>;

}
export {};
//# sourceMappingURL=gatewayTransfer.d.ts.map

@@ -20,3 +20,3 @@ import type { Chain, Network } from "@wormhole-foundation/sdk-base";

attestations?: AttestationReceipt<TokenTransferProtocol>[];
private constructor();
constructor(wh: Wormhole<N>, transfer: TokenTransferDetails, fromChain?: ChainContext<N, Chain>, toChain?: ChainContext<N, Chain>);
getTransferState(): TransferState;

@@ -23,0 +23,0 @@ static from<N extends Network>(wh: Wormhole<N>, from: TokenTransferDetails, timeout?: number, fromChain?: ChainContext<N, Chain>, toChain?: ChainContext<N, Chain>): Promise<TokenTransfer<N>>;

@@ -15,3 +15,3 @@ import type { Chain, Network } from "@wormhole-foundation/sdk-base";

toChain: ChainContext<N>;
private constructor();
constructor(from: ChainAddress, to: ChainAddress, fromChain: ChainContext<N>, toChain: ChainContext<N>, source: TokenDetails, destination: TokenDetails);
parseAmount(amt: string): amount.Amount;

@@ -18,0 +18,0 @@ amountFromBaseUnits(amt: bigint): amount.Amount;

@@ -18,3 +18,3 @@ import type { Chain, Network } from "@wormhole-foundation/sdk-base";

attestations?: AttestationReceipt<CircleTransferProtocol>[];
private constructor();
constructor(wh: Wormhole<N>, transfer: CircleTransferDetails, fromChain?: ChainContext<N, Chain>, toChain?: ChainContext<N, Chain>);
getTransferState(): TransferState;

@@ -21,0 +21,0 @@ static from<N extends Network>(wh: Wormhole<N>, from: CircleTransferDetails, timeout?: number, fromChain?: ChainContext<N, Chain>, toChain?: ChainContext<N, Chain>): Promise<CircleTransfer<N>>;

@@ -1,3 +0,3 @@

import type { Chain, Network } from "@wormhole-foundation/sdk-base";
import type { AttestationId, ChainContext, GatewayTransferDetails, IbcTransferInfo, Signer, TokenId, TransactionId, TxHash, WormholeMessageId } from "@wormhole-foundation/sdk-definitions";
import type { Chain, Network, PlatformToChains } from "@wormhole-foundation/sdk-base";
import type { AttestationId, ChainContext, GatewayTransferDetails, IbcBridge, IbcTransferInfo, Signer, TokenId, TransactionId, TxHash, WormholeMessageId } from "@wormhole-foundation/sdk-definitions";
import { TokenBridge } from "@wormhole-foundation/sdk-definitions";

@@ -7,2 +7,3 @@ import { TransferState } from "../types.js";

import type { WormholeTransfer } from "./wormholeTransfer.js";
type GatewayContext<N extends Network> = ChainContext<N, typeof GatewayTransfer.chain>;
export declare class GatewayTransfer<N extends Network = Network> implements WormholeTransfer<"IbcBridge"> {

@@ -23,3 +24,3 @@ static chain: "Wormchain";

ibcTransfers: IbcTransferInfo[];
private constructor();
constructor(wh: Wormhole<N>, transfer: GatewayTransferDetails, gateway: GatewayContext<N>, gatewayIbc: IbcBridge<N, PlatformToChains<"Cosmwasm">>);
getTransferState(): TransferState;

@@ -43,2 +44,3 @@ static from<N extends Network>(wh: Wormhole<N>, from: GatewayTransferDetails): Promise<GatewayTransfer<N>>;

}
export {};
//# sourceMappingURL=gatewayTransfer.d.ts.map

@@ -20,3 +20,3 @@ import type { Chain, Network } from "@wormhole-foundation/sdk-base";

attestations?: AttestationReceipt<TokenTransferProtocol>[];
private constructor();
constructor(wh: Wormhole<N>, transfer: TokenTransferDetails, fromChain?: ChainContext<N, Chain>, toChain?: ChainContext<N, Chain>);
getTransferState(): TransferState;

@@ -23,0 +23,0 @@ static from<N extends Network>(wh: Wormhole<N>, from: TokenTransferDetails, timeout?: number, fromChain?: ChainContext<N, Chain>, toChain?: ChainContext<N, Chain>): Promise<TokenTransfer<N>>;

@@ -15,3 +15,3 @@ import type { Chain, Network } from "@wormhole-foundation/sdk-base";

toChain: ChainContext<N>;
private constructor();
constructor(from: ChainAddress, to: ChainAddress, fromChain: ChainContext<N>, toChain: ChainContext<N>, source: TokenDetails, destination: TokenDetails);
parseAmount(amt: string): amount.Amount;

@@ -18,0 +18,0 @@ amountFromBaseUnits(amt: bigint): amount.Amount;

{
"name": "@wormhole-foundation/sdk-connect",
"version": "0.5.2-beta.4",
"version": "0.5.2-beta.5",
"repository": {

@@ -61,6 +61,6 @@ "type": "git",

"axios": "^1.4.0",
"@wormhole-foundation/sdk-base": "0.5.2-beta.4",
"@wormhole-foundation/sdk-definitions": "0.5.2-beta.4"
"@wormhole-foundation/sdk-base": "0.5.2-beta.5",
"@wormhole-foundation/sdk-definitions": "0.5.2-beta.5"
},
"type": "module"
}

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

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