@dxos/feed-store 2.17.2 → 2.17.3
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 +2 -2
- package/dist/src/benchmark.js.map +1 -1
- package/dist/src/create-batch-stream.js +1 -1
- package/dist/src/create-batch-stream.js.map +1 -1
- package/dist/src/create-batch-stream.test.js +7 -7
- package/dist/src/create-batch-stream.test.js.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 +19 -19
- package/dist/src/feed-descriptor.test.js.map +1 -1
- package/dist/src/feed-store.js +1 -1
- package/dist/src/feed-store.js.map +1 -1
- package/dist/src/feed-store.test.js +15 -15
- package/dist/src/feed-store.test.js.map +1 -1
- package/dist/src/stream.js +1 -1
- package/dist/src/stream.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/stream.ts +2 -2
package/dist/src/benchmark.js
CHANGED
|
@@ -17,12 +17,12 @@ void (async () => {
|
|
|
17
17
|
throw new Error('messages amount expected incorrect');
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
|
-
const fs = new feed_store_1.FeedStore(random_access_multi_storage_1.createStorage('.benchmark'), { valueEncoding: 'utf8' });
|
|
20
|
+
const fs = new feed_store_1.FeedStore((0, random_access_multi_storage_1.createStorage)('.benchmark'), { valueEncoding: 'utf8' });
|
|
21
21
|
const suite = new benchmark_suite_1.Suite(fs, { maxFeeds, maxMessages });
|
|
22
22
|
suite.beforeAll(() => {
|
|
23
23
|
return Promise.all(range(maxFeeds).map(async (i) => {
|
|
24
24
|
const name = `feed/${i}`;
|
|
25
|
-
const { publicKey, secretKey } = crypto_1.createKeyPair();
|
|
25
|
+
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
26
26
|
const { feed } = await fs.openReadWriteFeed(crypto_1.PublicKey.from(publicKey), secretKey);
|
|
27
27
|
for (let i = 0; i < maxMessages; i++) {
|
|
28
28
|
await new Promise((resolve, reject) => {
|
|
@@ -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,2CAAa,
|
|
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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C,CAAC;IAEH,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;YACpF,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBAC3C,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,GAAU,EAAE,MAAW,EAAE,EAAE;oBACxD,KAAK,IAAI,MAAM,CAAC,MAAM,CAAC;oBACvB,IAAI,GAAG,EAAE;wBACP,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;qBACpB;oBACD,OAAO,EAAE,CAAC;gBACZ,CAAC,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC,CAAC;QAEJ,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"}
|
|
@@ -10,7 +10,7 @@ exports.createBatchStream = void 0;
|
|
|
10
10
|
const assert_1 = __importDefault(require("assert"));
|
|
11
11
|
const from2_1 = __importDefault(require("from2"));
|
|
12
12
|
function createBatchStream(feed, opts = {}) {
|
|
13
|
-
assert_1.default(!opts.batch || opts.batch > 0, 'batch must be major or equal to 1');
|
|
13
|
+
(0, assert_1.default)(!opts.batch || opts.batch > 0, 'batch must be major or equal to 1');
|
|
14
14
|
let start = opts.start || 0;
|
|
15
15
|
let end = typeof opts.end === 'number' ? opts.end : -1;
|
|
16
16
|
const live = !!opts.live;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch-stream.js","sourceRoot":"","sources":["../../src/create-batch-stream.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,kDAA+B;AAc/B,SAAgB,iBAAiB,CAAE,IAAmB,EAAE,OAAiC,EAAE;IACzF,gBAAM,
|
|
1
|
+
{"version":3,"file":"create-batch-stream.js","sourceRoot":"","sources":["../../src/create-batch-stream.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,kDAA+B;AAc/B,SAAgB,iBAAiB,CAAE,IAAmB,EAAE,OAAiC,EAAE;IACzF,IAAA,gBAAM,EAAC,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE,mCAAmC,CAAC,CAAC;IAE3E,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC;IAC5B,IAAI,GAAG,GAAG,OAAO,IAAI,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACvD,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;IACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,KAAK,KAAK,CAAC;IACzC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,GAAG,CAAC;IAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC;IACrC,IAAI,QAAQ,GAAG,CAAC,CAAC;IACjB,IAAI,UAAU,GAAG,CAAC,CAAC;IACnB,IAAI,GAAG,GAAG,KAAK,CAAC;IAChB,IAAI,KAAK,GAAG,IAAI,CAAC;IACjB,IAAI,YAAY,GAAG,GAAG,CAAC;IAEvB,IAAI,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,EAAE,K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C,IAAI,EAAE,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC;IAED,SAAS,YAAY,CAAE,IAAY;QACjC,MAAM,OAAO,GAAG;YACd,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,GAAG,EAAE,GAAG,EAAE;YACV,IAAI;YACJ,IAAI,EAAE,IAAI,CAAC,MAAM,KAAK,GAAG,IAAI,YAAY,KAAK,CAAC,IAAI,YAAY,KAAK,GAAG;YACvE,GAAG,QAAQ;SACZ,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,SAAS,OAAO;QACd,IAAI,CAAC,KAAK,EAAE;YACV,OAAO;SACR;QACD,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACvB,KAAK,GAAG,IAAI,CAAC;IACf,CAAC;IAED,SAAS,IAAI,CAAE,IAAS,EAAE,EAAwB;QAChD,IAAI,CAAC,KAAK,CAAC,UAAU,GAAU;YAC7B,IAAI,GAAG,EAAE;gBACP,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;aAChB;YACD,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC;IAED,SAAS,QAAQ,CAAE,KAAa;QAC9B,MAAM,SAAS,GAAG,KAAK,CAAC;QACxB,KAAK,GAAG,KAAK,CAAC;QACd,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;QACpB,IAAI,KAAK,CAAC,QAAQ,EAAE;YAClB,KAAK,CAAC,QAAQ,CAAC,KAAK,GAAG,KAAK,CAAC;SAC9B;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AA9HD,8CA8HC"}
|
|
@@ -13,18 +13,18 @@ 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(random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM), { valueEncoding: 'utf-8' });
|
|
17
|
-
const { publicKey, secretKey } = crypto_1.createKeyPair();
|
|
16
|
+
const feedStore = new feed_store_1.FeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM), { valueEncoding: 'utf-8' });
|
|
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;
|
|
20
20
|
};
|
|
21
21
|
const append = (feed, message) => {
|
|
22
|
-
return pify_1.default(feed.append.bind(feed))(message);
|
|
22
|
+
return (0, pify_1.default)(feed.append.bind(feed))(message);
|
|
23
23
|
};
|
|
24
24
|
describe('Batch stream', () => {
|
|
25
25
|
test('Single message', async () => {
|
|
26
26
|
const feed = await createFeed();
|
|
27
|
-
const stream = create_batch_stream_1.createBatchStream(feed, { live: true });
|
|
27
|
+
const stream = (0, create_batch_stream_1.createBatchStream)(feed, { live: true });
|
|
28
28
|
const messages = [];
|
|
29
29
|
stream.on('data', (data) => {
|
|
30
30
|
data.forEach((message) => {
|
|
@@ -33,13 +33,13 @@ describe('Batch stream', () => {
|
|
|
33
33
|
});
|
|
34
34
|
const msg = crypto_1.PublicKey.random().toString();
|
|
35
35
|
await append(feed, msg);
|
|
36
|
-
await wait_for_expect_1.default(() => {
|
|
36
|
+
await (0, wait_for_expect_1.default)(() => {
|
|
37
37
|
expect(messages).toContain(msg);
|
|
38
38
|
});
|
|
39
39
|
});
|
|
40
40
|
test('Five messages', async () => {
|
|
41
41
|
const feed = await createFeed();
|
|
42
|
-
const stream = create_batch_stream_1.createBatchStream(feed, { live: true });
|
|
42
|
+
const stream = (0, create_batch_stream_1.createBatchStream)(feed, { live: true });
|
|
43
43
|
const messages = [];
|
|
44
44
|
stream.on('data', (data) => {
|
|
45
45
|
data.forEach((message) => {
|
|
@@ -50,7 +50,7 @@ describe('Batch stream', () => {
|
|
|
50
50
|
for (const msg of sent) {
|
|
51
51
|
await append(feed, msg);
|
|
52
52
|
}
|
|
53
|
-
await wait_for_expect_1.default(() => {
|
|
53
|
+
await (0, wait_for_expect_1.default)(() => {
|
|
54
54
|
for (const msg of sent) {
|
|
55
55
|
expect(messages).toContain(msg);
|
|
56
56
|
}
|
|
@@ -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,2CAAa,
|
|
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,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC,CAAC;IAC5F,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;I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AM,QAAQ,GAAU,EAAE,CAAC;QAC3B,MAAM,CAAC,EAAE,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"}
|
|
@@ -28,7 +28,7 @@ class FeedDescriptor {
|
|
|
28
28
|
this._feed = null;
|
|
29
29
|
}
|
|
30
30
|
get feed() {
|
|
31
|
-
assert_1.default(this._feed, 'Feed is not initialized');
|
|
31
|
+
(0, assert_1.default)(this._feed, 'Feed is not initialized');
|
|
32
32
|
return this._feed;
|
|
33
33
|
}
|
|
34
34
|
get opened() {
|
|
@@ -70,7 +70,7 @@ class FeedDescriptor {
|
|
|
70
70
|
}
|
|
71
71
|
await this._lock.executeSynchronized(async () => {
|
|
72
72
|
var _a;
|
|
73
|
-
await pify_1.default((_a = this._feed) === null || _a === void 0 ? void 0 : _a.close.bind(this._feed))();
|
|
73
|
+
await (0, pify_1.default)((_a = this._feed) === null || _a === void 0 ? void 0 : _a.close.bind(this._feed))();
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
@@ -87,7 +87,7 @@ class FeedDescriptor {
|
|
|
87
87
|
secretKey: this._secretKey,
|
|
88
88
|
valueEncoding: this._valueEncoding
|
|
89
89
|
});
|
|
90
|
-
await pify_1.default(this._feed.ready.bind(this._feed))();
|
|
90
|
+
await (0, pify_1.default)(this._feed.ready.bind(this._feed))();
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
exports.FeedDescriptor = FeedDescriptor;
|
|
@@ -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;AAenC;;;;GAIG;AACH,MAAa,cAAc;IAUzB,YAAa,OAA8B;QACzC,MAAM,EACJ,OAAO,EACP,GAAG,EACH,SAAS,EACT,aAAa,EACb,SAAS,GAAG,mBAAgB,EAC7B,GAAG,OAAO,CAAC;QAEZ,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;QACpC,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;QAChB,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAE5B,IAAI,CAAC,KAAK,GAAG,IAAI,YAAI,EAAE,CAAC;QAExB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAED,IAAI,IAAI;QACN,gBAAM,
|
|
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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18
|
let fd;
|
|
19
19
|
beforeEach(async () => {
|
|
20
|
-
const { publicKey, secretKey } = crypto_1.createKeyPair();
|
|
20
|
+
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
21
21
|
fd = new feed_descriptor_1.default({
|
|
22
|
-
storage: random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM),
|
|
22
|
+
storage: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM),
|
|
23
23
|
key: crypto_1.PublicKey.from(publicKey),
|
|
24
24
|
secretKey,
|
|
25
25
|
hypercore: hypercore_1.default
|
|
@@ -35,16 +35,16 @@ describe('FeedDescriptor', () => {
|
|
|
35
35
|
});
|
|
36
36
|
test('Can create feed descriptor with public key but without private key', async () => {
|
|
37
37
|
// When this behaviour was changed, suddenly `protocol-plugin-replicator` tests started hanging forever on network generation.
|
|
38
|
-
const { publicKey } = crypto_1.createKeyPair();
|
|
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, storage: random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_NODE), hypercore: hypercore_1.default });
|
|
40
|
+
const fd = new feed_descriptor_1.default({ key, storage: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_NODE), 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
|
-
const { publicKey, secretKey } = crypto_1.createKeyPair();
|
|
45
|
+
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
46
46
|
const fd = new feed_descriptor_1.default({
|
|
47
|
-
storage: random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM),
|
|
47
|
+
storage: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM),
|
|
48
48
|
key: crypto_1.PublicKey.from(publicKey),
|
|
49
49
|
secretKey,
|
|
50
50
|
valueEncoding: 'json',
|
|
@@ -60,7 +60,7 @@ describe('FeedDescriptor', () => {
|
|
|
60
60
|
// Opening multiple times should actually open once.
|
|
61
61
|
const [feed1, feed2] = await Promise.all([fd.open(), fd.open()]);
|
|
62
62
|
expect(feed1).toBe(feed2);
|
|
63
|
-
assert_1.default(fd.feed);
|
|
63
|
+
(0, assert_1.default)(fd.feed);
|
|
64
64
|
expect(fd.feed).toBe(feed1);
|
|
65
65
|
expect(fd.feed.key).toBeInstanceOf(Buffer);
|
|
66
66
|
expect(fd.opened).toBe(true);
|
|
@@ -70,14 +70,14 @@ describe('FeedDescriptor', () => {
|
|
|
70
70
|
// Closing multiple times should actually close once.
|
|
71
71
|
await Promise.all([fd.close(), fd.close()]);
|
|
72
72
|
expect(fd.opened).toBe(false);
|
|
73
|
-
assert_1.default(fd.feed);
|
|
73
|
+
(0, assert_1.default)(fd.feed);
|
|
74
74
|
fd.feed.append('test', (err) => {
|
|
75
75
|
expect(err.message).toContain('This feed is not writable');
|
|
76
76
|
});
|
|
77
77
|
// If we try to close a feed that is opening should wait for the open result.
|
|
78
|
-
const { publicKey, secretKey } = crypto_1.createKeyPair();
|
|
78
|
+
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
79
79
|
const fd2 = new feed_descriptor_1.default({
|
|
80
|
-
storage: random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM),
|
|
80
|
+
storage: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM),
|
|
81
81
|
key: crypto_1.PublicKey.from(publicKey),
|
|
82
82
|
secretKey,
|
|
83
83
|
hypercore: hypercore_1.default
|
|
@@ -88,9 +88,9 @@ describe('FeedDescriptor', () => {
|
|
|
88
88
|
});
|
|
89
89
|
test('Close and open again', async () => {
|
|
90
90
|
const root = tempy_1.default.directory();
|
|
91
|
-
const { publicKey, secretKey } = crypto_1.createKeyPair();
|
|
91
|
+
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
92
92
|
const fd = new feed_descriptor_1.default({
|
|
93
|
-
storage: random_access_multi_storage_1.createStorage(root, random_access_multi_storage_1.STORAGE_NODE),
|
|
93
|
+
storage: (0, random_access_multi_storage_1.createStorage)(root, random_access_multi_storage_1.STORAGE_NODE),
|
|
94
94
|
key: crypto_1.PublicKey.from(publicKey),
|
|
95
95
|
secretKey,
|
|
96
96
|
valueEncoding: 'utf-8',
|
|
@@ -98,19 +98,19 @@ describe('FeedDescriptor', () => {
|
|
|
98
98
|
});
|
|
99
99
|
await fd.open();
|
|
100
100
|
expect(fd.opened).toBe(true);
|
|
101
|
-
assert_1.default(fd.feed);
|
|
102
|
-
await pify_1.default(fd.feed.append.bind(fd.feed))('test');
|
|
101
|
+
(0, assert_1.default)(fd.feed);
|
|
102
|
+
await (0, pify_1.default)(fd.feed.append.bind(fd.feed))('test');
|
|
103
103
|
await fd.close();
|
|
104
104
|
expect(fd.opened).toBe(false);
|
|
105
105
|
await fd.open();
|
|
106
106
|
expect(fd.opened).toBe(true);
|
|
107
|
-
const msg = await pify_1.default(fd.feed.head.bind(fd.feed))();
|
|
107
|
+
const msg = await (0, pify_1.default)(fd.feed.head.bind(fd.feed))();
|
|
108
108
|
expect(msg).toBe('test');
|
|
109
109
|
});
|
|
110
110
|
test('on open error should unlock the resource', async () => {
|
|
111
|
-
const { publicKey, secretKey } = crypto_1.createKeyPair();
|
|
111
|
+
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
112
112
|
const fd = new feed_descriptor_1.default({
|
|
113
|
-
storage: random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM),
|
|
113
|
+
storage: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM),
|
|
114
114
|
key: crypto_1.PublicKey.from(publicKey),
|
|
115
115
|
secretKey,
|
|
116
116
|
hypercore: () => {
|
|
@@ -120,9 +120,9 @@ describe('FeedDescriptor', () => {
|
|
|
120
120
|
await expect(fd.open()).rejects.toThrow(/open error/);
|
|
121
121
|
});
|
|
122
122
|
test('on close error should unlock the resource', async () => {
|
|
123
|
-
const { publicKey, secretKey } = crypto_1.createKeyPair();
|
|
123
|
+
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
124
124
|
const fd = new feed_descriptor_1.default({
|
|
125
|
-
storage: random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM),
|
|
125
|
+
storage: (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM),
|
|
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,mFAA6F;AAE7F,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,sBAAa,
|
|
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,mFAA6F;AAE7F,wEAA+C;AAE/C,QAAQ,CAAC,gBAAgB,EAAE,G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OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAC1D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/src/feed-store.js
CHANGED
|
@@ -33,7 +33,7 @@ class FeedStore {
|
|
|
33
33
|
* Is emitted when a new feed represented by FeedDescriptor is opened.
|
|
34
34
|
*/
|
|
35
35
|
this.feedOpenedEvent = new async_1.Event();
|
|
36
|
-
assert_1.default(storage, 'The storage is required.');
|
|
36
|
+
(0, assert_1.default)(storage, 'The storage is required.');
|
|
37
37
|
this._storage = storage;
|
|
38
38
|
const { valueEncoding, hypercore = hypercore_1.default } = options;
|
|
39
39
|
this._valueEncoding = valueEncoding && patchBufferCodec(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,OAAiB,EAAE,UAA4B,EAAE;QAT9D;;WAEG;QACM,oBAAe,GAAG,IAAI,aAAK,EAAkB,CAAC;QAOrD,gBAAM,
|
|
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,OAAiB,EAAE,UAA4B,EAAE;QAT9D;;WAEG;QACM,oBAAe,GAAG,IAAI,aAAK,EAAkB,CAAC;QAOrD,IAAA,gBAAM,EAAC,OAAO,EAAE,0BAA0B,CAAC,CAAC;QAE5C,IAAI,CA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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,OAAO,EAAE,IAAI,CAAC,QAAQ;YACtB,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,SAAS,gBAAgB,CAAE,QAAuB;IAChD,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"}
|
|
@@ -25,40 +25,40 @@ async function createDefault() {
|
|
|
25
25
|
const directory = tempy_1.default.directory();
|
|
26
26
|
return {
|
|
27
27
|
directory,
|
|
28
|
-
feedStore: createFeedStore(random_access_multi_storage_1.createStorage(directory, random_access_multi_storage_1.STORAGE_NODE), { valueEncoding: 'utf-8' })
|
|
28
|
+
feedStore: createFeedStore((0, random_access_multi_storage_1.createStorage)(directory, random_access_multi_storage_1.STORAGE_NODE), { valueEncoding: 'utf-8' })
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
async function defaultFeeds(feedStore, keys) {
|
|
32
32
|
return Object.fromEntries(await Promise.all(Object.entries(keys).map(async ([feed, keyPair]) => [feed, await feedStore.openReadWriteFeed(keyPair.key, keyPair.secretKey)])));
|
|
33
33
|
}
|
|
34
34
|
function append(feed, message) {
|
|
35
|
-
return pify_1.default(feed.append.bind(feed))(message);
|
|
35
|
+
return (0, pify_1.default)(feed.append.bind(feed))(message);
|
|
36
36
|
}
|
|
37
37
|
function head(feed) {
|
|
38
|
-
return pify_1.default(feed.head.bind(feed))();
|
|
38
|
+
return (0, pify_1.default)(feed.head.bind(feed))();
|
|
39
39
|
}
|
|
40
40
|
const createKeyPairs = () => {
|
|
41
41
|
return Object.fromEntries(feedNames.map(feed => {
|
|
42
|
-
const { publicKey, secretKey } = crypto_1.createKeyPair();
|
|
42
|
+
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
43
43
|
return [feed, { key: crypto_1.PublicKey.from(publicKey), secretKey }];
|
|
44
44
|
}));
|
|
45
45
|
};
|
|
46
46
|
describe('FeedStore', () => {
|
|
47
47
|
const keys = createKeyPairs();
|
|
48
48
|
test('Config default', async () => {
|
|
49
|
-
const feedStore = await createFeedStore(random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM));
|
|
49
|
+
const feedStore = await createFeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM));
|
|
50
50
|
expect(feedStore).toBeInstanceOf(feed_store_1.FeedStore);
|
|
51
|
-
const feedStore2 = new feed_store_1.FeedStore(random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM));
|
|
51
|
+
const feedStore2 = new feed_store_1.FeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM));
|
|
52
52
|
expect(feedStore2).toBeInstanceOf(feed_store_1.FeedStore);
|
|
53
53
|
});
|
|
54
54
|
test('Config default + custom database + custom hypercore', async () => {
|
|
55
55
|
const customHypercore = jest.fn((...args) => {
|
|
56
|
-
return hypercore_1.default(args[0], args[1], args[2]);
|
|
56
|
+
return (0, hypercore_1.default)(args[0], args[1], args[2]);
|
|
57
57
|
});
|
|
58
|
-
const storage = random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM);
|
|
59
|
-
const database = hypertrie_1.default(storage.createOrOpen.bind(storage), { valueEncoding: 'json' });
|
|
58
|
+
const storage = (0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM);
|
|
59
|
+
const database = (0, hypertrie_1.default)(storage.createOrOpen.bind(storage), { valueEncoding: 'json' });
|
|
60
60
|
database.list = jest.fn((_, cb) => cb(null, []));
|
|
61
|
-
const feedStore = createFeedStore(random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM), {
|
|
61
|
+
const feedStore = createFeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM), {
|
|
62
62
|
hypercore: customHypercore
|
|
63
63
|
});
|
|
64
64
|
expect(feedStore).toBeInstanceOf(feed_store_1.FeedStore);
|
|
@@ -79,7 +79,7 @@ describe('FeedStore', () => {
|
|
|
79
79
|
test('Create duplicate feed', async () => {
|
|
80
80
|
const { feedStore } = await createDefault();
|
|
81
81
|
const { feed: fds } = await feedStore.openReadWriteFeed(keys.usersFeed.key, keys.usersFeed.secretKey);
|
|
82
|
-
assert_1.default(fds.secretKey);
|
|
82
|
+
(0, assert_1.default)(fds.secretKey);
|
|
83
83
|
const [usersFeed, feed2] = await Promise.all([
|
|
84
84
|
feedStore.openReadWriteFeed(crypto_1.PublicKey.from(fds.key), fds.secretKey),
|
|
85
85
|
feedStore.openReadWriteFeed(crypto_1.PublicKey.from(fds.key), fds.secretKey)
|
|
@@ -116,16 +116,16 @@ describe('FeedStore', () => {
|
|
|
116
116
|
expect(Array.from(feedStore._descriptors.values()).map((fd) => fd.key).length).toBe(0);
|
|
117
117
|
});
|
|
118
118
|
test('Default codec: binary', async () => {
|
|
119
|
-
const feedStore = createFeedStore(random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM));
|
|
119
|
+
const feedStore = createFeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM));
|
|
120
120
|
expect(feedStore).toBeInstanceOf(feed_store_1.FeedStore);
|
|
121
|
-
const { publicKey, secretKey } = crypto_1.createKeyPair();
|
|
121
|
+
const { publicKey, secretKey } = (0, crypto_1.createKeyPair)();
|
|
122
122
|
const { feed } = await feedStore.openReadWriteFeed(crypto_1.PublicKey.from(publicKey), secretKey);
|
|
123
123
|
expect(feed).toBeInstanceOf(hypercore_1.default);
|
|
124
124
|
await append(feed, 'test');
|
|
125
125
|
await expect(head(feed)).resolves.toBeInstanceOf(Buffer);
|
|
126
126
|
});
|
|
127
127
|
test('on close error should unlock the descriptor', async () => {
|
|
128
|
-
const feedStore = createFeedStore(random_access_multi_storage_1.createStorage('', random_access_multi_storage_1.STORAGE_RAM), {
|
|
128
|
+
const feedStore = createFeedStore((0, random_access_multi_storage_1.createStorage)('', random_access_multi_storage_1.STORAGE_RAM), {
|
|
129
129
|
hypercore: () => ({
|
|
130
130
|
opened: true,
|
|
131
131
|
ready(cb) {
|
|
@@ -152,7 +152,7 @@ describe('FeedStore', () => {
|
|
|
152
152
|
await feedStore.openReadOnlyFeed(key);
|
|
153
153
|
await feedStore.openReadOnlyFeed(key);
|
|
154
154
|
await feedStore.openReadOnlyFeed(key);
|
|
155
|
-
await async_1.sleep(20); // To flush events.
|
|
155
|
+
await (0, async_1.sleep)(20); // To flush events.
|
|
156
156
|
expect(timesCalled).toEqual(1);
|
|
157
157
|
});
|
|
158
158
|
});
|
|
@@ -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,o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IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/src/stream.js
CHANGED
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
exports.WritableArray = exports.createTransform = exports.createWritable = exports.createReadable = exports.createWritableFeedStream = void 0;
|
|
10
10
|
const debug_1 = __importDefault(require("debug"));
|
|
11
11
|
const stream_1 = require("stream");
|
|
12
|
-
const error = debug_1.default('dxos:stream:error');
|
|
12
|
+
const error = (0, debug_1.default)('dxos:stream:error');
|
|
13
13
|
/* Stream utils, `https://nodejs.org/api/stream.html`.
|
|
14
14
|
* NOTE: Turn on 'dxox:*:error' to see errors within callbacks that cause the following error:
|
|
15
15
|
* Error [ERR_MULTIPLE_CALLBACK]: Callback called multiple times.
|
package/dist/src/stream.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.js","sourceRoot":"","sources":["../../src/stream.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,kDAA0B;AAC1B,mCAAuD;AAIvD,MAAM,KAAK,GAAG,eAAK,
|
|
1
|
+
{"version":3,"file":"stream.js","sourceRoot":"","sources":["../../src/stream.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,kDAA0B;AAC1B,mCAAuD;AAIvD,MAAM,KAAK,GAAG,IAAA,eAAK,EAAC,mBAAmB,CAAC,CAAC;AAEzC;;;GAGG;AAEH;;;;GAIG;AACH,qCAAqC;AACrC,SAAgB,wBAAwB,CAAE,IAAmB;IAC3D,OAAO,IAAI,iBAAQ,CAAC;QAClB,UAAU,EAAE,IAAI;QAChB,KAAK,CAAE,OAAO,EAAE,CAAC,EAAE,QAAQ;YACzB,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACjC,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAPD,4DAOC;A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C;IACrB,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAEQ,MAAM,CAAE,MAAW,EAAE,CAAiB,EAAE,IAAoC;QACnF,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC3B,IAAI,EAAE,CAAC;IACT,CAAC;CACF;AAnBD,sCAmBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es5.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2015.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2016.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2017.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2018.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2019.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2020.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2021.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.esnext.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.3.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../common/crypto/dist/src/encrypt.d.ts","../../../common/crypto/dist/src/hash.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/globals.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/async_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/buffer.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/child_process.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/cluster.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/console.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/constants.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/crypto.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/dgram.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/dns.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/domain.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/events.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/fs.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/fs/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/http.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/http2.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/https.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/inspector.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/module.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/net.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/os.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/path.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/perf_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/process.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/punycode.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/querystring.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/readline.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/repl.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/stream.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/string_decoder.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/timers.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/tls.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/trace_events.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/tty.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/decode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/encode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/url.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/v8.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/vm.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/worker_threads.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/zlib.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/globals.global.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/wasi.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/ts3.6/base.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/assert.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/base.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/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/interfaces/IFile.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/storage-types.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/IStorage.d.ts","../../../common/random-access-multi-storage/dist/src/node.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/debug@4.1.5/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.0/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.23/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":"ac3a8c4040e183ce38da69d23b96939112457d1936198e6542672b7963cf0fce","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"cce43d02223f8049864f8568bed322c39424013275cd3bcc3f51492d8b546cb3","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"8dff1b4c2df638fcd976cbb0e636f23ab5968e836cd45084cc31d47d1ab19c49","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"8f4c9f651c8294a2eb1cbd12581fe25bfb901ab1d474bb93cd38c7e2f4be7a30","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":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"60761e6ea886034af0f294f025a7199360ce4e2c8ba4ec6408bc049cf9b89799","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"506b80b9951c9381dc5f11897b31fca5e2a65731d96ddefa19687fbc26b23c6e","affectsGlobalScope":true},"a42919e6cb602e7e8ef516c6dd7966994340d429a43f95f88ef92482057b52d4","aae72031068e978fc1b48ffba8a7884c5aa7ee19e0550060d6cf70a04b55afdd",{"version":"25b4a0c4fab47c373ee49df4c239826ee3430019fc0c1b5e59edc3e398b7468d","affectsGlobalScope":true},"e23424b97418eca3226fd24de079f1203eb70360622e4e093af2aff14d4be6ec","a473cf45c3d9809518f8af913312139d9f4db6887dc554e0d06d0f4e52722e6b","a668dfae917097b30fc29bbebeeb869cee22529f2aa9976cea03c7e834a1b841","04eaa93bd75f937f9184dcb95a7983800c5770cf8ddd8ac0f3734dc02f5b20ef",{"version":"c8155caf28fc7b0a564156a5df28ad8a844a3bd32d331d148d8f3ce88025c870","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","0084b54e281a37c75079f92ca20603d5731de063e7a425852b2907de4dd19932","797a9d37eb1f76143311c3f0a186ce5c0d8735e94c0ca08ff8712a876c9b4f9e","bc31e01146eec89eb870b9ad8c55d759bcbc8989a894e6f0f81f832e0d10eb04",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"153d835dc32985120790e10102834b0a5bd979bb5e42bfbb33c0ff6260cf03ce","affectsGlobalScope":true},"a44c87a409b60f211a240341905d818f5f173420dcf7f989ee6c8a1a3d812ae9","bdaf554ae2d9d09e2a42f58a29ef7f80e5b5c1d7b96bfb717243dc91a477216e","dce8672a79c7221c10a355b905940ab57505bc480a72a5da33ba24cbf82bb75c","321ea733ae7f611077a2d7b4bc378ac4a6b7e365e1a51c71a7e5b2818e1e310a","13257840c0850d4ebd7c2b17604a9e006f752de76c2400ebc752bc465c330452","42176966283d3835c34278b9b5c0f470d484c0c0c6a55c20a2c916a1ce69b6e8","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","ae7b9d7ab1652cc1866ba6e269d0eeaf1708d07327714124ed2cbd059f5e4766","69640cc2e76dad52daeb9914e6b70c5c9a5591a3a65190a2d3ea432cf0015e16","21e64a125f65dff99cc3ed366c96e922b90daed343eb52ecdace5f220401dcda","4982d94cb6427263c8839d8d6324a8bbe129e931deb61a7380f8fad17ba2cfc0",{"version":"b0b00cf2e8107ab671243a73d2fbd6296a853bebe3fcfaaca293f65aaa245eaf","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","992c6f6be16c0a1d2eec13ece33adeea2c747ba27fcd078353a8f4bb5b4fea58","3b790d08129aca55fd5ae1672d1d26594147ac0d5f2eedc30c7575eb18daef7e","a6b0abdb67d63ebe964ba5fee31bc3daf10c12eecd46b24d778426010c04c67e","e7b5a3f40f19d9eea71890c70dfb37ac5dd82cbffe5f95bc8f23c536455732d0","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","0953427f9c2498f71dd912fdd8a81b19cf6925de3e1ad67ab9a77b9a0f79bf0b","f89a6d56f0267f6e73c707f8a89d2f38e9928e10bfa505f39a4f4bf954093aee","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","ad7e61eca7f2f8bf47e72695f9f6663b75e41d87ef49abdb17c0cb843862f8aa","ecba2e44af95b0599c269a92628cec22e752868bce37396740deb51a5c547a26","46a9fb41a8f3bc7539eeebc15a6e04b9e55d7537a081615ad3614220d34c3e0f","dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9","e649840284bab8c4d09cadc125cd7fbde7529690cc1a0881872b6a9cd202819b","a364b4a8a015ae377052fa4fac94204d79a69d879567f444c7ceff1b7a18482d","60c9e27816ec8ac8df7240598bb086e95b47edfb454c5cbf4003c812e0ed6e39","6c63cb179eda2be5ab45dc146fa4151bec8ce4781986935fe40adfc69cbbf214","4926467de88a92a4fc9971d8c6f21b91eca1c0e7fc2a46cc4638ab9440c73875",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"4e0a4d84b15692ea8669fe4f3d05a4f204567906b1347da7a58b75f45bae48d3","ae68a04912ee5a0f589276f9ec60b095f8c40d48128a4575b3fdd7d93806931c","b3593bd345ebea5e4d0a894c03251a3774b34df3d6db57075c18e089a599ba76","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","6c137dee82a61e14a1eb6a0ba56925b66fd83abf15acf72fe59a10b15e80e319","09ed332e33722b8dab5766a53508b992223381ec6a2816acf4e8be31dc20f121","f3c6760f86b74ad40d96a8f2bf355917342f4a9555de77f046cfe4e6dd44a9f6","2fbbee972d3da84ef0e21546d43924fa02b0b49de1ec1b5b2f800e182373a7d1","830b201ad1bf6541b32ecb644a7f22102f2de52c3ce298be461d19fcdc69cc86","239d1aac6a5e64f118869b19b384b6b8b52903de509e88a7344aab075e6619a9","a9a709c0bfc23748ad2bb78cb1efceed410800b3b5a30ec72b6e2ee1abc065ef","106f53930d9468f7b1b99123b6439f30703727d7eea3d4763e3c92ca8a5c4396","c31c877dbcbeadafc390f966110476da63c11b6a4229e04dc634f13b88cf96f5","8b385d5fb8dd09036bede9d4044169e7a587a41cb35690486f15147f986e9363","79a7db8fb14b23b6e62a0a5384278438b9c2fe4e7eaa0a5f9b32aacaddee4bec","882a1d01de177423f547ad8469c94b758379b92fa72047ab0d7b960570216c36","a9bc283f9f3018de3f056890a0538450d9a09ae770b08808075618062f830000","11648c51cb97f99d0add9d99100d2775ff6d54f67cd12f5f107f482821e73e57","4d5f1e0f924758e43db4a47e4bb73c94790851b5c542a3eafd342dc5922693bc","7ddaa1a9e903fed42dac0b9abcb5a2c53dca4ba00187b51ad84694db52f5ff4e","d88cf802778f5dd1b7afd9422aa492fc55ca9168ce750e76f717c81e689bedec","1d94be71c02681f0640fa6bb08f10378d50b0e38e521ba4624b159d9cb7a4e8c","d0e37049ec98567321a991657d1605336463b9959c7b3a28b86d8834dc0786e3","9d347130d3dade8c804698d3f1ed7fa35799098480c0015ae647e5d38da4d424","e97b15d7d01903fdc959930f53f7319bb74004462508aaaaf95d230519dbfa65","de0419d54dd252b174c36d93cccab2446a1d154d551ac78c0a31d14015ffa993","48897785cd0b3e200a8c224fec9ece9f636df85537ad97ce599b67d89ef8b129","27e706c18de004a4fc4c403d4397c24bbaf3a6d7f5f773921c306cb15abb8c43","45b5647ca603546316d2510d868e2c1e3ca3847ba3e68ebdf6c1b52c14746601","a1f908a6ce6612e863faf7e35b1c4e8a5530385a05a7067e9b677371d175d7e2","dc3ad9a240980393baf9629a6caa2da6e8ff59af3803196790423dd921da8bc1","095b817a5042af7140cc5c6a59d84fe731156193191b4ec39a37d23e526cc653","70a8b28ff28708343b51689f1cd08b63c081fe418b555fec4296be36fead5a06","d8e45fabe12b03e61125bab9ce8bf68514f696242f2936da86126e6bc7dee85b","8bb3c299c0aaaa9f06f7fd477966c387d9ba14b35e4bb51877606ffb78477ff2",{"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","a9694976c7c9d0e9dcc112973a1a1279fb6353ac5cf51eccdd9448ade7004d2d","3168d394ade3cfe5967b36677deb2556ccc6bd705a26b4b8559765a4bb97c574","3cf5f191d75bbe7c92f921e5ae12004ac672266e2be2ece69f40b1d6b1b678f9","fe6165ef33e3a7c65352ae5c6eb1f78a5635e707bbe056cbd0ce366d8593c04b","4244e8dfdc41dfb490d4a2f772c2f87c82fc48adb3242a54a6e37bea1c00b867",{"version":"a6be0c28bf10f8a2173187c125de6c43f696b43672e85f34851b25420a1c78e0","affectsGlobalScope":true},"8ed46e743a2225063ba370aece3ad89303110efea126c4003ce461c4c67ae440","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"bbc19287f48d4b3c753bd2c82dd9326af19cccbfa1506f859029dfcedc7c5522","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,"target":5},"fileIdsList":[[94],[74,94],[163,165],[91,92],[57,58,65,74],[49,57,65],[84],[53,58,66],[74],[55,57,65],[57],[57,59,74,83],[58],[65,74,83],[57,58,60,65,74,77,83],[60,77,83],[93],[83],[55,57,74],[47],[79],[72,84,86],[65],[46,47,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,83,84,85,86,87,88,89,90],[71],[57,59,74,83,86],[159,160],[159,160,161,162],[164],[80,81],[94,150],[125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],[140],[126,142],[142],[125],[126],[134],[105,106,107,108,109,110,111,112,113],[44,45,95,96,97,98],[94,95],[84,94],[96],[100,101,102,103],[100,101],[101,102],[99,104,119,157],[99,104,115,116,119,121,123],[92,116,122],[92,99,104,115,118,151,157],[92,99,104,114,115,116,117,157],[92,99,104,114,115,116,118,119,151,157],[92,99,104,114,116,117,118,157],[116,118,119,123,155],[74,116,154]],"referencedMap":[[158,1],[122,2],[166,3],[93,4],[49,5],[50,6],[51,7],[52,8],[53,9],[54,10],[56,11],[57,11],[58,12],[59,13],[60,14],[61,15],[62,16],[94,17],[63,11],[64,18],[65,19],[68,20],[69,21],[72,11],[73,22],[74,11],[77,23],[91,24],[79,23],[83,25],[85,9],[87,26],[88,9],[167,1],[168,2],[161,27],[163,28],[162,27],[165,29],[82,30],[151,31],[150,32],[141,33],[143,34],[144,35],[134,36],[128,37],[148,38],[132,36],[133,36],[130,37],[137,37],[138,37],[114,39],[110,11],[99,40],[96,41],[95,42],[97,43],[98,1],[104,44],[100,1],[102,45],[103,46],[120,47],[124,48],[123,49],[152,50],[118,51],[153,52],[119,53],[156,54],[155,55]],"exportedModulesMap":[[158,1],[122,2],[166,3],[93,4],[49,5],[50,6],[51,7],[52,8],[53,9],[54,10],[56,11],[57,11],[58,12],[59,13],[60,14],[61,15],[62,16],[94,17],[63,11],[64,18],[65,19],[68,20],[69,21],[72,11],[73,22],[74,11],[77,23],[91,24],[79,23],[83,25],[85,9],[87,26],[88,9],[167,1],[168,2],[161,27],[163,28],[162,27],[165,29],[82,30],[151,31],[150,32],[141,33],[143,34],[144,35],[134,36],[128,37],[148,38],[132,36],[133,36],[130,37],[137,37],[138,37],[114,39],[110,11],[99,40],[96,41],[95,42],[97,43],[98,1],[104,44],[100,1],[102,45],[103,46],[120,47],[124,48],[123,49],[152,50],[118,51],[153,52],[119,53],[156,54],[155,55]],"semanticDiagnosticsPerFile":[154,158,122,166,92,47,93,48,49,50,51,52,53,54,55,56,57,58,59,46,89,60,61,62,94,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,91,79,83,84,85,86,90,87,88,115,167,168,159,161,163,162,160,165,164,80,81,82,151,150,141,125,143,142,144,126,147,134,129,128,127,136,148,132,135,140,133,130,131,137,138,146,149,145,139,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,40,41,42,1,9,43,121,105,113,106,107,114,108,109,110,111,112,44,45,99,96,95,97,98,104,100,102,101,103,120,124,123,152,118,153,119,116,156,157,155,117]},"version":"4.3.5"}
|
|
1
|
+
{"program":{"fileNames":["../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es5.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.5.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../common/crypto/dist/src/encrypt.d.ts","../../../common/crypto/dist/src/hash.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/globals.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/async_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/buffer.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/child_process.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/cluster.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/console.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/constants.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/crypto.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/dgram.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/dns.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/domain.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/events.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/fs.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/fs/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/http.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/http2.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/https.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/inspector.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/module.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/net.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/os.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/path.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/perf_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/process.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/punycode.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/querystring.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/readline.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/repl.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/stream.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/string_decoder.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/timers.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/tls.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/trace_events.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/tty.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/decode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/encode.d.ts","../../../../common/temp/node_modules/.pnpm/querystring@0.2.1/node_modules/querystring/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/url.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/v8.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/vm.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/worker_threads.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/zlib.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/globals.global.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/wasi.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/ts3.6/base.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/assert.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/node_modules/@types/node/base.d.ts","../../../../common/temp/node_modules/.pnpm/@types/node@14.14.45/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/interfaces/IFile.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/storage-types.d.ts","../../../common/random-access-multi-storage/dist/src/interfaces/IStorage.d.ts","../../../common/random-access-multi-storage/dist/src/node.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/debug@4.1.5/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.0/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.23/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":"6adbf5efd0e374ff5f427a4f26a5a413e9734eee5067a0e86da69aea41910b52","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},"a42919e6cb602e7e8ef516c6dd7966994340d429a43f95f88ef92482057b52d4","aae72031068e978fc1b48ffba8a7884c5aa7ee19e0550060d6cf70a04b55afdd",{"version":"25b4a0c4fab47c373ee49df4c239826ee3430019fc0c1b5e59edc3e398b7468d","affectsGlobalScope":true},"e23424b97418eca3226fd24de079f1203eb70360622e4e093af2aff14d4be6ec","a473cf45c3d9809518f8af913312139d9f4db6887dc554e0d06d0f4e52722e6b","a668dfae917097b30fc29bbebeeb869cee22529f2aa9976cea03c7e834a1b841","04eaa93bd75f937f9184dcb95a7983800c5770cf8ddd8ac0f3734dc02f5b20ef",{"version":"c8155caf28fc7b0a564156a5df28ad8a844a3bd32d331d148d8f3ce88025c870","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","0084b54e281a37c75079f92ca20603d5731de063e7a425852b2907de4dd19932","797a9d37eb1f76143311c3f0a186ce5c0d8735e94c0ca08ff8712a876c9b4f9e","bc31e01146eec89eb870b9ad8c55d759bcbc8989a894e6f0f81f832e0d10eb04",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"153d835dc32985120790e10102834b0a5bd979bb5e42bfbb33c0ff6260cf03ce","affectsGlobalScope":true},"a44c87a409b60f211a240341905d818f5f173420dcf7f989ee6c8a1a3d812ae9","bdaf554ae2d9d09e2a42f58a29ef7f80e5b5c1d7b96bfb717243dc91a477216e","dce8672a79c7221c10a355b905940ab57505bc480a72a5da33ba24cbf82bb75c","321ea733ae7f611077a2d7b4bc378ac4a6b7e365e1a51c71a7e5b2818e1e310a","13257840c0850d4ebd7c2b17604a9e006f752de76c2400ebc752bc465c330452","42176966283d3835c34278b9b5c0f470d484c0c0c6a55c20a2c916a1ce69b6e8","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","ae7b9d7ab1652cc1866ba6e269d0eeaf1708d07327714124ed2cbd059f5e4766","69640cc2e76dad52daeb9914e6b70c5c9a5591a3a65190a2d3ea432cf0015e16","21e64a125f65dff99cc3ed366c96e922b90daed343eb52ecdace5f220401dcda","4982d94cb6427263c8839d8d6324a8bbe129e931deb61a7380f8fad17ba2cfc0",{"version":"b0b00cf2e8107ab671243a73d2fbd6296a853bebe3fcfaaca293f65aaa245eaf","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","992c6f6be16c0a1d2eec13ece33adeea2c747ba27fcd078353a8f4bb5b4fea58","3b790d08129aca55fd5ae1672d1d26594147ac0d5f2eedc30c7575eb18daef7e","a6b0abdb67d63ebe964ba5fee31bc3daf10c12eecd46b24d778426010c04c67e","e7b5a3f40f19d9eea71890c70dfb37ac5dd82cbffe5f95bc8f23c536455732d0","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","0953427f9c2498f71dd912fdd8a81b19cf6925de3e1ad67ab9a77b9a0f79bf0b","f89a6d56f0267f6e73c707f8a89d2f38e9928e10bfa505f39a4f4bf954093aee","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","ad7e61eca7f2f8bf47e72695f9f6663b75e41d87ef49abdb17c0cb843862f8aa","ecba2e44af95b0599c269a92628cec22e752868bce37396740deb51a5c547a26","46a9fb41a8f3bc7539eeebc15a6e04b9e55d7537a081615ad3614220d34c3e0f","dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9","e649840284bab8c4d09cadc125cd7fbde7529690cc1a0881872b6a9cd202819b","a364b4a8a015ae377052fa4fac94204d79a69d879567f444c7ceff1b7a18482d","60c9e27816ec8ac8df7240598bb086e95b47edfb454c5cbf4003c812e0ed6e39","6c63cb179eda2be5ab45dc146fa4151bec8ce4781986935fe40adfc69cbbf214","4926467de88a92a4fc9971d8c6f21b91eca1c0e7fc2a46cc4638ab9440c73875",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"4e0a4d84b15692ea8669fe4f3d05a4f204567906b1347da7a58b75f45bae48d3","ae68a04912ee5a0f589276f9ec60b095f8c40d48128a4575b3fdd7d93806931c","b3593bd345ebea5e4d0a894c03251a3774b34df3d6db57075c18e089a599ba76","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","6c137dee82a61e14a1eb6a0ba56925b66fd83abf15acf72fe59a10b15e80e319","09ed332e33722b8dab5766a53508b992223381ec6a2816acf4e8be31dc20f121","f3c6760f86b74ad40d96a8f2bf355917342f4a9555de77f046cfe4e6dd44a9f6","2fbbee972d3da84ef0e21546d43924fa02b0b49de1ec1b5b2f800e182373a7d1","830b201ad1bf6541b32ecb644a7f22102f2de52c3ce298be461d19fcdc69cc86","239d1aac6a5e64f118869b19b384b6b8b52903de509e88a7344aab075e6619a9","a9a709c0bfc23748ad2bb78cb1efceed410800b3b5a30ec72b6e2ee1abc065ef","106f53930d9468f7b1b99123b6439f30703727d7eea3d4763e3c92ca8a5c4396","c31c877dbcbeadafc390f966110476da63c11b6a4229e04dc634f13b88cf96f5","8b385d5fb8dd09036bede9d4044169e7a587a41cb35690486f15147f986e9363","79a7db8fb14b23b6e62a0a5384278438b9c2fe4e7eaa0a5f9b32aacaddee4bec","882a1d01de177423f547ad8469c94b758379b92fa72047ab0d7b960570216c36","46810daa9f52d6070dbcc28a03edcde2f40062519f64c9b3a4553eac48d0691b","17d12583fd6c710f4a422192477b796d726c2a5a16cca6f2b8dc5fbdcf79a656","4d5f1e0f924758e43db4a47e4bb73c94790851b5c542a3eafd342dc5922693bc","7ddaa1a9e903fed42dac0b9abcb5a2c53dca4ba00187b51ad84694db52f5ff4e","d88cf802778f5dd1b7afd9422aa492fc55ca9168ce750e76f717c81e689bedec","1d94be71c02681f0640fa6bb08f10378d50b0e38e521ba4624b159d9cb7a4e8c","d0e37049ec98567321a991657d1605336463b9959c7b3a28b86d8834dc0786e3","9d347130d3dade8c804698d3f1ed7fa35799098480c0015ae647e5d38da4d424","e97b15d7d01903fdc959930f53f7319bb74004462508aaaaf95d230519dbfa65","de0419d54dd252b174c36d93cccab2446a1d154d551ac78c0a31d14015ffa993","48897785cd0b3e200a8c224fec9ece9f636df85537ad97ce599b67d89ef8b129","27e706c18de004a4fc4c403d4397c24bbaf3a6d7f5f773921c306cb15abb8c43","45b5647ca603546316d2510d868e2c1e3ca3847ba3e68ebdf6c1b52c14746601","a1f908a6ce6612e863faf7e35b1c4e8a5530385a05a7067e9b677371d175d7e2","dc3ad9a240980393baf9629a6caa2da6e8ff59af3803196790423dd921da8bc1","095b817a5042af7140cc5c6a59d84fe731156193191b4ec39a37d23e526cc653","70a8b28ff28708343b51689f1cd08b63c081fe418b555fec4296be36fead5a06","d8e45fabe12b03e61125bab9ce8bf68514f696242f2936da86126e6bc7dee85b","8bb3c299c0aaaa9f06f7fd477966c387d9ba14b35e4bb51877606ffb78477ff2",{"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","a9694976c7c9d0e9dcc112973a1a1279fb6353ac5cf51eccdd9448ade7004d2d","3168d394ade3cfe5967b36677deb2556ccc6bd705a26b4b8559765a4bb97c574","3cf5f191d75bbe7c92f921e5ae12004ac672266e2be2ece69f40b1d6b1b678f9","97bd77bd96d5dd98d0f156893d5c7704ade03c8150a73401bfd1d7f97c96cad6","4244e8dfdc41dfb490d4a2f772c2f87c82fc48adb3242a54a6e37bea1c00b867",{"version":"a6be0c28bf10f8a2173187c125de6c43f696b43672e85f34851b25420a1c78e0","affectsGlobalScope":true},"8ed46e743a2225063ba370aece3ad89303110efea126c4003ce461c4c67ae440","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"bbc19287f48d4b3c753bd2c82dd9326af19cccbfa1506f859029dfcedc7c5522","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":[[95],[75,95],[164,166],[92,93],[58,59,66,75],[50,58,66],[85],[54,59,67],[75],[56,58,66],[58],[58,60,75,84],[59],[66,75,84],[58,59,61,66,75,78,84],[61,78,84],[94],[84],[56,58,75],[48],[80],[73,85,87],[66],[47,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,84,85,86,87,88,89,90,91],[72],[58,60,75,84,87],[160,161],[160,161,162,163],[165],[81,82],[95,151],[126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150],[141],[127,143],[143],[126],[127],[135],[106,107,108,109,110,111,112,113,114],[45,46,96,97,98,99],[95,96],[85,95],[97],[101,102,103,104],[101,102],[102,103],[100,105,120,158],[100,105,116,117,120,122,124],[93,117,123],[93,100,105,116,119,152,158],[93,100,105,115,116,117,118,158],[93,100,105,115,116,117,119,120,152,158],[93,100,105,115,117,118,119,158],[117,119,120,124,156],[75,117,155]],"referencedMap":[[159,1],[123,2],[167,3],[94,4],[50,5],[51,6],[52,7],[53,8],[54,9],[55,10],[57,11],[58,11],[59,12],[60,13],[61,14],[62,15],[63,16],[95,17],[64,11],[65,18],[66,19],[69,20],[70,21],[73,11],[74,22],[75,11],[78,23],[92,24],[80,23],[84,25],[86,9],[88,26],[89,9],[168,1],[169,2],[162,27],[164,28],[163,27],[166,29],[83,30],[152,31],[151,32],[142,33],[144,34],[145,35],[135,36],[129,37],[149,38],[133,36],[134,36],[131,37],[138,37],[139,37],[115,39],[111,11],[100,40],[97,41],[96,42],[98,43],[99,1],[105,44],[101,1],[103,45],[104,46],[121,47],[125,48],[124,49],[153,50],[119,51],[154,52],[120,53],[157,54],[156,55]],"exportedModulesMap":[[159,1],[123,2],[167,3],[94,4],[50,5],[51,6],[52,7],[53,8],[54,9],[55,10],[57,11],[58,11],[59,12],[60,13],[61,14],[62,15],[63,16],[95,17],[64,11],[65,18],[66,19],[69,20],[70,21],[73,11],[74,22],[75,11],[78,23],[92,24],[80,23],[84,25],[86,9],[88,26],[89,9],[168,1],[169,2],[162,27],[164,28],[163,27],[166,29],[83,30],[152,31],[151,32],[142,33],[144,34],[145,35],[135,36],[129,37],[149,38],[133,36],[134,36],[131,37],[138,37],[139,37],[115,39],[111,11],[100,40],[97,41],[96,42],[98,43],[99,1],[105,44],[101,1],[103,45],[104,46],[121,47],[125,48],[124,49],[153,50],[119,51],[154,52],[120,53],[157,54],[156,55]],"semanticDiagnosticsPerFile":[155,159,123,167,93,48,94,49,50,51,52,53,54,55,56,57,58,59,60,47,90,61,62,63,95,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,92,80,84,85,86,87,91,88,89,116,168,169,160,162,164,163,161,166,165,81,82,83,152,151,142,126,144,143,145,127,148,135,130,129,128,137,149,133,136,141,134,131,132,138,139,147,150,146,140,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,122,106,114,107,108,115,109,110,111,112,113,45,46,100,97,96,98,99,105,101,103,102,104,121,125,124,153,119,154,120,117,157,158,156,118]},"version":"4.5.2"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/feed-store",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.3",
|
|
4
4
|
"description": "A consistent store for your hypercore feeds.",
|
|
5
5
|
"homepage": "https://github.com/dxos/feed-store#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"test": "toolchain test"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@dxos/async": "2.17.
|
|
31
|
-
"@dxos/util": "2.17.
|
|
30
|
+
"@dxos/async": "2.17.3",
|
|
31
|
+
"@dxos/util": "2.17.3",
|
|
32
32
|
"buffer-json-encoding": "^1.0.2",
|
|
33
33
|
"debug": "^4.1.1",
|
|
34
34
|
"end-of-stream": "^1.4.1",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@dxos/benchmark-suite": "^1.0.0-beta.1",
|
|
43
43
|
"@dxos/browser-runner": "^1.0.0-beta.13",
|
|
44
|
-
"@dxos/crypto": "2.17.
|
|
45
|
-
"@dxos/random-access-multi-storage": "2.17.
|
|
44
|
+
"@dxos/crypto": "2.17.3",
|
|
45
|
+
"@dxos/random-access-multi-storage": "2.17.3",
|
|
46
46
|
"@dxos/toolchain-node-library": "2.10.10",
|
|
47
47
|
"@types/debug": "^4.1.1",
|
|
48
48
|
"@types/end-of-stream": "^1.4.0",
|
package/src/stream.ts
CHANGED
|
@@ -50,7 +50,7 @@ export function createWritable<T> (callback: (message: T) => Promise<void>): Nod
|
|
|
50
50
|
try {
|
|
51
51
|
await callback(message);
|
|
52
52
|
next();
|
|
53
|
-
} catch (err) {
|
|
53
|
+
} catch (err: any) {
|
|
54
54
|
error(err);
|
|
55
55
|
next(err);
|
|
56
56
|
}
|
|
@@ -69,7 +69,7 @@ export function createTransform<R, W> (callback: (message: R) => Promise<W | und
|
|
|
69
69
|
try {
|
|
70
70
|
const response = await callback(message);
|
|
71
71
|
next(null, response);
|
|
72
|
-
} catch (err) {
|
|
72
|
+
} catch (err: any) {
|
|
73
73
|
error(err);
|
|
74
74
|
next(err);
|
|
75
75
|
}
|