@singi-labs/sifa-sdk 0.19.66 → 0.19.68
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.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{org--5MN6Ev4.d.ts → org-BmKMu2h9.d.ts} +5 -0
- package/dist/{org-B_0EMNuF.d.cts → org-DZZNwznR.d.cts} +5 -0
- package/dist/query/fetchers/index.cjs +5 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +1 -1
- package/dist/query/fetchers/index.d.ts +1 -1
- package/dist/query/fetchers/verification.js +49 -0
- package/dist/query/fetchers/verification.js.map +1 -0
- package/dist/query/hooks/index.cjs +44 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +2 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/hooks/use-verification.js +19 -0
- package/dist/query/hooks/use-verification.js.map +1 -0
- package/dist/query/index.cjs +57 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +3 -3
- package/dist/query/index.d.ts +3 -3
- package/dist/query/index.js +12 -0
- package/dist/query/index.js.map +1 -1
- package/dist/query/keys.js +5 -0
- package/dist/query/keys.js.map +1 -1
- package/dist/stream/to-stream-card-vm.js +4 -0
- package/dist/stream/to-stream-card-vm.js.map +1 -1
- package/dist/{use-org-notification-emails-DZ0oVtiX.d.ts → use-org-notification-emails-BKXLY0Nx.d.ts} +79 -3
- package/dist/{use-org-notification-emails-B4INNGOe.d.cts → use-org-notification-emails-jVBPNbUy.d.cts} +79 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4959,6 +4959,10 @@ function recordHasSubjectRef(record) {
|
|
|
4959
4959
|
return false;
|
|
4960
4960
|
}
|
|
4961
4961
|
function resolveSourceUrl(item, record) {
|
|
4962
|
+
if (item.collection === "at.marque.domain") {
|
|
4963
|
+
const domain = asNonEmptyString(record.domain);
|
|
4964
|
+
if (domain && /^[a-z0-9-]+(\.[a-z0-9-]+)+$/i.test(domain)) return `https://${domain}`;
|
|
4965
|
+
}
|
|
4962
4966
|
const authorDid = didFromUri(item.uri) ?? "";
|
|
4963
4967
|
const authorHandle = asNonEmptyString(item.authorHandle) ?? asNonEmptyString(record.handle);
|
|
4964
4968
|
const url = resolveCardUrl({
|
|
@@ -7197,7 +7201,7 @@ function describeSifaRecord(collection, value) {
|
|
|
7197
7201
|
}
|
|
7198
7202
|
|
|
7199
7203
|
// src/index.ts
|
|
7200
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
7204
|
+
var SIFA_SDK_VERSION = "0.19.68";
|
|
7201
7205
|
|
|
7202
7206
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
7203
7207
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|