@embarkai/ui-kit 0.4.75 → 0.4.76
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 +10 -9
- package/dist/index.js +10 -9
- package/package.json +1 -1
package/dist/iframe/index.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<meta http-equiv="X-Content-Type-Options" content="nosniff" />
|
|
16
16
|
<meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
|
|
17
17
|
|
|
18
|
-
<title>EmbarkAI Secure Wallet - iframe version 0.4.
|
|
18
|
+
<title>EmbarkAI Secure Wallet - iframe version 0.4.76</title>
|
|
19
19
|
|
|
20
20
|
<!-- Styles will be injected by build process -->
|
|
21
21
|
<style>
|
package/dist/iframe/main.js
CHANGED
|
@@ -6414,7 +6414,7 @@ var SigningManager = class extends TokenRefreshApiClient {
|
|
|
6414
6414
|
};
|
|
6415
6415
|
|
|
6416
6416
|
// src/iframe/main.ts
|
|
6417
|
-
var IFRAME_VERSION = "0.4.
|
|
6417
|
+
var IFRAME_VERSION = "0.4.76";
|
|
6418
6418
|
var IframeWallet = class {
|
|
6419
6419
|
constructor() {
|
|
6420
6420
|
__publicField(this, "messenger");
|
package/dist/index.cjs
CHANGED
|
@@ -9390,8 +9390,9 @@ function OnboardingOverlay() {
|
|
|
9390
9390
|
onboarder.endTour();
|
|
9391
9391
|
},
|
|
9392
9392
|
className: cn(
|
|
9393
|
-
"
|
|
9394
|
-
|
|
9393
|
+
"text-[var(--ui-kit-success)]",
|
|
9394
|
+
"absolute top-2 right-2 text-[10px]"
|
|
9395
|
+
// colorMode === 'dark' ? 'text-[var(--ui-kit-fg-inverted)]' : 'text-[var(--ui-kit-fg)]'
|
|
9395
9396
|
),
|
|
9396
9397
|
children: t("passport:common.hide")
|
|
9397
9398
|
}
|
|
@@ -10784,7 +10785,7 @@ function BinanceSummary(props) {
|
|
|
10784
10785
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("span", { className: "font-bold", children: [
|
|
10785
10786
|
formatPrice(srcQueryAmount),
|
|
10786
10787
|
" ",
|
|
10787
|
-
selectedFiat
|
|
10788
|
+
selectedFiat?.toUpperCase()
|
|
10788
10789
|
] })
|
|
10789
10790
|
] }),
|
|
10790
10791
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex justify-between text-xs leading-5", children: [
|
|
@@ -10792,7 +10793,7 @@ function BinanceSummary(props) {
|
|
|
10792
10793
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("span", { className: "font-bold", children: [
|
|
10793
10794
|
formatPrice(cryptoToRecieve),
|
|
10794
10795
|
" ",
|
|
10795
|
-
selectedCrypto
|
|
10796
|
+
selectedCrypto?.toUpperCase()
|
|
10796
10797
|
] })
|
|
10797
10798
|
] }),
|
|
10798
10799
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Highlight, { type: "info", className: "", children: [
|
|
@@ -10831,7 +10832,7 @@ function BinanceSummary(props) {
|
|
|
10831
10832
|
!!quoteData?.totalAmount && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("strong", { children: [
|
|
10832
10833
|
formatPrice(Number(quoteData.totalAmount)),
|
|
10833
10834
|
" ",
|
|
10834
|
-
selectedCrypto
|
|
10835
|
+
selectedCrypto?.toUpperCase()
|
|
10835
10836
|
] })
|
|
10836
10837
|
]
|
|
10837
10838
|
}
|
|
@@ -11074,7 +11075,7 @@ function BinanceTxHistoryItem(props) {
|
|
|
11074
11075
|
} = txPayload || {};
|
|
11075
11076
|
const statusInfo = STATUS_CODE_TO_MESSAGE[txStatus];
|
|
11076
11077
|
const badgeVariant = getStatusVariant(txStatus);
|
|
11077
|
-
const TokenIcon = TOKENS_ICONS[cryptoCurrency
|
|
11078
|
+
const TokenIcon = TOKENS_ICONS[cryptoCurrency?.toUpperCase()] || TOKENS_ICONS["EMBARKAI"];
|
|
11078
11079
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
11079
11080
|
"div",
|
|
11080
11081
|
{
|
|
@@ -11417,8 +11418,8 @@ function Binance() {
|
|
|
11417
11418
|
const minimumAmountWarningMsg = srcInputAmount < fiatMinimum ? (
|
|
11418
11419
|
// @ts-expect-error i18n typings
|
|
11419
11420
|
t("passport:buyMenu.inputPlaceholder.providerMin", {
|
|
11420
|
-
minimum: fiatMinimum
|
|
11421
|
-
currency: selectedFiat
|
|
11421
|
+
minimum: fiatMinimum?.toFixed(2),
|
|
11422
|
+
currency: selectedFiat?.toUpperCase(),
|
|
11422
11423
|
provider: "BINANCE CONNECT"
|
|
11423
11424
|
})
|
|
11424
11425
|
) : void 0;
|
|
@@ -26338,7 +26339,7 @@ var init_package = __esm({
|
|
|
26338
26339
|
"package.json"() {
|
|
26339
26340
|
package_default = {
|
|
26340
26341
|
name: "@embarkai/ui-kit",
|
|
26341
|
-
version: "0.4.
|
|
26342
|
+
version: "0.4.76",
|
|
26342
26343
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
26343
26344
|
type: "module",
|
|
26344
26345
|
main: "./dist/index.cjs",
|
package/dist/index.js
CHANGED
|
@@ -9365,8 +9365,9 @@ function OnboardingOverlay() {
|
|
|
9365
9365
|
onboarder.endTour();
|
|
9366
9366
|
},
|
|
9367
9367
|
className: cn(
|
|
9368
|
-
"
|
|
9369
|
-
|
|
9368
|
+
"text-[var(--ui-kit-success)]",
|
|
9369
|
+
"absolute top-2 right-2 text-[10px]"
|
|
9370
|
+
// colorMode === 'dark' ? 'text-[var(--ui-kit-fg-inverted)]' : 'text-[var(--ui-kit-fg)]'
|
|
9370
9371
|
),
|
|
9371
9372
|
children: t("passport:common.hide")
|
|
9372
9373
|
}
|
|
@@ -10752,7 +10753,7 @@ function BinanceSummary(props) {
|
|
|
10752
10753
|
/* @__PURE__ */ jsxs33("span", { className: "font-bold", children: [
|
|
10753
10754
|
formatPrice(srcQueryAmount),
|
|
10754
10755
|
" ",
|
|
10755
|
-
selectedFiat
|
|
10756
|
+
selectedFiat?.toUpperCase()
|
|
10756
10757
|
] })
|
|
10757
10758
|
] }),
|
|
10758
10759
|
/* @__PURE__ */ jsxs33("div", { className: "flex justify-between text-xs leading-5", children: [
|
|
@@ -10760,7 +10761,7 @@ function BinanceSummary(props) {
|
|
|
10760
10761
|
/* @__PURE__ */ jsxs33("span", { className: "font-bold", children: [
|
|
10761
10762
|
formatPrice(cryptoToRecieve),
|
|
10762
10763
|
" ",
|
|
10763
|
-
selectedCrypto
|
|
10764
|
+
selectedCrypto?.toUpperCase()
|
|
10764
10765
|
] })
|
|
10765
10766
|
] }),
|
|
10766
10767
|
/* @__PURE__ */ jsxs33(Highlight, { type: "info", className: "", children: [
|
|
@@ -10799,7 +10800,7 @@ function BinanceSummary(props) {
|
|
|
10799
10800
|
!!quoteData?.totalAmount && /* @__PURE__ */ jsxs33("strong", { children: [
|
|
10800
10801
|
formatPrice(Number(quoteData.totalAmount)),
|
|
10801
10802
|
" ",
|
|
10802
|
-
selectedCrypto
|
|
10803
|
+
selectedCrypto?.toUpperCase()
|
|
10803
10804
|
] })
|
|
10804
10805
|
]
|
|
10805
10806
|
}
|
|
@@ -11043,7 +11044,7 @@ function BinanceTxHistoryItem(props) {
|
|
|
11043
11044
|
} = txPayload || {};
|
|
11044
11045
|
const statusInfo = STATUS_CODE_TO_MESSAGE[txStatus];
|
|
11045
11046
|
const badgeVariant = getStatusVariant(txStatus);
|
|
11046
|
-
const TokenIcon = TOKENS_ICONS[cryptoCurrency
|
|
11047
|
+
const TokenIcon = TOKENS_ICONS[cryptoCurrency?.toUpperCase()] || TOKENS_ICONS["EMBARKAI"];
|
|
11047
11048
|
return /* @__PURE__ */ jsxs34(
|
|
11048
11049
|
"div",
|
|
11049
11050
|
{
|
|
@@ -11383,8 +11384,8 @@ function Binance() {
|
|
|
11383
11384
|
const minimumAmountWarningMsg = srcInputAmount < fiatMinimum ? (
|
|
11384
11385
|
// @ts-expect-error i18n typings
|
|
11385
11386
|
t("passport:buyMenu.inputPlaceholder.providerMin", {
|
|
11386
|
-
minimum: fiatMinimum
|
|
11387
|
-
currency: selectedFiat
|
|
11387
|
+
minimum: fiatMinimum?.toFixed(2),
|
|
11388
|
+
currency: selectedFiat?.toUpperCase(),
|
|
11388
11389
|
provider: "BINANCE CONNECT"
|
|
11389
11390
|
})
|
|
11390
11391
|
) : void 0;
|
|
@@ -26244,7 +26245,7 @@ var init_package = __esm({
|
|
|
26244
26245
|
"package.json"() {
|
|
26245
26246
|
package_default = {
|
|
26246
26247
|
name: "@embarkai/ui-kit",
|
|
26247
|
-
version: "0.4.
|
|
26248
|
+
version: "0.4.76",
|
|
26248
26249
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
26249
26250
|
type: "module",
|
|
26250
26251
|
main: "./dist/index.cjs",
|