@dxos/feed-store 2.33.5-dev.97a81dd0 → 2.33.5-dev.9e11cb97
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/src/benchmark.js +1 -1
- package/dist/src/benchmark.js.map +1 -1
- package/dist/src/create-batch-stream.test.js +1 -1
- package/dist/src/create-batch-stream.test.js.map +1 -1
- package/dist/src/feed-descriptor.d.ts +3 -3
- package/dist/src/feed-descriptor.d.ts.map +1 -1
- package/dist/src/feed-descriptor.js +3 -3
- package/dist/src/feed-descriptor.js.map +1 -1
- package/dist/src/feed-descriptor.test.js +7 -7
- package/dist/src/feed-descriptor.test.js.map +1 -1
- package/dist/src/feed-store.d.ts +5 -5
- package/dist/src/feed-store.d.ts.map +1 -1
- package/dist/src/feed-store.js +6 -6
- package/dist/src/feed-store.js.map +1 -1
- package/dist/src/feed-store.test.js +8 -7
- package/dist/src/feed-store.test.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/benchmark.ts +1 -1
- package/src/create-batch-stream.test.ts +1 -1
- package/src/feed-descriptor.test.ts +7 -7
- package/src/feed-descriptor.ts +6 -6
- package/src/feed-store.test.ts +8 -7
- package/src/feed-store.ts +8 -8
package/dist/src/benchmark.js
CHANGED
|
@@ -17,7 +17,7 @@ void (async () => {
|
|
|
17
17
|
throw new Error('messages amount expected incorrect');
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
|
-
const fs = new feed_store_1.FeedStore((0, random_access_multi_storage_1.createStorage)('.benchmark'), { valueEncoding: 'utf8' });
|
|
20
|
+
const fs = new feed_store_1.FeedStore((0, random_access_multi_storage_1.createStorage)('').directory('.benchmark'), { valueEncoding: 'utf8' });
|
|
21
21
|
const suite = new benchmark_suite_1.Suite(fs, { maxFeeds, maxMessages });
|
|
22
22
|
suite.beforeAll(() => Promise.all(range(maxFeeds).map(async (i) => {
|
|
23
23
|
const name = `feed/${i}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benchmark.js","sourceRoot":"","sources":["../../src/benchmark.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,2DAA8C;AAC9C,yCAAwD;AACxD,mFAAkE;AAElE,6CAAyC;AAEzC,MAAM,KAAK,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AAElD,KAAK,CAAC,KAAK,IAAI,EAAE;IACf,MAAM,QAAQ,GAAG,CAAC,CAAC;IACnB,MAAM,WAAW,GAAG,IAAI,CAAC;IACzB,MAAM,gBAAgB,GAAG,QAAQ,GAAG,WAAW,CAAC;IAEhD,MAAM,KAAK,GAAG,CAAC,KAAa,EAAE,EAAE;QAC9B,IAAI,KAAK,KAAK,gBAAgB,EAAE;YAC9B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;SACvD;IACH,CAAC,CAAC;IAEF,MAAM,EAAE,GAAG,IAAI,sBAAS,CAAC,IAAA,2CAAa,EAAC,YAAY,CAAC,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"benchmark.js","sourceRoot":"","sources":["../../src/benchmark.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,2DAA8C;AAC9C,yCAAwD;AACxD,mFAAkE;AAElE,6CAAyC;AAEzC,MAAM,KAAK,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AAElD,KAAK,CAAC,KAAK,IAAI,EAAE;IACf,MAAM,QAAQ,GAAG,CAAC,CAAC;IACnB,MAAM,WAAW,GAAG,IAAI,CAAC;IACzB,MAAM,gBAAgB,GAAG,QAAQ,GAAG,WAAW,CAAC;IAEhD,MAAM,KA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AAC,CAAC,CAAC,CAAC;IAEL,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,KAAK,IAAI,EAAE;QAChC,IAAI,KAAK,GAAG,CAAC,CAAC;QAEd,MAAM,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAE,EAAU,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC3H,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,GAAU,EAAE,MAAW,EAAE,EAAE;gBACxD,KAAK,IAAI,MAAM,CAAC,MAAM,CAAC;gBACvB,IAAI,GAAG,EAAE;oBACP,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;iBACpB;gBACD,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC,CAAC,CAAC;QAEL,KAAK,CAAC,KAAK,CAAC,CAAC;IACf,CAAC,CAAC,CAAC;IACH,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE,CAAC;IAElC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AACvB,CAAC,CAAC,EAAE,CAAC"}
|
|
@@ -13,7 +13,7 @@ const random_access_multi_storage_1 = require("@dxos/random-access-multi-storage
|
|
|
13
13
|
const create_batch_stream_1 = require("./create-batch-stream");
|
|
14
14
|
const feed_store_1 = require("./feed-store");
|
|
15
15
|
const createFeed = async () => {
|
|
16
|
-
const feedStore = new feed_store_1.FeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM), { valueEncoding: 'utf-8' });
|
|
16
|
+
const feedStore = new feed_store_1.FeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM).directory('feed'), { valueEncoding: 'utf-8' });
|
|
17
17
|
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
18
18
|
const { feed } = await feedStore.openReadWriteFeed(crypto_1.PublicKey.from(publicKey), secretKey);
|
|
19
19
|
return feed;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch-stream.test.js","sourceRoot":"","sources":["../../src/create-batch-stream.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,gDAAwB;AACxB,sEAA4C;AAE5C,yCAAwD;AACxD,mFAA+E;AAE/E,+DAA0D;AAC1D,6CAAyC;AAGzC,MAAM,UAAU,GAAG,KAAK,IAAI,EAAE;IAC5B,MAAM,SAAS,GAAG,IAAI,sBAAS,CAAC,IAAA,2CAAa,EAAC,EAAE,EAAE,yCAAW,CAAC,GAAG,CAAC,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"create-batch-stream.test.js","sourceRoot":"","sources":["../../src/create-batch-stream.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,gDAAwB;AACxB,sEAA4C;AAE5C,yCAAwD;AACxD,mFAA+E;AAE/E,+DAA0D;AAC1D,6CAAyC;AAGzC,MAAM,UAAU,GAAG,KAAK,IAAI,EAAE;IAC5B,MAAM,SAAS,GAAG,IAAI,sBAAS,CAAC,IAAA,2CAAa,EAAC,EAAE,EAAE,yCAAW,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC,CAAC;IAClH,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAAA,sBAAa,GAAE,CAAC;IACjD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,SAAS,CAAC,iBAAiB,CAAC,kBAAS,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC;IACzF,OAAO,IAAI,CAAC;AACd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AE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;YACzB,IAAI,CAAC,OAAO,CAAC,CAAC,OAAY,EAAE,EAAE;gBAC5B,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAC9B,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QACH,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,kBAAS,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC3E,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;YACtB,MAAM,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;SACzB;QACD,MAAM,IAAA,yBAAa,EAAC,GAAG,EAAE;YACvB,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;gBACtB,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;aACjC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { PublicKey } from '@dxos/crypto';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Directory } from '@dxos/random-access-multi-storage';
|
|
4
4
|
import type { HypercoreFeed, Hypercore } from './hypercore-types';
|
|
5
5
|
import type { ValueEncoding } from './types';
|
|
6
6
|
interface FeedDescriptorOptions {
|
|
7
|
-
|
|
7
|
+
directory: Directory;
|
|
8
8
|
key: PublicKey;
|
|
9
9
|
hypercore: Hypercore;
|
|
10
10
|
secretKey?: Buffer;
|
|
@@ -17,7 +17,7 @@ interface FeedDescriptorOptions {
|
|
|
17
17
|
* Abstract handler for an Hypercore instance.
|
|
18
18
|
*/
|
|
19
19
|
export declare class FeedDescriptor {
|
|
20
|
-
private readonly
|
|
20
|
+
private readonly _directory;
|
|
21
21
|
private readonly _key;
|
|
22
22
|
private readonly _secretKey?;
|
|
23
23
|
private readonly _valueEncoding?;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed-descriptor.d.ts","sourceRoot":"","sources":["../../src/feed-descriptor.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"feed-descriptor.d.ts","sourceRoot":"","sources":["../../src/feed-descriptor.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAQ,MAAM,mCAAmC,CAAC;AAEzE,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,UAAU,qBAAqB;IAC7B,SAAS,EAAE,SAAS,CAAC;IACrB,GAAG,EAAE,SAAS,CAAC;IACf,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED;;;;GAIG;AACH,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAY;IACvC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAY;IACjC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAS;IACrC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAgB;IAChD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAY;IACvC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAO;IAC7B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAU;IAE1C,OAAO,CAAC,KAAK,CAAuB;gBAEvB,OAAO,EAAE,qBAAqB;IAsB3C,IAAI,IAAI,IAAK,aAAa,CAGzB;IAED,IAAI,MAAM,YAET;IAED,IAAI,GAAG,cAEN;IAED,IAAI,SAAS,uBAEZ;IAED,IAAI,aAAa,8BAEhB;IAED,IAAI,QAAQ,YAEX;IAED;;;;;OAKG;IACG,IAAI,IAAK,OAAO,CAAC,aAAa,CAAC;IAWrC;;OAEG;IACG,KAAK;IAUX;;;OAGG;IACH,OAAO,CAAC,cAAc;YAMR,KAAK;IAcnB,MAAM,CAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;CAIrC;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -18,8 +18,8 @@ const async_1 = require("@dxos/async");
|
|
|
18
18
|
*/
|
|
19
19
|
class FeedDescriptor {
|
|
20
20
|
constructor(options) {
|
|
21
|
-
const {
|
|
22
|
-
this.
|
|
21
|
+
const { directory, key, secretKey, valueEncoding, hypercore = hypercore_1.default, disableSigning = false } = options;
|
|
22
|
+
this._directory = directory;
|
|
23
23
|
this._valueEncoding = valueEncoding;
|
|
24
24
|
this._hypercore = hypercore;
|
|
25
25
|
this._key = key;
|
|
@@ -80,7 +80,7 @@ class FeedDescriptor {
|
|
|
80
80
|
*/
|
|
81
81
|
_createStorage(dir = '') {
|
|
82
82
|
return (name) => {
|
|
83
|
-
return this.
|
|
83
|
+
return this._directory.createOrOpen(`${dir}/${name}`);
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
async _open() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed-descriptor.js","sourceRoot":"","sources":["../../src/feed-descriptor.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,0DAAyC;AACzC,gDAAwB;AAExB,uCAAmC;AAgBnC;;;;GAIG;AACH,MAAa,cAAc;IAWzB,YAAa,OAA8B;QACzC,MAAM,EACJ,
|
|
1
|
+
{"version":3,"file":"feed-descriptor.js","sourceRoot":"","sources":["../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;QAEF,MAAM,IAAA,cAAI,EAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;IAClD,CAAC;IAED,MAAM,CAAE,OAAY;QAClB,IAAA,gBAAM,EAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnB,OAAO,IAAA,cAAI,EAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;CACF;AApHD,wCAoHC;AAED,kBAAe,cAAc,CAAC;AAE9B,MAAM,WAAW,GAAG;IAClB,IAAI,EAAE,CAAC,IAAS,EAAE,SAAc,EAAE,EAAO,EAAE,EAAE;QAC3C,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;IAC5B,CAAC;IACD,MAAM,EAAE,CAAC,SAAc,EAAE,IAAS,EAAE,GAAQ,EAAE,EAAO,EAAE,EAAE;QACvD,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACjB,CAAC;CACF,CAAC"}
|
|
@@ -19,7 +19,7 @@ describe('FeedDescriptor', () => {
|
|
|
19
19
|
beforeEach(async () => {
|
|
20
20
|
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
21
21
|
fd = new feed_descriptor_1.default({
|
|
22
|
-
|
|
22
|
+
directory: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM).directory('feed'),
|
|
23
23
|
key: crypto_1.PublicKey.from(publicKey),
|
|
24
24
|
secretKey,
|
|
25
25
|
hypercore: hypercore_1.default
|
|
@@ -37,14 +37,14 @@ describe('FeedDescriptor', () => {
|
|
|
37
37
|
// When this behaviour was changed, suddenly `protocol-plugin-replicator` tests started hanging forever on network generation.
|
|
38
38
|
const { publicKey } = (0, crypto_1.createKeyPair)();
|
|
39
39
|
const key = crypto_1.PublicKey.from(publicKey);
|
|
40
|
-
const fd = new feed_descriptor_1.default({ key,
|
|
40
|
+
const fd = new feed_descriptor_1.default({ key, directory: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.NODE).directory('feed'), hypercore: hypercore_1.default });
|
|
41
41
|
expect(fd.key).toEqual(key);
|
|
42
42
|
expect(fd.secretKey).toBeUndefined();
|
|
43
43
|
});
|
|
44
44
|
test('Create custom options', () => {
|
|
45
45
|
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
46
46
|
const fd = new feed_descriptor_1.default({
|
|
47
|
-
|
|
47
|
+
directory: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM).directory('feed'),
|
|
48
48
|
key: crypto_1.PublicKey.from(publicKey),
|
|
49
49
|
secretKey,
|
|
50
50
|
valueEncoding: 'json',
|
|
@@ -77,7 +77,7 @@ describe('FeedDescriptor', () => {
|
|
|
77
77
|
// If we try to close a feed that is opening should wait for the open result.
|
|
78
78
|
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
79
79
|
const fd2 = new feed_descriptor_1.default({
|
|
80
|
-
|
|
80
|
+
directory: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM).directory('feed'),
|
|
81
81
|
key: crypto_1.PublicKey.from(publicKey),
|
|
82
82
|
secretKey,
|
|
83
83
|
hypercore: hypercore_1.default
|
|
@@ -90,7 +90,7 @@ describe('FeedDescriptor', () => {
|
|
|
90
90
|
const root = tempy_1.default.directory();
|
|
91
91
|
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
92
92
|
const fd = new feed_descriptor_1.default({
|
|
93
|
-
|
|
93
|
+
directory: (0, random_access_multi_storage_1.createStorage)(root, random_access_multi_storage_1.StorageType.NODE).directory('feed'),
|
|
94
94
|
key: crypto_1.PublicKey.from(publicKey),
|
|
95
95
|
secretKey,
|
|
96
96
|
valueEncoding: 'utf-8',
|
|
@@ -110,7 +110,7 @@ describe('FeedDescriptor', () => {
|
|
|
110
110
|
test('on open error should unlock the resource', async () => {
|
|
111
111
|
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
112
112
|
const fd = new feed_descriptor_1.default({
|
|
113
|
-
|
|
113
|
+
directory: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM).directory('feed'),
|
|
114
114
|
key: crypto_1.PublicKey.from(publicKey),
|
|
115
115
|
secretKey,
|
|
116
116
|
hypercore: () => {
|
|
@@ -122,7 +122,7 @@ describe('FeedDescriptor', () => {
|
|
|
122
122
|
test('on close error should unlock the resource', async () => {
|
|
123
123
|
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
124
124
|
const fd = new feed_descriptor_1.default({
|
|
125
|
-
|
|
125
|
+
directory: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM).directory('feed'),
|
|
126
126
|
key: crypto_1.PublicKey.from(publicKey),
|
|
127
127
|
secretKey,
|
|
128
128
|
hypercore: () => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed-descriptor.test.js","sourceRoot":"","sources":["../../src/feed-descriptor.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,0CAA0C;AAE1C,oDAA4B;AAC5B,0DAAyC;AACzC,gDAAwB;AACxB,kDAA0B;AAE1B,yCAAwD;AACxD,mFAA+E;AAE/E,wEAA+C;AAE/C,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,IAAI,EAAkB,CAAC;IAEvB,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAAA,sBAAa,GAAE,CAAC;QACjD,EAAE,GAAG,IAAI,yBAAc,CAAC;YACtB,
|
|
1
|
+
{"version":3,"file":"feed-descriptor.test.js","sourceRoot":"","sources":["../../src/feed-descriptor.test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AE,IAAA,2CAAa,EAAC,EAAE,EAAE,yCAAW,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC;YAC/D,GAAG,EAAE,kBAAS,CAAC,IAAI,CAAC,SAAS,CAAC;YAC9B,SAAS;YACT,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC;gBAChB,MAAM,EAAE,IAAI;gBACZ,EAAE,EAAE,GAAG,EAAE,GAAE,CAAC;gBACZ,KAAK,EAAE,CAAC,EAAc,EAAE,EAAE;oBACxB,EAAE,EAAE,CAAC;gBACP,CAAC;gBACD,KAAK,EAAE,GAAG,EAAE;oBACV,MAAM,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC;gBACjC,CAAC;aACM,CAAA;SACV,CAAC,CAAC;QAEH,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;QAEhB,MAAM,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAC1D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/src/feed-store.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { Event } from '@dxos/async';
|
|
3
3
|
import { PublicKey } from '@dxos/crypto';
|
|
4
|
-
import {
|
|
4
|
+
import { Directory } from '@dxos/random-access-multi-storage';
|
|
5
5
|
import FeedDescriptor from './feed-descriptor';
|
|
6
6
|
import type { Hypercore } from './hypercore-types';
|
|
7
7
|
import type { ValueEncoding } from './types';
|
|
@@ -33,7 +33,7 @@ export interface FeedStoreOptions {
|
|
|
33
33
|
* into a persist repository storage.
|
|
34
34
|
*/
|
|
35
35
|
export declare class FeedStore {
|
|
36
|
-
private
|
|
36
|
+
private _directory;
|
|
37
37
|
private _valueEncoding;
|
|
38
38
|
private _hypercore;
|
|
39
39
|
private _descriptors;
|
|
@@ -42,14 +42,14 @@ export declare class FeedStore {
|
|
|
42
42
|
*/
|
|
43
43
|
readonly feedOpenedEvent: Event<FeedDescriptor>;
|
|
44
44
|
/**
|
|
45
|
-
* @param
|
|
45
|
+
* @param directory RandomAccessStorage to use by default by the feeds.
|
|
46
46
|
* @param options Feedstore options.
|
|
47
47
|
*/
|
|
48
|
-
constructor(
|
|
48
|
+
constructor(directory: Directory, options?: FeedStoreOptions);
|
|
49
49
|
/**
|
|
50
50
|
* @type {RandomAccessStorage}
|
|
51
51
|
*/
|
|
52
|
-
get storage():
|
|
52
|
+
get storage(): Directory;
|
|
53
53
|
close(): Promise<void>;
|
|
54
54
|
/**
|
|
55
55
|
* Create a feed to Feedstore
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed-store.d.ts","sourceRoot":"","sources":["../../src/feed-store.ts"],"names":[],"mappings":";AAOA,OAAO,EAAgB,KAAK,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"feed-store.d.ts","sourceRoot":"","sources":["../../src/feed-store.ts"],"names":[],"mappings":";AAOA,OAAO,EAAgB,KAAK,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAE9D,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,SAAS,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC,GAAG,EAAE,SAAS,CAAC;IACf,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,GAAG,EAAE,SAAS,CAAA;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB;AAED;;;;;GAKG;AACH,qBAAa,SAAS;IACpB,OAAO,CAAC,UAAU,CAAY;IAC9B,OAAO,CAAC,cAAc,CAA4B;IAClD,OAAO,CAAC,UAAU,CAAY;IAC9B,OAAO,CAAC,YAAY,CAA8B;IAElD;;OAEG;IACH,QAAQ,CAAC,eAAe,wBAA+B;IAEvD;;;OAGG;gBACU,SAAS,EAAE,SAAS,EAAE,OAAO,GAAE,gBAAqB;IAgBjE;;OAEG;IACH,IAAI,OAAO,cAEV;IAGK,KAAK;IAKX;;OAEG;IACG,iBAAiB,CAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAQpF;;OAEG;IACG,gBAAgB,CAAE,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,cAAc,CAAC;IAKhE;;OAEG;YACW,iBAAiB;CAqBhC"}
|
package/dist/src/feed-store.js
CHANGED
|
@@ -25,16 +25,16 @@ const feed_descriptor_1 = __importDefault(require("./feed-descriptor"));
|
|
|
25
25
|
*/
|
|
26
26
|
class FeedStore {
|
|
27
27
|
/**
|
|
28
|
-
* @param
|
|
28
|
+
* @param directory RandomAccessStorage to use by default by the feeds.
|
|
29
29
|
* @param options Feedstore options.
|
|
30
30
|
*/
|
|
31
|
-
constructor(
|
|
31
|
+
constructor(directory, options = {}) {
|
|
32
32
|
/**
|
|
33
33
|
* Is emitted when a new feed represented by FeedDescriptor is opened.
|
|
34
34
|
*/
|
|
35
35
|
this.feedOpenedEvent = new async_1.Event();
|
|
36
|
-
(0, assert_1.default)(
|
|
37
|
-
this.
|
|
36
|
+
(0, assert_1.default)(directory, 'The storage is required.');
|
|
37
|
+
this._directory = directory;
|
|
38
38
|
const { valueEncoding, hypercore = hypercore_1.default } = options;
|
|
39
39
|
this._valueEncoding = valueEncoding && patchBufferCodec(valueEncoding);
|
|
40
40
|
this._hypercore = hypercore;
|
|
@@ -44,7 +44,7 @@ class FeedStore {
|
|
|
44
44
|
* @type {RandomAccessStorage}
|
|
45
45
|
*/
|
|
46
46
|
get storage() {
|
|
47
|
-
return this.
|
|
47
|
+
return this._directory;
|
|
48
48
|
}
|
|
49
49
|
async close() {
|
|
50
50
|
await Promise.all(Array.from(this._descriptors.values()).map(descriptor => descriptor.close()));
|
|
@@ -74,7 +74,7 @@ class FeedStore {
|
|
|
74
74
|
async _createDescriptor(options) {
|
|
75
75
|
const { key, secretKey } = options;
|
|
76
76
|
const descriptor = new feed_descriptor_1.default({
|
|
77
|
-
|
|
77
|
+
directory: this._directory,
|
|
78
78
|
key,
|
|
79
79
|
secretKey,
|
|
80
80
|
valueEncoding: this._valueEncoding,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed-store.js","sourceRoot":"","sources":["../../src/feed-store.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;AAEF,oDAA4B;AAC5B,0DAAyC;AAEzC,uCAAkD;AAIlD,wEAA+C;AA6B/C;;;;;GAKG;AACH,MAAa,SAAS;IAWpB;;;OAGG;IACH,YAAa,
|
|
1
|
+
{"version":3,"file":"feed-store.js","sourceRoot":"","sources":["../../src/feed-store.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;AAEF,oDAA4B;AAC5B,0DAAyC;AAEzC,uCAAkD;AAIlD,wEAA+C;AA6B/C;;;;;GAKG;AACH,MAAa,SAAS;IAWpB;;;OAGG;IACH,YAAa,SAAoB,EAAE,UAA4B,EAAE;QATjE;;WAEG;QACM,oBAAe,GAAG,IAAI,aAAK,EAAkB,CAAC;QAOrD,IAAA,gBAAM,EAAC,SAAS,EAAE,0BAA0B,CAAC,CAAC;QAE9C,IAAI,C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IACK,KAAK,CAAC,iBAAiB,CAAE,OAAgC;QAC/D,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;QAEnC,MAAM,UAAU,GAAG,IAAI,yBAAc,CAAC;YACpC,SAAS,EAAE,IAAI,CAAC,UAAU;YAC1B,GAAG;YACH,SAAS;YACT,aAAa,EAAE,IAAI,CAAC,cAAc;YAClC,SAAS,EAAE,IAAI,CAAC,UAAU;SAC3B,CAAC,CAAC;QAEH,IAAI,CAAC,YAAY,CAAC,GAAG,CACnB,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,EACzB,UAAU,CACX,CAAC;QAEF,MAAM,UAAU,CAAC,IAAI,EAAE,CAAC;QACxB,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAEtC,OAAO,UAAU,CAAC;IACpB,CAAC;CACF;AAhDC;IADC,oBAAY;sCAIZ;AA1CH,8BAuFC;AAED,MAAM,gBAAgB,GAAG,CAAC,QAAuB,EAAiB,EAAE;IAClE,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAChC,OAAO,QAAQ,CAAC;KACjB;IACD,OAAO;QACL,MAAM,EAAE,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QACnD,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;KACvC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -18,7 +18,7 @@ const random_access_multi_storage_1 = require("@dxos/random-access-multi-storage
|
|
|
18
18
|
const feed_store_1 = require("./feed-store");
|
|
19
19
|
const feedNames = ['booksFeed', 'usersFeed', 'groupsFeed'];
|
|
20
20
|
const createFeedStore = (storage, options = {}) => {
|
|
21
|
-
const feedStore = new feed_store_1.FeedStore(storage, options);
|
|
21
|
+
const feedStore = new feed_store_1.FeedStore(storage.directory('feed'), options);
|
|
22
22
|
return feedStore;
|
|
23
23
|
};
|
|
24
24
|
const createDefault = async () => {
|
|
@@ -38,17 +38,18 @@ const createKeyPairs = () => Object.fromEntries(feedNames.map(feed => {
|
|
|
38
38
|
describe('FeedStore', () => {
|
|
39
39
|
const keys = createKeyPairs();
|
|
40
40
|
test('Config default', async () => {
|
|
41
|
-
const feedStore = await createFeedStore((0, random_access_multi_storage_1.createStorage)('
|
|
41
|
+
const feedStore = await createFeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM));
|
|
42
42
|
expect(feedStore).toBeInstanceOf(feed_store_1.FeedStore);
|
|
43
|
-
const feedStore2 = new feed_store_1.FeedStore((0, random_access_multi_storage_1.createStorage)('
|
|
43
|
+
const feedStore2 = new feed_store_1.FeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM).directory('feed'));
|
|
44
44
|
expect(feedStore2).toBeInstanceOf(feed_store_1.FeedStore);
|
|
45
45
|
});
|
|
46
46
|
test('Config default + custom database + custom hypercore', async () => {
|
|
47
47
|
const customHypercore = jest.fn((...args) => (0, hypercore_1.default)(args[0], args[1], args[2]));
|
|
48
48
|
const storage = (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM);
|
|
49
|
-
const
|
|
49
|
+
const directory = storage.directory('');
|
|
50
|
+
const database = (0, hypertrie_1.default)(directory.createOrOpen.bind(directory), { valueEncoding: 'json' });
|
|
50
51
|
database.list = jest.fn((_, cb) => cb(null, []));
|
|
51
|
-
const feedStore = createFeedStore((0, random_access_multi_storage_1.createStorage)('
|
|
52
|
+
const feedStore = createFeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM), {
|
|
52
53
|
hypercore: customHypercore
|
|
53
54
|
});
|
|
54
55
|
expect(feedStore).toBeInstanceOf(feed_store_1.FeedStore);
|
|
@@ -106,7 +107,7 @@ describe('FeedStore', () => {
|
|
|
106
107
|
expect(Array.from(feedStore._descriptors.values()).map((fd) => fd.key).length).toBe(0);
|
|
107
108
|
});
|
|
108
109
|
test('Default codec: binary', async () => {
|
|
109
|
-
const feedStore = createFeedStore((0, random_access_multi_storage_1.createStorage)('
|
|
110
|
+
const feedStore = createFeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM));
|
|
110
111
|
expect(feedStore).toBeInstanceOf(feed_store_1.FeedStore);
|
|
111
112
|
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
112
113
|
const { feed } = await feedStore.openReadWriteFeed(crypto_1.PublicKey.from(publicKey), secretKey);
|
|
@@ -115,7 +116,7 @@ describe('FeedStore', () => {
|
|
|
115
116
|
await expect(head(feed)).resolves.toBeInstanceOf(Buffer);
|
|
116
117
|
});
|
|
117
118
|
test('on close error should unlock the descriptor', async () => {
|
|
118
|
-
const feedStore = createFeedStore((0, random_access_multi_storage_1.createStorage)('
|
|
119
|
+
const feedStore = createFeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.StorageType.RAM), {
|
|
119
120
|
hypercore: () => ({
|
|
120
121
|
opened: true,
|
|
121
122
|
ready: (cb) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed-store.test.js","sourceRoot":"","sources":["../../src/feed-store.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,0CAA0C;AAE1C,oDAA4B;AAC5B,0DAAkC;AAClC,0DAAkC;AAClC,gDAAwB;AACxB,kDAA0B;AAE1B,uCAAoC;AACpC,yCAAwD;AACxD,mFAAwF;AAGxF,6CAAyC;AAQzC,MAAM,SAAS,GAAG,CAAC,WAAW,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;AAE3D,MAAM,eAAe,GAAG,CAAC,OAAgB,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE;IACzD,MAAM,SAAS,GAAG,IAAI,sBAAS,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;
|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AC;gBACjC,CAAC;aACF,CAAC;SACH,CAAC,CAAC;QAEH,MAAM,SAAS,GAAG,kBAAS,CAAC,MAAM,EAAE,CAAC;QACrC,MAAM,SAAS,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;QAE5C,MAAM,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IACjE,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,sCAAsC,EAAE,KAAK,IAAI,EAAE;QACtD,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,aAAa,EAAE,CAAC;QAE5C,IAAI,WAAW,GAAG,CAAC,CAAC;QACpB,SAAS,CAAC,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE;YAChC,WAAW,EAAE,CAAC;QAChB,CAAC,CAAC,CAAC;QAEH,MAAM,GAAG,GAAG,kBAAS,CAAC,MAAM,EAAE,CAAC;QAC/B,MAAM,SAAS,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;QAEtC,MAAM,SAAS,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;QACtC,MAAM,SAAS,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;QACtC,MAAM,SAAS,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;QAEtC,MAAM,IAAA,aAAK,EAAC,EAAE,CAAC,CAAC,CAAC,mBAAmB;QAEpC,MAAM,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../common/crypto/dist/src/encrypt.d.ts","../../../common/crypto/dist/src/hash.d.ts","../../../common/crypto/dist/src/human-hash.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/assert.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/assert/strict.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/globals.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/async_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/buffer.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/child_process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/cluster.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/console.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/constants.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/crypto.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dgram.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/diagnostics_channel.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dns.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dns/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/domain.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/fs.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/fs/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/http.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/http2.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/https.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/inspector.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/module.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/net.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/os.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/path.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/perf_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/punycode.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/querystring.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/readline.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/repl.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/consumers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/web.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/string_decoder.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/timers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/timers/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/tls.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/trace_events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/tty.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/url.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/v8.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/vm.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/wasi.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/worker_threads.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/zlib.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/globals.global.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/index.d.ts","../../../common/crypto/dist/src/public-key.d.ts","../../../common/crypto/dist/src/keys.d.ts","../../../common/crypto/dist/src/seedphrase.d.ts","../../../common/crypto/dist/src/validator.d.ts","../../../common/crypto/dist/src/index.d.ts","../../../common/random-access-multi-storage/dist/src/types.d.ts","../../../common/random-access-multi-storage/dist/src/internal/FileInternal.d.ts","../../../common/random-access-multi-storage/dist/src/internal/index.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/File.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/storage-types.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/Storage.d.ts","../../../common/random-access-multi-storage/dist/src/node.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/index.d.ts","../../../common/random-access-multi-storage/dist/src/index.d.ts","../../../common/async/dist/src/async.d.ts","../../../common/async/dist/src/event.d.ts","../../../common/async/dist/src/events.d.ts","../../../common/async/dist/src/latch.d.ts","../../../common/async/dist/src/lock.d.ts","../../../common/async/dist/src/sink.d.ts","../../../common/async/dist/src/trigger.d.ts","../../../common/async/dist/src/types.d.ts","../../../common/async/dist/src/callback.d.ts","../../../common/async/dist/src/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+pify@3.0.2/node_modules/@types/pify/index.d.ts","../src/hypercore-types.ts","../src/types.ts","../src/feed-descriptor.ts","../src/feed-store.ts","../src/benchmark.ts","../../../../common/temp/node_modules/.pnpm/wait-for-expect@3.0.2/node_modules/wait-for-expect/lib/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+from2@2.3.1/node_modules/@types/from2/index.d.ts","../src/create-batch-stream.ts","../src/create-batch-stream.test.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/basic.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/except.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/mutable.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/merge.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/merge-exclusive.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/require-at-least-one.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/require-exactly-one.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/partial-deep.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/readonly-deep.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/literal-union.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/promisable.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/opaque.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/set-optional.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/set-required.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/value-of.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/promise-value.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/async-return-type.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/conditional-keys.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/conditional-except.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/conditional-pick.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/union-to-intersection.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/stringified.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/fixed-length-array.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/package-json.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/tsconfig-json.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/index.d.ts","../../../../common/temp/node_modules/.pnpm/tempy@1.0.1/node_modules/tempy/index.d.ts","../src/feed-descriptor.test.ts","../src/feed-store.test.ts","../../../../common/temp/node_modules/.pnpm/@types+ms@0.7.31/node_modules/@types/ms/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+debug@4.1.7/node_modules/@types/debug/index.d.ts","../src/stream.ts","../src/index.ts","../src/shims.d.ts","../../../../common/temp/node_modules/.pnpm/@types+end-of-stream@1.4.1/node_modules/@types/end-of-stream/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/diffLines.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/printDiffs.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+jest@26.0.24/node_modules/@types/jest/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+pump@1.1.1/node_modules/@types/pump/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+through2@2.0.36/node_modules/@types/through2/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"0e6c82eab84a7ea274f61068f4db4ab85ce1eb64e4b630d427f47061423d6e56","aae72031068e978fc1b48ffba8a7884c5aa7ee19e0550060d6cf70a04b55afdd","fccc3ab2eb7278d4597fd8b2ae645ace954f1cb9d523acef67d876ed2b66e728","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","c665d5c50c2573aefd98f0ffb12c5583e333ed94294ce6f144a4163a8c84f09b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"8a215750db3e2073511e07c9e293c8c40d6109e5c7368845e060bcc12adbae6f","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","3fa48484c65913004d5abb5c0f917b61ea4684f32d05bb28c1ecfa5f05a9ed12","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","3c8c1a880d61c6ad2d46d9f63caaa17d94fceee883d5defa5446d083ca37315a","d044199ee2bf86629e566c226794bb6841d9546e3fd5732a3c7d6228169ff638","2fbbee972d3da84ef0e21546d43924fa02b0b49de1ec1b5b2f800e182373a7d1","830b201ad1bf6541b32ecb644a7f22102f2de52c3ce298be461d19fcdc69cc86","031401b9afec14ada845cfd7f16642df9b5ef001c74a6e0fd1f646654406372f","e6b8b2435a2e3c7b7329c9ed92c5dd11aa254efe5e289499123b686302c9037e","ea20223570611b1ffad8e6a82236ecbec8650433de56ba618831d71e0627cf18","bedbf1770f50c9905291c96992acd50da7a8c68d631c5d6b35f5a294f5b33f54","73e8caae656fbfee846a56d254e7052b9d8932bcd7692fb682dd66a8d9df1441","58d590871da3b448207d4c57cd8196b171f00febe488ed16ad094b54fbf3d09b","6893b31c56949607f5522d94ef3c1a28122a4e323782affee9d8b3ee7377104c","d4cb3805d8d2d4b83d1e188b7806f2e26bfda5956c33b45a0fadee936a599f67","fed5ed50e672fcae1d11bc4b9c0e70e60af5c1de1781e0cdb10a5b45ecae289d","1523fe6a5b265a4edb37c1417de0fe8252f85354803b78a9d4b808c6d5aef8b9","c87085285d6c052f422ab0713098bc72c9f276ccb48337b471f277ab24e134e9","1610f2eadec0c6fc891f89330502bb099b539771a13746807e5d3b40180ec901","17d12583fd6c710f4a422192477b796d726c2a5a16cca6f2b8dc5fbdcf79a656","4d5f1e0f924758e43db4a47e4bb73c94790851b5c542a3eafd342dc5922693bc","7ddaa1a9e903fed42dac0b9abcb5a2c53dca4ba00187b51ad84694db52f5ff4e","d88cf802778f5dd1b7afd9422aa492fc55ca9168ce750e76f717c81e689bedec","61359ee515b08c71b7eaa3a7a26571f1408e13108f060c57a83e429298c5c03b","d0e37049ec98567321a991657d1605336463b9959c7b3a28b86d8834dc0786e3","7d946dbc2ec536a4505d248cb71c667c75b5bf5bdd2e770b35f23a8617929b42","e97b15d7d01903fdc959930f53f7319bb74004462508aaaaf95d230519dbfa65","de0419d54dd252b174c36d93cccab2446a1d154d551ac78c0a31d14015ffa993","48897785cd0b3e200a8c224fec9ece9f636df85537ad97ce599b67d89ef8b129","27e706c18de004a4fc4c403d4397c24bbaf3a6d7f5f773921c306cb15abb8c43","7b04e614b040549b25c58e7113bddabf2c2e52405ee57a3528eb24b349191ad8","105abbd7265e98bb265af103707356010b9dbe05f182eccd0f3f5ae15a98d75e","587ca1862cd68e0b63bc81dbefcbac4933223517b3884812cf7607a3d5391fc7","095b817a5042af7140cc5c6a59d84fe731156193191b4ec39a37d23e526cc653","70a8b28ff28708343b51689f1cd08b63c081fe418b555fec4296be36fead5a06","db0a15056e9b80d2fb388c35d1b94c15f8c127f8a536d3a062cba708e701490b","ccc650fa8f20cc743cebafb5cb1af59e9c42a5728571730bc7407d79187f1ee1",{"version":"f20c9c09c8a0fea4784952305a937bdb092417908bad669dc789d3e54d8a5386","affectsGlobalScope":true},"c58be3e560989a877531d3ff7c9e5db41c5dd9282480ccf197abfcc708a95b8d","91f23ddc3971b1c8938c638fb55601a339483953e1eb800675fa5b5e8113db72","50d22844db90a0dcd359afeb59dd1e9a384d977b4b363c880b4e65047237a29e","d33782b82eea0ee17b99ca563bd19b38259a3aaf096d306ceaf59cd4422629be","7f7f1420c69806e268ab7820cbe31a2dcb2f836f28b3d09132a2a95b4a454b80","2d14198b25428b7b8010a895085add8edfaae476ab863c0c15fe2867fc214fe4","61046f12c3cfafd353d2d03febc96b441c1a0e3bb82a5a88de78cc1be9e10520","f4e7f5824ac7b35539efc3bef36b3e6be89603b88224cb5c0ad3526a454fc895","091af8276fbc70609a00e296840bd284a2fe29df282f0e8dae2de9f0a706685f","537aff717746703d2157ec563b5de4f6393ce9f69a84ae62b49e9b6c80b6e587","d4220a16027ddf0cc7d105d80cbb01f5070ca7ddd8b2d007cfb024b27e22b912","fb3aa3fb5f4fcd0d57d389a566c962e92dbfdaea3c38e3eaf27d466e168871c6","0af1485d84516c1a080c1f4569fea672caac8051e29f33733bf8d01df718d213","69630ad0e50189fb7a6b8f138c5492450394cb45424a903c8b53b2d5dd1dbce2","c585e44fdf120eba5f6b12c874966f152792af727115570b21cb23574f465ce1","8e067d3c170e56dfe3502fc8ebd092ae76a5235baad6f825726f3bbcc8a3836a","ae7f57067310d6c4acbc4862b91b5799e88831f4ab77f865443a9bc5057b540a","955d0c60502897e9735fcd08d2c1ad484b6166786328b89386074aebcd735776","2fa69d202a513f2a6553f263d473cba85d598ce250261715d78e8aab42df6b93","55480aa69f3984607fa60b3862b5cd24c2ee7bdd4edaed1eef6a8b46554e947f","3c19e77a05c092cab5f4fd57f6864aa2657f3ad524882f917a05fdb025905199","708350608d7483a4c585233b95d2dc86d992d36e7da312d5802e9a8837b5829d","75ff90ce3a6a52fbecc41c369de5082d8918f1e856bfce3651be2bfca4c2b91d","8e358d80ac052e9f4e5cc16d06c946628834b47718a4bd101ef2087603b8e5c7","aa6b17a3d65d7ac911240711b2fc885bf3e14af9025c38fcc9371b9ea586aeb6","7bbf8889032feca0f50f86dfea1efd6fe8ddfc048e174ed3ccdbb0c6c19c5526","ab04c815a49716e4ac5a1859a64f38fbdc0d901aabbda3658e5b11459928e11d","50b66126d91f5e23c0d3f97d454022158f5c2910cce478eca53ea96dfe79c6b7","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","9ad8e5cfdfbed80fb87131f7329d1007adfe7dccbfe2b78e17acd0cbd118af07","4244e8dfdc41dfb490d4a2f772c2f87c82fc48adb3242a54a6e37bea1c00b867",{"version":"a6be0c28bf10f8a2173187c125de6c43f696b43672e85f34851b25420a1c78e0","affectsGlobalScope":true},"0c68ec1112f19739aa32b6f7244c1be707c6efdc3018a6262dca66adec6ac29d","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"516a426e3960379f310107635b8f3a7e8c307c6c665080b128039d9299ec4087","affectsGlobalScope":true},"701597ff3f5c4cc2b67a12c1b5aa2703711be9b6da1c93be0b0188ae865aec21","14b3ffccc3162874ab00655027dbc598d358fd7dc08fa29df07a4b93f2214690"],"options":{"composite":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":1,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":5},"fileIdsList":[[91,162],[91,98],[80,91,98],[91,172,174],[91],[48,91],[51,91],[52,57,91],[53,63,64,71,80,90,91],[53,54,63,71,91],[55,91],[56,57,64,72,91],[57,80,87,91],[58,60,63,71,91],[59,91],[60,61,91],[62,63,91],[63,91],[63,64,65,80,90,91],[63,64,65,80,91],[66,71,80,90,91],[63,64,66,67,71,80,87,90,91],[66,68,80,87,90,91],[48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],[63,69,91],[70,90,91],[60,63,71,80,91],[72,91],[73,91],[51,74,91],[75,89,91,95],[76,91],[77,91],[63,78,91],[78,79,91,93],[63,80,81,82,91],[80,82,91],[80,81,91],[83,91],[84,91],[63,85,86,91],[85,86,91],[57,71,87,91],[88,91],[71,89,91],[52,66,77,90,91],[57,91],[80,91,92],[91,93],[91,94],[52,57,63,65,74,80,90,91,93,95],[80,91,96],[91,168,169],[91,168,169,170,171],[91,173],[91,98,158],[91,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157],[91,148],[91,134,150],[91,150],[91,133],[91,134],[91,142],[91,113,114,115,116,117,118,119,120,121],[45,46,47,91,99,100,101,102],[47,91,98,99],[91,100],[91,108,109,110,111],[91,98,104,106],[91,107,108],[91,107,108,109],[91,98,104],[91,105],[91,108,109],[91,103,112,127,166],[91,103,112,123,124,127,129,131],[48,91,124,130],[48,91,103,112,123,126,159,166],[48,91,103,112,122,123,124,125,166],[48,91,103,112,122,123,124,126,127,159,166],[48,91,103,112,122,124,125,126,166],[91,124,126,127,131,164],[80,91,124,163]],"referencedMap":[[163,1],[167,2],[130,3],[175,4],[162,5],[48,6],[49,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,16],[62,17],[63,18],[64,19],[65,20],[50,5],[97,5],[66,21],[67,22],[68,23],[98,24],[69,25],[70,26],[71,27],[72,28],[73,29],[74,30],[75,31],[76,32],[77,33],[78,34],[79,35],[80,36],[82,37],[81,38],[83,39],[84,40],[85,41],[86,42],[87,43],[88,44],[89,45],[90,46],[91,47],[92,48],[93,49],[94,50],[95,51],[96,52],[123,5],[176,2],[177,3],[168,5],[170,53],[172,54],[171,53],[169,5],[174,55],[173,5],[159,56],[158,57],[149,58],[133,5],[151,59],[150,5],[152,60],[134,5],[155,5],[142,61],[137,5],[136,62],[135,5],[144,5],[156,63],[140,61],[143,5],[148,5],[141,61],[138,62],[139,5],[145,62],[146,62],[154,5],[157,5],[153,5],[147,5],[11,5],[10,5],[2,5],[12,5],[13,5],[14,5],[15,5],[16,5],[17,5],[18,5],[19,5],[3,5],[4,5],[23,5],[20,5],[21,5],[22,5],[24,5],[25,5],[26,5],[5,5],[27,5],[28,5],[29,5],[30,5],[6,5],[31,5],[32,5],[33,5],[34,5],[7,5],[39,5],[35,5],[36,5],[37,5],[38,5],[8,5],[43,5],[40,5],[41,5],[42,5],[1,5],[9,5],[44,5],[129,5],[113,5],[121,5],[114,5],[115,5],[122,64],[116,5],[117,5],[118,18],[119,5],[120,5],[45,5],[46,5],[47,5],[103,65],[100,66],[99,2],[101,67],[102,2],[112,68],[107,69],[109,70],[111,71],[108,5],[105,72],[106,73],[110,74],[104,5],[128,75],[132,76],[131,77],[160,78],[126,79],[161,80],[127,81],[124,5],[165,82],[166,5],[164,83],[125,5]],"exportedModulesMap":[[163,1],[167,2],[130,3],[175,4],[162,5],[48,6],[49,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,16],[62,17],[63,18],[64,19],[65,20],[50,5],[97,5],[66,21],[67,22],[68,23],[98,24],[69,25],[70,26],[71,27],[72,28],[73,29],[74,30],[75,31],[76,32],[77,33],[78,34],[79,35],[80,36],[82,37],[81,38],[83,39],[84,40],[85,41],[86,42],[87,43],[88,44],[89,45],[90,46],[91,47],[92,48],[93,49],[94,50],[95,51],[96,52],[123,5],[176,2],[177,3],[168,5],[170,53],[172,54],[171,53],[169,5],[174,55],[173,5],[159,56],[158,57],[149,58],[133,5],[151,59],[150,5],[152,60],[134,5],[155,5],[142,61],[137,5],[136,62],[135,5],[144,5],[156,63],[140,61],[143,5],[148,5],[141,61],[138,62],[139,5],[145,62],[146,62],[154,5],[157,5],[153,5],[147,5],[11,5],[10,5],[2,5],[12,5],[13,5],[14,5],[15,5],[16,5],[17,5],[18,5],[19,5],[3,5],[4,5],[23,5],[20,5],[21,5],[22,5],[24,5],[25,5],[26,5],[5,5],[27,5],[28,5],[29,5],[30,5],[6,5],[31,5],[32,5],[33,5],[34,5],[7,5],[39,5],[35,5],[36,5],[37,5],[38,5],[8,5],[43,5],[40,5],[41,5],[42,5],[1,5],[9,5],[44,5],[129,5],[113,5],[121,5],[114,5],[115,5],[122,64],[116,5],[117,5],[118,18],[119,5],[120,5],[45,5],[46,5],[47,5],[103,65],[100,66],[99,2],[101,67],[102,2],[112,68],[107,69],[109,70],[111,71],[108,5],[105,72],[106,73],[110,74],[104,5],[128,75],[132,76],[131,77],[160,78],[126,79],[161,80],[127,81],[124,5],[165,82],[166,5],[164,83],[125,5]],"semanticDiagnosticsPerFile":[163,167,130,175,162,48,49,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,50,97,66,67,68,98,69,70,71,72,73,74,75,76,77,78,79,80,82,81,83,84,85,86,87,88,89,90,91,92,93,94,95,96,123,176,177,168,170,172,171,169,174,173,159,158,149,133,151,150,152,134,155,142,137,136,135,144,156,140,143,148,141,138,139,145,146,154,157,153,147,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,31,32,33,34,7,39,35,36,37,38,8,43,40,41,42,1,9,44,129,113,121,114,115,122,116,117,118,119,120,45,46,47,103,100,99,101,102,112,107,109,111,108,105,106,110,104,128,132,131,160,126,161,127,124,165,166,164,125]},"version":"4.5.3"}
|
|
1
|
+
{"program":{"fileNames":["../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../common/crypto/dist/src/encrypt.d.ts","../../../common/crypto/dist/src/hash.d.ts","../../../common/crypto/dist/src/human-hash.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/assert.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/assert/strict.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/globals.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/async_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/buffer.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/child_process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/cluster.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/console.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/constants.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/crypto.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dgram.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/diagnostics_channel.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dns.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dns/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/domain.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/fs.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/fs/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/http.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/http2.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/https.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/inspector.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/module.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/net.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/os.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/path.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/perf_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/punycode.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/querystring.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/readline.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/repl.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/consumers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/web.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/string_decoder.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/timers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/timers/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/tls.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/trace_events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/tty.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/url.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/v8.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/vm.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/wasi.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/worker_threads.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/zlib.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/globals.global.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/index.d.ts","../../../common/crypto/dist/src/public-key.d.ts","../../../common/crypto/dist/src/keys.d.ts","../../../common/crypto/dist/src/seedphrase.d.ts","../../../common/crypto/dist/src/validator.d.ts","../../../common/crypto/dist/src/index.d.ts","../../../common/random-access-multi-storage/dist/src/types.d.ts","../../../common/random-access-multi-storage/dist/src/internal/FileInternal.d.ts","../../../common/random-access-multi-storage/dist/src/internal/index.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/File.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/Directory.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/storage-types.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/Storage.d.ts","../../../common/random-access-multi-storage/dist/src/node.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/index.d.ts","../../../common/random-access-multi-storage/dist/src/index.d.ts","../../../common/async/dist/src/async.d.ts","../../../common/async/dist/src/event.d.ts","../../../common/async/dist/src/events.d.ts","../../../common/async/dist/src/latch.d.ts","../../../common/async/dist/src/lock.d.ts","../../../common/async/dist/src/sink.d.ts","../../../common/async/dist/src/trigger.d.ts","../../../common/async/dist/src/types.d.ts","../../../common/async/dist/src/callback.d.ts","../../../common/async/dist/src/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+pify@3.0.2/node_modules/@types/pify/index.d.ts","../src/hypercore-types.ts","../src/types.ts","../src/feed-descriptor.ts","../src/feed-store.ts","../src/benchmark.ts","../../../../common/temp/node_modules/.pnpm/wait-for-expect@3.0.2/node_modules/wait-for-expect/lib/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+from2@2.3.1/node_modules/@types/from2/index.d.ts","../src/create-batch-stream.ts","../src/create-batch-stream.test.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/basic.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/except.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/mutable.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/merge.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/merge-exclusive.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/require-at-least-one.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/require-exactly-one.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/partial-deep.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/readonly-deep.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/literal-union.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/promisable.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/opaque.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/set-optional.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/set-required.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/value-of.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/promise-value.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/async-return-type.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/conditional-keys.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/conditional-except.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/conditional-pick.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/union-to-intersection.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/stringified.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/fixed-length-array.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/package-json.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/source/tsconfig-json.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.16.0/node_modules/type-fest/index.d.ts","../../../../common/temp/node_modules/.pnpm/tempy@1.0.1/node_modules/tempy/index.d.ts","../src/feed-descriptor.test.ts","../src/feed-store.test.ts","../../../../common/temp/node_modules/.pnpm/@types+ms@0.7.31/node_modules/@types/ms/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+debug@4.1.7/node_modules/@types/debug/index.d.ts","../src/stream.ts","../src/index.ts","../src/shims.d.ts","../../../../common/temp/node_modules/.pnpm/@types+end-of-stream@1.4.1/node_modules/@types/end-of-stream/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/diffLines.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/printDiffs.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@26.6.2/node_modules/jest-diff/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@26.6.2/node_modules/pretty-format/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+jest@26.0.24/node_modules/@types/jest/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+pump@1.1.1/node_modules/@types/pump/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+through2@2.0.36/node_modules/@types/through2/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"0e6c82eab84a7ea274f61068f4db4ab85ce1eb64e4b630d427f47061423d6e56","aae72031068e978fc1b48ffba8a7884c5aa7ee19e0550060d6cf70a04b55afdd","fccc3ab2eb7278d4597fd8b2ae645ace954f1cb9d523acef67d876ed2b66e728","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","c665d5c50c2573aefd98f0ffb12c5583e333ed94294ce6f144a4163a8c84f09b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"8a215750db3e2073511e07c9e293c8c40d6109e5c7368845e060bcc12adbae6f","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","3fa48484c65913004d5abb5c0f917b61ea4684f32d05bb28c1ecfa5f05a9ed12","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","3c8c1a880d61c6ad2d46d9f63caaa17d94fceee883d5defa5446d083ca37315a","d044199ee2bf86629e566c226794bb6841d9546e3fd5732a3c7d6228169ff638","2fbbee972d3da84ef0e21546d43924fa02b0b49de1ec1b5b2f800e182373a7d1","830b201ad1bf6541b32ecb644a7f22102f2de52c3ce298be461d19fcdc69cc86","031401b9afec14ada845cfd7f16642df9b5ef001c74a6e0fd1f646654406372f","d17ccc55121ccd1f6b161982dd47f08719e0649bffa0d3f9c22ca5b8aa2e175d","ea20223570611b1ffad8e6a82236ecbec8650433de56ba618831d71e0627cf18","bedbf1770f50c9905291c96992acd50da7a8c68d631c5d6b35f5a294f5b33f54","73e8caae656fbfee846a56d254e7052b9d8932bcd7692fb682dd66a8d9df1441","48b69e79620e2761c32ec60f831b2ea34e4eb718b116795f8b8f7a9e42be62db","58d590871da3b448207d4c57cd8196b171f00febe488ed16ad094b54fbf3d09b","0a724fd5a864626765e919bfc47e5b7123b846923f10bd680f9dc3a549c58c60","d4cb3805d8d2d4b83d1e188b7806f2e26bfda5956c33b45a0fadee936a599f67","84df9e836e0e08fddbb39ff24a6ecb92448938ad7c4642a1d2dd03cca4b69f59","1523fe6a5b265a4edb37c1417de0fe8252f85354803b78a9d4b808c6d5aef8b9","c87085285d6c052f422ab0713098bc72c9f276ccb48337b471f277ab24e134e9","1610f2eadec0c6fc891f89330502bb099b539771a13746807e5d3b40180ec901","17d12583fd6c710f4a422192477b796d726c2a5a16cca6f2b8dc5fbdcf79a656","4d5f1e0f924758e43db4a47e4bb73c94790851b5c542a3eafd342dc5922693bc","7ddaa1a9e903fed42dac0b9abcb5a2c53dca4ba00187b51ad84694db52f5ff4e","d88cf802778f5dd1b7afd9422aa492fc55ca9168ce750e76f717c81e689bedec","61359ee515b08c71b7eaa3a7a26571f1408e13108f060c57a83e429298c5c03b","d0e37049ec98567321a991657d1605336463b9959c7b3a28b86d8834dc0786e3","7d946dbc2ec536a4505d248cb71c667c75b5bf5bdd2e770b35f23a8617929b42","e97b15d7d01903fdc959930f53f7319bb74004462508aaaaf95d230519dbfa65","de0419d54dd252b174c36d93cccab2446a1d154d551ac78c0a31d14015ffa993","48897785cd0b3e200a8c224fec9ece9f636df85537ad97ce599b67d89ef8b129","27e706c18de004a4fc4c403d4397c24bbaf3a6d7f5f773921c306cb15abb8c43","04dba476df4137a3403004dd2ea6afe7c4b3043967ab0234a95b927b9a4cb004","dc2e024627f09c9c535e2e94d2d183dfc9f44d25016ecb003cf0e16528591e4f","a9af5853b3a2cac7c2961d745b2bed1a54085583c6dc8f976affc4d0ac01114d","095b817a5042af7140cc5c6a59d84fe731156193191b4ec39a37d23e526cc653","70a8b28ff28708343b51689f1cd08b63c081fe418b555fec4296be36fead5a06","db0a15056e9b80d2fb388c35d1b94c15f8c127f8a536d3a062cba708e701490b","751583e759022ee200fed5e725472a77c0242305d82cd9039cfe0474f9179e36",{"version":"f20c9c09c8a0fea4784952305a937bdb092417908bad669dc789d3e54d8a5386","affectsGlobalScope":true},"c58be3e560989a877531d3ff7c9e5db41c5dd9282480ccf197abfcc708a95b8d","91f23ddc3971b1c8938c638fb55601a339483953e1eb800675fa5b5e8113db72","50d22844db90a0dcd359afeb59dd1e9a384d977b4b363c880b4e65047237a29e","d33782b82eea0ee17b99ca563bd19b38259a3aaf096d306ceaf59cd4422629be","7f7f1420c69806e268ab7820cbe31a2dcb2f836f28b3d09132a2a95b4a454b80","2d14198b25428b7b8010a895085add8edfaae476ab863c0c15fe2867fc214fe4","61046f12c3cfafd353d2d03febc96b441c1a0e3bb82a5a88de78cc1be9e10520","f4e7f5824ac7b35539efc3bef36b3e6be89603b88224cb5c0ad3526a454fc895","091af8276fbc70609a00e296840bd284a2fe29df282f0e8dae2de9f0a706685f","537aff717746703d2157ec563b5de4f6393ce9f69a84ae62b49e9b6c80b6e587","d4220a16027ddf0cc7d105d80cbb01f5070ca7ddd8b2d007cfb024b27e22b912","fb3aa3fb5f4fcd0d57d389a566c962e92dbfdaea3c38e3eaf27d466e168871c6","0af1485d84516c1a080c1f4569fea672caac8051e29f33733bf8d01df718d213","69630ad0e50189fb7a6b8f138c5492450394cb45424a903c8b53b2d5dd1dbce2","c585e44fdf120eba5f6b12c874966f152792af727115570b21cb23574f465ce1","8e067d3c170e56dfe3502fc8ebd092ae76a5235baad6f825726f3bbcc8a3836a","ae7f57067310d6c4acbc4862b91b5799e88831f4ab77f865443a9bc5057b540a","955d0c60502897e9735fcd08d2c1ad484b6166786328b89386074aebcd735776","2fa69d202a513f2a6553f263d473cba85d598ce250261715d78e8aab42df6b93","55480aa69f3984607fa60b3862b5cd24c2ee7bdd4edaed1eef6a8b46554e947f","3c19e77a05c092cab5f4fd57f6864aa2657f3ad524882f917a05fdb025905199","708350608d7483a4c585233b95d2dc86d992d36e7da312d5802e9a8837b5829d","75ff90ce3a6a52fbecc41c369de5082d8918f1e856bfce3651be2bfca4c2b91d","8e358d80ac052e9f4e5cc16d06c946628834b47718a4bd101ef2087603b8e5c7","aa6b17a3d65d7ac911240711b2fc885bf3e14af9025c38fcc9371b9ea586aeb6","7bbf8889032feca0f50f86dfea1efd6fe8ddfc048e174ed3ccdbb0c6c19c5526","9e07496eb55c8a421e0a3602f0eb5b044cf1f3c3eca0177fdc9c2077de6ecde7","13d71edec8945f29405e6c86d0695b94a34573614303cdda8d210b1e7bd65325","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","9ad8e5cfdfbed80fb87131f7329d1007adfe7dccbfe2b78e17acd0cbd118af07","4244e8dfdc41dfb490d4a2f772c2f87c82fc48adb3242a54a6e37bea1c00b867",{"version":"a6be0c28bf10f8a2173187c125de6c43f696b43672e85f34851b25420a1c78e0","affectsGlobalScope":true},"0c68ec1112f19739aa32b6f7244c1be707c6efdc3018a6262dca66adec6ac29d","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"516a426e3960379f310107635b8f3a7e8c307c6c665080b128039d9299ec4087","affectsGlobalScope":true},"701597ff3f5c4cc2b67a12c1b5aa2703711be9b6da1c93be0b0188ae865aec21","14b3ffccc3162874ab00655027dbc598d358fd7dc08fa29df07a4b93f2214690"],"options":{"composite":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":1,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":5},"fileIdsList":[[91,163],[91,98],[80,91,98],[91,173,175],[91],[48,91],[51,91],[52,57,91],[53,63,64,71,80,90,91],[53,54,63,71,91],[55,91],[56,57,64,72,91],[57,80,87,91],[58,60,63,71,91],[59,91],[60,61,91],[62,63,91],[63,91],[63,64,65,80,90,91],[63,64,65,80,91],[66,71,80,90,91],[63,64,66,67,71,80,87,90,91],[66,68,80,87,90,91],[48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],[63,69,91],[70,90,91],[60,63,71,80,91],[72,91],[73,91],[51,74,91],[75,89,91,95],[76,91],[77,91],[63,78,91],[78,79,91,93],[63,80,81,82,91],[80,82,91],[80,81,91],[83,91],[84,91],[63,85,86,91],[85,86,91],[57,71,87,91],[88,91],[71,89,91],[52,66,77,90,91],[57,91],[80,91,92],[91,93],[91,94],[52,57,63,65,74,80,90,91,93,95],[80,91,96],[91,169,170],[91,169,170,171,172],[91,174],[91,98,159],[91,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158],[91,149],[91,135,151],[91,151],[91,134],[91,135],[91,143],[91,114,115,116,117,118,119,120,121,122],[45,46,47,91,99,100,101,102],[47,91,98,99],[91,100],[91,109,110,111,112],[91,107],[91,98,104,106],[91,108,109],[91,107,108,109,110],[91,98,104],[91,105],[91,109,110],[91,106],[91,103,113,128,167],[91,103,113,124,125,128,130,132],[48,91,125,131],[48,91,103,113,124,127,160,167],[48,91,103,113,123,124,125,126,167],[48,91,103,113,123,124,125,127,128,160,167],[48,91,103,113,123,125,126,127,167],[91,125,127,128,132,165],[80,91,125,164]],"referencedMap":[[164,1],[168,2],[131,3],[176,4],[163,5],[48,6],[49,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,16],[62,17],[63,18],[64,19],[65,20],[50,5],[97,5],[66,21],[67,22],[68,23],[98,24],[69,25],[70,26],[71,27],[72,28],[73,29],[74,30],[75,31],[76,32],[77,33],[78,34],[79,35],[80,36],[82,37],[81,38],[83,39],[84,40],[85,41],[86,42],[87,43],[88,44],[89,45],[90,46],[91,47],[92,48],[93,49],[94,50],[95,51],[96,52],[124,5],[177,2],[178,3],[169,5],[171,53],[173,54],[172,53],[170,5],[175,55],[174,5],[160,56],[159,57],[150,58],[134,5],[152,59],[151,5],[153,60],[135,5],[156,5],[143,61],[138,5],[137,62],[136,5],[145,5],[157,63],[141,61],[144,5],[149,5],[142,61],[139,62],[140,5],[146,62],[147,62],[155,5],[158,5],[154,5],[148,5],[11,5],[10,5],[2,5],[12,5],[13,5],[14,5],[15,5],[16,5],[17,5],[18,5],[19,5],[3,5],[4,5],[23,5],[20,5],[21,5],[22,5],[24,5],[25,5],[26,5],[5,5],[27,5],[28,5],[29,5],[30,5],[6,5],[31,5],[32,5],[33,5],[34,5],[7,5],[39,5],[35,5],[36,5],[37,5],[38,5],[8,5],[43,5],[40,5],[41,5],[42,5],[1,5],[9,5],[44,5],[130,5],[114,5],[122,5],[115,5],[116,5],[123,64],[117,5],[118,5],[119,18],[120,5],[121,5],[45,5],[46,5],[47,5],[103,65],[100,66],[99,2],[101,67],[102,2],[113,68],[108,69],[107,70],[110,71],[112,72],[109,5],[105,73],[106,74],[111,75],[104,76],[129,77],[133,78],[132,79],[161,80],[127,81],[162,82],[128,83],[125,5],[166,84],[167,5],[165,85],[126,5]],"exportedModulesMap":[[164,1],[168,2],[131,3],[176,4],[163,5],[48,6],[49,6],[51,7],[52,8],[53,9],[54,10],[55,11],[56,12],[57,13],[58,14],[59,15],[60,16],[61,16],[62,17],[63,18],[64,19],[65,20],[50,5],[97,5],[66,21],[67,22],[68,23],[98,24],[69,25],[70,26],[71,27],[72,28],[73,29],[74,30],[75,31],[76,32],[77,33],[78,34],[79,35],[80,36],[82,37],[81,38],[83,39],[84,40],[85,41],[86,42],[87,43],[88,44],[89,45],[90,46],[91,47],[92,48],[93,49],[94,50],[95,51],[96,52],[124,5],[177,2],[178,3],[169,5],[171,53],[173,54],[172,53],[170,5],[175,55],[174,5],[160,56],[159,57],[150,58],[134,5],[152,59],[151,5],[153,60],[135,5],[156,5],[143,61],[138,5],[137,62],[136,5],[145,5],[157,63],[141,61],[144,5],[149,5],[142,61],[139,62],[140,5],[146,62],[147,62],[155,5],[158,5],[154,5],[148,5],[11,5],[10,5],[2,5],[12,5],[13,5],[14,5],[15,5],[16,5],[17,5],[18,5],[19,5],[3,5],[4,5],[23,5],[20,5],[21,5],[22,5],[24,5],[25,5],[26,5],[5,5],[27,5],[28,5],[29,5],[30,5],[6,5],[31,5],[32,5],[33,5],[34,5],[7,5],[39,5],[35,5],[36,5],[37,5],[38,5],[8,5],[43,5],[40,5],[41,5],[42,5],[1,5],[9,5],[44,5],[130,5],[114,5],[122,5],[115,5],[116,5],[123,64],[117,5],[118,5],[119,18],[120,5],[121,5],[45,5],[46,5],[47,5],[103,65],[100,66],[99,2],[101,67],[102,2],[113,68],[108,69],[107,70],[110,71],[112,72],[109,5],[105,73],[106,74],[111,75],[104,76],[129,77],[133,78],[132,79],[161,80],[127,81],[162,82],[128,83],[125,5],[166,84],[167,5],[165,85],[126,5]],"semanticDiagnosticsPerFile":[164,168,131,176,163,48,49,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,50,97,66,67,68,98,69,70,71,72,73,74,75,76,77,78,79,80,82,81,83,84,85,86,87,88,89,90,91,92,93,94,95,96,124,177,178,169,171,173,172,170,175,174,160,159,150,134,152,151,153,135,156,143,138,137,136,145,157,141,144,149,142,139,140,146,147,155,158,154,148,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,31,32,33,34,7,39,35,36,37,38,8,43,40,41,42,1,9,44,130,114,122,115,116,123,117,118,119,120,121,45,46,47,103,100,99,101,102,113,108,107,110,112,109,105,106,111,104,129,133,132,161,127,162,128,125,166,167,165,126]},"version":"4.5.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/feed-store",
|
|
3
|
-
"version": "2.33.5-dev.
|
|
3
|
+
"version": "2.33.5-dev.9e11cb97",
|
|
4
4
|
"description": "A consistent store for your hypercore feeds.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dxos/async": "2.33.5-dev.
|
|
14
|
-
"@dxos/util": "2.33.5-dev.
|
|
13
|
+
"@dxos/async": "2.33.5-dev.9e11cb97",
|
|
14
|
+
"@dxos/util": "2.33.5-dev.9e11cb97",
|
|
15
15
|
"buffer-json-encoding": "^1.0.2",
|
|
16
16
|
"debug": "^4.3.3",
|
|
17
17
|
"end-of-stream": "^1.4.1",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@dxos/benchmark-suite": "^1.0.0-beta.1",
|
|
26
26
|
"@dxos/browser-runner": "^1.0.0-beta.13",
|
|
27
|
-
"@dxos/crypto": "2.33.5-dev.
|
|
28
|
-
"@dxos/eslint-plugin": "~1.0.
|
|
27
|
+
"@dxos/crypto": "2.33.5-dev.9e11cb97",
|
|
28
|
+
"@dxos/eslint-plugin": "~1.0.33",
|
|
29
29
|
"@dxos/protocols-toolchain": "2.33.4",
|
|
30
|
-
"@dxos/random-access-multi-storage": "2.33.5-dev.
|
|
30
|
+
"@dxos/random-access-multi-storage": "2.33.5-dev.9e11cb97",
|
|
31
31
|
"@types/debug": "^4.1.7",
|
|
32
32
|
"@types/end-of-stream": "^1.4.0",
|
|
33
33
|
"@types/from2": "~2.3.1",
|
package/src/benchmark.ts
CHANGED
|
@@ -21,7 +21,7 @@ void (async () => {
|
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
const fs = new FeedStore(createStorage('.benchmark'), { valueEncoding: 'utf8' });
|
|
24
|
+
const fs = new FeedStore(createStorage('').directory('.benchmark'), { valueEncoding: 'utf8' });
|
|
25
25
|
const suite = new Suite(fs, { maxFeeds, maxMessages });
|
|
26
26
|
|
|
27
27
|
suite.beforeAll(() => Promise.all(range(maxFeeds).map(async i => {
|
|
@@ -13,7 +13,7 @@ import { FeedStore } from './feed-store';
|
|
|
13
13
|
import { HypercoreFeed } from './hypercore-types';
|
|
14
14
|
|
|
15
15
|
const createFeed = async () => {
|
|
16
|
-
const feedStore = new FeedStore(createStorage('', StorageType.RAM), { valueEncoding: 'utf-8' });
|
|
16
|
+
const feedStore = new FeedStore(createStorage('', StorageType.RAM).directory('feed'), { valueEncoding: 'utf-8' });
|
|
17
17
|
const { publicKey, secretKey } = createKeyPair();
|
|
18
18
|
const { feed } = await feedStore.openReadWriteFeed(PublicKey.from(publicKey), secretKey);
|
|
19
19
|
return feed;
|
|
@@ -20,7 +20,7 @@ describe('FeedDescriptor', () => {
|
|
|
20
20
|
beforeEach(async () => {
|
|
21
21
|
const { publicKey, secretKey } = createKeyPair();
|
|
22
22
|
fd = new FeedDescriptor({
|
|
23
|
-
|
|
23
|
+
directory: createStorage('', StorageType.RAM).directory('feed'),
|
|
24
24
|
key: PublicKey.from(publicKey),
|
|
25
25
|
secretKey,
|
|
26
26
|
hypercore: defaultHypercore
|
|
@@ -41,7 +41,7 @@ describe('FeedDescriptor', () => {
|
|
|
41
41
|
// When this behaviour was changed, suddenly `protocol-plugin-replicator` tests started hanging forever on network generation.
|
|
42
42
|
const { publicKey } = createKeyPair();
|
|
43
43
|
const key = PublicKey.from(publicKey);
|
|
44
|
-
const fd = new FeedDescriptor({ key,
|
|
44
|
+
const fd = new FeedDescriptor({ key, directory: createStorage('', StorageType.NODE).directory('feed'), hypercore: defaultHypercore });
|
|
45
45
|
expect(fd.key).toEqual(key);
|
|
46
46
|
expect(fd.secretKey).toBeUndefined();
|
|
47
47
|
});
|
|
@@ -50,7 +50,7 @@ describe('FeedDescriptor', () => {
|
|
|
50
50
|
const { publicKey, secretKey } = createKeyPair();
|
|
51
51
|
|
|
52
52
|
const fd = new FeedDescriptor({
|
|
53
|
-
|
|
53
|
+
directory: createStorage('', StorageType.RAM).directory('feed'),
|
|
54
54
|
key: PublicKey.from(publicKey),
|
|
55
55
|
secretKey,
|
|
56
56
|
valueEncoding: 'json',
|
|
@@ -92,7 +92,7 @@ describe('FeedDescriptor', () => {
|
|
|
92
92
|
// If we try to close a feed that is opening should wait for the open result.
|
|
93
93
|
const { publicKey, secretKey } = createKeyPair();
|
|
94
94
|
const fd2 = new FeedDescriptor({
|
|
95
|
-
|
|
95
|
+
directory: createStorage('', StorageType.RAM).directory('feed'),
|
|
96
96
|
key: PublicKey.from(publicKey),
|
|
97
97
|
secretKey,
|
|
98
98
|
hypercore: defaultHypercore
|
|
@@ -108,7 +108,7 @@ describe('FeedDescriptor', () => {
|
|
|
108
108
|
|
|
109
109
|
const { publicKey, secretKey } = createKeyPair();
|
|
110
110
|
const fd = new FeedDescriptor({
|
|
111
|
-
|
|
111
|
+
directory: createStorage(root, StorageType.NODE).directory('feed'),
|
|
112
112
|
key: PublicKey.from(publicKey),
|
|
113
113
|
secretKey,
|
|
114
114
|
valueEncoding: 'utf-8',
|
|
@@ -135,7 +135,7 @@ describe('FeedDescriptor', () => {
|
|
|
135
135
|
test('on open error should unlock the resource', async () => {
|
|
136
136
|
const { publicKey, secretKey } = createKeyPair();
|
|
137
137
|
const fd = new FeedDescriptor({
|
|
138
|
-
|
|
138
|
+
directory: createStorage('', StorageType.RAM).directory('feed'),
|
|
139
139
|
key: PublicKey.from(publicKey),
|
|
140
140
|
secretKey,
|
|
141
141
|
hypercore: () => {
|
|
@@ -149,7 +149,7 @@ describe('FeedDescriptor', () => {
|
|
|
149
149
|
test('on close error should unlock the resource', async () => {
|
|
150
150
|
const { publicKey, secretKey } = createKeyPair();
|
|
151
151
|
const fd = new FeedDescriptor({
|
|
152
|
-
|
|
152
|
+
directory: createStorage('', StorageType.RAM).directory('feed'),
|
|
153
153
|
key: PublicKey.from(publicKey),
|
|
154
154
|
secretKey,
|
|
155
155
|
hypercore: () => ({
|
package/src/feed-descriptor.ts
CHANGED
|
@@ -8,13 +8,13 @@ import pify from 'pify';
|
|
|
8
8
|
|
|
9
9
|
import { Lock } from '@dxos/async';
|
|
10
10
|
import { PublicKey } from '@dxos/crypto';
|
|
11
|
-
import type {
|
|
11
|
+
import type { Directory, File } from '@dxos/random-access-multi-storage';
|
|
12
12
|
|
|
13
13
|
import type { HypercoreFeed, Hypercore } from './hypercore-types';
|
|
14
14
|
import type { ValueEncoding } from './types';
|
|
15
15
|
|
|
16
16
|
interface FeedDescriptorOptions {
|
|
17
|
-
|
|
17
|
+
directory: Directory,
|
|
18
18
|
key: PublicKey,
|
|
19
19
|
hypercore: Hypercore,
|
|
20
20
|
secretKey?: Buffer,
|
|
@@ -28,7 +28,7 @@ interface FeedDescriptorOptions {
|
|
|
28
28
|
* Abstract handler for an Hypercore instance.
|
|
29
29
|
*/
|
|
30
30
|
export class FeedDescriptor {
|
|
31
|
-
private readonly
|
|
31
|
+
private readonly _directory: Directory;
|
|
32
32
|
private readonly _key: PublicKey;
|
|
33
33
|
private readonly _secretKey?: Buffer;
|
|
34
34
|
private readonly _valueEncoding?: ValueEncoding;
|
|
@@ -40,7 +40,7 @@ export class FeedDescriptor {
|
|
|
40
40
|
|
|
41
41
|
constructor (options: FeedDescriptorOptions) {
|
|
42
42
|
const {
|
|
43
|
-
|
|
43
|
+
directory,
|
|
44
44
|
key,
|
|
45
45
|
secretKey,
|
|
46
46
|
valueEncoding,
|
|
@@ -48,7 +48,7 @@ export class FeedDescriptor {
|
|
|
48
48
|
disableSigning = false
|
|
49
49
|
} = options;
|
|
50
50
|
|
|
51
|
-
this.
|
|
51
|
+
this._directory = directory;
|
|
52
52
|
this._valueEncoding = valueEncoding;
|
|
53
53
|
this._hypercore = hypercore;
|
|
54
54
|
this._key = key;
|
|
@@ -121,7 +121,7 @@ export class FeedDescriptor {
|
|
|
121
121
|
*/
|
|
122
122
|
private _createStorage (dir = ''): (name: string) => File {
|
|
123
123
|
return (name) => {
|
|
124
|
-
return this.
|
|
124
|
+
return this._directory.createOrOpen(`${dir}/${name}`);
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
|
package/src/feed-store.test.ts
CHANGED
|
@@ -26,7 +26,7 @@ interface KeyPair {
|
|
|
26
26
|
const feedNames = ['booksFeed', 'usersFeed', 'groupsFeed'];
|
|
27
27
|
|
|
28
28
|
const createFeedStore = (storage: Storage, options = {}) => {
|
|
29
|
-
const feedStore = new FeedStore(storage, options);
|
|
29
|
+
const feedStore = new FeedStore(storage.directory('feed'), options);
|
|
30
30
|
return feedStore;
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -56,10 +56,10 @@ describe('FeedStore', () => {
|
|
|
56
56
|
const keys = createKeyPairs();
|
|
57
57
|
|
|
58
58
|
test('Config default', async () => {
|
|
59
|
-
const feedStore = await createFeedStore(createStorage('
|
|
59
|
+
const feedStore = await createFeedStore(createStorage('', StorageType.RAM));
|
|
60
60
|
expect(feedStore).toBeInstanceOf(FeedStore);
|
|
61
61
|
|
|
62
|
-
const feedStore2 = new FeedStore(createStorage('
|
|
62
|
+
const feedStore2 = new FeedStore(createStorage('', StorageType.RAM).directory('feed'));
|
|
63
63
|
expect(feedStore2).toBeInstanceOf(FeedStore);
|
|
64
64
|
});
|
|
65
65
|
|
|
@@ -67,10 +67,11 @@ describe('FeedStore', () => {
|
|
|
67
67
|
const customHypercore = jest.fn((...args) => hypercore(args[0], args[1], args[2]));
|
|
68
68
|
|
|
69
69
|
const storage = createStorage('', StorageType.RAM);
|
|
70
|
-
const
|
|
70
|
+
const directory = storage.directory('');
|
|
71
|
+
const database = hypertrie(directory.createOrOpen.bind(directory), { valueEncoding: 'json' });
|
|
71
72
|
database.list = jest.fn((_, cb) => cb(null, []));
|
|
72
73
|
|
|
73
|
-
const feedStore = createFeedStore(createStorage('
|
|
74
|
+
const feedStore = createFeedStore(createStorage('', StorageType.RAM), {
|
|
74
75
|
hypercore: customHypercore
|
|
75
76
|
});
|
|
76
77
|
|
|
@@ -151,7 +152,7 @@ describe('FeedStore', () => {
|
|
|
151
152
|
});
|
|
152
153
|
|
|
153
154
|
test('Default codec: binary', async () => {
|
|
154
|
-
const feedStore = createFeedStore(createStorage('
|
|
155
|
+
const feedStore = createFeedStore(createStorage('', StorageType.RAM));
|
|
155
156
|
expect(feedStore).toBeInstanceOf(FeedStore);
|
|
156
157
|
|
|
157
158
|
const { publicKey, secretKey } = createKeyPair();
|
|
@@ -162,7 +163,7 @@ describe('FeedStore', () => {
|
|
|
162
163
|
});
|
|
163
164
|
|
|
164
165
|
test('on close error should unlock the descriptor', async () => {
|
|
165
|
-
const feedStore = createFeedStore(createStorage('
|
|
166
|
+
const feedStore = createFeedStore(createStorage('', StorageType.RAM), {
|
|
166
167
|
hypercore: () => ({
|
|
167
168
|
opened: true,
|
|
168
169
|
ready: (cb: () => void) => {
|
package/src/feed-store.ts
CHANGED
|
@@ -7,7 +7,7 @@ import defaultHypercore from 'hypercore';
|
|
|
7
7
|
|
|
8
8
|
import { synchronized, Event } from '@dxos/async';
|
|
9
9
|
import { PublicKey } from '@dxos/crypto';
|
|
10
|
-
import {
|
|
10
|
+
import { Directory } from '@dxos/random-access-multi-storage';
|
|
11
11
|
|
|
12
12
|
import FeedDescriptor from './feed-descriptor';
|
|
13
13
|
import type { Hypercore } from './hypercore-types';
|
|
@@ -45,7 +45,7 @@ export interface FeedStoreOptions {
|
|
|
45
45
|
* into a persist repository storage.
|
|
46
46
|
*/
|
|
47
47
|
export class FeedStore {
|
|
48
|
-
private
|
|
48
|
+
private _directory: Directory;
|
|
49
49
|
private _valueEncoding: ValueEncoding | undefined;
|
|
50
50
|
private _hypercore: Hypercore;
|
|
51
51
|
private _descriptors: Map<string, FeedDescriptor>;
|
|
@@ -56,13 +56,13 @@ export class FeedStore {
|
|
|
56
56
|
readonly feedOpenedEvent = new Event<FeedDescriptor>();
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* @param
|
|
59
|
+
* @param directory RandomAccessStorage to use by default by the feeds.
|
|
60
60
|
* @param options Feedstore options.
|
|
61
61
|
*/
|
|
62
|
-
constructor (
|
|
63
|
-
assert(
|
|
62
|
+
constructor (directory: Directory, options: FeedStoreOptions = {}) {
|
|
63
|
+
assert(directory, 'The storage is required.');
|
|
64
64
|
|
|
65
|
-
this.
|
|
65
|
+
this._directory = directory;
|
|
66
66
|
|
|
67
67
|
const {
|
|
68
68
|
valueEncoding,
|
|
@@ -79,7 +79,7 @@ export class FeedStore {
|
|
|
79
79
|
* @type {RandomAccessStorage}
|
|
80
80
|
*/
|
|
81
81
|
get storage () {
|
|
82
|
-
return this.
|
|
82
|
+
return this._directory;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
@synchronized
|
|
@@ -114,7 +114,7 @@ export class FeedStore {
|
|
|
114
114
|
const { key, secretKey } = options;
|
|
115
115
|
|
|
116
116
|
const descriptor = new FeedDescriptor({
|
|
117
|
-
|
|
117
|
+
directory: this._directory,
|
|
118
118
|
key,
|
|
119
119
|
secretKey,
|
|
120
120
|
valueEncoding: this._valueEncoding,
|