@atproto/dev-env 0.3.11 → 0.3.13

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atproto/dev-env
2
2
 
3
+ ## 0.3.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`d32f7215f`](https://github.com/bluesky-social/atproto/commit/d32f7215f69bc87f50890d9cfdb09840c2fbaa41)]:
8
+ - @atproto/api@0.12.10
9
+ - @atproto/pds@0.4.22
10
+ - @atproto/bsky@0.0.52
11
+ - @atproto/ozone@0.1.14
12
+
13
+ ## 0.3.12
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [[`f36585013`](https://github.com/bluesky-social/atproto/commit/f365850139ffb2b5e63facfd95eedf0b87d01ee7)]:
18
+ - @atproto/pds@0.4.21
19
+ - @atproto/bsky@0.0.51
20
+ - @atproto/ozone@0.1.13
21
+
3
22
  ## 0.3.11
4
23
 
5
24
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/seed/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;6BAEX,UAAU;AAApC,wBAoBC"}
1
+ {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/seed/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;6BAEX,UAAU;AAApC,wBA0BC"}
@@ -7,6 +7,7 @@ exports.default = async (sc) => {
7
7
  await sc.createAccount('dan', users.dan);
8
8
  await sc.createProfile(sc.dids.alice, users.alice.displayName, users.alice.description, users.alice.selfLabels);
9
9
  await sc.createProfile(sc.dids.bob, users.bob.displayName, users.bob.description, users.bob.selfLabels);
10
+ await sc.agent.api.chat.bsky.actor.declaration.create({ repo: sc.dids.dan }, { allowIncoming: 'none' }, sc.getHeaders(sc.dids.dan));
10
11
  return sc;
11
12
  };
12
13
  const users = {
@@ -1 +1 @@
1
-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,CACnD,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,EACrB,EAAE,aAAa,EAAE,MAAM,EAAE,EACzB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAC3B,CAAA;IAED,OAAO,EAAE,CAAA;AACX,CAAC,CAAA;AAED,MAAM,KAAK,GAAG;IACZ,KAAK,EAAE;QACL,KAAK,EAAE,gBAAgB;QACvB,MAAM,EAAE,YAAY;QACpB,QAAQ,EAAE,YAAY;QACtB,WAAW,EAAE,KAAK;QAClB,WAAW,EAAE,SAAS;QACtB,UAAU,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;KAC7C;IACD,GAAG,EAAE;QACH,KAAK,EAAE,cAAc;QACrB,MAAM,EAAE,UAAU;QAClB,QAAQ,EAAE,UAAU;QACpB,WAAW,EAAE,OAAO;QACpB,WAAW,EAAE,oBAAoB;QACjC,UAAU,EAAE,SAAS;KACtB;IACD,KAAK,EAAE;QACL,KAAK,EAAE,gBAAgB;QACvB,MAAM,EAAE,YAAY;QACpB,QAAQ,EAAE,YAAY;QACtB,WAAW,EAAE,SAAS;QACtB,WAAW,EAAE,SAAS;QACtB,UAAU,EAAE,SAAS;KACtB;IACD,GAAG,EAAE;QACH,KAAK,EAAE,cAAc;QACrB,MAAM,EAAE,UAAU;QAClB,QAAQ,EAAE,UAAU;QACpB,WAAW,EAAE,SAAS;QACtB,WAAW,EAAE,SAAS;QACtB,UAAU,EAAE,SAAS;KACtB;CACF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/dev-env",
3
- "version": "0.3.11",
3
+ "version": "0.3.13",
4
4
  "license": "MIT",
5
5
  "description": "Local development environment helper for atproto development",
6
6
  "keywords": [
@@ -24,15 +24,15 @@
24
24
  "get-port": "^5.1.1",
25
25
  "multiformats": "^9.9.0",
26
26
  "uint8arrays": "3.0.0",
27
- "@atproto/api": "^0.12.9",
28
- "@atproto/bsky": "^0.0.51",
29
- "@atproto/bsync": "^0.0.3",
27
+ "@atproto/api": "^0.12.10",
28
+ "@atproto/bsky": "^0.0.52",
30
29
  "@atproto/common-web": "^0.3.0",
30
+ "@atproto/bsync": "^0.0.3",
31
31
  "@atproto/crypto": "^0.4.0",
32
32
  "@atproto/identity": "^0.4.0",
33
33
  "@atproto/lexicon": "^0.4.0",
34
- "@atproto/ozone": "^0.1.13",
35
- "@atproto/pds": "^0.4.20",
34
+ "@atproto/ozone": "^0.1.14",
35
+ "@atproto/pds": "^0.4.22",
36
36
  "@atproto/syntax": "^0.3.0",
37
37
  "@atproto/xrpc-server": "^0.5.1"
38
38
  },
package/src/seed/users.ts CHANGED
@@ -19,6 +19,12 @@ export default async (sc: SeedClient) => {
19
19
  users.bob.selfLabels,
20
20
  )
21
21
 
22
+ await sc.agent.api.chat.bsky.actor.declaration.create(
23
+ { repo: sc.dids.dan },
24
+ { allowIncoming: 'none' },
25
+ sc.getHeaders(sc.dids.dan),
26
+ )
27
+
22
28
  return sc
23
29
  }
24
30