@orangecheck/auth-client 2.10.0 → 2.11.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/dist/index.js +23 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1092,13 +1092,14 @@ function LinkPromptStep({
|
|
|
1092
1092
|
authOrigin,
|
|
1093
1093
|
onResolved
|
|
1094
1094
|
}) {
|
|
1095
|
+
const what = method === "btc" ? "a Bitcoin address" : "an email";
|
|
1095
1096
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-oc-linkprompt": method, children: [
|
|
1096
1097
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { ...panelStyle("success"), marginBottom: 16 }, children: [
|
|
1097
1098
|
/* @__PURE__ */ jsxRuntime.jsx(SectionLabel, { tone: "success", children: "\xA7 signed in" }),
|
|
1098
1099
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { style: { ...bodyStyle, margin: 0 }, children: [
|
|
1099
|
-
"You
|
|
1100
|
-
|
|
1101
|
-
" \u2014
|
|
1100
|
+
"You chose to also link ",
|
|
1101
|
+
what,
|
|
1102
|
+
". Complete it below \u2014 or skip for now; it is entirely optional and changes nothing about the sign-in you just completed."
|
|
1102
1103
|
] })
|
|
1103
1104
|
] }),
|
|
1104
1105
|
method === "btc" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1109,7 +1110,25 @@ function LinkPromptStep({
|
|
|
1109
1110
|
onDone: onResolved,
|
|
1110
1111
|
onCancel: onResolved
|
|
1111
1112
|
}
|
|
1112
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(EmailLinkForm, { authOrigin, onDone: onResolved, onCancel: onResolved })
|
|
1113
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(EmailLinkForm, { authOrigin, onDone: onResolved, onCancel: onResolved }),
|
|
1114
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1115
|
+
"div",
|
|
1116
|
+
{
|
|
1117
|
+
"data-oc-linkprompt-skip": "",
|
|
1118
|
+
style: { marginTop: 14, paddingTop: 14, borderTop: `1px solid ${V.border}` },
|
|
1119
|
+
children: [
|
|
1120
|
+
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: onResolved, style: ghostBtnStyle(false), children: "skip \u2014 I'll do this later" }),
|
|
1121
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { style: { ...hintStyle, marginTop: 8 }, children: [
|
|
1122
|
+
"> ",
|
|
1123
|
+
"Changed your mind? Skipping continues you straight on \u2014 your sign-in is unaffected. You can link ",
|
|
1124
|
+
what,
|
|
1125
|
+
" anytime later from your identity page,",
|
|
1126
|
+
" ",
|
|
1127
|
+
"me.ochk.io/me/identity."
|
|
1128
|
+
] })
|
|
1129
|
+
]
|
|
1130
|
+
}
|
|
1131
|
+
)
|
|
1113
1132
|
] });
|
|
1114
1133
|
}
|
|
1115
1134
|
function EmailLinkForm({
|