@wormhole-foundation/sdk 1.10.1-beta.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -6
  2. package/package.json +28 -28
package/README.md CHANGED
@@ -532,12 +532,7 @@ Once created, the resolver can be used to provide a list of input and possible o
532
532
 
533
533
  <!--EXAMPLE_RESOLVER_LIST_TOKENS-->
534
534
  ```ts
535
- // what tokens are available on the source chain?
536
- const srcTokens = await resolver.supportedSourceTokens(sendChain);
537
- console.log(
538
- "Allowed source tokens: ",
539
- srcTokens.map((t) => canonicalAddress(t)),
540
- );
535
+ const sendToken = Wormhole.tokenId(sendChain, "native");
541
536
 
542
537
  // given the send token, what can we possibly get on the destination chain?
543
538
  const destTokens = await resolver.supportedDestinationTokens(sendToken, sendChain, destChain);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wormhole-foundation/sdk",
3
- "version": "1.10.1-beta.0",
3
+ "version": "1.11.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -384,33 +384,33 @@
384
384
  }
385
385
  },
386
386
  "dependencies": {
387
- "@wormhole-foundation/sdk-base": "1.10.1-beta.0",
388
- "@wormhole-foundation/sdk-definitions": "1.10.1-beta.0",
389
- "@wormhole-foundation/sdk-connect": "1.10.1-beta.0",
390
- "@wormhole-foundation/sdk-evm": "1.10.1-beta.0",
391
- "@wormhole-foundation/sdk-evm-core": "1.10.1-beta.0",
392
- "@wormhole-foundation/sdk-evm-tokenbridge": "1.10.1-beta.0",
393
- "@wormhole-foundation/sdk-evm-portico": "1.10.1-beta.0",
394
- "@wormhole-foundation/sdk-evm-cctp": "1.10.1-beta.0",
395
- "@wormhole-foundation/sdk-solana": "1.10.1-beta.0",
396
- "@wormhole-foundation/sdk-solana-core": "1.10.1-beta.0",
397
- "@wormhole-foundation/sdk-solana-tokenbridge": "1.10.1-beta.0",
398
- "@wormhole-foundation/sdk-solana-cctp": "1.10.1-beta.0",
399
- "@wormhole-foundation/sdk-cosmwasm": "1.10.1-beta.0",
400
- "@wormhole-foundation/sdk-cosmwasm-core": "1.10.1-beta.0",
401
- "@wormhole-foundation/sdk-cosmwasm-tokenbridge": "1.10.1-beta.0",
402
- "@wormhole-foundation/sdk-cosmwasm-ibc": "1.10.1-beta.0",
403
- "@wormhole-foundation/sdk-sui": "1.10.1-beta.0",
404
- "@wormhole-foundation/sdk-sui-core": "1.10.1-beta.0",
405
- "@wormhole-foundation/sdk-sui-tokenbridge": "1.10.1-beta.0",
406
- "@wormhole-foundation/sdk-sui-cctp": "1.10.1-beta.0",
407
- "@wormhole-foundation/sdk-aptos": "1.10.1-beta.0",
408
- "@wormhole-foundation/sdk-aptos-core": "1.10.1-beta.0",
409
- "@wormhole-foundation/sdk-aptos-tokenbridge": "1.10.1-beta.0",
410
- "@wormhole-foundation/sdk-aptos-cctp": "1.10.1-beta.0",
411
- "@wormhole-foundation/sdk-algorand": "1.10.1-beta.0",
412
- "@wormhole-foundation/sdk-algorand-core": "1.10.1-beta.0",
413
- "@wormhole-foundation/sdk-algorand-tokenbridge": "1.10.1-beta.0"
387
+ "@wormhole-foundation/sdk-base": "1.11.0",
388
+ "@wormhole-foundation/sdk-definitions": "1.11.0",
389
+ "@wormhole-foundation/sdk-connect": "1.11.0",
390
+ "@wormhole-foundation/sdk-evm": "1.11.0",
391
+ "@wormhole-foundation/sdk-evm-core": "1.11.0",
392
+ "@wormhole-foundation/sdk-evm-tokenbridge": "1.11.0",
393
+ "@wormhole-foundation/sdk-evm-portico": "1.11.0",
394
+ "@wormhole-foundation/sdk-evm-cctp": "1.11.0",
395
+ "@wormhole-foundation/sdk-solana": "1.11.0",
396
+ "@wormhole-foundation/sdk-solana-core": "1.11.0",
397
+ "@wormhole-foundation/sdk-solana-tokenbridge": "1.11.0",
398
+ "@wormhole-foundation/sdk-solana-cctp": "1.11.0",
399
+ "@wormhole-foundation/sdk-cosmwasm": "1.11.0",
400
+ "@wormhole-foundation/sdk-cosmwasm-core": "1.11.0",
401
+ "@wormhole-foundation/sdk-cosmwasm-tokenbridge": "1.11.0",
402
+ "@wormhole-foundation/sdk-cosmwasm-ibc": "1.11.0",
403
+ "@wormhole-foundation/sdk-sui": "1.11.0",
404
+ "@wormhole-foundation/sdk-sui-core": "1.11.0",
405
+ "@wormhole-foundation/sdk-sui-tokenbridge": "1.11.0",
406
+ "@wormhole-foundation/sdk-sui-cctp": "1.11.0",
407
+ "@wormhole-foundation/sdk-aptos": "1.11.0",
408
+ "@wormhole-foundation/sdk-aptos-core": "1.11.0",
409
+ "@wormhole-foundation/sdk-aptos-tokenbridge": "1.11.0",
410
+ "@wormhole-foundation/sdk-aptos-cctp": "1.11.0",
411
+ "@wormhole-foundation/sdk-algorand": "1.11.0",
412
+ "@wormhole-foundation/sdk-algorand-core": "1.11.0",
413
+ "@wormhole-foundation/sdk-algorand-tokenbridge": "1.11.0"
414
414
  },
415
415
  "type": "module"
416
416
  }