@skip-go/widget 3.3.9 → 3.3.11
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 = {
|
|
@@ -252,7 +256,7 @@ export declare type WidgetProps = {
|
|
|
252
256
|
declare type WidgetRouteConfig = Omit<RouteConfig, "swapVenues" | "swapVenue"> & {
|
|
253
257
|
swapVenues?: NewSwapVenueRequest[];
|
|
254
258
|
swapVenue?: NewSwapVenueRequest;
|
|
255
|
-
}
|
|
259
|
+
} & Pick<MsgsRequest, "timeoutSeconds">;
|
|
256
260
|
|
|
257
261
|
export { }
|
|
258
262
|
|
|
@@ -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-QfQ3tf-B.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.3.
|
|
4
|
+
"version": "3.3.11",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/skip-mev/skip-go",
|
|
7
7
|
"directory": "packages/widget"
|
|
@@ -42,7 +42,7 @@
|
|
|
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",
|