ns-auth-sdk 1.2.6 → 1.3.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/README.md +33 -16
- package/dist/index.cjs +1397 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +115 -16
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +289 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +232 -157
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +1342 -1206
- package/dist/index.mjs.map +1 -1
- package/dist/utils-BR2TqhEA.cjs +3 -0
- package/dist/utils-BVvtCpMQ.mjs +3 -0
- package/dist/utils-CV_lg5Ir.mjs +492 -0
- package/dist/utils-CV_lg5Ir.mjs.map +1 -0
- package/dist/utils-CxLeFzNn.cjs +528 -0
- package/dist/utils-CxLeFzNn.cjs.map +1 -0
- package/package.json +18 -17
- package/dist/index.d.ts +0 -214
- package/dist/index.js +0 -1234
- package/dist/index.js.map +0 -1
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/auth/Auth.css","../src/components/membership/Membership.css","../src/components/profile/Profile.css"],"sourcesContent":[".auth-container {\n display: flex !important;\n justify-content: center !important;\n align-items: flex-start !important;\n min-height: calc(100vh - 200px) !important;\n padding: 2rem !important;\n margin-top: 2rem !important;\n width: 100% !important;\n}\n\n.auth-card {\n background: white !important;\n border-radius: 12px !important;\n padding: 3rem !important;\n max-width: 520px !important;\n width: 100% !important;\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;\n border: 1px solid #e5e7eb !important;\n margin: 0 auto !important;\n}\n\n.auth-card h1 {\n font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;\n margin: 0 0 1rem 0;\n font-size: 2rem;\n font-weight: 700;\n color: #1a1a1a;\n letter-spacing: -0.03em;\n line-height: 1.2;\n}\n\n.auth-description {\n color: #666;\n margin-bottom: 2rem;\n line-height: 1.6;\n font-size: 0.9375rem;\n}\n\n.auth-features {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n margin-bottom: 2rem;\n}\n\n.feature-item {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n color: #444;\n}\n\n.feature-icon {\n font-size: 1.5rem;\n}\n\n.username-section {\n margin-bottom: 1.5rem;\n}\n\n.username-label {\n display: block;\n color: #444;\n font-size: 0.875rem;\n font-weight: 500;\n margin-bottom: 0.5rem;\n}\n\n.username-input {\n width: 100%;\n padding: 0.875rem 1rem;\n border: 1px solid #d1d5db;\n border-radius: 8px;\n font-size: 1rem;\n color: #1a1a1a;\n background: white;\n transition: all 0.2s ease;\n box-sizing: border-box;\n}\n\n.username-input:focus {\n outline: none;\n border-color: #2563eb;\n box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);\n}\n\n.username-input:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n background: #f9fafb;\n}\n\n.username-input::placeholder {\n color: #9ca3af;\n}\n\n.auth-button {\n width: 100% !important;\n padding: 0.875rem 1.5rem !important;\n font-size: 1rem !important;\n font-weight: 600 !important;\n border: none !important;\n border-radius: 8px !important;\n cursor: pointer !important;\n transition: all 0.2s ease !important;\n /* Override global button styles */\n background-color: transparent !important;\n color: inherit !important;\n font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;\n}\n\n.auth-button.primary {\n background: #2563eb !important;\n background-color: #2563eb !important;\n color: white !important;\n border: none !important;\n border-color: transparent !important;\n}\n\n.auth-button.primary:hover:not(:disabled) {\n background: #1d4ed8 !important;\n background-color: #1d4ed8 !important;\n}\n\n.auth-button.secondary {\n background: #f3f4f6;\n color: #1a1a1a;\n}\n\n.auth-button.secondary:hover:not(:disabled) {\n background: #e5e7eb;\n}\n\n.auth-button:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.loading-state,\n.success-state {\n text-align: center;\n padding: 2rem 0;\n}\n\n.spinner {\n width: 48px;\n height: 48px;\n border: 4px solid #e5e7eb;\n border-top-color: #2563eb;\n border-radius: 50%;\n animation: spin 1s linear infinite;\n margin: 0 auto 1rem;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n.loading-hint {\n color: #666;\n font-size: 0.875rem;\n margin-top: 0.5rem;\n}\n\n.loading-hint-small {\n color: #888;\n font-size: 0.75rem;\n margin-top: 0.75rem;\n max-width: 400px;\n line-height: 1.4;\n}\n\n.success-icon {\n width: 64px;\n height: 64px;\n background: #10b981;\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 2rem;\n font-weight: bold;\n margin: 0 auto 1rem;\n}\n\n.success-state p {\n margin: 0.5rem 0;\n color: #1a1a1a;\n}\n\n.success-hint {\n color: #666;\n font-size: 0.875rem;\n}\n\n.error-message {\n background: #fee2e2;\n color: #991b1b;\n padding: 0.875rem;\n border-radius: 6px;\n margin-bottom: 1rem;\n font-size: 0.875rem;\n}\n\n.error-message::selection {\n background: #dc2626;\n color: #ffffff;\n}\n\n.error-message::-moz-selection {\n background: #dc2626;\n color: #ffffff;\n}\n\n.error-message.small {\n font-size: 0.75rem;\n padding: 0.5rem;\n margin-bottom: 0.5rem;\n}\n\n.login-button-container {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 0.5rem;\n}\n\n",".membership-container {\n display: flex;\n justify-content: center;\n padding: 2rem;\n min-height: 60vh;\n}\n\n.membership-card {\n background: white;\n border-radius: 12px;\n padding: 2.5rem;\n max-width: 900px;\n width: 100%;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.membership-card h1 {\n margin: 0 0 1rem 0;\n font-size: 2rem;\n color: #1a1a1a;\n}\n\n.membership-description {\n color: #666;\n margin-bottom: 2rem;\n line-height: 1.6;\n}\n\n.save-message {\n padding: 0.875rem;\n border-radius: 6px;\n font-size: 0.875rem;\n margin-bottom: 1.5rem;\n}\n\n.save-message.success {\n background: #d1fae5;\n color: #065f46;\n}\n\n.save-message.error {\n background: #fee2e2;\n color: #991b1b;\n}\n\n.search-section,\n.members-section {\n margin-bottom: 3rem;\n padding-bottom: 2rem;\n border-bottom: 2px solid #e5e7eb;\n}\n\n.members-section:last-child {\n border-bottom: none;\n}\n\n.search-section h2,\n.members-section h2 {\n margin: 0 0 1.5rem 0;\n font-size: 1.5rem;\n color: #1a1a1a;\n}\n\n.search-form {\n display: flex;\n gap: 1rem;\n margin-bottom: 2rem;\n}\n\n.search-input {\n flex: 1;\n padding: 0.75rem;\n border: 2px solid #e5e7eb;\n border-radius: 6px;\n font-size: 1rem;\n font-family: inherit;\n transition: border-color 0.2s ease;\n}\n\n.search-input:focus {\n outline: none;\n border-color: #2563eb;\n}\n\n.search-input:disabled {\n background: #f3f4f6;\n cursor: not-allowed;\n}\n\n.search-button,\n.scanner-toggle {\n padding: 0.75rem 1.5rem;\n font-size: 1rem;\n font-weight: 600;\n background: #2563eb;\n color: white;\n border: none;\n border-radius: 8px;\n cursor: pointer;\n transition: all 0.2s ease;\n}\n\n.search-button:hover:not(:disabled),\n.scanner-toggle:hover:not(:disabled) {\n background: #1d4ed8;\n}\n\n.search-button:disabled,\n.scanner-toggle:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.profiles-list,\n.members-list {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\n.profiles-list h3,\n.members-list h3 {\n margin: 0 0 1rem 0;\n font-size: 1.25rem;\n color: #374151;\n}\n\n.profile-item,\n.member-item {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 1rem;\n padding: 1rem;\n border: 2px solid #e5e7eb;\n border-radius: 8px;\n background: #f9fafb;\n transition: all 0.2s ease;\n}\n\n@media (max-width: 640px) {\n .profile-item,\n .member-item {\n flex-direction: column;\n align-items: stretch;\n text-align: left;\n }\n\n .profile-item .member-button,\n .member-item .member-button {\n width: 100%;\n margin-top: 0.5rem;\n }\n}\n\n@media (max-width: 480px) {\n .search-form {\n flex-direction: column;\n }\n\n .search-input,\n .search-button,\n .scanner-toggle {\n width: 100%;\n }\n\n .search-button,\n .member-button {\n padding: 0.5rem 0.75rem;\n font-size: 0.9rem;\n }\n}\n\n.member-button {\n padding: 0.5rem 1rem;\n font-size: 0.875rem;\n font-weight: 600;\n border: none;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s ease;\n white-space: nowrap;\n}\n\n.profile-item:hover,\n.member-item:hover {\n border-color: #d1d5db;\n background: #f3f4f6;\n}\n\n.profile-info {\n display: flex;\n align-items: center;\n gap: 1rem;\n flex: 1;\n}\n\n.profile-avatar {\n width: 48px;\n height: 48px;\n border-radius: 50%;\n object-fit: cover;\n border: 2px solid #e5e7eb;\n}\n\n.profile-details {\n flex: 1;\n min-width: 0;\n}\n\n.profile-name {\n font-weight: 600;\n color: #1a1a1a;\n margin-bottom: 0.25rem;\n}\n\n.profile-pubkey {\n font-size: 0.875rem;\n color: #6b7280;\n font-family: monospace;\n margin-bottom: 0.25rem;\n}\n\n.profile-about {\n font-size: 0.875rem;\n color: #4b5563;\n margin-top: 0.5rem;\n line-height: 1.4;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n\n.profile-petname {\n font-size: 0.875rem;\n color: #059669;\n margin-top: 0.25rem;\n font-style: italic;\n}\n\n.member-button.add {\n background: #10b981;\n color: white;\n}\n\n.member-button.add:hover:not(:disabled) {\n background: #059669;\n}\n\n.member-button.remove {\n background: #ef4444;\n color: white;\n}\n\n.member-button.remove:hover:not(:disabled) {\n background: #dc2626;\n}\n\n.member-button:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.empty-message {\n color: #6b7280;\n font-style: italic;\n padding: 2rem;\n text-align: center;\n background: #f9fafb;\n border-radius: 8px;\n border: 2px dashed #e5e7eb;\n}\n\n.loading-state {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 4rem 2rem;\n}\n\n.loading-state .spinner {\n width: 48px;\n height: 48px;\n border: 4px solid #e5e7eb;\n border-top-color: #2563eb;\n border-radius: 50%;\n animation: spin 1s linear infinite;\n margin-bottom: 1rem;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n.trust-info {\n margin-bottom: 2rem;\n padding: 1.5rem;\n background: #f0f9ff;\n border-radius: 8px;\n border-left: 4px solid #2563eb;\n}\n\n.trust-info h2 {\n margin: 0 0 1rem 0;\n font-size: 1.25rem;\n color: #1a1a1a;\n}\n\n.trust-info p {\n margin: 0.75rem 0;\n color: #374151;\n line-height: 1.6;\n}\n\n",".profile-container {\n display: flex;\n justify-content: center;\n padding: 2rem;\n min-height: 60vh;\n}\n\n.profile-card {\n background: white;\n border-radius: 12px;\n padding: 2.5rem;\n max-width: 600px;\n width: 100%;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.profile-card h1 {\n margin: 0 0 1rem 0;\n font-size: 2rem;\n color: #1a1a1a;\n}\n\n.profile-description {\n color: #666;\n margin-bottom: 2rem;\n line-height: 1.6;\n}\n\n.profile-form {\n display: flex;\n flex-direction: column;\n gap: 1.5rem;\n}\n\n.form-group {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.form-group label {\n font-weight: 600;\n color: #374151;\n font-size: 0.875rem;\n}\n\n.form-group input,\n.form-group textarea {\n padding: 0.75rem;\n border: 2px solid #e5e7eb;\n border-radius: 6px;\n font-size: 1rem;\n font-family: inherit;\n transition: border-color 0.2s ease;\n}\n\n.form-group input:focus,\n.form-group textarea:focus {\n outline: none;\n border-color: #2563eb;\n}\n\n.form-group textarea {\n resize: vertical;\n min-height: 100px;\n}\n\n.form-actions {\n display: flex;\n gap: 1rem;\n}\n\n.save-button,\n.cancel-button {\n flex: 1;\n padding: 0.875rem 1.5rem;\n font-size: 1rem;\n font-weight: 600;\n border: none;\n border-radius: 8px;\n cursor: pointer;\n transition: all 0.2s ease;\n}\n\n.save-button {\n background: #2563eb;\n color: white;\n}\n\n.save-button:hover:not(:disabled) {\n background: #1d4ed8;\n}\n\n.save-button:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.cancel-button {\n background: #f3f4f6;\n color: #1a1a1a;\n}\n\n.cancel-button:hover {\n background: #e5e7eb;\n}\n\n.save-message {\n padding: 0.875rem;\n border-radius: 6px;\n font-size: 0.875rem;\n}\n\n.save-message.success {\n background: #d1fae5;\n color: #065f46;\n}\n\n.save-message.error {\n background: #fee2e2;\n color: #991b1b;\n}\n\n.loading-state {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 4rem 2rem;\n}\n\n.loading-state .spinner {\n width: 48px;\n height: 48px;\n border: 4px solid #e5e7eb;\n border-top-color: #2563eb;\n border-radius: 50%;\n animation: spin 1s linear infinite;\n margin-bottom: 1rem;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n.personhood-info {\n margin-bottom: 2rem;\n padding: 1.5rem;\n background: #f0f9ff;\n border-radius: 8px;\n border-left: 4px solid #2563eb;\n}\n\n.personhood-info p {\n margin: 0.75rem 0;\n color: #374151;\n line-height: 1.6;\n}\n\n.role-tag-container {\n margin-top: 1rem;\n padding: 1rem;\n background: #f0f9ff;\n border: 2px solid #bae6fd;\n border-radius: 8px;\n animation: fadeIn 0.3s ease-in;\n min-height: 60px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n.role-tag-label {\n font-size: 0.875rem;\n font-weight: 600;\n color: #0369a1;\n margin-bottom: 0.5rem;\n}\n\n.role-tag {\n display: inline-block;\n padding: 0.5rem 1rem;\n background: #2563eb;\n color: white;\n border-radius: 6px;\n font-weight: 600;\n font-size: 0.875rem;\n width: fit-content;\n}\n\n.role-tag-loading {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n}\n\n.role-tag-spinner {\n width: 20px;\n height: 20px;\n border: 2px solid #bae6fd;\n border-top-color: #2563eb;\n border-radius: 50%;\n animation: spin 0.8s linear infinite;\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n"],"mappings":";AAAA,CAAC;AACC,WAAS;AACT,mBAAiB;AACjB,eAAa;AACb,cAAY,KAAK,MAAM,EAAE;AACzB,WAAS;AACT,cAAY;AACZ,SAAO;AACT;AAEA,CAAC;AACC,cAAY;AACZ,iBAAe;AACf,WAAS;AACT,aAAW;AACX,SAAO;AACP,cAAY,EAAE,IAAI,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,IAAI,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AAC5E,UAAQ,IAAI,MAAM;AAClB,UAAQ,EAAE;AACZ;AAEA,CAXC,UAWU;AACT;AAAA,IAAa,OAAO;AAAA,IAAE,aAAa;AAAA,IAAE,kBAAkB;AAAA,IAAE,UAAU;AAAA,IAAE;AACrE,UAAQ,EAAE,EAAE,KAAK;AACjB,aAAW;AACX,eAAa;AACb,SAAO;AACP,kBAAgB;AAChB,eAAa;AACf;AAEA,CAAC;AACC,SAAO;AACP,iBAAe;AACf,eAAa;AACb,aAAW;AACb;AAEA,CAAC;AACC,WAAS;AACT,kBAAgB;AAChB,OAAK;AACL,iBAAe;AACjB;AAEA,CAAC;AACC,WAAS;AACT,eAAa;AACb,OAAK;AACL,SAAO;AACT;AAEA,CAAC;AACC,aAAW;AACb;AAEA,CAAC;AACC,iBAAe;AACjB;AAEA,CAAC;AACC,WAAS;AACT,SAAO;AACP,aAAW;AACX,eAAa;AACb,iBAAe;AACjB;AAEA,CAAC;AACC,SAAO;AACP,WAAS,SAAS;AAClB,UAAQ,IAAI,MAAM;AAClB,iBAAe;AACf,aAAW;AACX,SAAO;AACP,cAAY;AACZ,cAAY,IAAI,KAAK;AACrB,cAAY;AACd;AAEA,CAZC,cAYc;AACb,WAA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b,OAAK;AACP;AAEA,CAAC;AACC,SAAO;AACP,UAAQ;AACR,UAAQ,IAAI,MAAM;AAClB,oBAAkB;AAClB,iBAAe;AACf,aAAW,KAAK,KAAK,OAAO;AAC9B;AAEA,WAxCa;AAyCX;AACE,aAAS;AACT,eAAW,WAAW;AACxB;AACA;AACE,aAAS;AACT,eAAW,WAAW;AACxB;AACF;","names":[]}
|
|
1
|
+
{"version":3,"file":"index.css","names":[],"sources":["../src/components/auth/Auth.css","../src/components/membership/Membership.css","../src/components/profile/Profile.css"],"sourcesContent":[".auth-container {\n display: flex !important;\n justify-content: center !important;\n align-items: flex-start !important;\n min-height: calc(100vh - 200px) !important;\n padding: 2rem !important;\n margin-top: 2rem !important;\n width: 100% !important;\n}\n\n.auth-card {\n background: white !important;\n border-radius: 12px !important;\n padding: 3rem !important;\n max-width: 520px !important;\n width: 100% !important;\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;\n border: 1px solid #e5e7eb !important;\n margin: 0 auto !important;\n}\n\n.auth-card h1 {\n font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;\n margin: 0 0 1rem 0;\n font-size: 2rem;\n font-weight: 700;\n color: #1a1a1a;\n letter-spacing: -0.03em;\n line-height: 1.2;\n}\n\n.auth-description {\n color: #666;\n margin-bottom: 2rem;\n line-height: 1.6;\n font-size: 0.9375rem;\n}\n\n.auth-features {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n margin-bottom: 2rem;\n}\n\n.feature-item {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n color: #444;\n}\n\n.feature-icon {\n font-size: 1.5rem;\n}\n\n.username-section {\n margin-bottom: 1.5rem;\n}\n\n.username-label {\n display: block;\n color: #444;\n font-size: 0.875rem;\n font-weight: 500;\n margin-bottom: 0.5rem;\n}\n\n.username-input {\n width: 100%;\n padding: 0.875rem 1rem;\n border: 1px solid #d1d5db;\n border-radius: 8px;\n font-size: 1rem;\n color: #1a1a1a;\n background: white;\n transition: all 0.2s ease;\n box-sizing: border-box;\n}\n\n.username-input:focus {\n outline: none;\n border-color: #2563eb;\n box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);\n}\n\n.username-input:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n background: #f9fafb;\n}\n\n.username-input::placeholder {\n color: #9ca3af;\n}\n\n.auth-button {\n width: 100% !important;\n padding: 0.875rem 1.5rem !important;\n font-size: 1rem !important;\n font-weight: 600 !important;\n border: none !important;\n border-radius: 8px !important;\n cursor: pointer !important;\n transition: all 0.2s ease !important;\n /* Override global button styles */\n background-color: transparent !important;\n color: inherit !important;\n font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;\n}\n\n.auth-button.primary {\n background: #2563eb !important;\n background-color: #2563eb !important;\n color: white !important;\n border: none !important;\n border-color: transparent !important;\n}\n\n.auth-button.primary:hover:not(:disabled) {\n background: #1d4ed8 !important;\n background-color: #1d4ed8 !important;\n}\n\n.auth-button.secondary {\n background: #f3f4f6;\n color: #1a1a1a;\n}\n\n.auth-button.secondary:hover:not(:disabled) {\n background: #e5e7eb;\n}\n\n.auth-button:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.loading-state,\n.success-state {\n text-align: center;\n padding: 2rem 0;\n}\n\n.spinner {\n width: 48px;\n height: 48px;\n border: 4px solid #e5e7eb;\n border-top-color: #2563eb;\n border-radius: 50%;\n animation: spin 1s linear infinite;\n margin: 0 auto 1rem;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n.loading-hint {\n color: #666;\n font-size: 0.875rem;\n margin-top: 0.5rem;\n}\n\n.loading-hint-small {\n color: #888;\n font-size: 0.75rem;\n margin-top: 0.75rem;\n max-width: 400px;\n line-height: 1.4;\n}\n\n.success-icon {\n width: 64px;\n height: 64px;\n background: #10b981;\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 2rem;\n font-weight: bold;\n margin: 0 auto 1rem;\n}\n\n.success-state p {\n margin: 0.5rem 0;\n color: #1a1a1a;\n}\n\n.success-hint {\n color: #666;\n font-size: 0.875rem;\n}\n\n.error-message {\n background: #fee2e2;\n color: #991b1b;\n padding: 0.875rem;\n border-radius: 6px;\n margin-bottom: 1rem;\n font-size: 0.875rem;\n}\n\n.error-message::selection {\n background: #dc2626;\n color: #ffffff;\n}\n\n.error-message::-moz-selection {\n background: #dc2626;\n color: #ffffff;\n}\n\n.error-message.small {\n font-size: 0.75rem;\n padding: 0.5rem;\n margin-bottom: 0.5rem;\n}\n\n.login-button-container {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 0.5rem;\n}\n\n",".membership-container {\n display: flex;\n justify-content: center;\n padding: 2rem;\n min-height: 60vh;\n}\n\n.membership-card {\n background: white;\n border-radius: 12px;\n padding: 2.5rem;\n max-width: 900px;\n width: 100%;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.membership-card h1 {\n margin: 0 0 1rem 0;\n font-size: 2rem;\n color: #1a1a1a;\n}\n\n.membership-description {\n color: #666;\n margin-bottom: 2rem;\n line-height: 1.6;\n}\n\n.save-message {\n padding: 0.875rem;\n border-radius: 6px;\n font-size: 0.875rem;\n margin-bottom: 1.5rem;\n}\n\n.save-message.success {\n background: #d1fae5;\n color: #065f46;\n}\n\n.save-message.error {\n background: #fee2e2;\n color: #991b1b;\n}\n\n.search-section,\n.members-section {\n margin-bottom: 3rem;\n padding-bottom: 2rem;\n border-bottom: 2px solid #e5e7eb;\n}\n\n.members-section:last-child {\n border-bottom: none;\n}\n\n.search-section h2,\n.members-section h2 {\n margin: 0 0 1.5rem 0;\n font-size: 1.5rem;\n color: #1a1a1a;\n}\n\n.search-form {\n display: flex;\n gap: 1rem;\n margin-bottom: 2rem;\n}\n\n.search-input {\n flex: 1;\n padding: 0.75rem;\n border: 2px solid #e5e7eb;\n border-radius: 6px;\n font-size: 1rem;\n font-family: inherit;\n transition: border-color 0.2s ease;\n}\n\n.search-input:focus {\n outline: none;\n border-color: #2563eb;\n}\n\n.search-input:disabled {\n background: #f3f4f6;\n cursor: not-allowed;\n}\n\n.search-button,\n.scanner-toggle {\n padding: 0.75rem 1.5rem;\n font-size: 1rem;\n font-weight: 600;\n background: #2563eb;\n color: white;\n border: none;\n border-radius: 8px;\n cursor: pointer;\n transition: all 0.2s ease;\n}\n\n.search-button:hover:not(:disabled),\n.scanner-toggle:hover:not(:disabled) {\n background: #1d4ed8;\n}\n\n.search-button:disabled,\n.scanner-toggle:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.profiles-list,\n.members-list {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\n.profiles-list h3,\n.members-list h3 {\n margin: 0 0 1rem 0;\n font-size: 1.25rem;\n color: #374151;\n}\n\n.profile-item,\n.member-item {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 1rem;\n padding: 1rem;\n border: 2px solid #e5e7eb;\n border-radius: 8px;\n background: #f9fafb;\n transition: all 0.2s ease;\n}\n\n@media (max-width: 640px) {\n .profile-item,\n .member-item {\n flex-direction: column;\n align-items: stretch;\n text-align: left;\n }\n\n .profile-item .member-button,\n .member-item .member-button {\n width: 100%;\n margin-top: 0.5rem;\n }\n}\n\n@media (max-width: 480px) {\n .search-form {\n flex-direction: column;\n }\n\n .search-input,\n .search-button,\n .scanner-toggle {\n width: 100%;\n }\n\n .search-button,\n .member-button {\n padding: 0.5rem 0.75rem;\n font-size: 0.9rem;\n }\n}\n\n.member-button {\n padding: 0.5rem 1rem;\n font-size: 0.875rem;\n font-weight: 600;\n border: none;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s ease;\n white-space: nowrap;\n}\n\n.profile-item:hover,\n.member-item:hover {\n border-color: #d1d5db;\n background: #f3f4f6;\n}\n\n.profile-info {\n display: flex;\n align-items: center;\n gap: 1rem;\n flex: 1;\n}\n\n.profile-avatar {\n width: 48px;\n height: 48px;\n border-radius: 50%;\n object-fit: cover;\n border: 2px solid #e5e7eb;\n}\n\n.profile-details {\n flex: 1;\n min-width: 0;\n}\n\n.profile-name {\n font-weight: 600;\n color: #1a1a1a;\n margin-bottom: 0.25rem;\n}\n\n.profile-pubkey {\n font-size: 0.875rem;\n color: #6b7280;\n font-family: monospace;\n margin-bottom: 0.25rem;\n}\n\n.profile-about {\n font-size: 0.875rem;\n color: #4b5563;\n margin-top: 0.5rem;\n line-height: 1.4;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n\n.profile-petname {\n font-size: 0.875rem;\n color: #059669;\n margin-top: 0.25rem;\n font-style: italic;\n}\n\n.member-button.add {\n background: #10b981;\n color: white;\n}\n\n.member-button.add:hover:not(:disabled) {\n background: #059669;\n}\n\n.member-button.remove {\n background: #ef4444;\n color: white;\n}\n\n.member-button.remove:hover:not(:disabled) {\n background: #dc2626;\n}\n\n.member-button:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.empty-message {\n color: #6b7280;\n font-style: italic;\n padding: 2rem;\n text-align: center;\n background: #f9fafb;\n border-radius: 8px;\n border: 2px dashed #e5e7eb;\n}\n\n.loading-state {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 4rem 2rem;\n}\n\n.loading-state .spinner {\n width: 48px;\n height: 48px;\n border: 4px solid #e5e7eb;\n border-top-color: #2563eb;\n border-radius: 50%;\n animation: spin 1s linear infinite;\n margin-bottom: 1rem;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n.trust-info {\n margin-bottom: 2rem;\n padding: 1.5rem;\n background: #f0f9ff;\n border-radius: 8px;\n border-left: 4px solid #2563eb;\n}\n\n.trust-info h2 {\n margin: 0 0 1rem 0;\n font-size: 1.25rem;\n color: #1a1a1a;\n}\n\n.trust-info p {\n margin: 0.75rem 0;\n color: #374151;\n line-height: 1.6;\n}\n\n",".profile-container {\n display: flex;\n justify-content: center;\n padding: 2rem;\n min-height: 60vh;\n}\n\n.profile-card {\n background: white;\n border-radius: 12px;\n padding: 2.5rem;\n max-width: 600px;\n width: 100%;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.profile-card h1 {\n margin: 0 0 1rem 0;\n font-size: 2rem;\n color: #1a1a1a;\n}\n\n.profile-description {\n color: #666;\n margin-bottom: 2rem;\n line-height: 1.6;\n}\n\n.profile-form {\n display: flex;\n flex-direction: column;\n gap: 1.5rem;\n}\n\n.form-group {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.form-group label {\n font-weight: 600;\n color: #374151;\n font-size: 0.875rem;\n}\n\n.form-group input,\n.form-group textarea {\n padding: 0.75rem;\n border: 2px solid #e5e7eb;\n border-radius: 6px;\n font-size: 1rem;\n font-family: inherit;\n transition: border-color 0.2s ease;\n}\n\n.form-group input:focus,\n.form-group textarea:focus {\n outline: none;\n border-color: #2563eb;\n}\n\n.form-group textarea {\n resize: vertical;\n min-height: 100px;\n}\n\n.form-actions {\n display: flex;\n gap: 1rem;\n}\n\n.save-button,\n.cancel-button {\n flex: 1;\n padding: 0.875rem 1.5rem;\n font-size: 1rem;\n font-weight: 600;\n border: none;\n border-radius: 8px;\n cursor: pointer;\n transition: all 0.2s ease;\n}\n\n.save-button {\n background: #2563eb;\n color: white;\n}\n\n.save-button:hover:not(:disabled) {\n background: #1d4ed8;\n}\n\n.save-button:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n\n.cancel-button {\n background: #f3f4f6;\n color: #1a1a1a;\n}\n\n.cancel-button:hover {\n background: #e5e7eb;\n}\n\n.save-message {\n padding: 0.875rem;\n border-radius: 6px;\n font-size: 0.875rem;\n}\n\n.save-message.success {\n background: #d1fae5;\n color: #065f46;\n}\n\n.save-message.error {\n background: #fee2e2;\n color: #991b1b;\n}\n\n.loading-state {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 4rem 2rem;\n}\n\n.loading-state .spinner {\n width: 48px;\n height: 48px;\n border: 4px solid #e5e7eb;\n border-top-color: #2563eb;\n border-radius: 50%;\n animation: spin 1s linear infinite;\n margin-bottom: 1rem;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n.personhood-info {\n margin-bottom: 2rem;\n padding: 1.5rem;\n background: #f0f9ff;\n border-radius: 8px;\n border-left: 4px solid #2563eb;\n}\n\n.personhood-info p {\n margin: 0.75rem 0;\n color: #374151;\n line-height: 1.6;\n}\n\n.role-tag-container {\n margin-top: 1rem;\n padding: 1rem;\n background: #f0f9ff;\n border: 2px solid #bae6fd;\n border-radius: 8px;\n animation: fadeIn 0.3s ease-in;\n min-height: 60px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n.role-tag-label {\n font-size: 0.875rem;\n font-weight: 600;\n color: #0369a1;\n margin-bottom: 0.5rem;\n}\n\n.role-tag {\n display: inline-block;\n padding: 0.5rem 1rem;\n background: #2563eb;\n color: white;\n border-radius: 6px;\n font-weight: 600;\n font-size: 0.875rem;\n width: fit-content;\n}\n\n.role-tag-loading {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n}\n\n.role-tag-spinner {\n width: 20px;\n height: 20px;\n border: 2px solid #bae6fd;\n border-top-color: #2563eb;\n border-radius: 50%;\n animation: spin 0.8s linear infinite;\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;ACpOA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC7TA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { EventStore } from "applesauce-core";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as zustand0 from "zustand";
|
|
4
|
+
|
|
5
|
+
//#region src/utils/types.d.ts
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Type definitions for Nosskey SDK (PRF Direct Usage Only)
|
|
9
|
+
* @packageDocumentation
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Nostr event JSON
|
|
13
|
+
*/
|
|
14
|
+
interface NostrEvent$1 {
|
|
15
|
+
id?: string;
|
|
16
|
+
pubkey?: string;
|
|
17
|
+
created_at?: number;
|
|
18
|
+
kind: number;
|
|
19
|
+
tags?: string[][];
|
|
20
|
+
content: string;
|
|
21
|
+
sig?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Nostr key information (PRF)
|
|
25
|
+
* PWKBlob
|
|
26
|
+
*/
|
|
27
|
+
interface NostrKeyInfo {
|
|
28
|
+
credentialId: string;
|
|
29
|
+
pubkey: string;
|
|
30
|
+
salt: string;
|
|
31
|
+
username?: string;
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/types/auth.d.ts
|
|
35
|
+
/**
|
|
36
|
+
* Authentication state interface
|
|
37
|
+
*/
|
|
38
|
+
interface AuthState {
|
|
39
|
+
isAuthenticated: boolean;
|
|
40
|
+
publicKey: string | null;
|
|
41
|
+
keyInfo: NostrKeyInfo | null;
|
|
42
|
+
loginError: string | null;
|
|
43
|
+
setAuthenticated: (keyInfo: NostrKeyInfo | null) => void;
|
|
44
|
+
setLoginError: (error: string | null) => void;
|
|
45
|
+
logout: () => void;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Auth service configuration
|
|
49
|
+
*/
|
|
50
|
+
interface AuthServiceConfig {
|
|
51
|
+
rpId?: string;
|
|
52
|
+
rpName?: string;
|
|
53
|
+
storageKey?: string;
|
|
54
|
+
cacheTimeoutMs?: number;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Relay service configuration
|
|
58
|
+
*/
|
|
59
|
+
interface RelayServiceConfig {
|
|
60
|
+
relayUrls?: string[];
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/services/auth.service.d.ts
|
|
64
|
+
/**
|
|
65
|
+
* Service wrapper around NosskeyManager
|
|
66
|
+
* Handles WebAuthn/Passkey integration with Nostr
|
|
67
|
+
*/
|
|
68
|
+
declare class AuthService {
|
|
69
|
+
private manager;
|
|
70
|
+
private config;
|
|
71
|
+
constructor(config?: AuthServiceConfig);
|
|
72
|
+
private getDefaultRpName;
|
|
73
|
+
/**
|
|
74
|
+
* Initialize the NosskeyManager instance
|
|
75
|
+
*/
|
|
76
|
+
private getManager;
|
|
77
|
+
/**
|
|
78
|
+
* Create a new passkey
|
|
79
|
+
* Uses platform authenticator only (Touch ID, Face ID, Windows Hello)
|
|
80
|
+
*/
|
|
81
|
+
createPasskey(username?: string): Promise<Uint8Array>;
|
|
82
|
+
/**
|
|
83
|
+
* Create a new Nostr key from a credential ID
|
|
84
|
+
*/
|
|
85
|
+
createNostrKey(credentialId?: Uint8Array): Promise<NostrKeyInfo>;
|
|
86
|
+
/**
|
|
87
|
+
* Get the current public key
|
|
88
|
+
*/
|
|
89
|
+
getPublicKey(): Promise<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Sign a Nostr event
|
|
92
|
+
*/
|
|
93
|
+
signEvent(event: NostrEvent$1): Promise<NostrEvent$1>;
|
|
94
|
+
/**
|
|
95
|
+
* Get current key info
|
|
96
|
+
*/
|
|
97
|
+
getCurrentKeyInfo(): NostrKeyInfo | null;
|
|
98
|
+
/**
|
|
99
|
+
* Set current key info
|
|
100
|
+
*/
|
|
101
|
+
setCurrentKeyInfo(keyInfo: NostrKeyInfo): void;
|
|
102
|
+
/**
|
|
103
|
+
* Check if key info exists
|
|
104
|
+
*/
|
|
105
|
+
hasKeyInfo(): boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Clear stored key info
|
|
108
|
+
*/
|
|
109
|
+
clearStoredKeyInfo(): void;
|
|
110
|
+
/**
|
|
111
|
+
* Check if PRF is supported
|
|
112
|
+
*/
|
|
113
|
+
isPrfSupported(): Promise<boolean>;
|
|
114
|
+
}
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region src/types/nostr.d.ts
|
|
117
|
+
/**
|
|
118
|
+
* Nostr event types
|
|
119
|
+
*/
|
|
120
|
+
interface NostrEvent {
|
|
121
|
+
id?: string;
|
|
122
|
+
pubkey?: string;
|
|
123
|
+
created_at?: number;
|
|
124
|
+
kind: number;
|
|
125
|
+
tags?: string[][];
|
|
126
|
+
content: string;
|
|
127
|
+
sig?: string;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Profile metadata (Kind 0)
|
|
131
|
+
*/
|
|
132
|
+
interface ProfileMetadata {
|
|
133
|
+
name?: string;
|
|
134
|
+
display_name?: string;
|
|
135
|
+
about?: string;
|
|
136
|
+
picture?: string;
|
|
137
|
+
website?: string;
|
|
138
|
+
[key: string]: unknown;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Follow list entry (from Kind 3 tags)
|
|
142
|
+
*/
|
|
143
|
+
interface FollowEntry {
|
|
144
|
+
pubkey: string;
|
|
145
|
+
relay?: string;
|
|
146
|
+
petname?: string;
|
|
147
|
+
}
|
|
148
|
+
//#endregion
|
|
149
|
+
//#region src/services/relay.service.d.ts
|
|
150
|
+
/**
|
|
151
|
+
* Service for communicating with Nostr relays using applesauce-core
|
|
152
|
+
*/
|
|
153
|
+
declare class RelayService {
|
|
154
|
+
private eventStore;
|
|
155
|
+
private relayUrls;
|
|
156
|
+
private defaultRelays;
|
|
157
|
+
private readonly maxProfileContentSize;
|
|
158
|
+
private readonly minProfileQueryIntervalMs;
|
|
159
|
+
private readonly minPublishIntervalMs;
|
|
160
|
+
private readonly lastActionAt;
|
|
161
|
+
constructor(config?: RelayServiceConfig);
|
|
162
|
+
/**
|
|
163
|
+
* Initialize with applesauce EventStore
|
|
164
|
+
*/
|
|
165
|
+
initialize(eventStore: EventStore): void;
|
|
166
|
+
/**
|
|
167
|
+
* Set relay URLs
|
|
168
|
+
*/
|
|
169
|
+
setRelays(urls: string[]): void;
|
|
170
|
+
/**
|
|
171
|
+
* Get current relay URLs
|
|
172
|
+
*/
|
|
173
|
+
getRelays(): string[];
|
|
174
|
+
/**
|
|
175
|
+
* Publish an event to relays
|
|
176
|
+
*/
|
|
177
|
+
publishEvent(event: NostrEvent, timeoutMs?: number): Promise<boolean>;
|
|
178
|
+
/**
|
|
179
|
+
* Fetch a profile (Kind 0 event)
|
|
180
|
+
*/
|
|
181
|
+
fetchProfile(pubkey: string): Promise<ProfileMetadata | null>;
|
|
182
|
+
/**
|
|
183
|
+
* Fetch role tag from profile event (Kind 0)
|
|
184
|
+
*/
|
|
185
|
+
fetchProfileRoleTag(pubkey: string): Promise<string | null>;
|
|
186
|
+
/**
|
|
187
|
+
* Fetch a follow list (Kind 3 event)
|
|
188
|
+
*/
|
|
189
|
+
fetchFollowList(pubkey: string): Promise<FollowEntry[]>;
|
|
190
|
+
/**
|
|
191
|
+
* Fetch multiple profiles in batch
|
|
192
|
+
*/
|
|
193
|
+
fetchMultipleProfiles(pubkeys: string[]): Promise<Map<string, ProfileMetadata>>;
|
|
194
|
+
/**
|
|
195
|
+
* Query kind 0 events (profiles) by pubkey
|
|
196
|
+
* If pubkeys array is empty, fetches recent kind 0 events
|
|
197
|
+
*/
|
|
198
|
+
queryProfiles(pubkeys?: string[], limit?: number): Promise<Map<string, ProfileMetadata>>;
|
|
199
|
+
/**
|
|
200
|
+
* Publish or update a kind 3 event (follow list/contacts)
|
|
201
|
+
*/
|
|
202
|
+
publishFollowList(pubkey: string, followList: FollowEntry[], signEvent: (event: NostrEvent) => Promise<NostrEvent>): Promise<boolean>;
|
|
203
|
+
private validateRelayUrls;
|
|
204
|
+
private parseProfileMetadata;
|
|
205
|
+
private enforceRateLimit;
|
|
206
|
+
}
|
|
207
|
+
//#endregion
|
|
208
|
+
//#region src/components/auth/LoginButton.d.ts
|
|
209
|
+
interface LoginButtonProps {
|
|
210
|
+
authService: AuthService;
|
|
211
|
+
setAuthenticated: AuthState['setAuthenticated'];
|
|
212
|
+
setLoginError: AuthState['setLoginError'];
|
|
213
|
+
onSuccess?: () => void;
|
|
214
|
+
}
|
|
215
|
+
declare function LoginButton({
|
|
216
|
+
authService,
|
|
217
|
+
setAuthenticated,
|
|
218
|
+
setLoginError,
|
|
219
|
+
onSuccess
|
|
220
|
+
}: LoginButtonProps): react_jsx_runtime0.JSX.Element;
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region src/components/auth/RegistrationFlow.d.ts
|
|
223
|
+
interface RegistrationFlowProps {
|
|
224
|
+
authService: AuthService;
|
|
225
|
+
setAuthenticated: AuthState['setAuthenticated'];
|
|
226
|
+
onSuccess?: () => void;
|
|
227
|
+
}
|
|
228
|
+
declare function RegistrationFlow({
|
|
229
|
+
authService,
|
|
230
|
+
setAuthenticated,
|
|
231
|
+
onSuccess
|
|
232
|
+
}: RegistrationFlowProps): react_jsx_runtime0.JSX.Element;
|
|
233
|
+
//#endregion
|
|
234
|
+
//#region src/components/membership/MembershipPage.d.ts
|
|
235
|
+
interface MembershipPageProps {
|
|
236
|
+
authService: AuthService;
|
|
237
|
+
relayService: RelayService;
|
|
238
|
+
publicKey: string | null;
|
|
239
|
+
onUnauthenticated?: () => void;
|
|
240
|
+
}
|
|
241
|
+
declare function MembershipPage({
|
|
242
|
+
authService,
|
|
243
|
+
relayService,
|
|
244
|
+
publicKey,
|
|
245
|
+
onUnauthenticated
|
|
246
|
+
}: MembershipPageProps): react_jsx_runtime0.JSX.Element;
|
|
247
|
+
//#endregion
|
|
248
|
+
//#region src/components/membership/BarcodeScanner.d.ts
|
|
249
|
+
interface BarcodeScannerProps {
|
|
250
|
+
/** Called when a code is successfully read */
|
|
251
|
+
onDecode: (value: string) => void;
|
|
252
|
+
/** Optional flag to hide the scanner */
|
|
253
|
+
active?: boolean;
|
|
254
|
+
}
|
|
255
|
+
declare const BarcodeScanner: ({
|
|
256
|
+
onDecode,
|
|
257
|
+
active
|
|
258
|
+
}: BarcodeScannerProps) => react_jsx_runtime0.JSX.Element | null;
|
|
259
|
+
//#endregion
|
|
260
|
+
//#region src/components/profile/ProfilePage.d.ts
|
|
261
|
+
interface ProfilePageProps {
|
|
262
|
+
authService: AuthService;
|
|
263
|
+
relayService: RelayService;
|
|
264
|
+
publicKey: string | null;
|
|
265
|
+
onUnauthenticated?: () => void;
|
|
266
|
+
onSuccess?: () => void;
|
|
267
|
+
onRoleSuggestion?: (about: string) => Promise<string | null>;
|
|
268
|
+
}
|
|
269
|
+
declare function ProfilePage({
|
|
270
|
+
authService,
|
|
271
|
+
relayService,
|
|
272
|
+
publicKey,
|
|
273
|
+
onUnauthenticated,
|
|
274
|
+
onSuccess,
|
|
275
|
+
onRoleSuggestion
|
|
276
|
+
}: ProfilePageProps): react_jsx_runtime0.JSX.Element;
|
|
277
|
+
//#endregion
|
|
278
|
+
//#region src/hooks/useAuth.d.ts
|
|
279
|
+
/**
|
|
280
|
+
* Hook to initialize auth state on app load
|
|
281
|
+
*/
|
|
282
|
+
declare function useAuthInit(authService: AuthService, setAuthenticated: AuthState['setAuthenticated']): void;
|
|
283
|
+
//#endregion
|
|
284
|
+
//#region src/store/authStore.d.ts
|
|
285
|
+
declare const createAuthStore: () => zustand0.UseBoundStore<zustand0.StoreApi<AuthState>>;
|
|
286
|
+
declare const useAuthStore: zustand0.UseBoundStore<zustand0.StoreApi<AuthState>>;
|
|
287
|
+
//#endregion
|
|
288
|
+
export { AuthService, type AuthServiceConfig, type AuthState, BarcodeScanner, type FollowEntry, LoginButton, MembershipPage, type NostrEvent, type ProfileMetadata, ProfilePage, RegistrationFlow, RelayService, type RelayServiceConfig, createAuthStore, useAuthInit, useAuthStore };
|
|
289
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/utils/types.ts","../src/types/auth.ts","../src/services/auth.service.ts","../src/types/nostr.ts","../src/services/relay.service.ts","../src/components/auth/LoginButton.tsx","../src/components/auth/RegistrationFlow.tsx","../src/components/membership/MembershipPage.tsx","../src/components/membership/BarcodeScanner.tsx","../src/components/profile/ProfilePage.tsx","../src/hooks/useAuth.ts","../src/store/authStore.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAQA;AAcA;UAdiB,YAAA;;;ECHA,UAAA,CAAA,EAAS,MAAA;EAaT,IAAA,EAAA,MAAA;EAUA,IAAA,CAAA,EAAA,MAAA,EAAA,EAAA;;;;ACrBjB;;;;AA+EsC,UFhErB,YAAA,CEgEq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