@atomiqlabs/sdk 2.1.1 → 3.0.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 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -84,7 +84,7 @@ const wallet = new SolanaSigner(anchorWallet);
84
84
  ```typescript
85
85
  //Browser, using get-starknet
86
86
  const swo = await connect();
87
- const wallet = new StarknetSigner(new WalletAccount(starknetRpc, swo));
87
+ const wallet = new StarknetSigner(new WalletAccount(starknetRpc, swo.wallet));
88
88
  ```
89
89
 
90
90
  or
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/sdk",
3
- "version": "2.1.1",
3
+ "version": "3.0.0",
4
4
  "description": "atomiq labs SDK for cross-chain swaps between smart chains and bitcoin",
5
5
  "main": "./dist/index.js",
6
6
  "types:": "./dist/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "author": "adambor",
22
22
  "license": "ISC",
23
23
  "dependencies": {
24
- "@atomiqlabs/base": "^8.0.0",
25
- "@atomiqlabs/sdk-lib": "^11.1.0"
24
+ "@atomiqlabs/base": "^8.0.1",
25
+ "@atomiqlabs/sdk-lib": "^12.0.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "22.13.5",