@interop/was-client 0.29.0 → 0.29.1
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/dist/sync/index.d.ts +4 -2
- package/dist/sync/index.d.ts.map +1 -1
- package/dist/sync/index.js +4 -2
- package/dist/sync/index.js.map +1 -1
- package/package.json +1 -1
package/dist/sync/index.d.ts
CHANGED
|
@@ -17,13 +17,15 @@
|
|
|
17
17
|
*
|
|
18
18
|
* The 412 conflict / 404 not-found port signals (`WasSyncConflictError` /
|
|
19
19
|
* `WasSyncNotFoundError`) live in the client's typed error hierarchy and are
|
|
20
|
-
* re-exported here for convenience
|
|
20
|
+
* re-exported here for convenience -- as is the stale-descriptor decrypt
|
|
21
|
+
* signal (`UnknownEpochError`), so a crypto-free sync consumer can
|
|
22
|
+
* `instanceof`-match it without importing the `/edv` entry that throws it.
|
|
21
23
|
*/
|
|
22
24
|
export { createWasSyncPort, WAS_KEY_EPOCH_HEADER, formatEtag, parseEtag, errorStatus } from './port.js';
|
|
23
25
|
export { contentCid, cidFrom, deriveSpaceId } from './cid.js';
|
|
24
26
|
export { isEncryptedEnvelope } from './envelope.js';
|
|
25
27
|
export { createPlaintextDocCipher } from './plaintextCipher.js';
|
|
26
28
|
export { ensureSpaceAndCollection } from './provisioning.js';
|
|
27
|
-
export { WasSyncConflictError, WasSyncNotFoundError } from '../errors.js';
|
|
29
|
+
export { UnknownEpochError, WasSyncConflictError, WasSyncNotFoundError } from '../errors.js';
|
|
28
30
|
export type { Json, SyncCheckpoint, WireDoc, SyncPage, MasterState, WasSyncPort, DocCipher } from './types.js';
|
|
29
31
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/sync/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sync/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sync/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,SAAS,EACT,WAAW,EACZ,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,cAAc,CAAA;AAErB,YAAY,EACV,IAAI,EACJ,cAAc,EACd,OAAO,EACP,QAAQ,EACR,WAAW,EACX,WAAW,EACX,SAAS,EACV,MAAM,YAAY,CAAA"}
|
package/dist/sync/index.js
CHANGED
|
@@ -17,12 +17,14 @@
|
|
|
17
17
|
*
|
|
18
18
|
* The 412 conflict / 404 not-found port signals (`WasSyncConflictError` /
|
|
19
19
|
* `WasSyncNotFoundError`) live in the client's typed error hierarchy and are
|
|
20
|
-
* re-exported here for convenience
|
|
20
|
+
* re-exported here for convenience -- as is the stale-descriptor decrypt
|
|
21
|
+
* signal (`UnknownEpochError`), so a crypto-free sync consumer can
|
|
22
|
+
* `instanceof`-match it without importing the `/edv` entry that throws it.
|
|
21
23
|
*/
|
|
22
24
|
export { createWasSyncPort, WAS_KEY_EPOCH_HEADER, formatEtag, parseEtag, errorStatus } from './port.js';
|
|
23
25
|
export { contentCid, cidFrom, deriveSpaceId } from './cid.js';
|
|
24
26
|
export { isEncryptedEnvelope } from './envelope.js';
|
|
25
27
|
export { createPlaintextDocCipher } from './plaintextCipher.js';
|
|
26
28
|
export { ensureSpaceAndCollection } from './provisioning.js';
|
|
27
|
-
export { WasSyncConflictError, WasSyncNotFoundError } from '../errors.js';
|
|
29
|
+
export { UnknownEpochError, WasSyncConflictError, WasSyncNotFoundError } from '../errors.js';
|
|
28
30
|
//# sourceMappingURL=index.js.map
|
package/dist/sync/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/sync/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/sync/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,SAAS,EACT,WAAW,EACZ,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,cAAc,CAAA"}
|
package/package.json
CHANGED