@skip-go/widget 3.8.6 → 3.8.8
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-
|
|
1
|
+
import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-sTTVnVEp.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
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.
|
|
4
|
+
"version": "3.8.8",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/skip-mev/skip-go",
|
|
7
7
|
"directory": "packages/widget"
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@amplitude/analytics-browser": "^2.11.12",
|
|
30
|
+
"@amplitude/plugin-session-replay-browser": "^1.16.5",
|
|
30
31
|
"@cosmjs/amino": "0.31.3",
|
|
31
32
|
"@cosmjs/cosmwasm-stargate": "0.31.3",
|
|
32
33
|
"@cosmjs/launchpad": "*",
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
"@penumbra-zone/transport-dom": "^7.5.0",
|
|
44
45
|
"@r2wc/react-to-web-component": "^2.0.3",
|
|
45
46
|
"@sentry/react": "^8.46.0",
|
|
46
|
-
"@skip-go/client": "0.
|
|
47
|
+
"@skip-go/client": "0.17.1",
|
|
47
48
|
"@solana/spl-token": "^0.4.8",
|
|
48
49
|
"@solana/wallet-adapter-backpack": "^0.1.14",
|
|
49
50
|
"@solana/wallet-adapter-coinbase": "^0.1.19",
|