@atproto/dev-env 0.3.49 → 0.3.51
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +31 -0
- package/dist/moderator-client.d.ts +1 -0
- package/dist/moderator-client.d.ts.map +1 -1
- package/dist/moderator-client.js +2 -1
- package/dist/moderator-client.js.map +1 -1
- package/dist/pds.js +1 -1
- package/dist/pds.js.map +1 -1
- package/package.json +11 -11
- package/src/moderator-client.ts +3 -1
- package/src/pds.ts +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,36 @@
|
|
1
1
|
# @atproto/dev-env
|
2
2
|
|
3
|
+
## 0.3.51
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [[`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`2676206e4`](https://github.com/bluesky-social/atproto/commit/2676206e422233fefbf2d9d182e8d462f0957c93), [`922b94ce3`](https://github.com/bluesky-social/atproto/commit/922b94ce379d861faaa5cf8448b7a44f04e474d3), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`eb20ff64a`](https://github.com/bluesky-social/atproto/commit/eb20ff64a2d8e3061c652e1e247bf9b0fe3c41a6), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`87a1f2426`](https://github.com/bluesky-social/atproto/commit/87a1f24262e0e644b6cf31cc7a0446d9127ffa94), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3), [`a06634ae5`](https://github.com/bluesky-social/atproto/commit/a06634ae576217d53ef7ea7f8cbfa9faa8662634), [`b298bfd28`](https://github.com/bluesky-social/atproto/commit/b298bfd280c5de8b38b843fd852e6d2739a776d8), [`a07b21151`](https://github.com/bluesky-social/atproto/commit/a07b21151f1850340c4b7797ebb11521b1a6cdf3)]:
|
8
|
+
- @atproto/common-web@0.3.1
|
9
|
+
- @atproto/api@0.13.8
|
10
|
+
- @atproto/pds@0.4.60
|
11
|
+
- @atproto/xrpc-server@0.7.0
|
12
|
+
- @atproto/lexicon@0.4.2
|
13
|
+
- @atproto/bsky@0.0.84
|
14
|
+
- @atproto/ozone@0.1.46
|
15
|
+
- @atproto/identity@0.4.2
|
16
|
+
- @atproto/sync@0.1.2
|
17
|
+
- @atproto/bsync@0.0.7
|
18
|
+
- @atproto/crypto@0.4.1
|
19
|
+
|
20
|
+
## 0.3.50
|
21
|
+
|
22
|
+
### Patch Changes
|
23
|
+
|
24
|
+
- Updated dependencies [[`e6bd5aecc`](https://github.com/bluesky-social/atproto/commit/e6bd5aecce7954d60e5fb263297e697ab7aab98e), [`98711a147`](https://github.com/bluesky-social/atproto/commit/98711a147a8674337f605c6368f39fc10c2fae93), [`33aa0c722`](https://github.com/bluesky-social/atproto/commit/33aa0c722226a18215af0ae1833c7c552fc7aaa7)]:
|
25
|
+
- @atproto/api@0.13.7
|
26
|
+
- @atproto/ozone@0.1.45
|
27
|
+
- @atproto/xrpc-server@0.6.4
|
28
|
+
- @atproto/bsky@0.0.83
|
29
|
+
- @atproto/pds@0.4.59
|
30
|
+
- @atproto/bsync@0.0.6
|
31
|
+
- @atproto/crypto@0.4.1
|
32
|
+
- @atproto/sync@0.1.1
|
33
|
+
|
3
34
|
## 0.3.49
|
4
35
|
|
5
36
|
### Patch Changes
|
@@ -29,6 +29,7 @@ export declare class ModeratorClient {
|
|
29
29
|
subject: TakeActionInput['subject'];
|
30
30
|
subjectBlobCids?: TakeActionInput['subjectBlobCids'];
|
31
31
|
durationInHours?: number;
|
32
|
+
acknowledgeAccountSubjects?: boolean;
|
32
33
|
reason?: string;
|
33
34
|
}, role?: ModLevel): Promise<import("@atproto/api/dist/client/types/tools/ozone/moderation/defs").ModEventView>;
|
34
35
|
performReverseTakedown(opts: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"moderator-client.d.ts","sourceRoot":"","sources":["../src/moderator-client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,6BAA6B,IAAI,mBAAmB,EACpD,iCAAiC,IAAI,uBAAuB,EAC5D,+BAA+B,IAAI,qBAAqB,EACzD,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,KAAK,eAAe,GAAG,mBAAmB,CAAC,WAAW,CAAA;AACtD,KAAK,mBAAmB,GAAG,uBAAuB,CAAC,WAAW,CAAA;AAC9D,KAAK,iBAAiB,GAAG,qBAAqB,CAAC,WAAW,CAAA;AAC1D,KAAK,QAAQ,GAAG,OAAO,GAAG,WAAW,GAAG,QAAQ,CAAA;AAEhD,qBAAa,eAAe;IAEP,KAAK,EAAE,SAAS;IADnC,KAAK,EAAE,QAAQ,CAAA;gBACI,KAAK,EAAE,SAAS;IAI7B,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ;IAapC,aAAa,CAAC,KAAK,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,QAAQ;IAazD,WAAW,CAAC,K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B,EACD,IAAI,CAAC,EAAE,QAAQ;IAgBX,sBAAsB,CAC1B,IAAI,EAAE;QACJ,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;QACnC,eAAe,CAAC,EAAE,eAAe,CAAC,iBAAiB,CAAC,CAAA;QACpD,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,EACD,IAAI,CAAC,EAAE,QAAQ;CAYlB"}
|
package/dist/moderator-client.js
CHANGED
@@ -59,10 +59,11 @@ class ModeratorClient {
|
|
59
59
|
return result.data;
|
60
60
|
}
|
61
61
|
async performTakedown(opts, role) {
|
62
|
-
const { durationInHours, ...rest } = opts;
|
62
|
+
const { durationInHours, acknowledgeAccountSubjects, ...rest } = opts;
|
63
63
|
return this.emitEvent({
|
64
64
|
event: {
|
65
65
|
$type: 'tools.ozone.moderation.defs#modEventTakedown',
|
66
|
+
acknowledgeAccountSubjects,
|
66
67
|
durationInHours,
|
67
68
|
},
|
68
69
|
...rest,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"moderator-client.js","sourceRoot":"","sources":["../src/moderator-client.ts"],"names":[],"mappings":";;;AAaA,MAAa,eAAe;IAE1B,YAAmB,KAAgB;QAAvB;;;;mBAAO,KAAK;WAAW;QADnC;;;;;WAAe;QAEb,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAChC,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,EAAU,EAAE,IAAe;QACxC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAC7D,EAAE,EAAE,EAAE,EACN;YACE,OAAO,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,UAAU,CAClC,iCAAiC,EACjC,IAAI,CACL;SACF,CACF,CAAA;QACD,OAAO,MAAM,CAAC,IAAI,CAAA;IACpB,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,KAA0B,EAAE,IAAe;QAC7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MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAC9D;YACE,OAAO;YACP,KAAK,EAAE;gBACL,KAAK,EAAE,qDAAqD;gBAC5D,OAAO,EAAE,MAAM;aAChB;YACD,SAAS;SACV,EACD;YACE,QAAQ,EAAE,kBAAkB;YAC5B,OAAO,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,UAAU,CAClC,kCAAkC,EAClC,IAAI,CACL;SACF,CACF,CAAA;QACD,OAAO,MAAM,CAAC,IAAI,CAAA;IACpB,CAAC;IAED,KAAK,CAAC,eAAe,CACnB,
|
1
|
+
{"version":3,"file":"moderator-client.js","sourceRoot":"","sources":["../src/moderator-client.ts"],"names":[],"mappings":";;;AAaA,MAAa,eAAe;IAE1B,YAAmB,KAAgB;QAAvB;;;;mBAAO,KAAK;WAAW;QADnC;;;;;WAAe;QAEb,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAChC,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,EAAU,EAAE,IAAe;QACxC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAC7D,EAAE,EAAE,EAAE,EACN;YACE,OAAO,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,UAAU,CAClC,iCAAiC,EACjC,IAAI,CACL;SACF,CACF,CAAA;QACD,OAAO,MAAM,CAAC,IAAI,CAAA;IACpB,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,KAA0B,EAAE,IAAe;QAC7D,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,aAAa,CAClE,KAAK,EACL;YACE,OAAO,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,UAAU,CAClC,sCAAsC,EACtC,IAAI,CACL;SACF,CACF,CAAA;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QAAQ,EAAE,kBAAkB;YAC5B,OAAO,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,UAAU,CAClC,kCAAkC,EAClC,IAAI,CACL;SACF,CACF,CAAA;QACD,OAAO,MAAM,CAAC,IAAI,CAAA;IACpB,CAAC;IAED,KAAK,CAAC,eAAe,CACnB,IAMC,EACD,IAAe;QAEf,MAAM,EAAE,eAAe,EAAE,0BAA0B,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAA;QACrE,OAAO,IAAI,CAAC,SAAS,CACnB;YACE,KAAK,EAAE;gBACL,KAAK,EAAE,8CAA8C;gBACrD,0BAA0B;gBAC1B,eAAe;aAChB;YACD,GAAG,IAAI;SACR,EACD,IAAI,CACL,CAAA;IACH,CAAC;IAED,KAAK,CAAC,sBAAsB,CAC1B,IAIC,EACD,IAAe;QAEf,OAAO,IAAI,CAAC,SAAS,CACnB;YACE,KAAK,EAAE;gBACL,KAAK,EAAE,qDAAqD;aAC7D;YACD,GAAG,IAAI;SACR,EACD,IAAI,CACL,CAAA;IACH,CAAC;CACF;AAjJD,0CAiJC"}
|
package/dist/pds.js
CHANGED
@@ -83,7 +83,7 @@ class TestPds {
|
|
83
83
|
modServiceDid: 'did:example:invalid',
|
84
84
|
plcRotationKeyK256PrivateKeyHex: plcRotationPriv,
|
85
85
|
inviteRequired: false,
|
86
|
-
|
86
|
+
disableSsrfProtection: true,
|
87
87
|
serviceName: 'Development PDS',
|
88
88
|
brandColor: '#ffcb1e',
|
89
89
|
errorColor: undefined,
|
package/dist/pds.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pds.js","sourceRoot":"","sources":["../src/pds.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4B;AAC5B,sDAAwB;AACxB,gEAAiC;AACjC,wDAA8B;AAC9B,iDAAkC;AAClC,kDAAmC;AACnC,sCAAoD;AACpD,4CAA6D;AAC7D,sCAAuC;AAEvC,mCAAqE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AO,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAA;IACvC,CAAC;IAED,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAA;IACxB,CAAC;IAED,SAAS;QACP,MAAM,KAAK,GAAG,IAAI,cAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAA;QACjD,KAAK,CAAC,iBAAiB,CAAC,CAAC,uBAAe,CAAC,CAAC,CAAA;QAC1C,OAAO,KAAK,CAAA;IACd,CAAC;IAED,SAAS;QACP,OAAO,CACL,QAAQ;YACR,GAAG,CAAC,QAAQ,CACV,GAAG,CAAC,UAAU,CAAC,SAAS,sBAAc,EAAE,EAAE,MAAM,CAAC,EACjD,WAAW,CACZ,CACF,CAAA;IACH,CAAC;IAED,gBAAgB;QACd,OAAO;YACL,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE;SAChC,CAAA;IACH,CAAC;IAED,YAAY;QACV,OAAO,IAAA,2BAAqB,EAAC,kBAAU,CAAC,CAAA;IAC1C,CAAC;IAED,KAAK,CAAC,UAAU;QACd,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,UAAU,EAAE,CAAA;IAC7C,CAAC;IAED,KAAK,CAAC,KAAK;QACT,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;IAC7B,CAAC;CACF;AA9FD,0BA8FC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atproto/dev-env",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.51",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Local development environment helper for atproto development",
|
6
6
|
"keywords": [
|
@@ -24,18 +24,18 @@
|
|
24
24
|
"get-port": "^5.1.1",
|
25
25
|
"multiformats": "^9.9.0",
|
26
26
|
"uint8arrays": "3.0.0",
|
27
|
-
"@atproto/api": "^0.13.
|
28
|
-
"@atproto/bsky": "^0.0.
|
29
|
-
"@atproto/bsync": "^0.0.
|
30
|
-
"@atproto/common-web": "^0.3.
|
27
|
+
"@atproto/api": "^0.13.8",
|
28
|
+
"@atproto/bsky": "^0.0.84",
|
29
|
+
"@atproto/bsync": "^0.0.7",
|
30
|
+
"@atproto/common-web": "^0.3.1",
|
31
31
|
"@atproto/crypto": "^0.4.1",
|
32
|
-
"@atproto/identity": "^0.4.
|
33
|
-
"@atproto/lexicon": "^0.4.
|
34
|
-
"@atproto/ozone": "^0.1.
|
35
|
-
"@atproto/pds": "^0.4.
|
36
|
-
"@atproto/sync": "^0.1.
|
32
|
+
"@atproto/identity": "^0.4.2",
|
33
|
+
"@atproto/lexicon": "^0.4.2",
|
34
|
+
"@atproto/ozone": "^0.1.46",
|
35
|
+
"@atproto/pds": "^0.4.60",
|
36
|
+
"@atproto/sync": "^0.1.2",
|
37
37
|
"@atproto/syntax": "^0.3.0",
|
38
|
-
"@atproto/xrpc-server": "^0.
|
38
|
+
"@atproto/xrpc-server": "^0.7.0"
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
41
|
"@types/express": "^4.17.13"
|
package/src/moderator-client.ts
CHANGED
@@ -119,15 +119,17 @@ export class ModeratorClient {
|
|
119
119
|
subject: TakeActionInput['subject']
|
120
120
|
subjectBlobCids?: TakeActionInput['subjectBlobCids']
|
121
121
|
durationInHours?: number
|
122
|
+
acknowledgeAccountSubjects?: boolean
|
122
123
|
reason?: string
|
123
124
|
},
|
124
125
|
role?: ModLevel,
|
125
126
|
) {
|
126
|
-
const { durationInHours, ...rest } = opts
|
127
|
+
const { durationInHours, acknowledgeAccountSubjects, ...rest } = opts
|
127
128
|
return this.emitEvent(
|
128
129
|
{
|
129
130
|
event: {
|
130
131
|
$type: 'tools.ozone.moderation.defs#modEventTakedown',
|
132
|
+
acknowledgeAccountSubjects,
|
131
133
|
durationInHours,
|
132
134
|
},
|
133
135
|
...rest,
|
package/src/pds.ts
CHANGED
@@ -45,7 +45,7 @@ export class TestPds {
|
|
45
45
|
modServiceDid: 'did:example:invalid',
|
46
46
|
plcRotationKeyK256PrivateKeyHex: plcRotationPriv,
|
47
47
|
inviteRequired: false,
|
48
|
-
|
48
|
+
disableSsrfProtection: true,
|
49
49
|
serviceName: 'Development PDS',
|
50
50
|
brandColor: '#ffcb1e',
|
51
51
|
errorColor: undefined,
|