@skip-go/widget 3.4.8 → 3.5.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
@@ -208,6 +208,11 @@ declare type WalletConnect = {
208
208
  export declare const Widget: (props: WidgetProps) => default_2.JSX.Element;
209
209
 
210
210
  export declare type WidgetProps = {
211
+ /**
212
+ * If specified, add a `data-root-id` attribute to all root elements of the widget, including portals.
213
+ * This can be used to style or document.querySelector specific parts of the widget.
214
+ */
215
+ rootId?: string;
211
216
  theme?: PartialTheme | "light" | "dark";
212
217
  brandColor?: string;
213
218
  onlyTestnet?: boolean;
@@ -1,4 +1,4 @@
1
- import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-KdxMiqHM.js";
1
+ import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-ifWNxoPO.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-KdxMiqHM.js";
1
+ import { W as a, d as s, l as d, r } from "./index-ifWNxoPO.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.8",
4
+ "version": "3.5.0",
5
5
  "repository": {
6
6
  "url": "https://github.com/skip-mev/skip-go",
7
7
  "directory": "packages/widget"
@@ -43,7 +43,7 @@
43
43
  "@penumbra-zone/transport-dom": "^7.5.0",
44
44
  "@r2wc/react-to-web-component": "^2.0.3",
45
45
  "@sentry/react": "^8.46.0",
46
- "@skip-go/client": "0.16.21",
46
+ "@skip-go/client": "0.16.22",
47
47
  "@solana/spl-token": "^0.4.8",
48
48
  "@solana/wallet-adapter-backpack": "^0.1.14",
49
49
  "@solana/wallet-adapter-coinbase": "^0.1.19",