@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.js
CHANGED
|
@@ -1259,10 +1259,7 @@ function OcLinkedIdentities({
|
|
|
1259
1259
|
] });
|
|
1260
1260
|
}
|
|
1261
1261
|
if (!resp) {
|
|
1262
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className, "data-oc-li": "", style: panelStyle(), children: /* @__PURE__ */ jsxRuntime.
|
|
1263
|
-
"> ",
|
|
1264
|
-
"loading\u2026"
|
|
1265
|
-
] }) });
|
|
1262
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className, "data-oc-li": "", style: panelStyle(), children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: hintStyle, children: "loading\u2026" }) });
|
|
1266
1263
|
}
|
|
1267
1264
|
const linked = resp.linked ?? [];
|
|
1268
1265
|
const emailRows = linked.filter((i) => i.kind === "email");
|
|
@@ -1522,6 +1519,7 @@ function AttestationLink() {
|
|
|
1522
1519
|
)
|
|
1523
1520
|
] });
|
|
1524
1521
|
}
|
|
1522
|
+
var ACCOUNT_WAYS_URL = "https://ochk.app/me/account#ways";
|
|
1525
1523
|
function LinkPromptStep({
|
|
1526
1524
|
method,
|
|
1527
1525
|
didOc,
|
|
@@ -1555,12 +1553,22 @@ function LinkPromptStep({
|
|
|
1555
1553
|
children: [
|
|
1556
1554
|
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: onResolved, style: ghostBtnStyle(false), children: "skip \u2014 I'll do this later" }),
|
|
1557
1555
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { style: { ...hintStyle, marginTop: 8 }, children: [
|
|
1558
|
-
"> ",
|
|
1559
1556
|
"Changed your mind? Skipping continues you straight on \u2014 your sign-in is unaffected. You can link ",
|
|
1560
1557
|
what,
|
|
1561
|
-
" anytime later from your
|
|
1558
|
+
" anytime later from your account page,",
|
|
1562
1559
|
" ",
|
|
1563
|
-
|
|
1560
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1561
|
+
"a",
|
|
1562
|
+
{
|
|
1563
|
+
href: ACCOUNT_WAYS_URL,
|
|
1564
|
+
target: "_blank",
|
|
1565
|
+
rel: "noreferrer",
|
|
1566
|
+
style: { color: "inherit" },
|
|
1567
|
+
"data-oc-linkprompt-account": "",
|
|
1568
|
+
children: "ochk.app/me/account"
|
|
1569
|
+
}
|
|
1570
|
+
),
|
|
1571
|
+
"."
|
|
1564
1572
|
] })
|
|
1565
1573
|
]
|
|
1566
1574
|
}
|
|
@@ -1906,10 +1914,7 @@ function LazyWalletButton(props) {
|
|
|
1906
1914
|
if (failed) {
|
|
1907
1915
|
return /* @__PURE__ */ jsxRuntime.jsx(ErrorLine, { children: "could not load wallet support \xB7 refresh to try again" });
|
|
1908
1916
|
}
|
|
1909
|
-
if (!Comp) return /* @__PURE__ */ jsxRuntime.
|
|
1910
|
-
"> ",
|
|
1911
|
-
"loading wallet options\u2026"
|
|
1912
|
-
] });
|
|
1917
|
+
if (!Comp) return /* @__PURE__ */ jsxRuntime.jsx("span", { style: hintStyle, children: "loading wallet options\u2026" });
|
|
1913
1918
|
return /* @__PURE__ */ jsxRuntime.jsx(Comp, { ...props });
|
|
1914
1919
|
}
|
|
1915
1920
|
function mask(value, kind) {
|
|
@@ -3189,7 +3194,7 @@ function ErrorLine2({ children }) {
|
|
|
3189
3194
|
);
|
|
3190
3195
|
}
|
|
3191
3196
|
function Hint({ children }) {
|
|
3192
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
3197
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3193
3198
|
"p",
|
|
3194
3199
|
{
|
|
3195
3200
|
style: {
|
|
@@ -3200,10 +3205,7 @@ function Hint({ children }) {
|
|
|
3200
3205
|
fontSize: 10.5,
|
|
3201
3206
|
lineHeight: 1.55
|
|
3202
3207
|
},
|
|
3203
|
-
children
|
|
3204
|
-
"> ",
|
|
3205
|
-
children
|
|
3206
|
-
]
|
|
3208
|
+
children
|
|
3207
3209
|
}
|
|
3208
3210
|
);
|
|
3209
3211
|
}
|
|
@@ -3345,10 +3347,7 @@ function OcBond({
|
|
|
3345
3347
|
] });
|
|
3346
3348
|
}
|
|
3347
3349
|
if (bond === void 0) {
|
|
3348
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className, "data-oc-bond": "", style: panelStyle(), children: /* @__PURE__ */ jsxRuntime.
|
|
3349
|
-
"> ",
|
|
3350
|
-
"reading your backing\u2026"
|
|
3351
|
-
] }) });
|
|
3350
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className, "data-oc-bond": "", style: panelStyle(), children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: hintStyle, children: "reading your backing\u2026" }) });
|
|
3352
3351
|
}
|
|
3353
3352
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className, "data-oc-bond": "", style: { display: "grid", gap: 16 }, children: [
|
|
3354
3353
|
bond && !adding ? /* @__PURE__ */ jsxRuntime.jsxs("div", { style: panelStyle("success"), children: [
|
|
@@ -3445,10 +3444,7 @@ function OcBond({
|
|
|
3445
3444
|
}
|
|
3446
3445
|
}
|
|
3447
3446
|
) : null,
|
|
3448
|
-
/* @__PURE__ */ jsxRuntime.
|
|
3449
|
-
"> ",
|
|
3450
|
-
"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."
|
|
3451
|
-
] })
|
|
3447
|
+
/* @__PURE__ */ jsxRuntime.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." })
|
|
3452
3448
|
] });
|
|
3453
3449
|
}
|
|
3454
3450
|
function BondForm({
|