@skip-go/widget 3.3.8 → 3.3.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/build/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ChainAffiliates } from '@skip-go/client';
|
|
2
2
|
import { ChainType } from '@skip-go/client';
|
|
3
3
|
import { JSX as JSX_2 } from 'react';
|
|
4
|
+
import { MsgsRequest } from '@skip-go/client';
|
|
4
5
|
import { ReactElement } from 'react';
|
|
5
6
|
import { RouteConfig } from '@skip-go/client';
|
|
6
7
|
import { SignClientTypes } from '@walletconnect/types';
|
|
@@ -28,6 +29,8 @@ declare type DefaultRouteConfig = {
|
|
|
28
29
|
srcAssetDenom?: string;
|
|
29
30
|
destChainId?: string;
|
|
30
31
|
destAssetDenom?: string;
|
|
32
|
+
srcLocked?: boolean;
|
|
33
|
+
destLocked?: boolean;
|
|
31
34
|
};
|
|
32
35
|
|
|
33
36
|
export declare const defaultTheme: {
|
|
@@ -115,6 +118,7 @@ declare type onRouteUpdatedProps = {
|
|
|
115
118
|
destAssetDenom?: string;
|
|
116
119
|
amountIn?: string;
|
|
117
120
|
amountOut?: string;
|
|
121
|
+
requiredChainAddresses?: string[];
|
|
118
122
|
};
|
|
119
123
|
|
|
120
124
|
declare type onTransactionBroadcastedProps = {
|
|
@@ -159,6 +163,8 @@ declare type onWalletDisconnectedProps = {
|
|
|
159
163
|
|
|
160
164
|
declare type PartialTheme = Partial<Theme> | undefined;
|
|
161
165
|
|
|
166
|
+
export declare const resetWidget: () => void;
|
|
167
|
+
|
|
162
168
|
declare type ShowSwapWidget = {
|
|
163
169
|
button?: ReactElement;
|
|
164
170
|
} & WidgetProps;
|
|
@@ -252,7 +258,7 @@ export declare type WidgetProps = {
|
|
|
252
258
|
declare type WidgetRouteConfig = Omit<RouteConfig, "swapVenues" | "swapVenue"> & {
|
|
253
259
|
swapVenues?: NewSwapVenueRequest[];
|
|
254
260
|
swapVenue?: NewSwapVenueRequest;
|
|
255
|
-
}
|
|
261
|
+
} & Pick<MsgsRequest, "timeoutSeconds">;
|
|
256
262
|
|
|
257
263
|
export { }
|
|
258
264
|
|
|
@@ -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-Ceiv2L6v.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,7 +1,8 @@
|
|
|
1
|
-
import { S as
|
|
1
|
+
import { S as a, W as s, d, l as g, r as h } from "./index-Ceiv2L6v.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
a as ShowWidget,
|
|
4
|
+
s as Widget,
|
|
5
|
+
d as defaultTheme,
|
|
6
|
+
g as lightTheme,
|
|
7
|
+
h as resetWidget
|
|
7
8
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skip-go/widget",
|
|
3
3
|
"description": "Swap widget",
|
|
4
|
-
"version": "3.3.
|
|
4
|
+
"version": "3.3.10",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/skip-mev/skip-go",
|
|
7
7
|
"directory": "packages/widget"
|
|
@@ -42,13 +42,12 @@
|
|
|
42
42
|
"@penumbra-zone/transport-dom": "^7.5.0",
|
|
43
43
|
"@r2wc/react-to-web-component": "^2.0.3",
|
|
44
44
|
"@sentry/react": "^8.46.0",
|
|
45
|
-
"@skip-go/client": "0.16.
|
|
45
|
+
"@skip-go/client": "0.16.15",
|
|
46
46
|
"@solana/spl-token": "^0.4.8",
|
|
47
47
|
"@solana/wallet-adapter-backpack": "^0.1.14",
|
|
48
48
|
"@solana/wallet-adapter-coinbase": "^0.1.19",
|
|
49
49
|
"@solana/wallet-adapter-ledger": "^0.9.25",
|
|
50
50
|
"@solana/wallet-adapter-phantom": "^0.9.24",
|
|
51
|
-
"@solana/wallet-adapter-react": "^0.15.35",
|
|
52
51
|
"@solana/wallet-adapter-solflare": "^0.6.28",
|
|
53
52
|
"@solana/wallet-adapter-trust": "^0.1.13",
|
|
54
53
|
"@solana/web3.js": "^1.95.8",
|