@xswap-link/sdk 0.6.9 → 0.6.10
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 +6 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.global.js +144 -162
- package/dist/index.js +10 -10
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
- package/src/components/Swap/SwapView/SwapPanel/ChainPanel/index.tsx +1 -1
- package/src/components/Swap/SwapView/SwapPanel/TokenPanel/index.tsx +1 -1
- package/src/components/TxWidgetWC/index.tsx +2 -2
- package/src/components/TxWidgetWCWrapped/index.tsx +2 -2
- package/src/models/payloads/WidgetIntegrationPayload.ts +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -245,7 +245,7 @@ type WidgetIntegrationPayload = {
|
|
|
245
245
|
dstDisplayToken?: string;
|
|
246
246
|
lightTheme?: boolean;
|
|
247
247
|
defaultWalletPicker?: boolean;
|
|
248
|
-
styles?: string;
|
|
248
|
+
styles?: ModalIntegrationStyles | string;
|
|
249
249
|
};
|
|
250
250
|
|
|
251
251
|
type Protocol = {
|
|
@@ -355,12 +355,12 @@ type TxWidgetWCAttributes = {
|
|
|
355
355
|
"dst-token": WidgetIntegrationPayload["dstToken"];
|
|
356
356
|
"src-chain": WidgetIntegrationPayload["srcChain"];
|
|
357
357
|
"src-token": WidgetIntegrationPayload["srcToken"];
|
|
358
|
-
"custom-contract-calls":
|
|
358
|
+
"custom-contract-calls": string | undefined;
|
|
359
359
|
desc: WidgetIntegrationPayload["desc"];
|
|
360
360
|
"dst-display-token": WidgetIntegrationPayload["dstDisplayToken"];
|
|
361
361
|
"light-theme": WidgetIntegrationPayload["lightTheme"];
|
|
362
362
|
"default-wallet-picker": WidgetIntegrationPayload["defaultWalletPicker"];
|
|
363
|
-
styles:
|
|
363
|
+
styles: string | undefined;
|
|
364
364
|
};
|
|
365
365
|
|
|
366
366
|
declare global {
|
package/dist/index.d.ts
CHANGED
|
@@ -245,7 +245,7 @@ type WidgetIntegrationPayload = {
|
|
|
245
245
|
dstDisplayToken?: string;
|
|
246
246
|
lightTheme?: boolean;
|
|
247
247
|
defaultWalletPicker?: boolean;
|
|
248
|
-
styles?: string;
|
|
248
|
+
styles?: ModalIntegrationStyles | string;
|
|
249
249
|
};
|
|
250
250
|
|
|
251
251
|
type Protocol = {
|
|
@@ -355,12 +355,12 @@ type TxWidgetWCAttributes = {
|
|
|
355
355
|
"dst-token": WidgetIntegrationPayload["dstToken"];
|
|
356
356
|
"src-chain": WidgetIntegrationPayload["srcChain"];
|
|
357
357
|
"src-token": WidgetIntegrationPayload["srcToken"];
|
|
358
|
-
"custom-contract-calls":
|
|
358
|
+
"custom-contract-calls": string | undefined;
|
|
359
359
|
desc: WidgetIntegrationPayload["desc"];
|
|
360
360
|
"dst-display-token": WidgetIntegrationPayload["dstDisplayToken"];
|
|
361
361
|
"light-theme": WidgetIntegrationPayload["lightTheme"];
|
|
362
362
|
"default-wallet-picker": WidgetIntegrationPayload["defaultWalletPicker"];
|
|
363
|
-
styles:
|
|
363
|
+
styles: string | undefined;
|
|
364
364
|
};
|
|
365
365
|
|
|
366
366
|
declare global {
|