@atproto/sync 0.1.36 → 0.1.38
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.
- package/CHANGELOG.md +18 -0
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +1 -0
- package/dist/events.js.map +1 -1
- package/package.json +6 -6
- package/src/events.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atproto/sync
|
|
2
2
|
|
|
3
|
+
## 0.1.38
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`261968fd6`](https://github.com/bluesky-social/atproto/commit/261968fd65014ded613e2bf085d61a7864b8fba7), [`261968fd6`](https://github.com/bluesky-social/atproto/commit/261968fd65014ded613e2bf085d61a7864b8fba7), [`261968fd6`](https://github.com/bluesky-social/atproto/commit/261968fd65014ded613e2bf085d61a7864b8fba7), [`261968fd6`](https://github.com/bluesky-social/atproto/commit/261968fd65014ded613e2bf085d61a7864b8fba7), [`261968fd6`](https://github.com/bluesky-social/atproto/commit/261968fd65014ded613e2bf085d61a7864b8fba7)]:
|
|
8
|
+
- @atproto/xrpc-server@0.10.0
|
|
9
|
+
- @atproto/common@0.5.0
|
|
10
|
+
- @atproto/identity@0.4.10
|
|
11
|
+
- @atproto/lexicon@0.5.2
|
|
12
|
+
- @atproto/repo@0.8.11
|
|
13
|
+
|
|
14
|
+
## 0.1.37
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`1dd20d3a8`](https://github.com/bluesky-social/atproto/commit/1dd20d3a81cda29392d8d63d13082254ec5f68a8)]:
|
|
19
|
+
- @atproto/xrpc-server@0.9.6
|
|
20
|
+
|
|
3
21
|
## 0.1.36
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAEvC,MAAM,MAAM,KAAK,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAA;AAElE,MAAM,MAAM,UAAU,GAAG;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,GAAG,CAAA;IACX,MAAM,EAAE,QAAQ,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,KAAK,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;AAEhD,MAAM,MAAM,MAAM,GAAG,UAAU,GAAG;IAChC,KAAK,EAAE,QAAQ,CAAA;IACf,MAAM,EAAE,UAAU,CAAA;IAClB,GAAG,EAAE,GAAG,CAAA;CACT,CAAA;AAED,MAAM,MAAM,MAAM,GAAG,UAAU,GAAG;IAChC,KAAK,EAAE,QAAQ,CAAA;IACf,MAAM,EAAE,UAAU,CAAA;IAClB,GAAG,EAAE,GAAG,CAAA;CACT,CAAA;AAED,MAAM,MAAM,MAAM,GAAG,UAAU,GAAG;IAChC,KAAK,EAAE,QAAQ,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,GAAG,CAAA;IACR,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,QAAQ,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,UAAU,CAAA;IACjB,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,SAAS,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,aAAa,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,aAAa,GACrB,WAAW,GACX,WAAW,GACX,SAAS,GACT,aAAa,CAAA"}
|
package/dist/events.js
CHANGED
package/dist/events.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"","sourcesContent":["import type { CID } from 'multiformats/cid'\nimport { DidDocument } from '@atproto/identity'\nimport type { RepoRecord } from '@atproto/lexicon'\nimport { BlockMap } from '@atproto/repo'\nimport { AtUri } from '@atproto/syntax'\n\nexport type Event = CommitEvt | SyncEvt | IdentityEvt | AccountEvt\n\nexport type CommitMeta = {\n seq: number\n time: string\n commit: CID\n blocks: BlockMap\n rev: string\n uri: AtUri\n did: string\n collection: string\n rkey: string\n}\n\nexport type CommitEvt = Create | Update | Delete\n\nexport type Create = CommitMeta & {\n event: 'create'\n record: RepoRecord\n cid: CID\n}\n\nexport type Update = CommitMeta & {\n event: 'update'\n record: RepoRecord\n cid: CID\n}\n\nexport type Delete = CommitMeta & {\n event: 'delete'\n}\n\nexport type SyncEvt = {\n seq: number\n time: string\n event: 'sync'\n did: string\n cid: CID\n rev: string\n blocks: BlockMap\n}\n\nexport type IdentityEvt = {\n seq: number\n time: string\n event: 'identity'\n did: string\n handle?: string\n didDocument?: DidDocument\n}\n\nexport type AccountEvt = {\n seq: number\n time: string\n event: 'account'\n did: string\n active: boolean\n status?: AccountStatus\n}\n\nexport type AccountStatus =\n | 'takendown'\n | 'suspended'\n | 'deleted'\n | 'deactivated'\n"]}
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":";AAAA,yCAAyC","sourcesContent":["/* eslint-disable import/no-deprecated */\n\nimport type { CID } from 'multiformats/cid'\nimport { DidDocument } from '@atproto/identity'\nimport type { RepoRecord } from '@atproto/lexicon'\nimport { BlockMap } from '@atproto/repo'\nimport { AtUri } from '@atproto/syntax'\n\nexport type Event = CommitEvt | SyncEvt | IdentityEvt | AccountEvt\n\nexport type CommitMeta = {\n seq: number\n time: string\n commit: CID\n blocks: BlockMap\n rev: string\n uri: AtUri\n did: string\n collection: string\n rkey: string\n}\n\nexport type CommitEvt = Create | Update | Delete\n\nexport type Create = CommitMeta & {\n event: 'create'\n record: RepoRecord\n cid: CID\n}\n\nexport type Update = CommitMeta & {\n event: 'update'\n record: RepoRecord\n cid: CID\n}\n\nexport type Delete = CommitMeta & {\n event: 'delete'\n}\n\nexport type SyncEvt = {\n seq: number\n time: string\n event: 'sync'\n did: string\n cid: CID\n rev: string\n blocks: BlockMap\n}\n\nexport type IdentityEvt = {\n seq: number\n time: string\n event: 'identity'\n did: string\n handle?: string\n didDocument?: DidDocument\n}\n\nexport type AccountEvt = {\n seq: number\n time: string\n event: 'account'\n did: string\n active: boolean\n status?: AccountStatus\n}\n\nexport type AccountStatus =\n | 'takendown'\n | 'suspended'\n | 'deleted'\n | 'deactivated'\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/sync",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.38",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "atproto sync library",
|
|
6
6
|
"keywords": [
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"multiformats": "^9.9.0",
|
|
25
25
|
"p-queue": "^6.6.2",
|
|
26
26
|
"ws": "^8.12.0",
|
|
27
|
-
"@atproto/common": "^0.
|
|
28
|
-
"@atproto/identity": "^0.4.
|
|
29
|
-
"@atproto/lexicon": "^0.5.
|
|
30
|
-
"@atproto/repo": "^0.8.
|
|
27
|
+
"@atproto/common": "^0.5.0",
|
|
28
|
+
"@atproto/identity": "^0.4.10",
|
|
29
|
+
"@atproto/lexicon": "^0.5.2",
|
|
30
|
+
"@atproto/repo": "^0.8.11",
|
|
31
31
|
"@atproto/syntax": "^0.4.1",
|
|
32
|
-
"@atproto/xrpc-server": "^0.
|
|
32
|
+
"@atproto/xrpc-server": "^0.10.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/ws": "^8.5.4",
|