@singi-labs/sifa-sdk 0.19.16 → 0.19.17
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 +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4014,7 +4014,7 @@ function getPublisherFromSiteUrl(siteUrl) {
|
|
|
4014
4014
|
// src/stream/verbs.json
|
|
4015
4015
|
var verbs_default = {
|
|
4016
4016
|
$schema: "https://sifa.id/schemas/activity-verbs/v1.json",
|
|
4017
|
-
version: "1.
|
|
4017
|
+
version: "1.3.0",
|
|
4018
4018
|
updated: "2026-09-18",
|
|
4019
4019
|
defaultVerb: "created",
|
|
4020
4020
|
verbs: {
|
|
@@ -4026,6 +4026,7 @@ var verbs_default = {
|
|
|
4026
4026
|
"app.sidetrail.walk": "shipped",
|
|
4027
4027
|
"app.userinput.reply": "replied",
|
|
4028
4028
|
"at.margin.bookmark": "bookmarked",
|
|
4029
|
+
"at.marque.domain": "registered",
|
|
4029
4030
|
"at.youandme.connection": "followed",
|
|
4030
4031
|
"blue.flashes.feed.post": "posted",
|
|
4031
4032
|
"buzz.bookhive.book": "reviewed",
|
|
@@ -4078,7 +4079,8 @@ var STREAM_VERBS = [
|
|
|
4078
4079
|
"rsvped",
|
|
4079
4080
|
"liked",
|
|
4080
4081
|
"followed",
|
|
4081
|
-
"bookmarked"
|
|
4082
|
+
"bookmarked",
|
|
4083
|
+
"registered"
|
|
4082
4084
|
];
|
|
4083
4085
|
var streamVerbSchema = zod.z.enum(STREAM_VERBS);
|
|
4084
4086
|
var verbMapSchema = zod.z.object({
|
|
@@ -4534,7 +4536,8 @@ var TITLE_BY_VERB = {
|
|
|
4534
4536
|
rsvped: (_label, hasSubject) => hasSubject ? "RSVP'd to" : "RSVP'd",
|
|
4535
4537
|
liked: () => "Liked",
|
|
4536
4538
|
followed: () => "Followed",
|
|
4537
|
-
bookmarked: () => "Bookmarked"
|
|
4539
|
+
bookmarked: () => "Bookmarked",
|
|
4540
|
+
registered: () => "Registered"
|
|
4538
4541
|
};
|
|
4539
4542
|
function buildTitle(verb, label, hasSubject) {
|
|
4540
4543
|
return TITLE_BY_VERB[verb](label, hasSubject);
|
|
@@ -4918,6 +4921,7 @@ var GENERIC_TEXT_ORDER = [
|
|
|
4918
4921
|
"note",
|
|
4919
4922
|
"caption",
|
|
4920
4923
|
"summary",
|
|
4924
|
+
"domain",
|
|
4921
4925
|
"status"
|
|
4922
4926
|
];
|
|
4923
4927
|
function genericText(collection, record) {
|
|
@@ -6585,7 +6589,7 @@ function describeSifaRecord(collection, value) {
|
|
|
6585
6589
|
}
|
|
6586
6590
|
|
|
6587
6591
|
// src/index.ts
|
|
6588
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
6592
|
+
var SIFA_SDK_VERSION = "0.19.17";
|
|
6589
6593
|
|
|
6590
6594
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
6591
6595
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|