@atproto/bsky 0.0.171 → 0.0.173

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 (64) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/api/app/bsky/notification/registerPush.d.ts.map +1 -1
  3. package/dist/api/app/bsky/notification/registerPush.js +6 -7
  4. package/dist/api/app/bsky/notification/registerPush.js.map +1 -1
  5. package/dist/api/app/bsky/notification/unregisterPush.d.ts +4 -0
  6. package/dist/api/app/bsky/notification/unregisterPush.d.ts.map +1 -0
  7. package/dist/api/app/bsky/notification/unregisterPush.js +33 -0
  8. package/dist/api/app/bsky/notification/unregisterPush.js.map +1 -0
  9. package/dist/api/app/bsky/notification/util.d.ts +4 -0
  10. package/dist/api/app/bsky/notification/util.d.ts.map +1 -1
  11. package/dist/api/app/bsky/notification/util.js +14 -1
  12. package/dist/api/app/bsky/notification/util.js.map +1 -1
  13. package/dist/api/app/bsky/unspecced/initAgeAssurance.d.ts.map +1 -1
  14. package/dist/api/app/bsky/unspecced/initAgeAssurance.js +52 -10
  15. package/dist/api/app/bsky/unspecced/initAgeAssurance.js.map +1 -1
  16. package/dist/config.js +1 -1
  17. package/dist/config.js.map +1 -1
  18. package/dist/kws.d.ts +2 -0
  19. package/dist/kws.d.ts.map +1 -1
  20. package/dist/kws.js +10 -2
  21. package/dist/kws.js.map +1 -1
  22. package/dist/lexicon/index.d.ts +2 -0
  23. package/dist/lexicon/index.d.ts.map +1 -1
  24. package/dist/lexicon/index.js +4 -0
  25. package/dist/lexicon/index.js.map +1 -1
  26. package/dist/lexicon/lexicons.d.ts +76 -0
  27. package/dist/lexicon/lexicons.d.ts.map +1 -1
  28. package/dist/lexicon/lexicons.js +42 -0
  29. package/dist/lexicon/lexicons.js.map +1 -1
  30. package/dist/lexicon/types/app/bsky/notification/unregisterPush.d.ts +17 -0
  31. package/dist/lexicon/types/app/bsky/notification/unregisterPush.d.ts.map +1 -0
  32. package/dist/lexicon/types/app/bsky/notification/unregisterPush.js +7 -0
  33. package/dist/lexicon/types/app/bsky/notification/unregisterPush.js.map +1 -0
  34. package/dist/lexicon/types/app/bsky/unspecced/initAgeAssurance.d.ts +1 -0
  35. package/dist/lexicon/types/app/bsky/unspecced/initAgeAssurance.d.ts.map +1 -1
  36. package/dist/proto/bsky_pb.d.ts +4 -0
  37. package/dist/proto/bsky_pb.d.ts.map +1 -1
  38. package/dist/proto/bsky_pb.js +15 -0
  39. package/dist/proto/bsky_pb.js.map +1 -1
  40. package/dist/proto/courier_connect.d.ts +19 -1
  41. package/dist/proto/courier_connect.d.ts.map +1 -1
  42. package/dist/proto/courier_connect.js +18 -0
  43. package/dist/proto/courier_connect.js.map +1 -1
  44. package/dist/proto/courier_pb.d.ts +76 -0
  45. package/dist/proto/courier_pb.d.ts.map +1 -1
  46. package/dist/proto/courier_pb.js +233 -1
  47. package/dist/proto/courier_pb.js.map +1 -1
  48. package/package.json +4 -4
  49. package/proto/bsky.proto +1 -0
  50. package/proto/courier.proto +18 -0
  51. package/src/api/app/bsky/notification/registerPush.ts +5 -8
  52. package/src/api/app/bsky/notification/unregisterPush.ts +38 -0
  53. package/src/api/app/bsky/notification/util.ts +18 -0
  54. package/src/api/app/bsky/unspecced/initAgeAssurance.ts +65 -12
  55. package/src/config.ts +1 -1
  56. package/src/kws.ts +9 -1
  57. package/src/lexicon/index.ts +13 -0
  58. package/src/lexicon/lexicons.ts +43 -0
  59. package/src/lexicon/types/app/bsky/notification/unregisterPush.ts +36 -0
  60. package/src/lexicon/types/app/bsky/unspecced/initAgeAssurance.ts +1 -0
  61. package/src/proto/bsky_pb.ts +11 -0
  62. package/src/proto/courier_connect.ts +22 -0
  63. package/src/proto/courier_pb.ts +246 -0
  64. package/tsconfig.build.tsbuildinfo +1 -1
@@ -10028,6 +10028,39 @@ exports.schemaDict = {
10028
10028
  },
10029
10029
  },
10030
10030
  },
10031
+ AppBskyNotificationUnregisterPush: {
10032
+ lexicon: 1,
10033
+ id: 'app.bsky.notification.unregisterPush',
10034
+ defs: {
10035
+ main: {
10036
+ type: 'procedure',
10037
+ description: 'The inverse of registerPush - inform a specified service that push notifications should no longer be sent to the given token for the requesting account. Requires auth.',
10038
+ input: {
10039
+ encoding: 'application/json',
10040
+ schema: {
10041
+ type: 'object',
10042
+ required: ['serviceDid', 'token', 'platform', 'appId'],
10043
+ properties: {
10044
+ serviceDid: {
10045
+ type: 'string',
10046
+ format: 'did',
10047
+ },
10048
+ token: {
10049
+ type: 'string',
10050
+ },
10051
+ platform: {
10052
+ type: 'string',
10053
+ knownValues: ['ios', 'android', 'web'],
10054
+ },
10055
+ appId: {
10056
+ type: 'string',
10057
+ },
10058
+ },
10059
+ },
10060
+ },
10061
+ },
10062
+ },
10063
+ },
10031
10064
  AppBskyNotificationUpdateSeen: {
10032
10065
  lexicon: 1,
10033
10066
  id: 'app.bsky.notification.updateSeen',
@@ -11166,6 +11199,14 @@ exports.schemaDict = {
11166
11199
  ref: 'lex:app.bsky.unspecced.defs#ageAssuranceState',
11167
11200
  },
11168
11201
  },
11202
+ errors: [
11203
+ {
11204
+ name: 'InvalidEmail',
11205
+ },
11206
+ {
11207
+ name: 'DidTooLong',
11208
+ },
11209
+ ],
11169
11210
  },
11170
11211
  },
11171
11212
  },
@@ -13027,6 +13068,7 @@ exports.ids = {
13027
13068
  AppBskyNotificationPutPreferences: 'app.bsky.notification.putPreferences',
13028
13069
  AppBskyNotificationPutPreferencesV2: 'app.bsky.notification.putPreferencesV2',
13029
13070
  AppBskyNotificationRegisterPush: 'app.bsky.notification.registerPush',
13071
+ AppBskyNotificationUnregisterPush: 'app.bsky.notification.unregisterPush',
13030
13072
  AppBskyNotificationUpdateSeen: 'app.bsky.notification.updateSeen',
13031
13073
  AppBskyRichtextFacet: 'app.bsky.richtext.facet',
13032
13074
  AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',