@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 CHANGED
@@ -889,7 +889,8 @@ function OcLinkedIdentities({
889
889
  onDone: afterChange,
890
890
  onCancel: () => setShowBtcLink(false)
891
891
  }
892
- )
892
+ ),
893
+ hasBtc && /* @__PURE__ */ jsxRuntime.jsx(AttestationLink, {})
893
894
  ] });
894
895
  }
895
896
  function IdentityGroup({
@@ -1068,6 +1069,23 @@ function ConsolidationPanel({ entries }) {
1068
1069
  )) })
1069
1070
  ] });
1070
1071
  }
1072
+ function AttestationLink() {
1073
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: panelStyle(), "data-oc-li-attest": "", children: [
1074
+ /* @__PURE__ */ jsxRuntime.jsx(SectionLabel, { children: "\xA7 portable attestation" }),
1075
+ /* @__PURE__ */ jsxRuntime.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." }),
1076
+ /* @__PURE__ */ jsxRuntime.jsx(
1077
+ "a",
1078
+ {
1079
+ href: "https://attest.ochk.io/create",
1080
+ target: "_blank",
1081
+ rel: "noreferrer",
1082
+ style: { ...primaryChipStyle, textDecoration: "none", display: "inline-block" },
1083
+ "data-oc-li-attest-link": "",
1084
+ children: "open the attestation builder \u2197"
1085
+ }
1086
+ )
1087
+ ] });
1088
+ }
1071
1089
  function EmailLinkForm({
1072
1090
  authOrigin,
1073
1091
  onDone,