@skip-go/widget 3.0.0-beta.0 → 3.0.0-beta.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
@@ -2,6 +2,15 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
2
2
  import { ReactElement } from 'react';
3
3
  import { SkipClientOptions } from '@skip-go/client';
4
4
 
5
+ declare type DefaultRouteConfig = {
6
+ amountIn?: number;
7
+ amountOut?: number;
8
+ srcChainID?: string;
9
+ srcAssetDenom?: string;
10
+ destChainID?: string;
11
+ destAssetDenom?: string;
12
+ };
13
+
5
14
  export declare const defaultTheme: {
6
15
  brandColor: string;
7
16
  primary: {
@@ -117,6 +126,7 @@ export declare const Widget: (props: WidgetProps) => JSX_2.Element;
117
126
  export declare type WidgetProps = {
118
127
  theme?: PartialTheme | 'light' | 'dark';
119
128
  brandColor?: string;
129
+ defaultRoute?: DefaultRouteConfig;
120
130
  } & SkipClientOptions;
121
131
 
122
132
  export { }
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as t, W as d, d as h, l as s } from "./index-CW8Hvj_l.js";
1
+ import { S as t, W as d, d as h, l as s } from "./index-B7-BnwVR.js";
2
2
  export {
3
3
  t as ShowWidget,
4
4
  d as Widget,
@@ -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-CW8Hvj_l.js";
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-B7-BnwVR.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) {
@@ -1163,4 +1163,4 @@ He.ProjectivePoint;
1163
1163
  export {
1164
1164
  He as secp256k1
1165
1165
  };
1166
- //# sourceMappingURL=secp256k1-CqbDguA5.js.map
1166
+ //# sourceMappingURL=secp256k1-DWCtjSyP.js.map