@xswap-link/sdk 0.10.0 → 0.10.2
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/CHANGELOG.md +16 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.global.js +90 -103
- package/dist/index.js +8 -8
- package/dist/index.mjs +8 -8
- package/localTheme.ts +1 -0
- package/package.json +1 -1
- package/src/components/Swap/SwapView/SwapPanel/TokenPanel/TokenPicker/index.tsx +19 -14
- package/src/components/TxConfigForm/index.tsx +2 -2
- package/src/components/TxWidgetWC/index.tsx +4 -1
- package/src/config/init.tsx +0 -1
- package/src/context/SwapProvider.tsx +29 -1
- package/src/models/payloads/ModalIntegrationPayload.ts +2 -1
- package/src/services/integrations/transactions.ts +2 -14
- package/src/utils/tokens.ts +52 -0
- package/tailwind.config.js +11 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @xswap-link/xswap-sdk
|
|
2
2
|
|
|
3
|
+
## 0.10.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8b4ebd3: Normalized source and destination token addresses to lowercase
|
|
8
|
+
- 72c9a6d: Show my tokens on destination chain
|
|
9
|
+
- 1c74826: Fix importing custom tokens
|
|
10
|
+
- aaed8ae: Add font customization option
|
|
11
|
+
- 1ece684: Fix check for initial dst token lookup
|
|
12
|
+
|
|
13
|
+
## 0.10.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 7d05886: Show my tokens on destination chain
|
|
18
|
+
|
|
3
19
|
## 0.10.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -165,8 +165,9 @@ type ModalIntegrationThemeStyles = {
|
|
|
165
165
|
errorDark?: string;
|
|
166
166
|
errorLight?: string;
|
|
167
167
|
chainlinkLogo?: string;
|
|
168
|
+
fontFamily?: string;
|
|
168
169
|
};
|
|
169
|
-
type ModalIntegrationStyles = Pick<ModalIntegrationThemeStyles, "mainAccentLight" | "mainAccentDark" | "textSecondary"> & {
|
|
170
|
+
type ModalIntegrationStyles = Pick<ModalIntegrationThemeStyles, "mainAccentLight" | "mainAccentDark" | "textSecondary" | "fontFamily"> & {
|
|
170
171
|
width?: string;
|
|
171
172
|
};
|
|
172
173
|
type ModalIntegrationPayload = {
|
package/dist/index.d.ts
CHANGED
|
@@ -165,8 +165,9 @@ type ModalIntegrationThemeStyles = {
|
|
|
165
165
|
errorDark?: string;
|
|
166
166
|
errorLight?: string;
|
|
167
167
|
chainlinkLogo?: string;
|
|
168
|
+
fontFamily?: string;
|
|
168
169
|
};
|
|
169
|
-
type ModalIntegrationStyles = Pick<ModalIntegrationThemeStyles, "mainAccentLight" | "mainAccentDark" | "textSecondary"> & {
|
|
170
|
+
type ModalIntegrationStyles = Pick<ModalIntegrationThemeStyles, "mainAccentLight" | "mainAccentDark" | "textSecondary" | "fontFamily"> & {
|
|
170
171
|
width?: string;
|
|
171
172
|
};
|
|
172
173
|
type ModalIntegrationPayload = {
|