@wormhole-foundation/connect-sdk
Advanced tools
Comparing version 0.1.3-beta to 0.1.3-beta.1
@@ -197,4 +197,7 @@ "use strict"; | ||
const dstNative = await dstTokenBridge.getWrappedAsset(t); | ||
// @ts-ignore | ||
return (await chain.getTokenAccount(dstNative, recipient.address)); | ||
return { | ||
chain: recipient.chain, | ||
// @ts-ignore | ||
address: await chain.getTokenAccount(dstNative, recipient.address), | ||
}; | ||
} | ||
@@ -201,0 +204,0 @@ return recipient; |
@@ -191,4 +191,7 @@ import { toChainId, isCircleSupported, isCircleChain, usdcContract, isChain, } from '@wormhole-foundation/sdk-base'; | ||
const dstNative = await dstTokenBridge.getWrappedAsset(t); | ||
// @ts-ignore | ||
return (await chain.getTokenAccount(dstNative, recipient.address)); | ||
return { | ||
chain: recipient.chain, | ||
// @ts-ignore | ||
address: await chain.getTokenAccount(dstNative, recipient.address), | ||
}; | ||
} | ||
@@ -195,0 +198,0 @@ return recipient; |
{ | ||
"name": "@wormhole-foundation/connect-sdk", | ||
"version": "0.1.3-beta", | ||
"version": "0.1.3-beta.1", | ||
"repository": { | ||
@@ -61,5 +61,5 @@ "type": "git", | ||
"axios": "^1.4.0", | ||
"@wormhole-foundation/sdk-base": "0.1.3-beta", | ||
"@wormhole-foundation/sdk-definitions": "0.1.3-beta" | ||
"@wormhole-foundation/sdk-base": "0.1.3-beta.1", | ||
"@wormhole-foundation/sdk-definitions": "0.1.3-beta.1" | ||
} | ||
} |
@@ -286,7 +286,7 @@ import { | ||
// @ts-ignore | ||
return (await chain.getTokenAccount( | ||
dstNative, | ||
recipient.address, | ||
)) as ChainAddress; | ||
return { | ||
chain: recipient.chain, | ||
// @ts-ignore | ||
address: await chain.getTokenAccount(dstNative, recipient.address), | ||
} as ChainAddress; | ||
} | ||
@@ -293,0 +293,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
235531
3928
+ Added@wormhole-foundation/sdk-base@0.1.3-beta.1(transitive)
+ Added@wormhole-foundation/sdk-definitions@0.1.3-beta.1(transitive)
- Removed@wormhole-foundation/sdk-base@0.1.3-beta(transitive)
- Removed@wormhole-foundation/sdk-definitions@0.1.3-beta(transitive)