@atproto/bsky 0.0.124 → 0.0.126

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 (117) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/api/app/bsky/notification/listNotifications.d.ts +7 -0
  3. package/dist/api/app/bsky/notification/listNotifications.d.ts.map +1 -1
  4. package/dist/api/app/bsky/notification/listNotifications.js +21 -5
  5. package/dist/api/app/bsky/notification/listNotifications.js.map +1 -1
  6. package/dist/config.d.ts +6 -0
  7. package/dist/config.d.ts.map +1 -1
  8. package/dist/config.js +24 -15
  9. package/dist/config.js.map +1 -1
  10. package/dist/context.d.ts +6 -1
  11. package/dist/context.d.ts.map +1 -1
  12. package/dist/context.js +6 -0
  13. package/dist/context.js.map +1 -1
  14. package/dist/data-plane/client/hosts.d.ts +37 -0
  15. package/dist/data-plane/client/hosts.d.ts.map +1 -0
  16. package/dist/data-plane/client/hosts.js +106 -0
  17. package/dist/data-plane/client/hosts.js.map +1 -0
  18. package/dist/data-plane/client/index.d.ts +13 -0
  19. package/dist/data-plane/client/index.d.ts.map +1 -0
  20. package/dist/data-plane/client/index.js +133 -0
  21. package/dist/data-plane/client/index.js.map +1 -0
  22. package/dist/data-plane/{client.d.ts → client/util.d.ts} +3 -10
  23. package/dist/data-plane/client/util.d.ts.map +1 -0
  24. package/dist/data-plane/client/util.js +85 -0
  25. package/dist/data-plane/client/util.js.map +1 -0
  26. package/dist/data-plane/server/db/pagination.d.ts +69 -9
  27. package/dist/data-plane/server/db/pagination.d.ts.map +1 -1
  28. package/dist/data-plane/server/db/pagination.js +114 -14
  29. package/dist/data-plane/server/db/pagination.js.map +1 -1
  30. package/dist/data-plane/server/routes/notifs.d.ts.map +1 -1
  31. package/dist/data-plane/server/routes/notifs.js +3 -5
  32. package/dist/data-plane/server/routes/notifs.js.map +1 -1
  33. package/dist/data-plane/server/subscription.d.ts.map +1 -1
  34. package/dist/data-plane/server/subscription.js +6 -0
  35. package/dist/data-plane/server/subscription.js.map +1 -1
  36. package/dist/etcd.d.ts +25 -0
  37. package/dist/etcd.d.ts.map +1 -0
  38. package/dist/etcd.js +109 -0
  39. package/dist/etcd.js.map +1 -0
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.js +14 -1
  42. package/dist/index.js.map +1 -1
  43. package/dist/lexicon/index.d.ts +6 -0
  44. package/dist/lexicon/index.d.ts.map +1 -1
  45. package/dist/lexicon/index.js +12 -0
  46. package/dist/lexicon/index.js.map +1 -1
  47. package/dist/lexicon/lexicons.d.ts +304 -156
  48. package/dist/lexicon/lexicons.d.ts.map +1 -1
  49. package/dist/lexicon/lexicons.js +168 -80
  50. package/dist/lexicon/lexicons.js.map +1 -1
  51. package/dist/lexicon/types/app/bsky/embed/video.d.ts +1 -0
  52. package/dist/lexicon/types/app/bsky/embed/video.d.ts.map +1 -1
  53. package/dist/lexicon/types/app/bsky/embed/video.js.map +1 -1
  54. package/dist/lexicon/types/com/atproto/identity/defs.d.ts +17 -0
  55. package/dist/lexicon/types/com/atproto/identity/defs.d.ts.map +1 -0
  56. package/dist/lexicon/types/com/atproto/identity/defs.js +16 -0
  57. package/dist/lexicon/types/com/atproto/identity/defs.js.map +1 -0
  58. package/dist/lexicon/types/com/atproto/identity/refreshIdentity.d.ts +39 -0
  59. package/dist/lexicon/types/com/atproto/identity/refreshIdentity.d.ts.map +1 -0
  60. package/dist/lexicon/types/com/atproto/identity/refreshIdentity.js +7 -0
  61. package/dist/lexicon/types/com/atproto/identity/refreshIdentity.js.map +1 -0
  62. package/dist/lexicon/types/com/atproto/identity/resolveDid.d.ts +40 -0
  63. package/dist/lexicon/types/com/atproto/identity/resolveDid.d.ts.map +1 -0
  64. package/dist/lexicon/types/com/atproto/identity/resolveDid.js +7 -0
  65. package/dist/lexicon/types/com/atproto/identity/resolveDid.js.map +1 -0
  66. package/dist/lexicon/types/com/atproto/identity/resolveHandle.d.ts +1 -0
  67. package/dist/lexicon/types/com/atproto/identity/resolveHandle.d.ts.map +1 -1
  68. package/dist/lexicon/types/com/atproto/identity/resolveIdentity.d.ts +36 -0
  69. package/dist/lexicon/types/com/atproto/identity/resolveIdentity.d.ts.map +1 -0
  70. package/dist/lexicon/types/com/atproto/identity/resolveIdentity.js +7 -0
  71. package/dist/lexicon/types/com/atproto/identity/resolveIdentity.js.map +1 -0
  72. package/dist/lexicon/types/com/atproto/repo/listRecords.d.ts +0 -4
  73. package/dist/lexicon/types/com/atproto/repo/listRecords.d.ts.map +1 -1
  74. package/dist/lexicon/types/com/atproto/repo/listRecords.js.map +1 -1
  75. package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts +0 -2
  76. package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts.map +1 -1
  77. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +1 -30
  78. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
  79. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js +0 -27
  80. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js.map +1 -1
  81. package/dist/logger.d.ts +1 -0
  82. package/dist/logger.d.ts.map +1 -1
  83. package/dist/logger.js +2 -1
  84. package/dist/logger.js.map +1 -1
  85. package/package.json +16 -15
  86. package/src/api/app/bsky/notification/listNotifications.ts +28 -6
  87. package/src/config.ts +45 -15
  88. package/src/context.ts +12 -1
  89. package/src/data-plane/client/hosts.ts +103 -0
  90. package/src/data-plane/client/index.ts +123 -0
  91. package/src/data-plane/client/util.ts +66 -0
  92. package/src/data-plane/server/db/pagination.ts +158 -35
  93. package/src/data-plane/server/routes/notifs.ts +4 -9
  94. package/src/data-plane/server/subscription.ts +7 -2
  95. package/src/etcd.ts +90 -0
  96. package/src/index.ts +26 -2
  97. package/src/lexicon/index.ts +36 -0
  98. package/src/lexicon/lexicons.ts +183 -83
  99. package/src/lexicon/types/app/bsky/embed/video.ts +1 -0
  100. package/src/lexicon/types/com/atproto/identity/defs.ts +30 -0
  101. package/src/lexicon/types/com/atproto/identity/refreshIdentity.ts +52 -0
  102. package/src/lexicon/types/com/atproto/identity/resolveDid.ts +52 -0
  103. package/src/lexicon/types/com/atproto/identity/resolveHandle.ts +1 -0
  104. package/src/lexicon/types/com/atproto/identity/resolveIdentity.ts +48 -0
  105. package/src/lexicon/types/com/atproto/repo/listRecords.ts +0 -4
  106. package/src/lexicon/types/com/atproto/sync/getRecord.ts +0 -2
  107. package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +0 -59
  108. package/src/logger.ts +2 -0
  109. package/tests/etcd.test.ts +301 -0
  110. package/tests/views/__snapshots__/notifications.test.ts.snap +3 -3
  111. package/tests/views/notifications.test.ts +190 -10
  112. package/tsconfig.build.tsbuildinfo +1 -1
  113. package/tsconfig.tests.tsbuildinfo +1 -1
  114. package/dist/data-plane/client.d.ts.map +0 -1
  115. package/dist/data-plane/client.js +0 -156
  116. package/dist/data-plane/client.js.map +0 -1
  117. package/src/data-plane/client.ts +0 -154
@@ -612,6 +612,31 @@ export declare const schemaDict: {
612
612
  };
613
613
  };
614
614
  };
615
+ readonly ComAtprotoIdentityDefs: {
616
+ readonly lexicon: 1;
617
+ readonly id: "com.atproto.identity.defs";
618
+ readonly defs: {
619
+ readonly identityInfo: {
620
+ readonly type: "object";
621
+ readonly required: ["did", "handle", "didDoc"];
622
+ readonly properties: {
623
+ readonly did: {
624
+ readonly type: "string";
625
+ readonly format: "did";
626
+ };
627
+ readonly handle: {
628
+ readonly type: "string";
629
+ readonly format: "handle";
630
+ readonly description: "The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the DID document.";
631
+ };
632
+ readonly didDoc: {
633
+ readonly type: "unknown";
634
+ readonly description: "The complete DID document for the identity.";
635
+ };
636
+ };
637
+ };
638
+ };
639
+ };
615
640
  readonly ComAtprotoIdentityGetRecommendedDidCredentials: {
616
641
  readonly lexicon: 1;
617
642
  readonly id: "com.atproto.identity.getRecommendedDidCredentials";
@@ -649,6 +674,46 @@ export declare const schemaDict: {
649
674
  };
650
675
  };
651
676
  };
677
+ readonly ComAtprotoIdentityRefreshIdentity: {
678
+ readonly lexicon: 1;
679
+ readonly id: "com.atproto.identity.refreshIdentity";
680
+ readonly defs: {
681
+ readonly main: {
682
+ readonly type: "procedure";
683
+ readonly description: "Request that the server re-resolve an identity (DID and handle). The server may ignore this request, or require authentication, depending on the role, implementation, and policy of the server.";
684
+ readonly input: {
685
+ readonly encoding: "application/json";
686
+ readonly schema: {
687
+ readonly type: "object";
688
+ readonly required: ["identifier"];
689
+ readonly properties: {
690
+ readonly identifier: {
691
+ readonly type: "string";
692
+ readonly format: "at-identifier";
693
+ };
694
+ };
695
+ };
696
+ };
697
+ readonly output: {
698
+ readonly encoding: "application/json";
699
+ readonly schema: {
700
+ readonly type: "ref";
701
+ readonly ref: "lex:com.atproto.identity.defs#identityInfo";
702
+ };
703
+ };
704
+ readonly errors: [{
705
+ readonly name: "HandleNotFound";
706
+ readonly description: "The resolution process confirmed that the handle does not resolve to any DID.";
707
+ }, {
708
+ readonly name: "DidNotFound";
709
+ readonly description: "The DID resolution process confirmed that there is no current DID.";
710
+ }, {
711
+ readonly name: "DidDeactivated";
712
+ readonly description: "The DID previously existed, but has been deactivated.";
713
+ }];
714
+ };
715
+ };
716
+ };
652
717
  readonly ComAtprotoIdentityRequestPlcOperationSignature: {
653
718
  readonly lexicon: 1;
654
719
  readonly id: "com.atproto.identity.requestPlcOperationSignature";
@@ -659,13 +724,54 @@ export declare const schemaDict: {
659
724
  };
660
725
  };
661
726
  };
727
+ readonly ComAtprotoIdentityResolveDid: {
728
+ readonly lexicon: 1;
729
+ readonly id: "com.atproto.identity.resolveDid";
730
+ readonly defs: {
731
+ readonly main: {
732
+ readonly type: "query";
733
+ readonly description: "Resolves DID to DID document. Does not bi-directionally verify handle.";
734
+ readonly parameters: {
735
+ readonly type: "params";
736
+ readonly required: ["did"];
737
+ readonly properties: {
738
+ readonly did: {
739
+ readonly type: "string";
740
+ readonly format: "did";
741
+ readonly description: "DID to resolve.";
742
+ };
743
+ };
744
+ };
745
+ readonly output: {
746
+ readonly encoding: "application/json";
747
+ readonly schema: {
748
+ readonly type: "object";
749
+ readonly required: ["didDoc"];
750
+ readonly properties: {
751
+ readonly didDoc: {
752
+ readonly type: "unknown";
753
+ readonly description: "The complete DID document for the identity.";
754
+ };
755
+ };
756
+ };
757
+ };
758
+ readonly errors: [{
759
+ readonly name: "DidNotFound";
760
+ readonly description: "The DID resolution process confirmed that there is no current DID.";
761
+ }, {
762
+ readonly name: "DidDeactivated";
763
+ readonly description: "The DID previously existed, but has been deactivated.";
764
+ }];
765
+ };
766
+ };
767
+ };
662
768
  readonly ComAtprotoIdentityResolveHandle: {
663
769
  readonly lexicon: 1;
664
770
  readonly id: "com.atproto.identity.resolveHandle";
665
771
  readonly defs: {
666
772
  readonly main: {
667
773
  readonly type: "query";
668
- readonly description: "Resolves a handle (domain name) to a DID.";
774
+ readonly description: "Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.";
669
775
  readonly parameters: {
670
776
  readonly type: "params";
671
777
  readonly required: ["handle"];
@@ -690,6 +796,48 @@ export declare const schemaDict: {
690
796
  };
691
797
  };
692
798
  };
799
+ readonly errors: [{
800
+ readonly name: "HandleNotFound";
801
+ readonly description: "The resolution process confirmed that the handle does not resolve to any DID.";
802
+ }];
803
+ };
804
+ };
805
+ };
806
+ readonly ComAtprotoIdentityResolveIdentity: {
807
+ readonly lexicon: 1;
808
+ readonly id: "com.atproto.identity.resolveIdentity";
809
+ readonly defs: {
810
+ readonly main: {
811
+ readonly type: "query";
812
+ readonly description: "Resolves an identity (DID or Handle) to a full identity (DID document and verified handle).";
813
+ readonly parameters: {
814
+ readonly type: "params";
815
+ readonly required: ["identifier"];
816
+ readonly properties: {
817
+ readonly identifier: {
818
+ readonly type: "string";
819
+ readonly format: "at-identifier";
820
+ readonly description: "Handle or DID to resolve.";
821
+ };
822
+ };
823
+ };
824
+ readonly output: {
825
+ readonly encoding: "application/json";
826
+ readonly schema: {
827
+ readonly type: "ref";
828
+ readonly ref: "lex:com.atproto.identity.defs#identityInfo";
829
+ };
830
+ };
831
+ readonly errors: [{
832
+ readonly name: "HandleNotFound";
833
+ readonly description: "The resolution process confirmed that the handle does not resolve to any DID.";
834
+ }, {
835
+ readonly name: "DidNotFound";
836
+ readonly description: "The DID resolution process confirmed that there is no current DID.";
837
+ }, {
838
+ readonly name: "DidDeactivated";
839
+ readonly description: "The DID previously existed, but has been deactivated.";
840
+ }];
693
841
  };
694
842
  };
695
843
  };
@@ -1719,14 +1867,6 @@ export declare const schemaDict: {
1719
1867
  readonly cursor: {
1720
1868
  readonly type: "string";
1721
1869
  };
1722
- readonly rkeyStart: {
1723
- readonly type: "string";
1724
- readonly description: "DEPRECATED: The lowest sort-ordered rkey to start from (exclusive)";
1725
- };
1726
- readonly rkeyEnd: {
1727
- readonly type: "string";
1728
- readonly description: "DEPRECATED: The highest sort-ordered rkey to stop at (exclusive)";
1729
- };
1730
1870
  readonly reverse: {
1731
1871
  readonly type: "boolean";
1732
1872
  readonly description: "Flag to reverse the order of the returned records.";
@@ -3146,11 +3286,6 @@ export declare const schemaDict: {
3146
3286
  readonly description: "Record Key";
3147
3287
  readonly format: "record-key";
3148
3288
  };
3149
- readonly commit: {
3150
- readonly type: "string";
3151
- readonly format: "cid";
3152
- readonly description: "DEPRECATED: referenced a repo commit by CID, and retrieved record as of that commit";
3153
- };
3154
3289
  };
3155
3290
  };
3156
3291
  readonly output: {
@@ -3515,7 +3650,7 @@ export declare const schemaDict: {
3515
3650
  readonly message: {
3516
3651
  readonly schema: {
3517
3652
  readonly type: "union";
3518
- readonly refs: ["lex:com.atproto.sync.subscribeRepos#commit", "lex:com.atproto.sync.subscribeRepos#sync", "lex:com.atproto.sync.subscribeRepos#identity", "lex:com.atproto.sync.subscribeRepos#account", "lex:com.atproto.sync.subscribeRepos#handle", "lex:com.atproto.sync.subscribeRepos#migrate", "lex:com.atproto.sync.subscribeRepos#tombstone", "lex:com.atproto.sync.subscribeRepos#info"];
3653
+ readonly refs: ["lex:com.atproto.sync.subscribeRepos#commit", "lex:com.atproto.sync.subscribeRepos#sync", "lex:com.atproto.sync.subscribeRepos#identity", "lex:com.atproto.sync.subscribeRepos#account", "lex:com.atproto.sync.subscribeRepos#info"];
3519
3654
  };
3520
3655
  };
3521
3656
  readonly errors: [{
@@ -3674,68 +3809,6 @@ export declare const schemaDict: {
3674
3809
  };
3675
3810
  };
3676
3811
  };
3677
- readonly handle: {
3678
- readonly type: "object";
3679
- readonly description: "DEPRECATED -- Use #identity event instead";
3680
- readonly required: ["seq", "did", "handle", "time"];
3681
- readonly properties: {
3682
- readonly seq: {
3683
- readonly type: "integer";
3684
- };
3685
- readonly did: {
3686
- readonly type: "string";
3687
- readonly format: "did";
3688
- };
3689
- readonly handle: {
3690
- readonly type: "string";
3691
- readonly format: "handle";
3692
- };
3693
- readonly time: {
3694
- readonly type: "string";
3695
- readonly format: "datetime";
3696
- };
3697
- };
3698
- };
3699
- readonly migrate: {
3700
- readonly type: "object";
3701
- readonly description: "DEPRECATED -- Use #account event instead";
3702
- readonly required: ["seq", "did", "migrateTo", "time"];
3703
- readonly nullable: ["migrateTo"];
3704
- readonly properties: {
3705
- readonly seq: {
3706
- readonly type: "integer";
3707
- };
3708
- readonly did: {
3709
- readonly type: "string";
3710
- readonly format: "did";
3711
- };
3712
- readonly migrateTo: {
3713
- readonly type: "string";
3714
- };
3715
- readonly time: {
3716
- readonly type: "string";
3717
- readonly format: "datetime";
3718
- };
3719
- };
3720
- };
3721
- readonly tombstone: {
3722
- readonly type: "object";
3723
- readonly description: "DEPRECATED -- Use #account event instead";
3724
- readonly required: ["seq", "did", "time"];
3725
- readonly properties: {
3726
- readonly seq: {
3727
- readonly type: "integer";
3728
- };
3729
- readonly did: {
3730
- readonly type: "string";
3731
- readonly format: "did";
3732
- };
3733
- readonly time: {
3734
- readonly type: "string";
3735
- readonly format: "datetime";
3736
- };
3737
- };
3738
- };
3739
3812
  readonly info: {
3740
3813
  readonly type: "object";
3741
3814
  readonly required: ["name"];
@@ -5148,8 +5221,9 @@ export declare const schemaDict: {
5148
5221
  readonly properties: {
5149
5222
  readonly video: {
5150
5223
  readonly type: "blob";
5224
+ readonly description: "The mp4 video file. May be up to 100mb, formerly limited to 50mb.";
5151
5225
  readonly accept: ["video/mp4"];
5152
- readonly maxSize: 50000000;
5226
+ readonly maxSize: 100000000;
5153
5227
  };
5154
5228
  readonly captions: {
5155
5229
  readonly type: "array";
@@ -11159,6 +11233,30 @@ export declare const schemas: ({
11159
11233
  };
11160
11234
  };
11161
11235
  };
11236
+ } | {
11237
+ readonly lexicon: 1;
11238
+ readonly id: "com.atproto.identity.defs";
11239
+ readonly defs: {
11240
+ readonly identityInfo: {
11241
+ readonly type: "object";
11242
+ readonly required: ["did", "handle", "didDoc"];
11243
+ readonly properties: {
11244
+ readonly did: {
11245
+ readonly type: "string";
11246
+ readonly format: "did";
11247
+ };
11248
+ readonly handle: {
11249
+ readonly type: "string";
11250
+ readonly format: "handle";
11251
+ readonly description: "The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the DID document.";
11252
+ };
11253
+ readonly didDoc: {
11254
+ readonly type: "unknown";
11255
+ readonly description: "The complete DID document for the identity.";
11256
+ };
11257
+ };
11258
+ };
11259
+ };
11162
11260
  } | {
11163
11261
  readonly lexicon: 1;
11164
11262
  readonly id: "com.atproto.identity.getRecommendedDidCredentials";
@@ -11195,6 +11293,45 @@ export declare const schemas: ({
11195
11293
  };
11196
11294
  };
11197
11295
  };
11296
+ } | {
11297
+ readonly lexicon: 1;
11298
+ readonly id: "com.atproto.identity.refreshIdentity";
11299
+ readonly defs: {
11300
+ readonly main: {
11301
+ readonly type: "procedure";
11302
+ readonly description: "Request that the server re-resolve an identity (DID and handle). The server may ignore this request, or require authentication, depending on the role, implementation, and policy of the server.";
11303
+ readonly input: {
11304
+ readonly encoding: "application/json";
11305
+ readonly schema: {
11306
+ readonly type: "object";
11307
+ readonly required: ["identifier"];
11308
+ readonly properties: {
11309
+ readonly identifier: {
11310
+ readonly type: "string";
11311
+ readonly format: "at-identifier";
11312
+ };
11313
+ };
11314
+ };
11315
+ };
11316
+ readonly output: {
11317
+ readonly encoding: "application/json";
11318
+ readonly schema: {
11319
+ readonly type: "ref";
11320
+ readonly ref: "lex:com.atproto.identity.defs#identityInfo";
11321
+ };
11322
+ };
11323
+ readonly errors: [{
11324
+ readonly name: "HandleNotFound";
11325
+ readonly description: "The resolution process confirmed that the handle does not resolve to any DID.";
11326
+ }, {
11327
+ readonly name: "DidNotFound";
11328
+ readonly description: "The DID resolution process confirmed that there is no current DID.";
11329
+ }, {
11330
+ readonly name: "DidDeactivated";
11331
+ readonly description: "The DID previously existed, but has been deactivated.";
11332
+ }];
11333
+ };
11334
+ };
11198
11335
  } | {
11199
11336
  readonly lexicon: 1;
11200
11337
  readonly id: "com.atproto.identity.requestPlcOperationSignature";
@@ -11204,13 +11341,53 @@ export declare const schemas: ({
11204
11341
  readonly description: "Request an email with a code to in order to request a signed PLC operation. Requires Auth.";
11205
11342
  };
11206
11343
  };
11344
+ } | {
11345
+ readonly lexicon: 1;
11346
+ readonly id: "com.atproto.identity.resolveDid";
11347
+ readonly defs: {
11348
+ readonly main: {
11349
+ readonly type: "query";
11350
+ readonly description: "Resolves DID to DID document. Does not bi-directionally verify handle.";
11351
+ readonly parameters: {
11352
+ readonly type: "params";
11353
+ readonly required: ["did"];
11354
+ readonly properties: {
11355
+ readonly did: {
11356
+ readonly type: "string";
11357
+ readonly format: "did";
11358
+ readonly description: "DID to resolve.";
11359
+ };
11360
+ };
11361
+ };
11362
+ readonly output: {
11363
+ readonly encoding: "application/json";
11364
+ readonly schema: {
11365
+ readonly type: "object";
11366
+ readonly required: ["didDoc"];
11367
+ readonly properties: {
11368
+ readonly didDoc: {
11369
+ readonly type: "unknown";
11370
+ readonly description: "The complete DID document for the identity.";
11371
+ };
11372
+ };
11373
+ };
11374
+ };
11375
+ readonly errors: [{
11376
+ readonly name: "DidNotFound";
11377
+ readonly description: "The DID resolution process confirmed that there is no current DID.";
11378
+ }, {
11379
+ readonly name: "DidDeactivated";
11380
+ readonly description: "The DID previously existed, but has been deactivated.";
11381
+ }];
11382
+ };
11383
+ };
11207
11384
  } | {
11208
11385
  readonly lexicon: 1;
11209
11386
  readonly id: "com.atproto.identity.resolveHandle";
11210
11387
  readonly defs: {
11211
11388
  readonly main: {
11212
11389
  readonly type: "query";
11213
- readonly description: "Resolves a handle (domain name) to a DID.";
11390
+ readonly description: "Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.";
11214
11391
  readonly parameters: {
11215
11392
  readonly type: "params";
11216
11393
  readonly required: ["handle"];
@@ -11235,6 +11412,47 @@ export declare const schemas: ({
11235
11412
  };
11236
11413
  };
11237
11414
  };
11415
+ readonly errors: [{
11416
+ readonly name: "HandleNotFound";
11417
+ readonly description: "The resolution process confirmed that the handle does not resolve to any DID.";
11418
+ }];
11419
+ };
11420
+ };
11421
+ } | {
11422
+ readonly lexicon: 1;
11423
+ readonly id: "com.atproto.identity.resolveIdentity";
11424
+ readonly defs: {
11425
+ readonly main: {
11426
+ readonly type: "query";
11427
+ readonly description: "Resolves an identity (DID or Handle) to a full identity (DID document and verified handle).";
11428
+ readonly parameters: {
11429
+ readonly type: "params";
11430
+ readonly required: ["identifier"];
11431
+ readonly properties: {
11432
+ readonly identifier: {
11433
+ readonly type: "string";
11434
+ readonly format: "at-identifier";
11435
+ readonly description: "Handle or DID to resolve.";
11436
+ };
11437
+ };
11438
+ };
11439
+ readonly output: {
11440
+ readonly encoding: "application/json";
11441
+ readonly schema: {
11442
+ readonly type: "ref";
11443
+ readonly ref: "lex:com.atproto.identity.defs#identityInfo";
11444
+ };
11445
+ };
11446
+ readonly errors: [{
11447
+ readonly name: "HandleNotFound";
11448
+ readonly description: "The resolution process confirmed that the handle does not resolve to any DID.";
11449
+ }, {
11450
+ readonly name: "DidNotFound";
11451
+ readonly description: "The DID resolution process confirmed that there is no current DID.";
11452
+ }, {
11453
+ readonly name: "DidDeactivated";
11454
+ readonly description: "The DID previously existed, but has been deactivated.";
11455
+ }];
11238
11456
  };
11239
11457
  };
11240
11458
  } | {
@@ -12246,14 +12464,6 @@ export declare const schemas: ({
12246
12464
  readonly cursor: {
12247
12465
  readonly type: "string";
12248
12466
  };
12249
- readonly rkeyStart: {
12250
- readonly type: "string";
12251
- readonly description: "DEPRECATED: The lowest sort-ordered rkey to start from (exclusive)";
12252
- };
12253
- readonly rkeyEnd: {
12254
- readonly type: "string";
12255
- readonly description: "DEPRECATED: The highest sort-ordered rkey to stop at (exclusive)";
12256
- };
12257
12467
  readonly reverse: {
12258
12468
  readonly type: "boolean";
12259
12469
  readonly description: "Flag to reverse the order of the returned records.";
@@ -13638,11 +13848,6 @@ export declare const schemas: ({
13638
13848
  readonly description: "Record Key";
13639
13849
  readonly format: "record-key";
13640
13850
  };
13641
- readonly commit: {
13642
- readonly type: "string";
13643
- readonly format: "cid";
13644
- readonly description: "DEPRECATED: referenced a repo commit by CID, and retrieved record as of that commit";
13645
- };
13646
13851
  };
13647
13852
  };
13648
13853
  readonly output: {
@@ -13999,7 +14204,7 @@ export declare const schemas: ({
13999
14204
  readonly message: {
14000
14205
  readonly schema: {
14001
14206
  readonly type: "union";
14002
- readonly refs: ["lex:com.atproto.sync.subscribeRepos#commit", "lex:com.atproto.sync.subscribeRepos#sync", "lex:com.atproto.sync.subscribeRepos#identity", "lex:com.atproto.sync.subscribeRepos#account", "lex:com.atproto.sync.subscribeRepos#handle", "lex:com.atproto.sync.subscribeRepos#migrate", "lex:com.atproto.sync.subscribeRepos#tombstone", "lex:com.atproto.sync.subscribeRepos#info"];
14207
+ readonly refs: ["lex:com.atproto.sync.subscribeRepos#commit", "lex:com.atproto.sync.subscribeRepos#sync", "lex:com.atproto.sync.subscribeRepos#identity", "lex:com.atproto.sync.subscribeRepos#account", "lex:com.atproto.sync.subscribeRepos#info"];
14003
14208
  };
14004
14209
  };
14005
14210
  readonly errors: [{
@@ -14158,68 +14363,6 @@ export declare const schemas: ({
14158
14363
  };
14159
14364
  };
14160
14365
  };
14161
- readonly handle: {
14162
- readonly type: "object";
14163
- readonly description: "DEPRECATED -- Use #identity event instead";
14164
- readonly required: ["seq", "did", "handle", "time"];
14165
- readonly properties: {
14166
- readonly seq: {
14167
- readonly type: "integer";
14168
- };
14169
- readonly did: {
14170
- readonly type: "string";
14171
- readonly format: "did";
14172
- };
14173
- readonly handle: {
14174
- readonly type: "string";
14175
- readonly format: "handle";
14176
- };
14177
- readonly time: {
14178
- readonly type: "string";
14179
- readonly format: "datetime";
14180
- };
14181
- };
14182
- };
14183
- readonly migrate: {
14184
- readonly type: "object";
14185
- readonly description: "DEPRECATED -- Use #account event instead";
14186
- readonly required: ["seq", "did", "migrateTo", "time"];
14187
- readonly nullable: ["migrateTo"];
14188
- readonly properties: {
14189
- readonly seq: {
14190
- readonly type: "integer";
14191
- };
14192
- readonly did: {
14193
- readonly type: "string";
14194
- readonly format: "did";
14195
- };
14196
- readonly migrateTo: {
14197
- readonly type: "string";
14198
- };
14199
- readonly time: {
14200
- readonly type: "string";
14201
- readonly format: "datetime";
14202
- };
14203
- };
14204
- };
14205
- readonly tombstone: {
14206
- readonly type: "object";
14207
- readonly description: "DEPRECATED -- Use #account event instead";
14208
- readonly required: ["seq", "did", "time"];
14209
- readonly properties: {
14210
- readonly seq: {
14211
- readonly type: "integer";
14212
- };
14213
- readonly did: {
14214
- readonly type: "string";
14215
- readonly format: "did";
14216
- };
14217
- readonly time: {
14218
- readonly type: "string";
14219
- readonly format: "datetime";
14220
- };
14221
- };
14222
- };
14223
14366
  readonly info: {
14224
14367
  readonly type: "object";
14225
14368
  readonly required: ["name"];
@@ -15613,8 +15756,9 @@ export declare const schemas: ({
15613
15756
  readonly properties: {
15614
15757
  readonly video: {
15615
15758
  readonly type: "blob";
15759
+ readonly description: "The mp4 video file. May be up to 100mb, formerly limited to 50mb.";
15616
15760
  readonly accept: ["video/mp4"];
15617
- readonly maxSize: 50000000;
15761
+ readonly maxSize: 100000000;
15618
15762
  };
15619
15763
  readonly captions: {
15620
15764
  readonly type: "array";
@@ -20954,9 +21098,13 @@ export declare const ids: {
20954
21098
  readonly ComAtprotoAdminUpdateAccountHandle: "com.atproto.admin.updateAccountHandle";
20955
21099
  readonly ComAtprotoAdminUpdateAccountPassword: "com.atproto.admin.updateAccountPassword";
20956
21100
  readonly ComAtprotoAdminUpdateSubjectStatus: "com.atproto.admin.updateSubjectStatus";
21101
+ readonly ComAtprotoIdentityDefs: "com.atproto.identity.defs";
20957
21102
  readonly ComAtprotoIdentityGetRecommendedDidCredentials: "com.atproto.identity.getRecommendedDidCredentials";
21103
+ readonly ComAtprotoIdentityRefreshIdentity: "com.atproto.identity.refreshIdentity";
20958
21104
  readonly ComAtprotoIdentityRequestPlcOperationSignature: "com.atproto.identity.requestPlcOperationSignature";
21105
+ readonly ComAtprotoIdentityResolveDid: "com.atproto.identity.resolveDid";
20959
21106
  readonly ComAtprotoIdentityResolveHandle: "com.atproto.identity.resolveHandle";
21107
+ readonly ComAtprotoIdentityResolveIdentity: "com.atproto.identity.resolveIdentity";
20960
21108
  readonly ComAtprotoIdentitySignPlcOperation: "com.atproto.identity.signPlcOperation";
20961
21109
  readonly ComAtprotoIdentitySubmitPlcOperation: "com.atproto.identity.submitPlcOperation";
20962
21110
  readonly ComAtprotoIdentityUpdateHandle: "com.atproto.identity.updateHandle";