@skip-go/widget 3.8.9 → 3.9.0-alpha-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-CfFrlz9y.js → index-DX9xAWxs.js} +26813 -22924
- package/build/index.d.ts +10 -22
- package/build/index.es-DGh3SVdJ.js +60449 -0
- package/build/index.js +5 -5
- package/package.json +2 -2
- package/build/index.es-CVrQRujY.js +0 -35302
package/build/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Asset } from '@skip-go/client';
|
|
2
|
-
import { ChainAffiliates } from '@skip-go/client';
|
|
3
2
|
import { ChainType } from '@skip-go/client';
|
|
4
3
|
import { default as default_2 } from 'react';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { MessagesRequest } from '@skip-go/client';
|
|
5
|
+
import { RouteRequest } from '@skip-go/client';
|
|
6
|
+
import { SetApiOptionsProps } from '@skip-go/client';
|
|
7
7
|
import { SignClientTypes } from '@walletconnect/types';
|
|
8
|
+
import { SignerGetters } from '@skip-go/client';
|
|
8
9
|
import { SkipClientOptions } from '@skip-go/client';
|
|
9
10
|
import { WalletConnectModalConfig } from '@walletconnect/modal';
|
|
10
11
|
|
|
@@ -109,16 +110,6 @@ export declare const lightTheme: {
|
|
|
109
110
|
};
|
|
110
111
|
};
|
|
111
112
|
|
|
112
|
-
declare type NewSkipClientOptions = Omit<SkipClientOptions, "apiURL" | "chainIDsToAffiliates"> & {
|
|
113
|
-
apiUrl?: string;
|
|
114
|
-
chainIdsToAffiliates?: Record<string, ChainAffiliates>;
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
declare type NewSwapVenueRequest = {
|
|
118
|
-
name: string;
|
|
119
|
-
chainId: string;
|
|
120
|
-
};
|
|
121
|
-
|
|
122
113
|
declare type onRouteUpdatedProps = {
|
|
123
114
|
srcChainId?: string;
|
|
124
115
|
srcAssetDenom?: string;
|
|
@@ -145,9 +136,9 @@ declare type onTransactionBroadcastedProps = {
|
|
|
145
136
|
sourceAddress: string;
|
|
146
137
|
destinationAddress: string;
|
|
147
138
|
sourceAssetDenom: string;
|
|
148
|
-
|
|
139
|
+
sourceAssetChainId: string;
|
|
149
140
|
destAssetDenom: string;
|
|
150
|
-
|
|
141
|
+
destAssetChainId: string;
|
|
151
142
|
};
|
|
152
143
|
|
|
153
144
|
declare type onTransactionCompleteProps = {
|
|
@@ -157,9 +148,9 @@ declare type onTransactionCompleteProps = {
|
|
|
157
148
|
sourceAddress: string;
|
|
158
149
|
destinationAddress: string;
|
|
159
150
|
sourceAssetDenom: string;
|
|
160
|
-
|
|
151
|
+
sourceAssetChainId: string;
|
|
161
152
|
destAssetDenom: string;
|
|
162
|
-
|
|
153
|
+
destAssetChainId: string;
|
|
163
154
|
};
|
|
164
155
|
|
|
165
156
|
declare type onTransactionFailedProps = {
|
|
@@ -286,12 +277,9 @@ export declare type WidgetProps = {
|
|
|
286
277
|
ibcEurekaHighlightedAssets?: IbcEurekaHighlightedAssets;
|
|
287
278
|
assetSymbolsSortedToTop?: string[];
|
|
288
279
|
hideAssetsUnlessWalletTypeConnected?: boolean;
|
|
289
|
-
} &
|
|
280
|
+
} & SkipClientOptions & Callbacks & SignerGetters & SetApiOptionsProps;
|
|
290
281
|
|
|
291
|
-
declare type WidgetRouteConfig =
|
|
292
|
-
swapVenues?: NewSwapVenueRequest[];
|
|
293
|
-
swapVenue?: NewSwapVenueRequest;
|
|
294
|
-
} & Pick<MsgsRequest, "timeoutSeconds">;
|
|
282
|
+
declare type WidgetRouteConfig = RouteRequest & Pick<MessagesRequest, "timeoutSeconds">;
|
|
295
283
|
|
|
296
284
|
export { }
|
|
297
285
|
|