@wormhole-foundation/connect-sdk-evm
Advanced tools
Comparing version 0.1.8-beta.1 to 0.1.8-beta.2
@@ -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
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
445029