@orangecheck/auth-client 2.6.0 → 2.8.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 +19 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -867,7 +867,8 @@ function OcLinkedIdentities({
|
|
|
867
867
|
onDone: afterChange,
|
|
868
868
|
onCancel: () => setShowBtcLink(false)
|
|
869
869
|
}
|
|
870
|
-
)
|
|
870
|
+
),
|
|
871
|
+
hasBtc && /* @__PURE__ */ jsx(AttestationLink, {})
|
|
871
872
|
] });
|
|
872
873
|
}
|
|
873
874
|
function IdentityGroup({
|
|
@@ -1046,6 +1047,23 @@ function ConsolidationPanel({ entries }) {
|
|
|
1046
1047
|
)) })
|
|
1047
1048
|
] });
|
|
1048
1049
|
}
|
|
1050
|
+
function AttestationLink() {
|
|
1051
|
+
return /* @__PURE__ */ jsxs("div", { style: panelStyle(), "data-oc-li-attest": "", children: [
|
|
1052
|
+
/* @__PURE__ */ jsx(SectionLabel, { children: "\xA7 portable attestation" }),
|
|
1053
|
+
/* @__PURE__ */ jsx("p", { style: bodyStyle, children: "Make your identity links portable: publish a standard OrangeCheck attestation \u2014 one Bitcoin-wallet signature (BIP-322) binding your address to your handles (Nostr, GitHub, \u2026). It is published to Nostr and verifies with zero trust in OrangeCheck, so it outlives any single service." }),
|
|
1054
|
+
/* @__PURE__ */ jsx(
|
|
1055
|
+
"a",
|
|
1056
|
+
{
|
|
1057
|
+
href: "https://attest.ochk.io/create",
|
|
1058
|
+
target: "_blank",
|
|
1059
|
+
rel: "noreferrer",
|
|
1060
|
+
style: { ...primaryChipStyle, textDecoration: "none", display: "inline-block" },
|
|
1061
|
+
"data-oc-li-attest-link": "",
|
|
1062
|
+
children: "open the attestation builder \u2197"
|
|
1063
|
+
}
|
|
1064
|
+
)
|
|
1065
|
+
] });
|
|
1066
|
+
}
|
|
1049
1067
|
function EmailLinkForm({
|
|
1050
1068
|
authOrigin,
|
|
1051
1069
|
onDone,
|