@embarkai/ui-kit 0.4.42 → 0.4.44
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/dist/iframe/index.html +1 -1
- package/dist/iframe/main.js +1 -1
- package/dist/index.cjs +6458 -6457
- package/dist/index.d.cts +48 -3
- package/dist/index.d.ts +48 -3
- package/dist/index.js +6166 -6163
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BatchOperation as BatchOperation$1 } from '@embarkai/core';
|
|
2
2
|
export { wagmiConfig } from '@embarkai/core';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import react__default, { ReactNode,
|
|
4
|
+
import react__default, { ReactNode, RefObject, FC, HTMLAttributes, ButtonHTMLAttributes } from 'react';
|
|
5
5
|
import { BlockscoutTokenBalance } from '@embarkai/core/clients';
|
|
6
6
|
import * as viem from 'viem';
|
|
7
7
|
import { Address as Address$1, Hex, PublicClient, Chain, Hash as Hash$1, TransactionReceipt } from 'viem';
|
|
@@ -364,7 +364,7 @@ interface CallbacksConfig {
|
|
|
364
364
|
onWalletReady?: (status: WalletReadyStatus$1) => void;
|
|
365
365
|
}
|
|
366
366
|
interface UIContextType {
|
|
367
|
-
config:
|
|
367
|
+
config: RefObject<ProviderConfig>;
|
|
368
368
|
updateConfig: (updates: Partial<ProviderConfig>) => void;
|
|
369
369
|
/**
|
|
370
370
|
* Legacy snapshot of callbacks from provider props.
|
|
@@ -373,7 +373,7 @@ interface UIContextType {
|
|
|
373
373
|
* @deprecated
|
|
374
374
|
*/
|
|
375
375
|
callbacks?: CallbacksConfig;
|
|
376
|
-
callbacksRef:
|
|
376
|
+
callbacksRef: RefObject<CallbacksConfig | undefined>;
|
|
377
377
|
updateCallbacks: (updates: Partial<CallbacksConfig> | null) => void;
|
|
378
378
|
}
|
|
379
379
|
interface ProviderProps {
|
|
@@ -2283,6 +2283,15 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2283
2283
|
next: string;
|
|
2284
2284
|
prev: string;
|
|
2285
2285
|
page: string;
|
|
2286
|
+
details: string;
|
|
2287
|
+
loading: string;
|
|
2288
|
+
loadMore: string;
|
|
2289
|
+
max: string;
|
|
2290
|
+
min: string;
|
|
2291
|
+
search: string;
|
|
2292
|
+
select: string;
|
|
2293
|
+
selectAll: string;
|
|
2294
|
+
selectNone: string;
|
|
2286
2295
|
errors: {
|
|
2287
2296
|
oops: string;
|
|
2288
2297
|
};
|
|
@@ -2411,6 +2420,12 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2411
2420
|
selectPaymentMode: string;
|
|
2412
2421
|
enterAmount: string;
|
|
2413
2422
|
purchaseSummary: string;
|
|
2423
|
+
actions: {
|
|
2424
|
+
limitsCheck: string;
|
|
2425
|
+
estimateFees: string;
|
|
2426
|
+
estimatiing: string;
|
|
2427
|
+
confirmPurchase: string;
|
|
2428
|
+
};
|
|
2414
2429
|
summary: {
|
|
2415
2430
|
youPay: string;
|
|
2416
2431
|
youReceive: string;
|
|
@@ -2597,6 +2612,15 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2597
2612
|
next: string;
|
|
2598
2613
|
prev: string;
|
|
2599
2614
|
page: string;
|
|
2615
|
+
details: string;
|
|
2616
|
+
loading: string;
|
|
2617
|
+
loadMore: string;
|
|
2618
|
+
max: string;
|
|
2619
|
+
min: string;
|
|
2620
|
+
search: string;
|
|
2621
|
+
select: string;
|
|
2622
|
+
selectAll: string;
|
|
2623
|
+
selectNone: string;
|
|
2600
2624
|
errors: {
|
|
2601
2625
|
oops: string;
|
|
2602
2626
|
};
|
|
@@ -2725,6 +2749,12 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2725
2749
|
selectPaymentMode: string;
|
|
2726
2750
|
enterAmount: string;
|
|
2727
2751
|
purchaseSummary: string;
|
|
2752
|
+
actions: {
|
|
2753
|
+
limitsCheck: string;
|
|
2754
|
+
estimateFees: string;
|
|
2755
|
+
estimatiing: string;
|
|
2756
|
+
confirmPurchase: string;
|
|
2757
|
+
};
|
|
2728
2758
|
summary: {
|
|
2729
2759
|
youPay: string;
|
|
2730
2760
|
youReceive: string;
|
|
@@ -2911,6 +2941,15 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2911
2941
|
next: string;
|
|
2912
2942
|
prev: string;
|
|
2913
2943
|
page: string;
|
|
2944
|
+
details: string;
|
|
2945
|
+
loading: string;
|
|
2946
|
+
loadMore: string;
|
|
2947
|
+
max: string;
|
|
2948
|
+
min: string;
|
|
2949
|
+
search: string;
|
|
2950
|
+
select: string;
|
|
2951
|
+
selectAll: string;
|
|
2952
|
+
selectNone: string;
|
|
2914
2953
|
errors: {
|
|
2915
2954
|
oops: string;
|
|
2916
2955
|
};
|
|
@@ -3039,6 +3078,12 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3039
3078
|
selectPaymentMode: string;
|
|
3040
3079
|
enterAmount: string;
|
|
3041
3080
|
purchaseSummary: string;
|
|
3081
|
+
actions: {
|
|
3082
|
+
limitsCheck: string;
|
|
3083
|
+
estimateFees: string;
|
|
3084
|
+
estimatiing: string;
|
|
3085
|
+
confirmPurchase: string;
|
|
3086
|
+
};
|
|
3042
3087
|
summary: {
|
|
3043
3088
|
youPay: string;
|
|
3044
3089
|
youReceive: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BatchOperation as BatchOperation$1 } from '@embarkai/core';
|
|
2
2
|
export { wagmiConfig } from '@embarkai/core';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import react__default, { ReactNode,
|
|
4
|
+
import react__default, { ReactNode, RefObject, FC, HTMLAttributes, ButtonHTMLAttributes } from 'react';
|
|
5
5
|
import { BlockscoutTokenBalance } from '@embarkai/core/clients';
|
|
6
6
|
import * as viem from 'viem';
|
|
7
7
|
import { Address as Address$1, Hex, PublicClient, Chain, Hash as Hash$1, TransactionReceipt } from 'viem';
|
|
@@ -364,7 +364,7 @@ interface CallbacksConfig {
|
|
|
364
364
|
onWalletReady?: (status: WalletReadyStatus$1) => void;
|
|
365
365
|
}
|
|
366
366
|
interface UIContextType {
|
|
367
|
-
config:
|
|
367
|
+
config: RefObject<ProviderConfig>;
|
|
368
368
|
updateConfig: (updates: Partial<ProviderConfig>) => void;
|
|
369
369
|
/**
|
|
370
370
|
* Legacy snapshot of callbacks from provider props.
|
|
@@ -373,7 +373,7 @@ interface UIContextType {
|
|
|
373
373
|
* @deprecated
|
|
374
374
|
*/
|
|
375
375
|
callbacks?: CallbacksConfig;
|
|
376
|
-
callbacksRef:
|
|
376
|
+
callbacksRef: RefObject<CallbacksConfig | undefined>;
|
|
377
377
|
updateCallbacks: (updates: Partial<CallbacksConfig> | null) => void;
|
|
378
378
|
}
|
|
379
379
|
interface ProviderProps {
|
|
@@ -2283,6 +2283,15 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2283
2283
|
next: string;
|
|
2284
2284
|
prev: string;
|
|
2285
2285
|
page: string;
|
|
2286
|
+
details: string;
|
|
2287
|
+
loading: string;
|
|
2288
|
+
loadMore: string;
|
|
2289
|
+
max: string;
|
|
2290
|
+
min: string;
|
|
2291
|
+
search: string;
|
|
2292
|
+
select: string;
|
|
2293
|
+
selectAll: string;
|
|
2294
|
+
selectNone: string;
|
|
2286
2295
|
errors: {
|
|
2287
2296
|
oops: string;
|
|
2288
2297
|
};
|
|
@@ -2411,6 +2420,12 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2411
2420
|
selectPaymentMode: string;
|
|
2412
2421
|
enterAmount: string;
|
|
2413
2422
|
purchaseSummary: string;
|
|
2423
|
+
actions: {
|
|
2424
|
+
limitsCheck: string;
|
|
2425
|
+
estimateFees: string;
|
|
2426
|
+
estimatiing: string;
|
|
2427
|
+
confirmPurchase: string;
|
|
2428
|
+
};
|
|
2414
2429
|
summary: {
|
|
2415
2430
|
youPay: string;
|
|
2416
2431
|
youReceive: string;
|
|
@@ -2597,6 +2612,15 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2597
2612
|
next: string;
|
|
2598
2613
|
prev: string;
|
|
2599
2614
|
page: string;
|
|
2615
|
+
details: string;
|
|
2616
|
+
loading: string;
|
|
2617
|
+
loadMore: string;
|
|
2618
|
+
max: string;
|
|
2619
|
+
min: string;
|
|
2620
|
+
search: string;
|
|
2621
|
+
select: string;
|
|
2622
|
+
selectAll: string;
|
|
2623
|
+
selectNone: string;
|
|
2600
2624
|
errors: {
|
|
2601
2625
|
oops: string;
|
|
2602
2626
|
};
|
|
@@ -2725,6 +2749,12 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2725
2749
|
selectPaymentMode: string;
|
|
2726
2750
|
enterAmount: string;
|
|
2727
2751
|
purchaseSummary: string;
|
|
2752
|
+
actions: {
|
|
2753
|
+
limitsCheck: string;
|
|
2754
|
+
estimateFees: string;
|
|
2755
|
+
estimatiing: string;
|
|
2756
|
+
confirmPurchase: string;
|
|
2757
|
+
};
|
|
2728
2758
|
summary: {
|
|
2729
2759
|
youPay: string;
|
|
2730
2760
|
youReceive: string;
|
|
@@ -2911,6 +2941,15 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2911
2941
|
next: string;
|
|
2912
2942
|
prev: string;
|
|
2913
2943
|
page: string;
|
|
2944
|
+
details: string;
|
|
2945
|
+
loading: string;
|
|
2946
|
+
loadMore: string;
|
|
2947
|
+
max: string;
|
|
2948
|
+
min: string;
|
|
2949
|
+
search: string;
|
|
2950
|
+
select: string;
|
|
2951
|
+
selectAll: string;
|
|
2952
|
+
selectNone: string;
|
|
2914
2953
|
errors: {
|
|
2915
2954
|
oops: string;
|
|
2916
2955
|
};
|
|
@@ -3039,6 +3078,12 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
3039
3078
|
selectPaymentMode: string;
|
|
3040
3079
|
enterAmount: string;
|
|
3041
3080
|
purchaseSummary: string;
|
|
3081
|
+
actions: {
|
|
3082
|
+
limitsCheck: string;
|
|
3083
|
+
estimateFees: string;
|
|
3084
|
+
estimatiing: string;
|
|
3085
|
+
confirmPurchase: string;
|
|
3086
|
+
};
|
|
3042
3087
|
summary: {
|
|
3043
3088
|
youPay: string;
|
|
3044
3089
|
youReceive: string;
|