@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-CW8Hvj_l.js → index-B7-BnwVR.js} +5048 -5022
- package/build/{index-CW8Hvj_l.js.map → index-B7-BnwVR.js.map} +1 -1
- package/build/index.d.ts +10 -0
- package/build/index.js +1 -1
- package/build/{secp256k1-CqbDguA5.js → secp256k1-DWCtjSyP.js} +2 -2
- package/build/{secp256k1-CqbDguA5.js.map → secp256k1-DWCtjSyP.js.map} +1 -1
- package/package.json +1 -1
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 { 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-
|
|
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-
|
|
1166
|
+
//# sourceMappingURL=secp256k1-DWCtjSyP.js.map
|