@skip-go/widget 3.8.6 → 3.8.7

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/build/index.d.ts CHANGED
@@ -15,6 +15,7 @@ declare type Callbacks = {
15
15
  onTransactionComplete?: (props: onTransactionCompleteProps) => void;
16
16
  onTransactionFailed?: (props: onTransactionFailedProps) => void;
17
17
  onRouteUpdated?: (props: onRouteUpdatedProps) => void;
18
+ onSourceAndDestinationSwapped?: (props: onSourceAndDestinationSwappedProps) => void;
18
19
  };
19
20
 
20
21
  declare type ChainFilter = {
@@ -128,6 +129,15 @@ declare type onRouteUpdatedProps = {
128
129
  requiredChainAddresses?: string[];
129
130
  };
130
131
 
132
+ declare type onSourceAndDestinationSwappedProps = {
133
+ srcChainId?: string;
134
+ srcAssetDenom?: string;
135
+ destChainId?: string;
136
+ destAssetDenom?: string;
137
+ amountIn?: string;
138
+ amountOut?: string;
139
+ };
140
+
131
141
  declare type onTransactionBroadcastedProps = {
132
142
  txHash: string;
133
143
  chainId: string;
@@ -1,4 +1,4 @@
1
- import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-C0QXMUxJ.js";
1
+ import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-DDLnooje.js";
2
2
  import qg, { PROPOSAL_EXPIRY_MESSAGE } from "@walletconnect/sign-client";
3
3
  const global = globalThis || void 0 || self;
4
4
  var buffer$1 = {}, base64Js = {};
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { W as s, d as t, l as d, o, r as l } from "./index-C0QXMUxJ.js";
1
+ import { W as s, d as t, l as d, o, r as l } from "./index-DDLnooje.js";
2
2
  export {
3
3
  s as Widget,
4
4
  t as defaultTheme,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@skip-go/widget",
3
3
  "description": "Swap widget",
4
- "version": "3.8.6",
4
+ "version": "3.8.7",
5
5
  "repository": {
6
6
  "url": "https://github.com/skip-mev/skip-go",
7
7
  "directory": "packages/widget"
@@ -43,7 +43,7 @@
43
43
  "@penumbra-zone/transport-dom": "^7.5.0",
44
44
  "@r2wc/react-to-web-component": "^2.0.3",
45
45
  "@sentry/react": "^8.46.0",
46
- "@skip-go/client": "0.16.34",
46
+ "@skip-go/client": "0.17.0",
47
47
  "@solana/spl-token": "^0.4.8",
48
48
  "@solana/wallet-adapter-backpack": "^0.1.14",
49
49
  "@solana/wallet-adapter-coinbase": "^0.1.19",