@orangecheck/auth-client 2.32.1 → 2.32.3
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/index.js +20 -24
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -24
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1237,10 +1237,7 @@ function OcLinkedIdentities({
|
|
|
1237
1237
|
] });
|
|
1238
1238
|
}
|
|
1239
1239
|
if (!resp) {
|
|
1240
|
-
return /* @__PURE__ */ jsx("div", { className, "data-oc-li": "", style: panelStyle(), children: /* @__PURE__ */
|
|
1241
|
-
"> ",
|
|
1242
|
-
"loading\u2026"
|
|
1243
|
-
] }) });
|
|
1240
|
+
return /* @__PURE__ */ jsx("div", { className, "data-oc-li": "", style: panelStyle(), children: /* @__PURE__ */ jsx("span", { style: hintStyle, children: "loading\u2026" }) });
|
|
1244
1241
|
}
|
|
1245
1242
|
const linked = resp.linked ?? [];
|
|
1246
1243
|
const emailRows = linked.filter((i) => i.kind === "email");
|
|
@@ -1500,6 +1497,7 @@ function AttestationLink() {
|
|
|
1500
1497
|
)
|
|
1501
1498
|
] });
|
|
1502
1499
|
}
|
|
1500
|
+
var ACCOUNT_WAYS_URL = "https://ochk.app/me/account#ways";
|
|
1503
1501
|
function LinkPromptStep({
|
|
1504
1502
|
method,
|
|
1505
1503
|
didOc,
|
|
@@ -1533,12 +1531,22 @@ function LinkPromptStep({
|
|
|
1533
1531
|
children: [
|
|
1534
1532
|
/* @__PURE__ */ jsx("button", { type: "button", onClick: onResolved, style: ghostBtnStyle(false), children: "skip \u2014 I'll do this later" }),
|
|
1535
1533
|
/* @__PURE__ */ jsxs("p", { style: { ...hintStyle, marginTop: 8 }, children: [
|
|
1536
|
-
"> ",
|
|
1537
1534
|
"Changed your mind? Skipping continues you straight on \u2014 your sign-in is unaffected. You can link ",
|
|
1538
1535
|
what,
|
|
1539
|
-
" anytime later from your
|
|
1536
|
+
" anytime later from your account page,",
|
|
1540
1537
|
" ",
|
|
1541
|
-
|
|
1538
|
+
/* @__PURE__ */ jsx(
|
|
1539
|
+
"a",
|
|
1540
|
+
{
|
|
1541
|
+
href: ACCOUNT_WAYS_URL,
|
|
1542
|
+
target: "_blank",
|
|
1543
|
+
rel: "noreferrer",
|
|
1544
|
+
style: { color: "inherit" },
|
|
1545
|
+
"data-oc-linkprompt-account": "",
|
|
1546
|
+
children: "ochk.app/me/account"
|
|
1547
|
+
}
|
|
1548
|
+
),
|
|
1549
|
+
"."
|
|
1542
1550
|
] })
|
|
1543
1551
|
]
|
|
1544
1552
|
}
|
|
@@ -1884,10 +1892,7 @@ function LazyWalletButton(props) {
|
|
|
1884
1892
|
if (failed) {
|
|
1885
1893
|
return /* @__PURE__ */ jsx(ErrorLine, { children: "could not load wallet support \xB7 refresh to try again" });
|
|
1886
1894
|
}
|
|
1887
|
-
if (!Comp) return /* @__PURE__ */
|
|
1888
|
-
"> ",
|
|
1889
|
-
"loading wallet options\u2026"
|
|
1890
|
-
] });
|
|
1895
|
+
if (!Comp) return /* @__PURE__ */ jsx("span", { style: hintStyle, children: "loading wallet options\u2026" });
|
|
1891
1896
|
return /* @__PURE__ */ jsx(Comp, { ...props });
|
|
1892
1897
|
}
|
|
1893
1898
|
function mask(value, kind) {
|
|
@@ -3167,7 +3172,7 @@ function ErrorLine2({ children }) {
|
|
|
3167
3172
|
);
|
|
3168
3173
|
}
|
|
3169
3174
|
function Hint({ children }) {
|
|
3170
|
-
return /* @__PURE__ */
|
|
3175
|
+
return /* @__PURE__ */ jsx(
|
|
3171
3176
|
"p",
|
|
3172
3177
|
{
|
|
3173
3178
|
style: {
|
|
@@ -3178,10 +3183,7 @@ function Hint({ children }) {
|
|
|
3178
3183
|
fontSize: 10.5,
|
|
3179
3184
|
lineHeight: 1.55
|
|
3180
3185
|
},
|
|
3181
|
-
children
|
|
3182
|
-
"> ",
|
|
3183
|
-
children
|
|
3184
|
-
]
|
|
3186
|
+
children
|
|
3185
3187
|
}
|
|
3186
3188
|
);
|
|
3187
3189
|
}
|
|
@@ -3323,10 +3325,7 @@ function OcBond({
|
|
|
3323
3325
|
] });
|
|
3324
3326
|
}
|
|
3325
3327
|
if (bond === void 0) {
|
|
3326
|
-
return /* @__PURE__ */ jsx("div", { className, "data-oc-bond": "", style: panelStyle(), children: /* @__PURE__ */
|
|
3327
|
-
"> ",
|
|
3328
|
-
"reading your backing\u2026"
|
|
3329
|
-
] }) });
|
|
3328
|
+
return /* @__PURE__ */ jsx("div", { className, "data-oc-bond": "", style: panelStyle(), children: /* @__PURE__ */ jsx("span", { style: hintStyle, children: "reading your backing\u2026" }) });
|
|
3330
3329
|
}
|
|
3331
3330
|
return /* @__PURE__ */ jsxs("div", { className, "data-oc-bond": "", style: { display: "grid", gap: 16 }, children: [
|
|
3332
3331
|
bond && !adding ? /* @__PURE__ */ jsxs("div", { style: panelStyle("success"), children: [
|
|
@@ -3423,10 +3422,7 @@ function OcBond({
|
|
|
3423
3422
|
}
|
|
3424
3423
|
}
|
|
3425
3424
|
) : null,
|
|
3426
|
-
/* @__PURE__ */
|
|
3427
|
-
"> ",
|
|
3428
|
-
"apps see only rough floors, like \u201Cat least 100,000 sats, held 30 days or more\u201D, and a number unique to that app. never the coin, your address or your balance. an app can block that number; only moving the coin gets past it, and a moved coin starts its age again."
|
|
3429
|
-
] })
|
|
3425
|
+
/* @__PURE__ */ jsx("p", { style: explainerStyle, children: "Apps see only rough floors, like \u201Cat least 100,000 sats, held 30 days or more\u201D, and a number unique to that app. Never the coin, your address or your balance. An app can block that number; only moving the coin gets past it, and a moved coin starts its age again." })
|
|
3430
3426
|
] });
|
|
3431
3427
|
}
|
|
3432
3428
|
function BondForm({
|