@skip-go/widget 3.12.0 → 3.12.2
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
|
@@ -12,6 +12,7 @@ import { WalletConnectModalConfig } from '@walletconnect/modal';
|
|
|
12
12
|
declare type Callbacks = {
|
|
13
13
|
onWalletConnected?: (props: onWalletConnectedProps) => void;
|
|
14
14
|
onWalletDisconnected?: (props: onWalletDisconnectedProps) => void;
|
|
15
|
+
onTransactionSignRequested?: (props: onTransactionSignRequestedProps) => void;
|
|
15
16
|
onTransactionBroadcasted?: (props: onTransactionBroadcastedProps) => void;
|
|
16
17
|
onTransactionComplete?: (props: onTransactionCompleteProps) => void;
|
|
17
18
|
onTransactionFailed?: (props: onTransactionFailedProps) => void;
|
|
@@ -166,6 +167,12 @@ declare type onTransactionFailedProps = {
|
|
|
166
167
|
error: string;
|
|
167
168
|
};
|
|
168
169
|
|
|
170
|
+
declare type onTransactionSignRequestedProps = {
|
|
171
|
+
chainId: string;
|
|
172
|
+
signerAddress?: string;
|
|
173
|
+
txIndex: number;
|
|
174
|
+
};
|
|
175
|
+
|
|
169
176
|
declare type onWalletConnectedProps = {
|
|
170
177
|
walletName: string;
|
|
171
178
|
chainIdToAddressMap?: Record<string, 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-B_YSz0du.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 = {};
|
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.12.
|
|
4
|
+
"version": "3.12.2",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/skip-mev/skip-go",
|
|
7
7
|
"directory": "packages/widget"
|
|
@@ -42,14 +42,11 @@
|
|
|
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": "1.
|
|
45
|
+
"@skip-go/client": "1.3.1",
|
|
46
46
|
"@solana/spl-token": "^0.4.8",
|
|
47
|
-
"@solana/wallet-adapter-backpack": "^0.1.14",
|
|
48
|
-
"@solana/wallet-adapter-coinbase": "^0.1.19",
|
|
49
47
|
"@solana/wallet-adapter-ledger": "^0.9.25",
|
|
50
|
-
"@solana/wallet-adapter-
|
|
51
|
-
"@solana/wallet-adapter-
|
|
52
|
-
"@solana/wallet-adapter-trust": "^0.1.13",
|
|
48
|
+
"@solana/wallet-adapter-react": "^0.15.39",
|
|
49
|
+
"@solana/wallet-adapter-wallets": "^0.19.37",
|
|
53
50
|
"@solana/web3.js": "^1.95.8",
|
|
54
51
|
"@tanstack/query-core": "^5.51.21",
|
|
55
52
|
"@walletconnect/modal": "^2.7.0",
|