@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.
- package/CHANGELOG.md +17 -0
- package/dist/api/app/bsky/notification/registerPush.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/registerPush.js +6 -7
- package/dist/api/app/bsky/notification/registerPush.js.map +1 -1
- package/dist/api/app/bsky/notification/unregisterPush.d.ts +4 -0
- package/dist/api/app/bsky/notification/unregisterPush.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/unregisterPush.js +33 -0
- package/dist/api/app/bsky/notification/unregisterPush.js.map +1 -0
- package/dist/api/app/bsky/notification/util.d.ts +4 -0
- package/dist/api/app/bsky/notification/util.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/util.js +14 -1
- package/dist/api/app/bsky/notification/util.js.map +1 -1
- package/dist/api/app/bsky/unspecced/initAgeAssurance.d.ts.map +1 -1
- package/dist/api/app/bsky/unspecced/initAgeAssurance.js +52 -10
- package/dist/api/app/bsky/unspecced/initAgeAssurance.js.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/kws.d.ts +2 -0
- package/dist/kws.d.ts.map +1 -1
- package/dist/kws.js +10 -2
- package/dist/kws.js.map +1 -1
- package/dist/lexicon/index.d.ts +2 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +4 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +76 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +42 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/unregisterPush.d.ts +17 -0
- package/dist/lexicon/types/app/bsky/notification/unregisterPush.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/unregisterPush.js +7 -0
- package/dist/lexicon/types/app/bsky/notification/unregisterPush.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/initAgeAssurance.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/initAgeAssurance.d.ts.map +1 -1
- package/dist/proto/bsky_pb.d.ts +4 -0
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +15 -0
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/proto/courier_connect.d.ts +19 -1
- package/dist/proto/courier_connect.d.ts.map +1 -1
- package/dist/proto/courier_connect.js +18 -0
- package/dist/proto/courier_connect.js.map +1 -1
- package/dist/proto/courier_pb.d.ts +76 -0
- package/dist/proto/courier_pb.d.ts.map +1 -1
- package/dist/proto/courier_pb.js +233 -1
- package/dist/proto/courier_pb.js.map +1 -1
- package/package.json +4 -4
- package/proto/bsky.proto +1 -0
- package/proto/courier.proto +18 -0
- package/src/api/app/bsky/notification/registerPush.ts +5 -8
- package/src/api/app/bsky/notification/unregisterPush.ts +38 -0
- package/src/api/app/bsky/notification/util.ts +18 -0
- package/src/api/app/bsky/unspecced/initAgeAssurance.ts +65 -12
- package/src/config.ts +1 -1
- package/src/kws.ts +9 -1
- package/src/lexicon/index.ts +13 -0
- package/src/lexicon/lexicons.ts +43 -0
- package/src/lexicon/types/app/bsky/notification/unregisterPush.ts +36 -0
- package/src/lexicon/types/app/bsky/unspecced/initAgeAssurance.ts +1 -0
- package/src/proto/bsky_pb.ts +11 -0
- package/src/proto/courier_connect.ts +22 -0
- package/src/proto/courier_pb.ts +246 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -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',
|