@skip-go/widget 3.0.23-alpha.0 → 3.0.23
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
|
@@ -141,8 +141,8 @@ declare type Theme = {
|
|
|
141
141
|
};
|
|
142
142
|
|
|
143
143
|
declare type WalletConnect = {
|
|
144
|
-
options: Pick<SignClientTypes.Options,
|
|
145
|
-
walletConnectModal?: Pick<WalletConnectModalConfig,
|
|
144
|
+
options: Pick<SignClientTypes.Options, 'projectId' | 'name'> | null;
|
|
145
|
+
walletConnectModal?: Pick<WalletConnectModalConfig, 'themeVariables' | 'themeMode' | 'privacyPolicyUrl' | 'termsOfServiceUrl'> | null;
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
export declare const Widget: (props: WidgetProps) => JSX_2.Element;
|
|
@@ -155,14 +155,9 @@ export declare type WidgetProps = {
|
|
|
155
155
|
settings?: {
|
|
156
156
|
/**
|
|
157
157
|
* Default slippage percentage (0-100) for CosmosSDK chain swaps.
|
|
158
|
-
* @default
|
|
158
|
+
* @default 1
|
|
159
159
|
*/
|
|
160
160
|
slippage?: number;
|
|
161
|
-
/**
|
|
162
|
-
* Gas amount for CosmosSDK chain transactions.
|
|
163
|
-
* @default 200_000
|
|
164
|
-
*/
|
|
165
|
-
customGasAmount?: number;
|
|
166
161
|
};
|
|
167
162
|
routeConfig?: WidgetRouteConfig;
|
|
168
163
|
filter?: ChainFilter;
|
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as Pt, h as Ft, t as Gt, e as Ot, b as Wt, c as Xt, r as Dt, s as Qt } from "./index-
|
|
1
|
+
import { H as Pt, h as Ft, t as Gt, e as Ot, b as Wt, c as Xt, r as Dt, s as Qt } from "./index-DdxkVosk.js";
|
|
2
2
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
3
3
|
const Ut = BigInt(0), ht = BigInt(1), Jt = BigInt(2);
|
|
4
4
|
function nt(e) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skip-go/widget",
|
|
3
3
|
"description": "Swap widget",
|
|
4
|
-
"version": "3.0.23
|
|
4
|
+
"version": "3.0.23",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/skip-mev/skip-go",
|
|
7
7
|
"directory": "packages/widget"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@tanstack/react-query": "^5.51.21",
|
|
23
|
-
"graz": "0.
|
|
23
|
+
"graz": "^0.1.30",
|
|
24
24
|
"react": ">=17.0.0",
|
|
25
25
|
"react-dom": ">=17.0.0",
|
|
26
26
|
"viem": "2.21.4",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@penumbra-zone/transport-dom": "^7.5.0",
|
|
40
40
|
"@r2wc/react-to-web-component": "^2.0.3",
|
|
41
41
|
"@radix-ui/react-dialog": "^1.1.1",
|
|
42
|
-
"@skip-go/client": "0.15.
|
|
42
|
+
"@skip-go/client": "0.15.4",
|
|
43
43
|
"@solana/spl-token": "^0.4.8",
|
|
44
44
|
"@solana/wallet-adapter-backpack": "^0.1.14",
|
|
45
45
|
"@solana/wallet-adapter-coinbase": "^0.1.19",
|