@atproto/pds 0.3.11 → 0.3.12

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atproto/pds
2
2
 
3
+ ## 0.3.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`c6fc73ae`](https://github.com/bluesky-social/atproto/commit/c6fc73aee6c245d12f876abd11889b8dbd0ce2ed)]:
8
+ - @atproto/api@0.9.1
9
+
3
10
  ## 0.3.11
4
11
 
5
12
  ### Patch Changes
package/dist/index.js CHANGED
@@ -234876,6 +234876,10 @@ function putRecord_default(server, ctx) {
234876
234876
  function uploadBlob_default(server, ctx) {
234877
234877
  server.com.atproto.repo.uploadBlob({
234878
234878
  auth: ctx.authVerifier.accessCheckTakedown,
234879
+ rateLimit: {
234880
+ durationMs: DAY,
234881
+ points: 1e3
234882
+ },
234879
234883
  handler: async ({ auth, input }) => {
234880
234884
  const requester = auth.credentials.did;
234881
234885
  const blob2 = await ctx.actorStore.transact(requester, (actorTxn) => {
@@ -247246,12 +247250,7 @@ var _AtpAgent = class {
247246
247250
  }
247247
247251
  async createAccount(opts) {
247248
247252
  try {
247249
- const res = await this.api.com.atproto.server.createAccount({
247250
- handle: opts.handle,
247251
- password: opts.password,
247252
- email: opts.email,
247253
- inviteCode: opts.inviteCode
247254
- });
247253
+ const res = await this.api.com.atproto.server.createAccount(opts);
247255
247254
  this.session = {
247256
247255
  accessJwt: res.data.accessJwt,
247257
247256
  refreshJwt: res.data.refreshJwt,