@singi-labs/sifa-sdk 0.19.77 → 0.19.79

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.
Files changed (76) hide show
  1. package/dist/{index-DAiJZvPg.d.ts → index-B0BDMGLm.d.ts} +8 -0
  2. package/dist/{index-k6tBrbEU.d.cts → index-BrWWVQLL.d.cts} +8 -0
  3. package/dist/index.cjs +7 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +7 -7
  6. package/dist/index.d.ts +7 -7
  7. package/dist/index.js +1 -1
  8. package/dist/jsonld/index.cjs +11 -0
  9. package/dist/jsonld/index.cjs.map +1 -1
  10. package/dist/jsonld/index.d.cts +1 -1
  11. package/dist/jsonld/index.d.ts +1 -1
  12. package/dist/jsonld/terms.js +11 -0
  13. package/dist/jsonld/terms.js.map +1 -1
  14. package/dist/{network-map-DvALufF9.d.ts → network-map-BEOM5v7g.d.ts} +4 -53
  15. package/dist/{network-map-DInAc_DB.d.cts → network-map-DMDU4liU.d.cts} +4 -53
  16. package/dist/{profile-investment-Cn5b--EG.d.cts → profile-investment-QSwX2GL5.d.cts} +1 -0
  17. package/dist/{profile-investment-Cn5b--EG.d.ts → profile-investment-QSwX2GL5.d.ts} +1 -0
  18. package/dist/{profile-summary-PRDqxAQT.d.ts → profile-summary-1oXL1guc.d.ts} +1 -1
  19. package/dist/{profile-summary-BcbJrph1.d.cts → profile-summary-CpM9l8iq.d.cts} +1 -1
  20. package/dist/query/fetchers/index.cjs +29 -0
  21. package/dist/query/fetchers/index.cjs.map +1 -1
  22. package/dist/query/fetchers/index.d.cts +6 -6
  23. package/dist/query/fetchers/index.d.ts +6 -6
  24. package/dist/query/fetchers/index.js +5 -1
  25. package/dist/query/fetchers/index.js.map +1 -1
  26. package/dist/query/fetchers/profile-mutations.js.map +1 -1
  27. package/dist/query/fetchers/rpg.js +22 -0
  28. package/dist/query/fetchers/rpg.js.map +1 -1
  29. package/dist/query/hooks/index.cjs +81 -0
  30. package/dist/query/hooks/index.cjs.map +1 -1
  31. package/dist/query/hooks/index.d.cts +4 -4
  32. package/dist/query/hooks/index.d.ts +4 -4
  33. package/dist/query/hooks/index.js +4 -0
  34. package/dist/query/hooks/index.js.map +1 -1
  35. package/dist/query/hooks/use-rpg-claimable.js +19 -0
  36. package/dist/query/hooks/use-rpg-claimable.js.map +1 -0
  37. package/dist/query/hooks/use-rpg-status.js +19 -0
  38. package/dist/query/hooks/use-rpg-status.js.map +1 -0
  39. package/dist/query/index.cjs +47 -0
  40. package/dist/query/index.cjs.map +1 -1
  41. package/dist/query/index.d.cts +9 -9
  42. package/dist/query/index.d.ts +9 -9
  43. package/dist/query/index.js +9 -1
  44. package/dist/query/index.js.map +1 -1
  45. package/dist/query/keys.js +7 -0
  46. package/dist/query/keys.js.map +1 -1
  47. package/dist/resume/index.d.cts +1 -1
  48. package/dist/resume/index.d.ts +1 -1
  49. package/dist/rpg/avatar.js +6 -0
  50. package/dist/rpg/avatar.js.map +1 -0
  51. package/dist/rpg/index.cjs +4 -0
  52. package/dist/rpg/index.cjs.map +1 -1
  53. package/dist/rpg/index.d.cts +9 -1
  54. package/dist/rpg/index.d.ts +9 -1
  55. package/dist/rpg/index.js +2 -0
  56. package/dist/rpg/index.js.map +1 -1
  57. package/dist/schemas/index.cjs +6 -0
  58. package/dist/schemas/index.cjs.map +1 -1
  59. package/dist/schemas/index.d.cts +1 -1
  60. package/dist/schemas/index.d.ts +1 -1
  61. package/dist/schemas/profile-self.js +6 -0
  62. package/dist/schemas/profile-self.js.map +1 -1
  63. package/dist/schemas/write/index.cjs +13 -1
  64. package/dist/schemas/write/index.cjs.map +1 -1
  65. package/dist/schemas/write/index.d.cts +3 -0
  66. package/dist/schemas/write/index.d.ts +3 -0
  67. package/dist/schemas/write/profile-self.js +9 -1
  68. package/dist/schemas/write/profile-self.js.map +1 -1
  69. package/dist/types/index.js.map +1 -1
  70. package/dist/{types-CI24asgo.d.ts → types-DB7UkX43.d.ts} +1 -1
  71. package/dist/{types-qw55KvoV.d.cts → types-DQfWqSud.d.cts} +1 -1
  72. package/dist/{use-user-settings-B1rJmjQR.d.ts → use-user-settings-A_i6Nrj1.d.ts} +34 -4
  73. package/dist/{use-user-settings-CYDXJNmI.d.cts → use-user-settings-U-cIysUa.d.cts} +34 -4
  74. package/dist/{user-settings-Qwi6wSnK.d.ts → user-settings-CGJPdwTM.d.ts} +82 -4
  75. package/dist/{user-settings-lenJHz19.d.cts → user-settings-DdWaL2AG.d.cts} +82 -4
  76. package/package.json +1 -1
@@ -947,6 +947,14 @@ interface Profile {
947
947
  */
948
948
  namePronunciationAudioUrl?: string;
949
949
  avatar?: string;
950
+ /**
951
+ * `id.sifa.profile.self.avatarSource`, e.g. `actor.rpg.sprite` when the user
952
+ * shows their rpg.actor character as their avatar. `avatar` already holds
953
+ * the resolved picture; this only says where it comes from, so an editor
954
+ * can show the current choice. Absent when the uploaded or Bluesky avatar
955
+ * is used.
956
+ */
957
+ avatarSource?: string;
950
958
  pronouns?: string;
951
959
  headline?: string;
952
960
  about?: string;
@@ -947,6 +947,14 @@ interface Profile {
947
947
  */
948
948
  namePronunciationAudioUrl?: string;
949
949
  avatar?: string;
950
+ /**
951
+ * `id.sifa.profile.self.avatarSource`, e.g. `actor.rpg.sprite` when the user
952
+ * shows their rpg.actor character as their avatar. `avatar` already holds
953
+ * the resolved picture; this only says where it comes from, so an editor
954
+ * can show the current choice. Absent when the uploaded or Bluesky avatar
955
+ * is used.
956
+ */
957
+ avatarSource?: string;
950
958
  pronouns?: string;
951
959
  headline?: string;
952
960
  about?: string;
package/dist/index.cjs CHANGED
@@ -6961,6 +6961,12 @@ var ProfileSelfRecordSchema = zod.z.object({
6961
6961
  langs: zod.z.array(languageTagSchema).max(3).optional(),
6962
6962
  labels: selfLabelsSchema.optional(),
6963
6963
  discoverable: zod.z.boolean().optional(),
6964
+ /**
6965
+ * Where the avatar comes from instead of the avatar blob. Open per the
6966
+ * lexicon (`knownValues`); Sifa renders `actor.rpg.sprite`, the user's
6967
+ * rpg.actor character.
6968
+ */
6969
+ avatarSource: zod.z.string().max(128).optional(),
6964
6970
  createdAt: datetimeSchema
6965
6971
  });
6966
6972
  var ProfileSkillRecordSchema = zod.z.object({
@@ -7307,7 +7313,7 @@ function describeSifaRecord(collection, value) {
7307
7313
  }
7308
7314
 
7309
7315
  // src/index.ts
7310
- var SIFA_SDK_VERSION = "0.19.77";
7316
+ var SIFA_SDK_VERSION = "0.19.79";
7311
7317
 
7312
7318
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
7313
7319
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;