@skip-go/widget 3.1.11-alpha.7 → 3.1.11
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-CcBD-tt0.js → index-DR68gnEs.js} +9379 -13097
- package/build/index.d.ts +3 -20
- package/build/index.es-BOcnqJE4.js +35302 -0
- package/build/index.js +6 -5
- package/package.json +2 -2
- package/build/index.es-59-i-scQ.js +0 -60440
package/build/index.d.ts
CHANGED
|
@@ -31,10 +31,10 @@ declare type DefaultRouteConfig = {
|
|
|
31
31
|
|
|
32
32
|
export declare const defaultTheme: {
|
|
33
33
|
brandColor: string;
|
|
34
|
-
brandTextColor: undefined;
|
|
35
34
|
primary: {
|
|
36
35
|
background: {
|
|
37
36
|
normal: string;
|
|
37
|
+
transparent: string;
|
|
38
38
|
};
|
|
39
39
|
text: {
|
|
40
40
|
normal: string;
|
|
@@ -65,10 +65,10 @@ export declare const defaultTheme: {
|
|
|
65
65
|
|
|
66
66
|
export declare const lightTheme: {
|
|
67
67
|
brandColor: string;
|
|
68
|
-
brandTextColor: undefined;
|
|
69
68
|
primary: {
|
|
70
69
|
background: {
|
|
71
70
|
normal: string;
|
|
71
|
+
transparent: string;
|
|
72
72
|
};
|
|
73
73
|
text: {
|
|
74
74
|
normal: string;
|
|
@@ -111,24 +111,12 @@ declare type OnTransactionBroadcastedProps = {
|
|
|
111
111
|
txHash: string;
|
|
112
112
|
chainId: string;
|
|
113
113
|
explorerLink: string;
|
|
114
|
-
sourceAddress: string;
|
|
115
|
-
destinationAddress: string;
|
|
116
|
-
sourceAssetDenom: string;
|
|
117
|
-
sourceAssetChainID: string;
|
|
118
|
-
destAssetDenom: string;
|
|
119
|
-
destAssetChainID: string;
|
|
120
114
|
};
|
|
121
115
|
|
|
122
116
|
declare type OnTransactionCompleteProps = {
|
|
123
117
|
txHash: string;
|
|
124
118
|
chainId: string;
|
|
125
119
|
explorerLink: string;
|
|
126
|
-
sourceAddress: string;
|
|
127
|
-
destinationAddress: string;
|
|
128
|
-
sourceAssetDenom: string;
|
|
129
|
-
sourceAssetChainID: string;
|
|
130
|
-
destAssetDenom: string;
|
|
131
|
-
destAssetChainID: string;
|
|
132
120
|
};
|
|
133
121
|
|
|
134
122
|
declare type OnTransactionFailedProps = {
|
|
@@ -157,10 +145,10 @@ export declare const ShowWidget: ({ button, ...props }: ShowSwapWidget) => JSX_2
|
|
|
157
145
|
|
|
158
146
|
declare type Theme = {
|
|
159
147
|
brandColor: string;
|
|
160
|
-
brandTextColor?: string;
|
|
161
148
|
primary: {
|
|
162
149
|
background: {
|
|
163
150
|
normal: string;
|
|
151
|
+
transparent: string;
|
|
164
152
|
};
|
|
165
153
|
text: {
|
|
166
154
|
normal: string;
|
|
@@ -222,11 +210,6 @@ export declare type WidgetProps = {
|
|
|
222
210
|
* <Widget connectedAddresses={{ "cosmoshub-4": "cosmos1...", "1": "0x..." }} />
|
|
223
211
|
* ```
|
|
224
212
|
*/
|
|
225
|
-
enableSentrySessionReplays?: boolean;
|
|
226
|
-
/**
|
|
227
|
-
* enables sentry session replays on the widget to help with troubleshooting errors
|
|
228
|
-
* https://docs.sentry.io/product/explore/session-replay/web/
|
|
229
|
-
*/
|
|
230
213
|
connectedAddresses?: Record<string, string | undefined>;
|
|
231
214
|
} & Pick<NewSkipClientOptions, "apiUrl" | "chainIdsToAffiliates" | "endpointOptions" | "getCosmosSigner" | "getEVMSigner" | "getSVMSigner"> & Callbacks;
|
|
232
215
|
|