Socket
Socket
Sign inDemoInstall

@wormhole-foundation/sdk-connect

Package Overview
Dependencies
Maintainers
6
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.3-beta.0 to 0.5.3-beta.1

1

dist/cjs/index.d.ts

@@ -14,4 +14,5 @@ export * from "./wormhole.js";

export * from "@wormhole-foundation/sdk-base";
export * as tokens from "@wormhole-foundation/sdk-base/tokens";
export * from "@wormhole-foundation/sdk-definitions";
export * as testing from "@wormhole-foundation/sdk-definitions/testing";
//# sourceMappingURL=index.d.ts.map

3

dist/cjs/index.js

@@ -29,3 +29,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.testing = exports.routes = exports.api = exports.circleApi = exports.tasks = void 0;
exports.testing = exports.tokens = exports.routes = exports.api = exports.circleApi = exports.tasks = void 0;
__exportStar(require("./wormhole.js"), exports);

@@ -45,4 +45,5 @@ __exportStar(require("./config.js"), exports);

__exportStar(require("@wormhole-foundation/sdk-base"), exports);
exports.tokens = __importStar(require("@wormhole-foundation/sdk-base/tokens"));
__exportStar(require("@wormhole-foundation/sdk-definitions"), exports);
exports.testing = __importStar(require("@wormhole-foundation/sdk-definitions/testing"));
//# sourceMappingURL=index.js.map

@@ -1,6 +0,6 @@

import type { AttestationReceipt, Chain, ChainContext, Network, Signer, SourceInitiatedTransferReceipt, TokenId, TransactionId } from "./../../index.js";
import { PorticoBridge, TransferState, amount } from "./../../index.js";
import type { StaticRouteMethods } from "../route.js";
import { AutomaticRoute } from "../route.js";
import type { Quote, QuoteResult, Receipt, TransferParams, ValidatedTransferParams, ValidationResult } from "../types.js";
import type { AttestationReceipt, Chain, ChainContext, Network, Signer, SourceInitiatedTransferReceipt, TokenId, TransactionId } from "./../../index.js";
import { PorticoBridge, TransferState, amount } from "./../../index.js";
export declare const SLIPPAGE_BPS = 15n;

@@ -7,0 +7,0 @@ export declare const BPS_PER_HUNDRED_PERCENT = 10000n;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AutomaticPorticoRoute = exports.BPS_PER_HUNDRED_PERCENT = exports.SLIPPAGE_BPS = void 0;
const route_js_1 = require("../route.js");
const index_js_1 = require("./../../index.js");
const route_js_1 = require("../route.js");
exports.SLIPPAGE_BPS = 15n; // 0.15%

@@ -7,0 +7,0 @@ exports.BPS_PER_HUNDRED_PERCENT = 10000n;

import type { Chain, Network } from "@wormhole-foundation/sdk-base";
import { tokens } from "@wormhole-foundation/sdk-base";
import { type TokenSymbol } from "@wormhole-foundation/sdk-base/tokens";
import type { ChainContext, TokenId } from "@wormhole-foundation/sdk-definitions";

@@ -7,3 +7,3 @@ export interface TokenDetails {

decimals: number;
symbol?: tokens.TokenSymbol;
symbol?: TokenSymbol;
wrapped?: TokenId;

@@ -10,0 +10,0 @@ }

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTokenDetails = exports.tokenAddresses = exports.uniqueTokens = void 0;
const sdk_base_1 = require("@wormhole-foundation/sdk-base");
const tokens_1 = require("@wormhole-foundation/sdk-base/tokens");
const sdk_definitions_1 = require("@wormhole-foundation/sdk-definitions");

@@ -24,3 +24,3 @@ const wormhole_js_1 = require("../wormhole.js");

const details = chain.config.tokenMap
? sdk_base_1.tokens.filters.byAddress(chain.config.tokenMap, address)
? tokens_1.filters.byAddress(chain.config.tokenMap, address)
: undefined;

@@ -27,0 +27,0 @@ const symbol = details ? details.symbol : undefined;

@@ -14,4 +14,5 @@ export * from "./wormhole.js";

export * from "@wormhole-foundation/sdk-base";
export * as tokens from "@wormhole-foundation/sdk-base/tokens";
export * from "@wormhole-foundation/sdk-definitions";
export * as testing from "@wormhole-foundation/sdk-definitions/testing";
//# sourceMappingURL=index.d.ts.map

@@ -15,4 +15,5 @@ export * from "./wormhole.js";

export * from "@wormhole-foundation/sdk-base";
export * as tokens from "@wormhole-foundation/sdk-base/tokens";
export * from "@wormhole-foundation/sdk-definitions";
export * as testing from "@wormhole-foundation/sdk-definitions/testing";
//# sourceMappingURL=index.js.map

@@ -1,6 +0,6 @@

import type { AttestationReceipt, Chain, ChainContext, Network, Signer, SourceInitiatedTransferReceipt, TokenId, TransactionId } from "./../../index.js";
import { PorticoBridge, TransferState, amount } from "./../../index.js";
import type { StaticRouteMethods } from "../route.js";
import { AutomaticRoute } from "../route.js";
import type { Quote, QuoteResult, Receipt, TransferParams, ValidatedTransferParams, ValidationResult } from "../types.js";
import type { AttestationReceipt, Chain, ChainContext, Network, Signer, SourceInitiatedTransferReceipt, TokenId, TransactionId } from "./../../index.js";
import { PorticoBridge, TransferState, amount } from "./../../index.js";
export declare const SLIPPAGE_BPS = 15n;

@@ -7,0 +7,0 @@ export declare const BPS_PER_HUNDRED_PERCENT = 10000n;

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

import { PorticoBridge, TokenTransfer, TransferState, Wormhole, canonicalAddress, chainToPlatform, contracts, isAttested, isNative, isSourceInitiated, resolveWrappedToken, signSendWait, tokens, amount, } from "./../../index.js";
import { AutomaticRoute } from "../route.js";
import { PorticoBridge, TokenTransfer, TransferState, Wormhole, amount, canonicalAddress, chainToPlatform, contracts, isAttested, isNative, isSourceInitiated, resolveWrappedToken, signSendWait, tokens, } from "./../../index.js";
export const SLIPPAGE_BPS = 15n; // 0.15%

@@ -4,0 +4,0 @@ export const BPS_PER_HUNDRED_PERCENT = 10000n;

import type { Chain, Network } from "@wormhole-foundation/sdk-base";
import { tokens } from "@wormhole-foundation/sdk-base";
import { type TokenSymbol } from "@wormhole-foundation/sdk-base/tokens";
import type { ChainContext, TokenId } from "@wormhole-foundation/sdk-definitions";

@@ -7,3 +7,3 @@ export interface TokenDetails {

decimals: number;
symbol?: tokens.TokenSymbol;
symbol?: TokenSymbol;
wrapped?: TokenId;

@@ -10,0 +10,0 @@ }

@@ -1,2 +0,2 @@

import { tokens } from "@wormhole-foundation/sdk-base";
import { filters } from "@wormhole-foundation/sdk-base/tokens";
import { canonicalAddress, isNative } from "@wormhole-foundation/sdk-definitions";

@@ -19,3 +19,3 @@ import { Wormhole } from "../wormhole.js";

const details = chain.config.tokenMap
? tokens.filters.byAddress(chain.config.tokenMap, address)
? filters.byAddress(chain.config.tokenMap, address)
: undefined;

@@ -22,0 +22,0 @@ const symbol = details ? details.symbol : undefined;

{
"name": "@wormhole-foundation/sdk-connect",
"version": "0.5.3-beta.0",
"version": "0.5.3-beta.1",
"repository": {

@@ -33,2 +33,9 @@ "type": "git",

},
"typesVersions": {
"*": {
"*": [
"./dist/cjs/index.d.ts"
]
}
},
"files": [

@@ -62,6 +69,6 @@ "dist/esm",

"axios": "^1.4.0",
"@wormhole-foundation/sdk-base": "0.5.3-beta.0",
"@wormhole-foundation/sdk-definitions": "0.5.3-beta.0"
"@wormhole-foundation/sdk-base": "0.5.3-beta.1",
"@wormhole-foundation/sdk-definitions": "0.5.3-beta.1"
},
"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

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