@skip-go/widget 3.4.0 → 3.4.1

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
@@ -231,6 +231,10 @@ export declare type WidgetProps = {
231
231
  * https://docs.sentry.io/product/explore/session-replay/web/
232
232
  */
233
233
  enableSentrySessionReplays?: boolean;
234
+ /**
235
+ * Enable Amplitude analytics for the widget to improve user experience.
236
+ */
237
+ enableAmplitudeAnalytics?: boolean;
234
238
  /**
235
239
  * Map of connected wallet addresses, allowing your app to pass pre-connected addresses to the widget.
236
240
  * This feature enables the widget to display a specific address as connected for a given chain.
@@ -1,4 +1,4 @@
1
- import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-DH059QNf.js";
1
+ import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-EWiJWFmx.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,4 +1,4 @@
1
- import { W as a, d as s, l as d, r } from "./index-DH059QNf.js";
1
+ import { W as a, d as s, l as d, r } from "./index-EWiJWFmx.js";
2
2
  export {
3
3
  a as Widget,
4
4
  s as defaultTheme,
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.0",
4
+ "version": "3.4.1",
5
5
  "repository": {
6
6
  "url": "https://github.com/skip-mev/skip-go",
7
7
  "directory": "packages/widget"
@@ -26,6 +26,7 @@
26
26
  "wagmi": "^2.14.1"
27
27
  },
28
28
  "dependencies": {
29
+ "@amplitude/analytics-browser": "^2.11.12",
29
30
  "@cosmjs/amino": "0.31.3",
30
31
  "@cosmjs/cosmwasm-stargate": "0.31.3",
31
32
  "@cosmjs/launchpad": "*",
@@ -42,7 +43,7 @@
42
43
  "@penumbra-zone/transport-dom": "^7.5.0",
43
44
  "@r2wc/react-to-web-component": "^2.0.3",
44
45
  "@sentry/react": "^8.46.0",
45
- "@skip-go/client": "0.16.16",
46
+ "@skip-go/client": "0.16.17",
46
47
  "@solana/spl-token": "^0.4.8",
47
48
  "@solana/wallet-adapter-backpack": "^0.1.14",
48
49
  "@solana/wallet-adapter-coinbase": "^0.1.19",
@@ -55,6 +56,7 @@
55
56
  "@walletconnect/modal": "2.7.0",
56
57
  "@walletconnect/sign-client": "2.17.2",
57
58
  "@walletconnect/solana-adapter": "^0.0.6",
59
+ "add": "^2.0.6",
58
60
  "bech32": "^2.0.0",
59
61
  "graz": "^0.1.30",
60
62
  "jotai": "^2.10.1",
@@ -66,6 +68,7 @@
66
68
  "react-error-boundary": "^4.0.13",
67
69
  "react-shadow-scope": "^1.0.5",
68
70
  "styled-components": "^6.1.13",
71
+ "yarn": "^1.22.22",
69
72
  "zod": "^3.23.8"
70
73
  },
71
74
  "publishConfig": {