@atproto/bsky 0.0.201 → 0.0.203

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 (126) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/api/age-assurance/const.d.ts.map +1 -1
  3. package/dist/api/age-assurance/const.js +20 -0
  4. package/dist/api/age-assurance/const.js.map +1 -1
  5. package/dist/api/app/bsky/ageassurance/begin.d.ts.map +1 -1
  6. package/dist/api/app/bsky/ageassurance/begin.js +15 -8
  7. package/dist/api/app/bsky/ageassurance/begin.js.map +1 -1
  8. package/dist/api/app/bsky/contact/dismissMatch.d.ts.map +1 -1
  9. package/dist/api/app/bsky/contact/dismissMatch.js +2 -3
  10. package/dist/api/app/bsky/contact/dismissMatch.js.map +1 -1
  11. package/dist/api/app/bsky/contact/getMatches.js +2 -3
  12. package/dist/api/app/bsky/contact/getMatches.js.map +1 -1
  13. package/dist/api/app/bsky/contact/getSyncStatus.d.ts.map +1 -1
  14. package/dist/api/app/bsky/contact/getSyncStatus.js +2 -3
  15. package/dist/api/app/bsky/contact/getSyncStatus.js.map +1 -1
  16. package/dist/api/app/bsky/contact/importContacts.js +2 -3
  17. package/dist/api/app/bsky/contact/importContacts.js.map +1 -1
  18. package/dist/api/app/bsky/contact/removeData.d.ts.map +1 -1
  19. package/dist/api/app/bsky/contact/removeData.js +2 -3
  20. package/dist/api/app/bsky/contact/removeData.js.map +1 -1
  21. package/dist/api/app/bsky/contact/sendNotification.d.ts.map +1 -1
  22. package/dist/api/app/bsky/contact/sendNotification.js.map +1 -1
  23. package/dist/api/app/bsky/contact/startPhoneVerification.d.ts.map +1 -1
  24. package/dist/api/app/bsky/contact/startPhoneVerification.js +2 -3
  25. package/dist/api/app/bsky/contact/startPhoneVerification.js.map +1 -1
  26. package/dist/api/app/bsky/contact/util.d.ts +7 -0
  27. package/dist/api/app/bsky/contact/util.d.ts.map +1 -1
  28. package/dist/api/app/bsky/contact/util.js +68 -0
  29. package/dist/api/app/bsky/contact/util.js.map +1 -1
  30. package/dist/api/app/bsky/contact/verifyPhone.d.ts.map +1 -1
  31. package/dist/api/app/bsky/contact/verifyPhone.js +2 -3
  32. package/dist/api/app/bsky/contact/verifyPhone.js.map +1 -1
  33. package/dist/api/index.d.ts +1 -0
  34. package/dist/api/index.d.ts.map +1 -1
  35. package/dist/api/index.js +4 -1
  36. package/dist/api/index.js.map +1 -1
  37. package/dist/api/sitemap.d.ts +4 -0
  38. package/dist/api/sitemap.d.ts.map +1 -0
  39. package/dist/api/sitemap.js +67 -0
  40. package/dist/api/sitemap.js.map +1 -0
  41. package/dist/data-plane/server/routes/index.d.ts.map +1 -1
  42. package/dist/data-plane/server/routes/index.js +2 -0
  43. package/dist/data-plane/server/routes/index.js.map +1 -1
  44. package/dist/data-plane/server/routes/profile.d.ts.map +1 -1
  45. package/dist/data-plane/server/routes/profile.js +10 -8
  46. package/dist/data-plane/server/routes/profile.js.map +1 -1
  47. package/dist/data-plane/server/routes/sitemap.d.ts +5 -0
  48. package/dist/data-plane/server/routes/sitemap.d.ts.map +1 -0
  49. package/dist/data-plane/server/routes/sitemap.js +38 -0
  50. package/dist/data-plane/server/routes/sitemap.js.map +1 -0
  51. package/dist/hydration/actor.js +1 -1
  52. package/dist/hydration/actor.js.map +1 -1
  53. package/dist/index.d.ts.map +1 -1
  54. package/dist/index.js +3 -0
  55. package/dist/index.js.map +1 -1
  56. package/dist/lexicon/lexicons.d.ts +100 -46
  57. package/dist/lexicon/lexicons.d.ts.map +1 -1
  58. package/dist/lexicon/lexicons.js +67 -22
  59. package/dist/lexicon/lexicons.js.map +1 -1
  60. package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts +1 -1
  61. package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts.map +1 -1
  62. package/dist/lexicon/types/app/bsky/contact/dismissMatch.js.map +1 -1
  63. package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts +1 -1
  64. package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts.map +1 -1
  65. package/dist/lexicon/types/app/bsky/contact/getMatches.js.map +1 -1
  66. package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts +1 -1
  67. package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts.map +1 -1
  68. package/dist/lexicon/types/app/bsky/contact/getSyncStatus.js.map +1 -1
  69. package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts +1 -1
  70. package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts.map +1 -1
  71. package/dist/lexicon/types/app/bsky/contact/importContacts.js.map +1 -1
  72. package/dist/lexicon/types/app/bsky/contact/removeData.d.ts +1 -1
  73. package/dist/lexicon/types/app/bsky/contact/removeData.d.ts.map +1 -1
  74. package/dist/lexicon/types/app/bsky/contact/removeData.js.map +1 -1
  75. package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts +1 -1
  76. package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts.map +1 -1
  77. package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.js.map +1 -1
  78. package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts +1 -1
  79. package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts.map +1 -1
  80. package/dist/lexicon/types/app/bsky/contact/verifyPhone.js.map +1 -1
  81. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +1 -1
  82. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  83. package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
  84. package/dist/proto/bsky_connect.d.ts +21 -1
  85. package/dist/proto/bsky_connect.d.ts.map +1 -1
  86. package/dist/proto/bsky_connect.js +20 -0
  87. package/dist/proto/bsky_connect.js.map +1 -1
  88. package/dist/proto/bsky_pb.d.ts +97 -0
  89. package/dist/proto/bsky_pb.d.ts.map +1 -1
  90. package/dist/proto/bsky_pb.js +256 -5
  91. package/dist/proto/bsky_pb.js.map +1 -1
  92. package/package.json +7 -7
  93. package/proto/bsky.proto +31 -0
  94. package/src/api/age-assurance/const.ts +20 -0
  95. package/src/api/app/bsky/ageassurance/begin.ts +21 -11
  96. package/src/api/app/bsky/contact/dismissMatch.ts +7 -6
  97. package/src/api/app/bsky/contact/getMatches.ts +8 -7
  98. package/src/api/app/bsky/contact/getSyncStatus.ts +6 -5
  99. package/src/api/app/bsky/contact/importContacts.ts +8 -7
  100. package/src/api/app/bsky/contact/removeData.ts +6 -5
  101. package/src/api/app/bsky/contact/sendNotification.ts +2 -1
  102. package/src/api/app/bsky/contact/startPhoneVerification.ts +7 -6
  103. package/src/api/app/bsky/contact/util.ts +80 -1
  104. package/src/api/app/bsky/contact/verifyPhone.ts +8 -7
  105. package/src/api/index.ts +4 -0
  106. package/src/api/sitemap.ts +76 -0
  107. package/src/data-plane/server/routes/index.ts +2 -0
  108. package/src/data-plane/server/routes/profile.ts +8 -6
  109. package/src/data-plane/server/routes/sitemap.ts +43 -0
  110. package/src/hydration/actor.ts +1 -1
  111. package/src/index.ts +6 -1
  112. package/src/lexicon/lexicons.ts +67 -22
  113. package/src/lexicon/types/app/bsky/contact/dismissMatch.ts +1 -1
  114. package/src/lexicon/types/app/bsky/contact/getMatches.ts +1 -1
  115. package/src/lexicon/types/app/bsky/contact/getSyncStatus.ts +1 -1
  116. package/src/lexicon/types/app/bsky/contact/importContacts.ts +6 -1
  117. package/src/lexicon/types/app/bsky/contact/removeData.ts +1 -1
  118. package/src/lexicon/types/app/bsky/contact/startPhoneVerification.ts +1 -1
  119. package/src/lexicon/types/app/bsky/contact/verifyPhone.ts +6 -1
  120. package/src/lexicon/types/app/bsky/notification/listNotifications.ts +1 -0
  121. package/src/proto/bsky_connect.ts +21 -1
  122. package/src/proto/bsky_pb.ts +188 -0
  123. package/tests/sitemap.test.ts +75 -0
  124. package/tests/views/age-assurance-v2.test.ts +51 -0
  125. package/tsconfig.build.tsbuildinfo +1 -1
  126. package/tsconfig.tests.tsbuildinfo +1 -1
@@ -1748,7 +1748,7 @@ exports.schemaDict = {
1748
1748
  defs: {
1749
1749
  main: {
1750
1750
  type: 'procedure',
1751
- description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Removes a match that was found via contact import. It shouldn't appear again if the same contact is re-imported. Requires authentication.",
1751
+ description: "Removes a match that was found via contact import. It shouldn't appear again if the same contact is re-imported. Requires authentication.",
1752
1752
  input: {
1753
1753
  encoding: 'application/json',
1754
1754
  schema: {
@@ -1772,8 +1772,10 @@ exports.schemaDict = {
1772
1772
  },
1773
1773
  errors: [
1774
1774
  {
1775
- name: 'TODO',
1776
- description: 'TODO',
1775
+ name: 'InvalidDid',
1776
+ },
1777
+ {
1778
+ name: 'InternalError',
1777
1779
  },
1778
1780
  ],
1779
1781
  },
@@ -1785,7 +1787,7 @@ exports.schemaDict = {
1785
1787
  defs: {
1786
1788
  main: {
1787
1789
  type: 'query',
1788
- description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Returns the matched contacts (contacts that were mutually imported). Excludes dismissed matches. Requires authentication.",
1790
+ description: 'Returns the matched contacts (contacts that were mutually imported). Excludes dismissed matches. Requires authentication.',
1789
1791
  parameters: {
1790
1792
  type: 'params',
1791
1793
  properties: {
@@ -1821,8 +1823,16 @@ exports.schemaDict = {
1821
1823
  },
1822
1824
  errors: [
1823
1825
  {
1824
- name: 'TODO',
1825
- description: 'TODO',
1826
+ name: 'InvalidDid',
1827
+ },
1828
+ {
1829
+ name: 'InvalidLimit',
1830
+ },
1831
+ {
1832
+ name: 'InvalidCursor',
1833
+ },
1834
+ {
1835
+ name: 'InternalError',
1826
1836
  },
1827
1837
  ],
1828
1838
  },
@@ -1834,7 +1844,7 @@ exports.schemaDict = {
1834
1844
  defs: {
1835
1845
  main: {
1836
1846
  type: 'query',
1837
- description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Gets the user's current contact import status. Requires authentication.",
1847
+ description: "Gets the user's current contact import status. Requires authentication.",
1838
1848
  parameters: {
1839
1849
  type: 'params',
1840
1850
  properties: {},
@@ -1854,8 +1864,10 @@ exports.schemaDict = {
1854
1864
  },
1855
1865
  errors: [
1856
1866
  {
1857
- name: 'TODO',
1858
- description: 'TODO',
1867
+ name: 'InvalidDid',
1868
+ },
1869
+ {
1870
+ name: 'InternalError',
1859
1871
  },
1860
1872
  ],
1861
1873
  },
@@ -1867,7 +1879,7 @@ exports.schemaDict = {
1867
1879
  defs: {
1868
1880
  main: {
1869
1881
  type: 'procedure',
1870
- description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Import contacts for securely matching with other users. This follows the protocol explained in https://docs.bsky.app/blog/contact-import-rfc. Requires authentication.",
1882
+ description: 'Import contacts for securely matching with other users. This follows the protocol explained in https://docs.bsky.app/blog/contact-import-rfc. Requires authentication.',
1871
1883
  input: {
1872
1884
  encoding: 'application/json',
1873
1885
  schema: {
@@ -1909,8 +1921,19 @@ exports.schemaDict = {
1909
1921
  },
1910
1922
  errors: [
1911
1923
  {
1912
- name: 'TODO',
1913
- description: 'TODO',
1924
+ name: 'InvalidDid',
1925
+ },
1926
+ {
1927
+ name: 'InvalidContacts',
1928
+ },
1929
+ {
1930
+ name: 'TooManyContacts',
1931
+ },
1932
+ {
1933
+ name: 'InvalidToken',
1934
+ },
1935
+ {
1936
+ name: 'InternalError',
1914
1937
  },
1915
1938
  ],
1916
1939
  },
@@ -1922,7 +1945,7 @@ exports.schemaDict = {
1922
1945
  defs: {
1923
1946
  main: {
1924
1947
  type: 'procedure',
1925
- description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.",
1948
+ description: 'Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.',
1926
1949
  input: {
1927
1950
  encoding: 'application/json',
1928
1951
  schema: {
@@ -1939,8 +1962,10 @@ exports.schemaDict = {
1939
1962
  },
1940
1963
  errors: [
1941
1964
  {
1942
- name: 'TODO',
1943
- description: 'TODO',
1965
+ name: 'InvalidDid',
1966
+ },
1967
+ {
1968
+ name: 'InternalError',
1944
1969
  },
1945
1970
  ],
1946
1971
  },
@@ -1952,7 +1977,7 @@ exports.schemaDict = {
1952
1977
  defs: {
1953
1978
  main: {
1954
1979
  type: 'procedure',
1955
- description: "WARNING: This is unstable and under active development, don't use it while this warning is here. System endpoint to send notifications related to contact imports. Requires role authentication.",
1980
+ description: 'System endpoint to send notifications related to contact imports. Requires role authentication.',
1956
1981
  input: {
1957
1982
  encoding: 'application/json',
1958
1983
  schema: {
@@ -1988,7 +2013,7 @@ exports.schemaDict = {
1988
2013
  defs: {
1989
2014
  main: {
1990
2015
  type: 'procedure',
1991
- description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Starts a phone verification flow. The phone passed will receive a code via SMS that should be passed to `app.bsky.contact.verifyPhone`. Requires authentication.",
2016
+ description: 'Starts a phone verification flow. The phone passed will receive a code via SMS that should be passed to `app.bsky.contact.verifyPhone`. Requires authentication.',
1992
2017
  input: {
1993
2018
  encoding: 'application/json',
1994
2019
  schema: {
@@ -2011,8 +2036,16 @@ exports.schemaDict = {
2011
2036
  },
2012
2037
  errors: [
2013
2038
  {
2014
- name: 'TODO',
2015
- description: 'TODO',
2039
+ name: 'RateLimitExceeded',
2040
+ },
2041
+ {
2042
+ name: 'InvalidDid',
2043
+ },
2044
+ {
2045
+ name: 'InvalidPhone',
2046
+ },
2047
+ {
2048
+ name: 'InternalError',
2016
2049
  },
2017
2050
  ],
2018
2051
  },
@@ -2024,7 +2057,7 @@ exports.schemaDict = {
2024
2057
  defs: {
2025
2058
  main: {
2026
2059
  type: 'procedure',
2027
- description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.",
2060
+ description: 'Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.',
2028
2061
  input: {
2029
2062
  encoding: 'application/json',
2030
2063
  schema: {
@@ -2057,8 +2090,19 @@ exports.schemaDict = {
2057
2090
  },
2058
2091
  errors: [
2059
2092
  {
2060
- name: 'TODO',
2061
- description: 'TODO',
2093
+ name: 'RateLimitExceeded',
2094
+ },
2095
+ {
2096
+ name: 'InvalidDid',
2097
+ },
2098
+ {
2099
+ name: 'InvalidPhone',
2100
+ },
2101
+ {
2102
+ name: 'InvalidCode',
2103
+ },
2104
+ {
2105
+ name: 'InternalError',
2062
2106
  },
2063
2107
  ],
2064
2108
  },
@@ -6573,6 +6617,7 @@ exports.schemaDict = {
6573
6617
  'like-via-repost',
6574
6618
  'repost-via-repost',
6575
6619
  'subscribed-post',
6620
+ 'contact-match',
6576
6621
  ],
6577
6622
  },
6578
6623
  reasonSubject: {