@dxos/hypercore 0.12.0-next-73daef452f1464b62efdbca75fb0067c1066f264 → 0.14.0
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/lib/index.mjs +14 -14
- package/dist/lib/index.mjs.map +1 -1
- package/dist/types/src/crypto.d.ts +9 -3
- package/dist/types/src/crypto.d.ts.map +1 -1
- package/dist/types/src/hypercore-factory.d.ts +6 -6
- package/dist/types/src/hypercore-factory.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +4 -4
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -14
- package/src/crypto.ts +12 -5
- package/src/hypercore-factory.test.ts +6 -6
- package/src/hypercore-factory.ts +8 -8
- package/src/hypercore-protocol.test.ts +7 -7
- package/src/hypercore.test.ts +7 -8
- package/src/index.ts +4 -4
- package/src/iterator.test.ts +4 -4
- package/src/replicate.test.ts +13 -13
- package/src/streams.test.ts +5 -5
package/dist/lib/index.mjs
CHANGED
|
@@ -8,11 +8,11 @@ import { Readable } from "readable-stream";
|
|
|
8
8
|
//#region src/crypto.ts
|
|
9
9
|
var __dxlog_file$1 = "/__w/dxos/dxos/packages/common/hypercore/src/crypto.ts";
|
|
10
10
|
/**
|
|
11
|
-
* Create encoding (e.g., from protobuf codec).
|
|
11
|
+
* Create encoding (e.g., from a protobuf codec).
|
|
12
12
|
*/
|
|
13
|
-
var createCodecEncoding = (codec
|
|
14
|
-
encode: (obj) => arrayToBuffer(codec.encode(obj
|
|
15
|
-
decode: (buffer) => codec.decode(buffer
|
|
13
|
+
var createCodecEncoding = (codec) => ({
|
|
14
|
+
encode: (obj) => arrayToBuffer(codec.encode(obj)),
|
|
15
|
+
decode: (buffer) => codec.decode(buffer)
|
|
16
16
|
});
|
|
17
17
|
/**
|
|
18
18
|
* Create a custom hypercore crypto signer.
|
|
@@ -21,14 +21,14 @@ var createCrypto = (signer, publicKey) => {
|
|
|
21
21
|
invariant(signer, void 0, {
|
|
22
22
|
"~LogMeta": "~LogMeta",
|
|
23
23
|
F: __dxlog_file$1,
|
|
24
|
-
L:
|
|
24
|
+
L: 34,
|
|
25
25
|
S: void 0,
|
|
26
26
|
A: ["signer", ""]
|
|
27
27
|
});
|
|
28
28
|
invariant(publicKey, void 0, {
|
|
29
29
|
"~LogMeta": "~LogMeta",
|
|
30
30
|
F: __dxlog_file$1,
|
|
31
|
-
L:
|
|
31
|
+
L: 35,
|
|
32
32
|
S: void 0,
|
|
33
33
|
A: ["publicKey", ""]
|
|
34
34
|
});
|
|
@@ -91,9 +91,9 @@ var py = (obj, fn) => promisify(fn.bind(obj));
|
|
|
91
91
|
//#region src/hypercore-factory.ts
|
|
92
92
|
var __dxlog_file = "/__w/dxos/dxos/packages/common/hypercore/src/hypercore-factory.ts";
|
|
93
93
|
/**
|
|
94
|
-
* Creates
|
|
94
|
+
* Creates hypercores with default properties.
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var RawHypercoreFactory = class {
|
|
97
97
|
_root;
|
|
98
98
|
_options;
|
|
99
99
|
constructor(_root = createStorage({ type: StorageType.RAM }).createDirectory(), _options) {
|
|
@@ -108,20 +108,20 @@ var HypercoreFactory = class {
|
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
|
-
* Creates a
|
|
111
|
+
* Creates a hypercore using a storage factory prefixed with the hypercore's key.
|
|
112
112
|
* NOTE: We have to use our `random-access-storage` implementation since the native ones
|
|
113
113
|
* do not behave uniformly across platforms.
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
createHypercore(publicKey, options) {
|
|
116
116
|
const directory = this._root.createDirectory(publicKey.toString("hex"));
|
|
117
117
|
const storage = (filename) => directory.getOrCreateFile(filename).native;
|
|
118
118
|
return hypercore$1(storage, publicKey, Object.assign({}, this._options, options));
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
|
-
* Creates and opens a
|
|
121
|
+
* Creates and opens a hypercore.
|
|
122
122
|
*/
|
|
123
|
-
async
|
|
124
|
-
const feed = this.
|
|
123
|
+
async openHypercore(publicKey, options) {
|
|
124
|
+
const feed = this.createHypercore(publicKey, options);
|
|
125
125
|
await py(feed, feed.open)();
|
|
126
126
|
return feed;
|
|
127
127
|
}
|
|
@@ -156,6 +156,6 @@ var createAsyncIterator = (stream) => {
|
|
|
156
156
|
return stream[Symbol.asyncIterator]();
|
|
157
157
|
};
|
|
158
158
|
//#endregion
|
|
159
|
-
export {
|
|
159
|
+
export { RawHypercoreFactory, createAsyncIterator, createCodecEncoding, createCrypto, createReadable, defaultFeedOptions, defaultReadStreamOptions, defaultReplicateOptions, defaultWriteStreamOptions, hypercore };
|
|
160
160
|
|
|
161
161
|
//# sourceMappingURL=index.mjs.map
|
package/dist/lib/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/crypto.ts","../../src/defaults.ts","../../src/util.ts","../../src/hypercore-factory.ts","../../src/iterator.ts"],"sourcesContent":["//\n// Copyright 2022 DXOS.org\n//\n\nimport { callbackify } from 'node:util';\n\nimport { type
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/crypto.ts","../../src/defaults.ts","../../src/util.ts","../../src/hypercore-factory.ts","../../src/iterator.ts"],"sourcesContent":["//\n// Copyright 2022 DXOS.org\n//\n\nimport { callbackify } from 'node:util';\n\nimport { type Signer, verifySignature } from '@dxos/crypto';\nimport { invariant } from '@dxos/invariant';\nimport { type PublicKey } from '@dxos/keys';\nimport { arrayToBuffer } from '@dxos/util';\nimport { type AbstractValueEncoding, type Crypto } from '@dxos/vendor-hypercore/hypercore';\n\n/**\n * A value codec, structural so a buf codec and a protobuf.js one both satisfy it.\n */\nexport type ValueCodec<T> = {\n encode(value: T): Uint8Array;\n decode(buffer: Uint8Array): T;\n};\n\n/**\n * Create encoding (e.g., from a protobuf codec).\n */\nexport const createCodecEncoding = <T>(codec: ValueCodec<T>): AbstractValueEncoding<T> => ({\n encode: (obj: T) => arrayToBuffer(codec.encode(obj)),\n decode: (buffer: Buffer) => codec.decode(buffer),\n});\n\n/**\n * Create a custom hypercore crypto signer.\n */\n// TODO(burdon): Create test without adding deps.\nexport const createCrypto = (signer: Signer, publicKey: PublicKey): Crypto => {\n invariant(signer);\n invariant(publicKey);\n\n return {\n sign: (message, secretKey, cb) => {\n callbackify(signer.sign.bind(signer!))(publicKey, message, (err, result) => {\n if (err) {\n cb(err, null);\n return;\n }\n\n cb(null, arrayToBuffer(result));\n });\n },\n\n verify: async (message, signature, key, cb) => {\n // NOTE: Uses the public key passed into function.\n callbackify(verifySignature)(publicKey, message, signature, cb);\n },\n };\n};\n","//\n// Copyright 2022 DXOS.org\n//\n\nimport type {\n HypercoreOptions,\n ReadStreamOptions,\n ReplicationOptions,\n WriteStreamOptions,\n} from '@dxos/vendor-hypercore/hypercore';\n\n/**\n * https://github.com/hypercore-protocol/hypercore/tree/v9.12.0#var-feed--hypercorestorage-key-options\n */\nexport const defaultFeedOptions: HypercoreOptions = {\n createIfMissing: true,\n valueEncoding: 'binary',\n};\n\n/**\n * https://github.com/hypercore-protocol/hypercore/tree/v9.12.0#var-stream--feedcreatereadstreamoptions\n */\nexport const defaultReadStreamOptions: ReadStreamOptions = {\n start: 0,\n end: Infinity,\n snapshot: true,\n tail: false,\n live: false,\n timeout: 0,\n wait: true,\n batch: 1,\n};\n\n/**\n * https://github.com/hypercore-protocol/hypercore/tree/v9.12.0#var-stream--feedcreatewritestreamopts\n */\nexport const defaultWriteStreamOptions: WriteStreamOptions = {\n maxBlockSize: Infinity,\n};\n\n/**\n * https://github.com/hypercore-protocol/hypercore/tree/v9.12.0#var-stream--feedreplicateisinitiator-options\n */\nexport const defaultReplicateOptions: ReplicationOptions = {\n live: false,\n ack: false,\n download: true,\n upload: true,\n encrypted: true,\n noise: true,\n};\n","//\n// Copyright 2022 DXOS.org\n//\n\nimport { promisify } from 'node:util';\n\nexport const py = (obj: any, fn: Function) => promisify(fn.bind(obj));\n","//\n// Copyright 2022 DXOS.org\n//\n\nimport { invariant } from '@dxos/invariant';\nimport { type Directory, StorageType, createStorage } from '@dxos/random-access-storage';\nimport hypercore from '@dxos/vendor-hypercore/hypercore';\nimport type { Hypercore, HypercoreOptions } from '@dxos/vendor-hypercore/hypercore';\n\nimport { py } from './util.ts';\n\n/**\n * Creates hypercores with default properties.\n */\nexport class RawHypercoreFactory<T> {\n constructor(\n private readonly _root: Directory = createStorage({ type: StorageType.RAM }).createDirectory(),\n private readonly _options?: HypercoreOptions,\n ) {\n invariant(this._root);\n }\n\n /**\n * Creates a hypercore using a storage factory prefixed with the hypercore's key.\n * NOTE: We have to use our `random-access-storage` implementation since the native ones\n * do not behave uniformly across platforms.\n */\n createHypercore(publicKey: Buffer, options?: HypercoreOptions): Hypercore<T> {\n const directory = this._root.createDirectory(publicKey.toString('hex'));\n const storage = (filename: string) => directory.getOrCreateFile(filename).native;\n return hypercore(storage, publicKey, Object.assign({}, this._options, options));\n }\n\n /**\n * Creates and opens a hypercore.\n */\n async openHypercore(publicKey: Buffer, options?: HypercoreOptions): Promise<Hypercore<T>> {\n const feed = this.createHypercore(publicKey, options);\n await py(feed, feed.open)(); // TODO(burdon): Sometimes strange bug if done inside function.\n return feed;\n }\n}\n","//\n// Copyright 2022 DXOS.org\n//\n\nimport { Readable } from 'readable-stream';\nimport { type Readable as StreamXReadable } from 'streamx';\n\n/**\n * Wraps streamx.Readable (hypercore.createReadStream) to a standard Readable stream.\n *\n * The read-stream package is mirror of the streams implementations in Node.js 18.9.0.\n * This function is here to standardize the cast in case there are incompatibilities\n * across different platforms.\n *\n * Hypercore createReadStream returns a `streamx` Readable, which does not close properly on destroy.\n *\n * https://github.com/nodejs/readable-stream\n * https://nodejs.org/api/stream.html#readable-streams\n * https://nodejs.org/dist/v18.9.0/docs/api/stream.html#readablewrapstream\n */\nexport const createReadable = (stream: StreamXReadable): Readable => {\n return new Readable({ objectMode: true }).wrap(stream as any);\n};\n\n/**\n * Converts streamx.Readable (hypercore.createReadStream) to an async iterator.\n *\n * https://github.com/tc39/proposal-async-iteration\n * https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-3.html#async-iteration\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols\n */\nexport const createAsyncIterator = (stream: Readable): AsyncIterator<any> => {\n return stream[Symbol.asyncIterator]();\n};\n"],"mappings":";;;;;;;;;;;;AAuBA,IAAa,uBAA0B,WAAoD;CACzF,SAAS,QAAW,cAAc,MAAM,OAAO,GAAG,CAAC;CACnD,SAAS,WAAmB,MAAM,OAAO,MAAM;AACjD;;;;AAMA,IAAa,gBAAgB,QAAgB,cAAiC;CAC5E,UAAU,QAAK,KAAA,GAAA;EAAA,YAAA;EAAA,GAAA;EAAA,GAAA;EAAA,GAAA,KAAA;EAAA,GAAA,CAAA,UAAA,EAAA;CAAA,CAAC;CAChB,UAAU,WAAQ,KAAA,GAAA;EAAA,YAAA;EAAA,GAAA;EAAA,GAAA;EAAA,GAAA,KAAA;EAAA,GAAA,CAAA,aAAA,EAAA;CAAA,CAAC;CAEnB,OAAO;EACL,OAAO,SAAS,WAAW,OAAO;GAChC,YAAY,OAAO,KAAK,KAAK,MAAO,CAAC,CAAC,CAAC,WAAW,UAAU,KAAK,WAAW;IAC1E,IAAI,KAAK;KACP,GAAG,KAAK,IAAI;KACZ;IACF;IAEA,GAAG,MAAM,cAAc,MAAM,CAAC;GAChC,CAAC;EACH;EAEA,QAAQ,OAAO,SAAS,WAAW,KAAK,OAAO;GAE7C,YAAY,eAAe,CAAC,CAAC,WAAW,SAAS,WAAW,EAAE;EAChE;CACF;AACF;;;;;;ACvCA,IAAa,qBAAuC;CAClD,iBAAiB;CACjB,eAAe;AACjB;;;;AAKA,IAAa,2BAA8C;CACzD,OAAO;CACP,KAAK;CACL,UAAU;CACV,MAAM;CACN,MAAM;CACN,SAAS;CACT,MAAM;CACN,OAAO;AACT;;;;AAKA,IAAa,4BAAgD,EAC3D,cAAc,SAChB;;;;AAKA,IAAa,0BAA8C;CACzD,MAAM;CACN,KAAK;CACL,UAAU;CACV,QAAQ;CACR,WAAW;CACX,OAAO;AACT;;;AC5CA,IAAa,MAAM,KAAU,OAAiB,UAAU,GAAG,KAAK,GAAG,CAAC;;;;;;;ACQpE,IAAa,sBAAb,MAAoC;CAEf;CACA;CAFnB,YACE,QAAoC,cAAc,EAAE,MAAM,YAAY,IAAI,CAAC,CAAC,CAAC,gBAAgB,GAC7F,UACA;EAFiB,KAAA,QAAA;EACA,KAAA,WAAA;EAEjB,UAAU,KAAK,OAAI,KAAA,GAAA;GAAA,YAAA;GAAA,GAAA;GAAA,GAAA;GAAA,GAAA;GAAA,GAAA,CAAA,cAAA,EAAA;EAAA,CAAC;CACtB;;;;;;CAOA,gBAAgB,WAAmB,SAA0C;EAC3E,MAAM,YAAY,KAAK,MAAM,gBAAgB,UAAU,SAAS,KAAK,CAAC;EACtE,MAAM,WAAW,aAAqB,UAAU,gBAAgB,QAAQ,CAAC,CAAC;EAC1E,OAAO,YAAU,SAAS,WAAW,OAAO,OAAO,CAAC,GAAG,KAAK,UAAU,OAAO,CAAC;CAChF;;;;CAKA,MAAM,cAAc,WAAmB,SAAmD;EACxF,MAAM,OAAO,KAAK,gBAAgB,WAAW,OAAO;EACpD,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC,CAAC;EAC1B,OAAO;CACT;AACF;;;;;;;;;;;;;;;;ACrBA,IAAa,kBAAkB,WAAsC;CACnE,OAAO,IAAI,SAAS,EAAE,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,MAAa;AAC9D;;;;;;;;;AAUA,IAAa,uBAAuB,WAAyC;CAC3E,OAAO,OAAO,OAAO,cAAc,CAAC;AACtC"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import { type Codec, type EncodingOptions } from '@dxos/codec-protobuf';
|
|
2
1
|
import { type Signer } from '@dxos/crypto';
|
|
3
2
|
import { type PublicKey } from '@dxos/keys';
|
|
4
3
|
import { type AbstractValueEncoding, type Crypto } from '@dxos/vendor-hypercore/hypercore';
|
|
5
4
|
/**
|
|
6
|
-
*
|
|
5
|
+
* A value codec, structural so a buf codec and a protobuf.js one both satisfy it.
|
|
7
6
|
*/
|
|
8
|
-
export
|
|
7
|
+
export type ValueCodec<T> = {
|
|
8
|
+
encode(value: T): Uint8Array;
|
|
9
|
+
decode(buffer: Uint8Array): T;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Create encoding (e.g., from a protobuf codec).
|
|
13
|
+
*/
|
|
14
|
+
export declare const createCodecEncoding: <T>(codec: ValueCodec<T>) => AbstractValueEncoding<T>;
|
|
9
15
|
/**
|
|
10
16
|
* Create a custom hypercore crypto signer.
|
|
11
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../../src/crypto.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../../src/crypto.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,MAAM,EAAmB,MAAM,cAAc,CAAC;AAE5D,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAE3F;;GAEG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI;IAC1B,MAAM,CAAC,KAAK,EAAE,CAAC,GAAG,UAAU,CAAC;IAC7B,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,CAAC,CAAC;CAC/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,KAAG,qBAAqB,CAAC,CAAC,CAGnF,CAAC;AAEH;;GAEG;AAEH,eAAO,MAAM,YAAY,WAAY,MAAM,aAAa,SAAS,KAAG,MAqBnE,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { type Directory } from '@dxos/random-access-storage';
|
|
2
2
|
import type { Hypercore, HypercoreOptions } from '@dxos/vendor-hypercore/hypercore';
|
|
3
3
|
/**
|
|
4
|
-
* Creates
|
|
4
|
+
* Creates hypercores with default properties.
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class RawHypercoreFactory<T> {
|
|
7
7
|
private readonly _root;
|
|
8
8
|
private readonly _options?;
|
|
9
9
|
constructor(_root?: Directory, _options?: HypercoreOptions | undefined);
|
|
10
10
|
/**
|
|
11
|
-
* Creates a
|
|
11
|
+
* Creates a hypercore using a storage factory prefixed with the hypercore's key.
|
|
12
12
|
* NOTE: We have to use our `random-access-storage` implementation since the native ones
|
|
13
13
|
* do not behave uniformly across platforms.
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
createHypercore(publicKey: Buffer, options?: HypercoreOptions): Hypercore<T>;
|
|
16
16
|
/**
|
|
17
|
-
* Creates and opens a
|
|
17
|
+
* Creates and opens a hypercore.
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
openHypercore(publicKey: Buffer, options?: HypercoreOptions): Promise<Hypercore<T>>;
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=hypercore-factory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hypercore-factory.d.ts","sourceRoot":"","sources":["../../../src/hypercore-factory.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAA8B,MAAM,6BAA6B,CAAC;AAEzF,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIpF;;GAEG;AACH,qBAAa,
|
|
1
|
+
{"version":3,"file":"hypercore-factory.d.ts","sourceRoot":"","sources":["../../../src/hypercore-factory.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAA8B,MAAM,6BAA6B,CAAC;AAEzF,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIpF;;GAEG;AACH,qBAAa,mBAAmB,CAAC,CAAC;IAE9B,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;IAF5B,YACmB,KAAK,GAAE,SAAsE,EAC7E,QAAQ,CAAC,EAAE,gBAAgB,YAAA,EAG7C;IAED;;;;OAIG;IACH,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC,CAAC,CAAC,CAI3E;IAED;;OAEG;IACG,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAIxF;CACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as hypercore } from '@dxos/vendor-hypercore/hypercore';
|
|
2
2
|
export type { Hypercore, HypercoreOptions, HypercoreProperties, ReadStreamOptions, } from '@dxos/vendor-hypercore/hypercore';
|
|
3
|
-
export * from './crypto';
|
|
4
|
-
export * from './defaults';
|
|
5
|
-
export * from './hypercore-factory';
|
|
6
|
-
export * from './iterator';
|
|
3
|
+
export * from './crypto.ts';
|
|
4
|
+
export * from './defaults.ts';
|
|
5
|
+
export * from './hypercore-factory.ts';
|
|
6
|
+
export * from './iterator.ts';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAC;AACxE,YAAY,EACV,SAAS,EACT,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,kCAAkC,CAAC;AAE1C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAC;AACxE,YAAY,EACV,SAAS,EACT,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,kCAAkC,CAAC;AAE1C,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC"}
|