@atproto/pds 0.4.52 → 0.4.54

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/account-manager/helpers/auth.d.ts.map +1 -1
  3. package/dist/account-manager/helpers/auth.js +8 -2
  4. package/dist/account-manager/helpers/auth.js.map +1 -1
  5. package/dist/api/com/atproto/admin/sendEmail.js +1 -4
  6. package/dist/api/com/atproto/admin/sendEmail.js.map +1 -1
  7. package/dist/api/com/atproto/admin/updateAccountEmail.js +2 -2
  8. package/dist/api/com/atproto/admin/updateAccountEmail.js.map +1 -1
  9. package/dist/api/com/atproto/admin/updateAccountPassword.js +2 -2
  10. package/dist/api/com/atproto/admin/updateAccountPassword.js.map +1 -1
  11. package/dist/api/com/atproto/identity/requestPlcOperationSignature.d.ts +1 -1
  12. package/dist/api/com/atproto/identity/requestPlcOperationSignature.d.ts.map +1 -1
  13. package/dist/api/com/atproto/identity/requestPlcOperationSignature.js +8 -3
  14. package/dist/api/com/atproto/identity/requestPlcOperationSignature.js.map +1 -1
  15. package/dist/api/com/atproto/identity/signPlcOperation.d.ts +1 -1
  16. package/dist/api/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
  17. package/dist/api/com/atproto/identity/signPlcOperation.js +9 -3
  18. package/dist/api/com/atproto/identity/signPlcOperation.js.map +1 -1
  19. package/dist/api/com/atproto/identity/updateHandle.d.ts.map +1 -1
  20. package/dist/api/com/atproto/identity/updateHandle.js +8 -3
  21. package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
  22. package/dist/api/com/atproto/server/activateAccount.d.ts +1 -1
  23. package/dist/api/com/atproto/server/activateAccount.d.ts.map +1 -1
  24. package/dist/api/com/atproto/server/activateAccount.js +9 -4
  25. package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
  26. package/dist/api/com/atproto/server/confirmEmail.d.ts +1 -1
  27. package/dist/api/com/atproto/server/confirmEmail.d.ts.map +1 -1
  28. package/dist/api/com/atproto/server/confirmEmail.js +8 -3
  29. package/dist/api/com/atproto/server/confirmEmail.js.map +1 -1
  30. package/dist/api/com/atproto/server/createAppPassword.d.ts.map +1 -1
  31. package/dist/api/com/atproto/server/createAppPassword.js +8 -2
  32. package/dist/api/com/atproto/server/createAppPassword.js.map +1 -1
  33. package/dist/api/com/atproto/server/deactivateAccount.d.ts +1 -1
  34. package/dist/api/com/atproto/server/deactivateAccount.d.ts.map +1 -1
  35. package/dist/api/com/atproto/server/deactivateAccount.js +8 -3
  36. package/dist/api/com/atproto/server/deactivateAccount.js.map +1 -1
  37. package/dist/api/com/atproto/server/getAccountInviteCodes.d.ts +1 -1
  38. package/dist/api/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
  39. package/dist/api/com/atproto/server/getAccountInviteCodes.js +9 -3
  40. package/dist/api/com/atproto/server/getAccountInviteCodes.js.map +1 -1
  41. package/dist/api/com/atproto/server/getServiceAuth.d.ts.map +1 -1
  42. package/dist/api/com/atproto/server/getServiceAuth.js +7 -4
  43. package/dist/api/com/atproto/server/getServiceAuth.js.map +1 -1
  44. package/dist/api/com/atproto/server/listAppPasswords.d.ts.map +1 -1
  45. package/dist/api/com/atproto/server/listAppPasswords.js +8 -2
  46. package/dist/api/com/atproto/server/listAppPasswords.js.map +1 -1
  47. package/dist/api/com/atproto/server/requestAccountDelete.d.ts +1 -1
  48. package/dist/api/com/atproto/server/requestAccountDelete.d.ts.map +1 -1
  49. package/dist/api/com/atproto/server/requestAccountDelete.js +8 -3
  50. package/dist/api/com/atproto/server/requestAccountDelete.js.map +1 -1
  51. package/dist/api/com/atproto/server/requestEmailConfirmation.d.ts +1 -1
  52. package/dist/api/com/atproto/server/requestEmailConfirmation.d.ts.map +1 -1
  53. package/dist/api/com/atproto/server/requestEmailConfirmation.js +8 -3
  54. package/dist/api/com/atproto/server/requestEmailConfirmation.js.map +1 -1
  55. package/dist/api/com/atproto/server/requestEmailUpdate.d.ts +1 -1
  56. package/dist/api/com/atproto/server/requestEmailUpdate.d.ts.map +1 -1
  57. package/dist/api/com/atproto/server/requestEmailUpdate.js +8 -2
  58. package/dist/api/com/atproto/server/requestEmailUpdate.js.map +1 -1
  59. package/dist/api/com/atproto/server/revokeAppPassword.d.ts.map +1 -1
  60. package/dist/api/com/atproto/server/revokeAppPassword.js +8 -3
  61. package/dist/api/com/atproto/server/revokeAppPassword.js.map +1 -1
  62. package/dist/api/com/atproto/server/updateEmail.d.ts +1 -1
  63. package/dist/api/com/atproto/server/updateEmail.d.ts.map +1 -1
  64. package/dist/api/com/atproto/server/updateEmail.js +6 -4
  65. package/dist/api/com/atproto/server/updateEmail.js.map +1 -1
  66. package/dist/api/proxy.js +5 -1
  67. package/dist/api/proxy.js.map +1 -1
  68. package/dist/auth-routes.d.ts.map +1 -1
  69. package/dist/auth-routes.js +3 -1
  70. package/dist/auth-routes.js.map +1 -1
  71. package/dist/auth-verifier.d.ts +2 -2
  72. package/dist/auth-verifier.d.ts.map +1 -1
  73. package/dist/auth-verifier.js +46 -15
  74. package/dist/auth-verifier.js.map +1 -1
  75. package/dist/index.d.ts.map +1 -1
  76. package/dist/index.js +6 -6
  77. package/dist/index.js.map +1 -1
  78. package/dist/lexicon/lexicons.d.ts +7 -0
  79. package/dist/lexicon/lexicons.d.ts.map +1 -1
  80. package/dist/lexicon/lexicons.js +8 -1
  81. package/dist/lexicon/lexicons.js.map +1 -1
  82. package/dist/lexicon/types/app/bsky/embed/record.d.ts +1 -0
  83. package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
  84. package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
  85. package/dist/lexicon/types/app/bsky/feed/getPostThread.d.ts +1 -0
  86. package/dist/lexicon/types/app/bsky/feed/getPostThread.d.ts.map +1 -1
  87. package/dist/oauth/provider.d.ts.map +1 -1
  88. package/dist/oauth/provider.js +1 -0
  89. package/dist/oauth/provider.js.map +1 -1
  90. package/dist/pipethrough.d.ts +1 -0
  91. package/dist/pipethrough.d.ts.map +1 -1
  92. package/dist/pipethrough.js +23 -2
  93. package/dist/pipethrough.js.map +1 -1
  94. package/package.json +11 -11
  95. package/src/account-manager/helpers/auth.ts +8 -2
  96. package/src/api/com/atproto/admin/sendEmail.ts +5 -5
  97. package/src/api/com/atproto/admin/updateAccountEmail.ts +1 -1
  98. package/src/api/com/atproto/admin/updateAccountPassword.ts +1 -1
  99. package/src/api/com/atproto/identity/requestPlcOperationSignature.ts +13 -5
  100. package/src/api/com/atproto/identity/signPlcOperation.ts +15 -6
  101. package/src/api/com/atproto/identity/updateHandle.ts +10 -3
  102. package/src/api/com/atproto/server/activateAccount.ts +14 -5
  103. package/src/api/com/atproto/server/confirmEmail.ts +13 -5
  104. package/src/api/com/atproto/server/createAppPassword.ts +12 -3
  105. package/src/api/com/atproto/server/deactivateAccount.ts +11 -4
  106. package/src/api/com/atproto/server/getAccountInviteCodes.ts +14 -5
  107. package/src/api/com/atproto/server/getServiceAuth.ts +14 -9
  108. package/src/api/com/atproto/server/listAppPasswords.ts +11 -3
  109. package/src/api/com/atproto/server/requestAccountDelete.ts +12 -4
  110. package/src/api/com/atproto/server/requestEmailConfirmation.ts +12 -4
  111. package/src/api/com/atproto/server/requestEmailUpdate.ts +13 -4
  112. package/src/api/com/atproto/server/revokeAppPassword.ts +10 -3
  113. package/src/api/com/atproto/server/updateEmail.ts +14 -6
  114. package/src/api/proxy.ts +5 -1
  115. package/src/auth-routes.ts +3 -1
  116. package/src/auth-verifier.ts +63 -21
  117. package/src/index.ts +6 -7
  118. package/src/lexicon/lexicons.ts +8 -1
  119. package/src/lexicon/types/app/bsky/embed/record.ts +1 -0
  120. package/src/lexicon/types/app/bsky/feed/getPostThread.ts +1 -0
  121. package/src/oauth/provider.ts +2 -0
  122. package/src/pipethrough.ts +25 -1
  123. package/tests/app-passwords.test.ts +2 -2
  124. package/tests/auth.test.ts +1 -1
  125. package/tests/entryway.test.ts +30 -4
  126. package/tests/proxied/__snapshots__/feedgen.test.ts.snap +1 -0
  127. package/tests/proxied/__snapshots__/views.test.ts.snap +10 -0
@@ -1309,6 +1309,7 @@ Object {
1309
1309
  "indexedAt": "1970-01-01T00:00:00.000Z",
1310
1310
  "labels": Array [],
1311
1311
  "likeCount": 2,
1312
+ "quoteCount": 1,
1312
1313
  "replyCount": 0,
1313
1314
  "repostCount": 0,
1314
1315
  "uri": "record(9)",
@@ -1359,6 +1360,7 @@ Object {
1359
1360
  "indexedAt": "1970-01-01T00:00:00.000Z",
1360
1361
  "labels": Array [],
1361
1362
  "likeCount": 0,
1363
+ "quoteCount": 1,
1362
1364
  "replyCount": 0,
1363
1365
  "repostCount": 1,
1364
1366
  "uri": "record(7)",
@@ -1697,6 +1699,7 @@ Object {
1697
1699
  "indexedAt": "1970-01-01T00:00:00.000Z",
1698
1700
  "labels": Array [],
1699
1701
  "likeCount": 0,
1702
+ "quoteCount": 1,
1700
1703
  "replyCount": 0,
1701
1704
  "repostCount": 0,
1702
1705
  "uri": "record(0)",
@@ -2163,6 +2166,7 @@ Object {
2163
2166
  "indexedAt": "1970-01-01T00:00:00.000Z",
2164
2167
  "labels": Array [],
2165
2168
  "likeCount": 0,
2169
+ "quoteCount": 1,
2166
2170
  "replyCount": 0,
2167
2171
  "repostCount": 0,
2168
2172
  "uri": "record(11)",
@@ -2182,6 +2186,7 @@ Object {
2182
2186
  "indexedAt": "1970-01-01T00:00:00.000Z",
2183
2187
  "labels": Array [],
2184
2188
  "likeCount": 2,
2189
+ "quoteCount": 1,
2185
2190
  "replyCount": 0,
2186
2191
  "repostCount": 0,
2187
2192
  "uri": "record(8)",
@@ -2863,6 +2868,7 @@ Object {
2863
2868
  "indexedAt": "1970-01-01T00:00:00.000Z",
2864
2869
  "labels": Array [],
2865
2870
  "likeCount": 2,
2871
+ "quoteCount": 1,
2866
2872
  "replyCount": 0,
2867
2873
  "repostCount": 0,
2868
2874
  "uri": "record(8)",
@@ -2913,6 +2919,7 @@ Object {
2913
2919
  "indexedAt": "1970-01-01T00:00:00.000Z",
2914
2920
  "labels": Array [],
2915
2921
  "likeCount": 0,
2922
+ "quoteCount": 1,
2916
2923
  "replyCount": 0,
2917
2924
  "repostCount": 1,
2918
2925
  "uri": "record(7)",
@@ -3127,6 +3134,7 @@ Object {
3127
3134
  "indexedAt": "1970-01-01T00:00:00.000Z",
3128
3135
  "labels": Array [],
3129
3136
  "likeCount": 0,
3137
+ "quoteCount": 1,
3130
3138
  "replyCount": 0,
3131
3139
  "repostCount": 0,
3132
3140
  "uri": "record(11)",
@@ -3146,6 +3154,7 @@ Object {
3146
3154
  "indexedAt": "1970-01-01T00:00:00.000Z",
3147
3155
  "labels": Array [],
3148
3156
  "likeCount": 2,
3157
+ "quoteCount": 1,
3149
3158
  "replyCount": 0,
3150
3159
  "repostCount": 0,
3151
3160
  "uri": "record(8)",
@@ -3322,6 +3331,7 @@ Object {
3322
3331
  "indexedAt": "1970-01-01T00:00:00.000Z",
3323
3332
  "labels": Array [],
3324
3333
  "likeCount": 0,
3334
+ "quoteCount": 1,
3325
3335
  "replyCount": 0,
3326
3336
  "repostCount": 0,
3327
3337
  "uri": "record(11)",