Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wormhole-foundation/connect-sdk-evm

Package Overview
Dependencies
Maintainers
4
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.1.8-beta.1 to 0.1.8-beta.2

4

dist/cjs/platform.js

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

return cb[EvmPlatform.platform + protocol];
case 'CoreBridge':
case 'WormholeCore':
const core = await (0, connect_sdk_1.loadProtocolModule)(EvmPlatform.platform, 'core');

@@ -67,3 +67,3 @@ if (EvmPlatform.platform + protocol in core)

async function getWormholeCore(rpc) {
return (await getProtocol('CoreBridge')).fromProvider(rpc, EvmPlatform.conf);
return (await getProtocol('WormholeCore')).fromProvider(rpc, EvmPlatform.conf);
}

@@ -70,0 +70,0 @@ EvmPlatform.getWormholeCore = getWormholeCore;

@@ -48,3 +48,3 @@ import { networkPlatformConfigs, DEFAULT_NETWORK, loadProtocolModule, } from '@wormhole-foundation/connect-sdk';

return cb[EvmPlatform.platform + protocol];
case 'CoreBridge':
case 'WormholeCore':
const core = await loadProtocolModule(EvmPlatform.platform, 'core');

@@ -64,3 +64,3 @@ if (EvmPlatform.platform + protocol in core)

async function getWormholeCore(rpc) {
return (await getProtocol('CoreBridge')).fromProvider(rpc, EvmPlatform.conf);
return (await getProtocol('WormholeCore')).fromProvider(rpc, EvmPlatform.conf);
}

@@ -67,0 +67,0 @@ EvmPlatform.getWormholeCore = getWormholeCore;

{
"name": "@wormhole-foundation/connect-sdk-evm",
"version": "0.1.8-beta.1",
"version": "0.1.8-beta.2",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -85,3 +85,3 @@ import {

return cb[platform + protocol]
case 'CoreBridge':
case 'WormholeCore':
const core = await loadProtocolModule(platform, 'core');

@@ -102,3 +102,3 @@ if (platform + protocol in core)

): Promise<WormholeCore<'Evm'>> {
return (await getProtocol('CoreBridge')).fromProvider(rpc, conf);
return (await getProtocol('WormholeCore')).fromProvider(rpc, conf);
}

@@ -105,0 +105,0 @@ export async function getTokenBridge(

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