@xswap-link/sdk 0.12.2 → 0.13.1
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.
- package/.github/workflows/main.yml +4 -4
- package/.github/workflows/publish.yml +4 -4
- package/CHANGELOG.md +14 -0
- package/dist/index.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.global.js +305 -5448
- package/dist/index.js +308 -1248
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +305 -1245
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Swap/SwapView/ConfirmationView/TxOverview/index.tsx +6 -25
- package/src/context/SwapProvider.tsx +104 -70
- package/src/contracts/abi/index.ts +0 -2
- package/src/contracts/addresses.ts +0 -4
- package/src/contracts/bridgeDisplayTokens.ts +46 -0
- package/src/contracts/index.ts +1 -0
- package/src/models/Addresses.ts +0 -1
- package/src/contracts/abi/CustomXSwapRouter.json +0 -953
|
@@ -11,12 +11,12 @@ jobs:
|
|
|
11
11
|
- uses: actions/checkout@v3
|
|
12
12
|
- uses: pnpm/action-setup@v4
|
|
13
13
|
with:
|
|
14
|
-
version:
|
|
15
|
-
- uses: actions/setup-node@
|
|
14
|
+
version: 9
|
|
15
|
+
- uses: actions/setup-node@v4
|
|
16
16
|
with:
|
|
17
|
-
node-version:
|
|
17
|
+
node-version: 20.x
|
|
18
18
|
cache: "pnpm"
|
|
19
19
|
|
|
20
|
-
- run: pnpm install
|
|
20
|
+
- run: pnpm install --frozen-lockfile
|
|
21
21
|
- run: pnpm run lint && pnpm run build
|
|
22
22
|
# - run: pnpm run test
|
|
@@ -19,13 +19,13 @@ jobs:
|
|
|
19
19
|
- uses: actions/checkout@v3
|
|
20
20
|
- uses: pnpm/action-setup@v4
|
|
21
21
|
with:
|
|
22
|
-
version:
|
|
23
|
-
- uses: actions/setup-node@
|
|
22
|
+
version: 9
|
|
23
|
+
- uses: actions/setup-node@v4
|
|
24
24
|
with:
|
|
25
|
-
node-version:
|
|
25
|
+
node-version: 20.x
|
|
26
26
|
cache: "pnpm"
|
|
27
27
|
|
|
28
|
-
- run: pnpm install
|
|
28
|
+
- run: pnpm install --frozen-lockfile
|
|
29
29
|
|
|
30
30
|
- name: Create Release Pull Request or Publish
|
|
31
31
|
id: changesets
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @xswap-link/xswap-sdk
|
|
2
2
|
|
|
3
|
+
## 0.13.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 41fab51: fixed token balance not refreshing after switching wallets
|
|
8
|
+
- c1c1838: refetch token balances after walelt change
|
|
9
|
+
- 9993bab: fixed tokenBalance fetching
|
|
10
|
+
|
|
11
|
+
## 0.13.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- 82769c2: added support for aliases in bridge tokens, removed customXSwapRouter logic
|
|
16
|
+
|
|
3
17
|
## 0.12.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -14,7 +14,6 @@ type Contracts = Partial<{
|
|
|
14
14
|
declare enum ContractName {
|
|
15
15
|
USDC = "USDC",
|
|
16
16
|
BatchQuery = "BatchQuery",
|
|
17
|
-
CustomXSwapRouter = "CustomXSwapRouter",
|
|
18
17
|
FeeCollector = "FeeCollector",
|
|
19
18
|
StakingCosmicCadets = "StakingCosmicCadets",
|
|
20
19
|
StakingSolarDivision = "StakingSolarDivision",
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ type Contracts = Partial<{
|
|
|
14
14
|
declare enum ContractName {
|
|
15
15
|
USDC = "USDC",
|
|
16
16
|
BatchQuery = "BatchQuery",
|
|
17
|
-
CustomXSwapRouter = "CustomXSwapRouter",
|
|
18
17
|
FeeCollector = "FeeCollector",
|
|
19
18
|
StakingCosmicCadets = "StakingCosmicCadets",
|
|
20
19
|
StakingSolarDivision = "StakingSolarDivision",
|