@skip-go/widget 3.0.0-alpha.5 → 3.0.0-beta.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/README.md +30 -30
- package/build/{index-Dom9ICgE.js → index-CW8Hvj_l.js} +10396 -9866
- package/build/{index-Dom9ICgE.js.map → index-CW8Hvj_l.js.map} +1 -1
- package/build/index.d.ts +10 -9
- package/build/index.js +3 -3
- package/build/{secp256k1-DrchMpoC.js → secp256k1-CqbDguA5.js} +2 -2
- package/build/{secp256k1-DrchMpoC.js.map → secp256k1-CqbDguA5.js.map} +1 -1
- package/package.json +96 -96
package/build/index.d.ts
CHANGED
|
@@ -72,17 +72,11 @@ export declare const lightTheme: {
|
|
|
72
72
|
|
|
73
73
|
declare type PartialTheme = Partial<Theme> | undefined;
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
declare type ShowSwapWidget = {
|
|
76
76
|
button?: ReactElement;
|
|
77
|
-
} &
|
|
77
|
+
} & WidgetProps;
|
|
78
78
|
|
|
79
|
-
export declare const
|
|
80
|
-
|
|
81
|
-
export declare const SwapWidget: ({ theme, ...skipClientConfig }: SwapWidgetProps) => JSX_2.Element;
|
|
82
|
-
|
|
83
|
-
export declare type SwapWidgetProps = {
|
|
84
|
-
theme?: PartialTheme;
|
|
85
|
-
} & SkipClientOptions;
|
|
79
|
+
export declare const ShowWidget: ({ button, ...props }: ShowSwapWidget) => JSX_2.Element;
|
|
86
80
|
|
|
87
81
|
declare type Theme = {
|
|
88
82
|
brandColor: string;
|
|
@@ -118,6 +112,13 @@ declare type Theme = {
|
|
|
118
112
|
};
|
|
119
113
|
};
|
|
120
114
|
|
|
115
|
+
export declare const Widget: (props: WidgetProps) => JSX_2.Element;
|
|
116
|
+
|
|
117
|
+
export declare type WidgetProps = {
|
|
118
|
+
theme?: PartialTheme | 'light' | 'dark';
|
|
119
|
+
brandColor?: string;
|
|
120
|
+
} & SkipClientOptions;
|
|
121
|
+
|
|
121
122
|
export { }
|
|
122
123
|
|
|
123
124
|
|
package/build/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as t, W as d, d as h, l as s } from "./index-CW8Hvj_l.js";
|
|
2
2
|
export {
|
|
3
|
-
t as
|
|
4
|
-
d as
|
|
3
|
+
t as ShowWidget,
|
|
4
|
+
d as Widget,
|
|
5
5
|
h as defaultTheme,
|
|
6
6
|
s as lightTheme
|
|
7
7
|
};
|
|
@@ -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-CW8Hvj_l.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-CqbDguA5.js.map
|