@skip-go/widget 3.3.11 → 3.4.0
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,8 +1,7 @@
|
|
|
1
1
|
import { ChainAffiliates } from '@skip-go/client';
|
|
2
2
|
import { ChainType } from '@skip-go/client';
|
|
3
|
-
import {
|
|
3
|
+
import { default as default_2 } from 'react';
|
|
4
4
|
import { MsgsRequest } from '@skip-go/client';
|
|
5
|
-
import { ReactElement } from 'react';
|
|
6
5
|
import { RouteConfig } from '@skip-go/client';
|
|
7
6
|
import { SignClientTypes } from '@walletconnect/types';
|
|
8
7
|
import { SkipClientOptions } from '@skip-go/client';
|
|
@@ -163,11 +162,9 @@ declare type onWalletDisconnectedProps = {
|
|
|
163
162
|
|
|
164
163
|
declare type PartialTheme = Partial<Theme> | undefined;
|
|
165
164
|
|
|
166
|
-
declare
|
|
167
|
-
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
export declare const ShowWidget: ({ button, ...props }: ShowSwapWidget) => JSX_2.Element;
|
|
165
|
+
export declare const resetWidget: ({ onlyClearInputValues }?: {
|
|
166
|
+
onlyClearInputValues?: boolean;
|
|
167
|
+
}) => void;
|
|
171
168
|
|
|
172
169
|
declare type Theme = {
|
|
173
170
|
brandColor: string;
|
|
@@ -208,7 +205,7 @@ declare type WalletConnect = {
|
|
|
208
205
|
walletConnectModal?: Pick<WalletConnectModalConfig, "themeVariables" | "themeMode" | "privacyPolicyUrl" | "termsOfServiceUrl"> | null;
|
|
209
206
|
};
|
|
210
207
|
|
|
211
|
-
export declare const Widget: (props: WidgetProps) =>
|
|
208
|
+
export declare const Widget: (props: WidgetProps) => default_2.JSX.Element;
|
|
212
209
|
|
|
213
210
|
export declare type WidgetProps = {
|
|
214
211
|
theme?: PartialTheme | "light" | "dark";
|
|
@@ -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-DH059QNf.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,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as a, d as s, l as d, r } from "./index-DH059QNf.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
a as Widget,
|
|
4
|
+
s as defaultTheme,
|
|
5
|
+
d as lightTheme,
|
|
6
|
+
r as resetWidget
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skip-go/widget",
|
|
3
3
|
"description": "Swap widget",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.4.0",
|
|
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.16",
|
|
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",
|