@xswap-link/sdk 0.6.8 → 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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @xswap-link/xswap-sdk
2
2
 
3
+ ## 0.6.10
4
+
5
+ ### Patch Changes
6
+
7
+ - f38be29: make passing styles and customCalls as objects
8
+
9
+ ## 0.6.9
10
+
11
+ ### Patch Changes
12
+
13
+ - ee8fe46: lock destination token and chain when provided
14
+
3
15
  ## 0.6.8
4
16
 
5
17
  ### Patch Changes
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": WidgetIntegrationPayload["customContractCalls"];
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: WidgetIntegrationPayload["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": WidgetIntegrationPayload["customContractCalls"];
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: WidgetIntegrationPayload["styles"];
363
+ styles: string | undefined;
364
364
  };
365
365
 
366
366
  declare global {