@dxos/crypto 2.17.1 → 2.18.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.
@@ -17,8 +17,8 @@ const crypto_js_1 = __importDefault(require("crypto-js"));
17
17
  * @returns ciphertext
18
18
  */
19
19
  function encrypt(plaintext, passphrase, cipher = 'AES') {
20
- assert_1.default(typeof passphrase === 'string');
21
- assert_1.default(typeof cipher === 'string');
20
+ (0, assert_1.default)(typeof passphrase === 'string');
21
+ (0, assert_1.default)(typeof cipher === 'string');
22
22
  return crypto_js_1.default[cipher].encrypt(plaintext, passphrase).toString();
23
23
  }
24
24
  exports.encrypt = encrypt;
@@ -30,9 +30,9 @@ exports.encrypt = encrypt;
30
30
  * @returns plaintext
31
31
  */
32
32
  function decrypt(ciphertext, passphrase, cipher = 'AES') {
33
- assert_1.default(typeof ciphertext === 'string');
34
- assert_1.default(typeof passphrase === 'string');
35
- assert_1.default(typeof cipher === 'string');
33
+ (0, assert_1.default)(typeof ciphertext === 'string');
34
+ (0, assert_1.default)(typeof passphrase === 'string');
35
+ (0, assert_1.default)(typeof cipher === 'string');
36
36
  const bytes = crypto_js_1.default[cipher].decrypt(ciphertext, passphrase);
37
37
  return bytes.toString(crypto_js_1.default.enc.Utf8);
38
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"encrypt.js","sourceRoot":"","sources":["../../src/encrypt.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,0DAAiC;AAEjC;;;;;;GAMG;AACH,SAAgB,OAAO,CAAE,SAAiB,EAAE,UAAkB,EAAE,MAAM,GAAG,KAAK;IAC5E,gBAAM,CAAC,OAAO,UAAU,KAAK,QAAQ,CAAC,CAAC;IACvC,gBAAM,CAAC,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC;IAEnC,OAAQ,mBAAgB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,SAAS,E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CAAC;IACvC,IAAA,gBAAM,EAAC,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC;IAEnC,MAAM,KAAK,GAAI,mBAAgB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IACxE,OAAO,KAAK,CAAC,QAAQ,CAAC,mBAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC;AAPD,0BAOC"}
@@ -38,8 +38,8 @@ Key":"4f5e87626c62c5f61873d1e7c995c1b7e7e66e7600b454fa370a93d18f4a9a6f","secretK
38
38
  UNKNOWN"}]}';`;
39
39
  test('Bulk encryption/decryption', () => {
40
40
  const original = testJsonData;
41
- const origCrypt = encrypt_1.encrypt(original, 'secret12');
42
- const copy = encrypt_1.decrypt(origCrypt, 'secret12');
41
+ const origCrypt = (0, encrypt_1.encrypt)(original, 'secret12');
42
+ const copy = (0, encrypt_1.decrypt)(origCrypt, 'secret12');
43
43
  expect(original).toEqual(copy);
44
44
  });
45
45
  //# sourceMappingURL=encrypt.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"encrypt.test.js","sourceRoot":"","sources":["../../src/encrypt.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,wBAAwB;AAExB,uCAA6C;AAE7C,oEAAoE;AACpE,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BP,CAAC;AAEf,IAAI,CAAC,4BAA4B,EAAE,GAAG,EAAE;IACtC,MAAM,QAAQ,GAAG,YAAY,CAAC;IAE9B,MAAM,SAAS,GAAG,iBAAO,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IAChD,MAAM,IAAI,GAAG,iBAAO,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;IAE5C,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACjC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"encrypt.test.js","sourceRoot":"","sources":["../../src/encrypt.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,wBAAwB;AAExB,uCAA6C;AAE7C,oEAAoE;AACpE,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BP,CAAC;AAEf,IAAI,CAAC,4BAA4B,EAAE,GAAG,EAAE;IACtC,MAAM,QAAQ,GAAG,YAAY,CAAC;IAE9B,MAAM,SAAS,GAAG,IAAA,iBAAO,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IAChD,MAAM,IAAI,GAAG,IAAA,iBAAO,EAAC,SAAS,EAAE,UAAU,CAAC,CAAC;IAE5C,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACjC,CAAC,CAAC,CAAC"}
package/dist/src/hash.js CHANGED
@@ -15,8 +15,8 @@ const crypto_js_1 = __importDefault(require("crypto-js"));
15
15
  * @param plaintext
16
16
  */
17
17
  const _hash = (algorithm, plaintext) => {
18
- assert_1.default(typeof algorithm === 'string');
19
- assert_1.default(typeof plaintext === 'string');
18
+ (0, assert_1.default)(typeof algorithm === 'string');
19
+ (0, assert_1.default)(typeof plaintext === 'string');
20
20
  return crypto_js_1.default[algorithm](plaintext).toString();
21
21
  };
22
22
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"hash.js","sourceRoot":"","sources":["../../src/hash.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,0DAAiC;AAEjC;;;;GAIG;AACH,MAAM,KAAK,GAAG,CAAC,SAAiB,EAAE,SAAiB,EAAU,EAAE;IAC7D,gBAAM,CAAC,OAAO,SAAS,KAAK,QAAQ,CAAC,CAAC;IACtC,gBAAM,CAAC,OAAO,SAAS,KAAK,QAAQ,CAAC,CAAC;IAEtC,OAAQ,mBAAgB,CAAC,SAAS,CAAC,CA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G,CAAC,IAAY,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AAAjD,QAAA,MAAM,UAA2C;AAE9D;;;GAGG;AACI,MAAM,MAAM,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AAAjD,QAAA,MAAM,UAA2C;AAE9D;;;GAGG;AACI,MAAM,SAAS,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAAvD,QAAA,SAAS,aAA8C"}
@@ -6,20 +6,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  //
7
7
  const hash_1 = require("./hash");
8
8
  test('SHA1', () => {
9
- const hashed = hash_1.sha1('Test message');
9
+ const hashed = (0, hash_1.sha1)('Test message');
10
10
  expect(hashed).toEqual('8de39b4722207f2da2a831e8734f02e740c15738');
11
11
  });
12
12
  test('SHA256', () => {
13
- const hashed = hash_1.sha256('Test message');
13
+ const hashed = (0, hash_1.sha256)('Test message');
14
14
  expect(hashed).toEqual('c0719e9a8d5d838d861dc6f675c899d2b309a3a65bb9fe6b11e5afcbf9a2c0b1');
15
15
  });
16
16
  test('SHA512', () => {
17
- const hashed = hash_1.sha512('Test message');
17
+ const hashed = (0, hash_1.sha512)('Test message');
18
18
  expect(hashed).toEqual('48418241a4d779508a6b98e623328a68f7f0bf27fd101bb2c89384827bfc0740' +
19
19
  '3fefd5855576f1824fcd7acd233541514240c2bcf0fa9732ebb8f166a7c38bdf');
20
20
  });
21
21
  test('RIPEMD160', () => {
22
- const hashed = hash_1.ripemd160('Test message');
22
+ const hashed = (0, hash_1.ripemd160)('Test message');
23
23
  expect(hashed).toEqual('24b83e2457880c95d2e3c3c6b98e24ab170b1e11');
24
24
  });
25
25
  //# sourceMappingURL=hash.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hash.test.js","sourceRoot":"","sources":["../../src/hash.test.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AG,EAAE;IAClB,MAAM,MAAM,GAAG,IAAA,aAAM,EAAC,cAAc,CAAC,CAAC;IACtC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,kEAAkE,CAAC,CAAC;AAC7F,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE;IAClB,MAAM,MAAM,GAAG,IAAA,aAAM,EAAC,cAAc,CAAC,CAAC;IACtC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,kEAAkE;QACvF,kEAAkE,CAAC,CAAC;AACxE,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,WAAW,EAAE,GAAG,EAAE;IACrB,MAAM,MAAM,GAAG,IAAA,gBAAS,EAAC,cAAc,CAAC,CAAC;IACzC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,0CAA0C,CAAC,CAAC;AACrE,CAAC,CAAC,CAAC"}
package/dist/src/keys.js CHANGED
@@ -19,7 +19,7 @@ const zeroKey = () => new Uint8Array(32);
19
19
  exports.zeroKey = zeroKey;
20
20
  const createKeyPair = (seed) => {
21
21
  if (seed) {
22
- assert_1.default(seed.length >= 32, 'Seedphrase too sort. Expecting length of 32.');
22
+ (0, assert_1.default)(seed.length >= 32, 'Seedphrase too sort. Expecting length of 32.');
23
23
  return hypercore_crypto_1.default.keyPair(seed.slice(0, 32));
24
24
  }
25
25
  return hypercore_crypto_1.default.keyPair();
@@ -32,9 +32,9 @@ exports.discoveryKey = discoveryKey;
32
32
  * @return {Buffer} Key buffer.
33
33
  */
34
34
  function keyToBuffer(str) {
35
- assert_1.default(typeof str === 'string', 'Invalid type');
35
+ (0, assert_1.default)(typeof str === 'string', 'Invalid type');
36
36
  const buffer = Buffer.from(str, 'hex');
37
- assert_1.default(buffer.length === exports.PUBLIC_KEY_LENGTH || buffer.length === exports.SECRET_KEY_LENGTH, `Invalid key length: ${buffer.length}`);
37
+ (0, assert_1.default)(buffer.length === exports.PUBLIC_KEY_LENGTH || buffer.length === exports.SECRET_KEY_LENGTH, `Invalid key length: ${buffer.length}`);
38
38
  return buffer;
39
39
  }
40
40
  exports.keyToBuffer = keyToBuffer;
@@ -46,7 +46,7 @@ function keyToString(buffer) {
46
46
  if (buffer instanceof Uint8Array) {
47
47
  buffer = Buffer.from(buffer);
48
48
  }
49
- assert_1.default(buffer instanceof Buffer, 'Invalid type');
49
+ (0, assert_1.default)(buffer instanceof Buffer, 'Invalid type');
50
50
  return buffer.toString('hex');
51
51
  }
52
52
  exports.keyToString = keyToString;
@@ -80,8 +80,8 @@ exports.createId = createId;
80
80
  * @returns {Buffer} signature
81
81
  */
82
82
  function sign(message, secretKey) {
83
- assert_1.default(Buffer.isBuffer(message));
84
- assert_1.default(Buffer.isBuffer(secretKey) && secretKey.length === exports.SECRET_KEY_LENGTH);
83
+ (0, assert_1.default)(Buffer.isBuffer(message));
84
+ (0, assert_1.default)(Buffer.isBuffer(secretKey) && secretKey.length === exports.SECRET_KEY_LENGTH);
85
85
  return hypercore_crypto_1.default.sign(message, secretKey);
86
86
  }
87
87
  exports.sign = sign;
@@ -93,9 +93,9 @@ exports.sign = sign;
93
93
  * @return {boolean}
94
94
  */
95
95
  function verify(message, signature, publicKey) {
96
- assert_1.default(Buffer.isBuffer(message));
97
- assert_1.default(Buffer.isBuffer(signature) && signature.length === exports.SIGNATURE_LENGTH);
98
- assert_1.default(Buffer.isBuffer(publicKey) && publicKey.length === exports.PUBLIC_KEY_LENGTH);
96
+ (0, assert_1.default)(Buffer.isBuffer(message));
97
+ (0, assert_1.default)(Buffer.isBuffer(signature) && signature.length === exports.SIGNATURE_LENGTH);
98
+ (0, assert_1.default)(Buffer.isBuffer(publicKey) && publicKey.length === exports.PUBLIC_KEY_LENGTH);
99
99
  return hypercore_crypto_1.default.verify(message, signature, publicKey);
100
100
  }
101
101
  exports.verify = verify;
@@ -1 +1 @@
1
- {"version":3,"file":"keys.js","sourceRoot":"","sources":["../../src/keys.ts"],"names":[],"mappings":";AAAA,E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AE,CAAC,CAAC,CAAC;AACtC,CAAC;AAFD,4BAEC;AAED;;;;;GAKG;AACH,SAAgB,IAAI,CAAE,OAAe,EAAE,SAAiB;IACtD,IAAA,gBAAM,EAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;IACjC,IAAA,gBAAM,EAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,SAAS,CAAC,MAAM,KAAK,yBAAiB,CAAC,CAAC;IAE7E,OAAO,0BAAM,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;AACzC,CAAC;AALD,oBAKC;AAED;;;;;;GAMG;AACH,SAAgB,MAAM,CAAE,OAAe,EAAE,SAAiB,EAAE,SAAiB;IAC3E,IAAA,gBAAM,EAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;IACjC,IAAA,gBAAM,EAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,SAAS,CAAC,MAAM,KAAK,wBAAgB,CAAC,CAAC;IAC5E,IAAA,gBAAM,EAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,SAAS,CAAC,MAAM,KAAK,yBAAiB,CAAC,CAAC;IAE7E,OAAO,0BAAM,CAAC,MAAM,CAAC,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AACtD,CAAC;AAND,wBAMC"}
@@ -6,17 +6,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  // DXOS testing browser.
7
7
  const keys_1 = require("./keys");
8
8
  test('Basic key operations', () => {
9
- const { publicKey } = keys_1.createKeyPair();
10
- expect(keys_1.keyToBuffer(keys_1.keyToString(publicKey))).toEqual(publicKey);
11
- expect(() => keys_1.keyToString('not-a-buffer')).toThrowError();
12
- expect(() => keys_1.keyToBuffer('not-a-value-hex-key')).toThrowError();
13
- expect(() => keys_1.keyToBuffer(publicKey)).toThrowError();
9
+ const { publicKey } = (0, keys_1.createKeyPair)();
10
+ expect((0, keys_1.keyToBuffer)((0, keys_1.keyToString)(publicKey))).toEqual(publicKey);
11
+ expect(() => (0, keys_1.keyToString)('not-a-buffer')).toThrowError();
12
+ expect(() => (0, keys_1.keyToBuffer)('not-a-value-hex-key')).toThrowError();
13
+ expect(() => (0, keys_1.keyToBuffer)(publicKey)).toThrowError();
14
14
  });
15
15
  test('Hashing', () => {
16
- const { publicKey, secretKey } = keys_1.createKeyPair();
17
- expect(keys_1.createId()).not.toEqual(keys_1.createId());
18
- expect(keys_1.humanize(publicKey)).not.toEqual(keys_1.humanize(secretKey));
19
- expect(keys_1.humanize(publicKey)).toEqual(keys_1.hasher.humanize(keys_1.keyToString(publicKey)));
20
- expect(keys_1.hasher.humanize(keys_1.createId())).toBeDefined();
16
+ const { publicKey, secretKey } = (0, keys_1.createKeyPair)();
17
+ expect((0, keys_1.createId)()).not.toEqual((0, keys_1.createId)());
18
+ expect((0, keys_1.humanize)(publicKey)).not.toEqual((0, keys_1.humanize)(secretKey));
19
+ expect((0, keys_1.humanize)(publicKey)).toEqual(keys_1.hasher.humanize((0, keys_1.keyToString)(publicKey)));
20
+ expect(keys_1.hasher.humanize((0, keys_1.createId)())).toBeDefined();
21
21
  });
22
22
  //# sourceMappingURL=keys.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"keys.test.js","sourceRoot":"","sources":["../../src/keys.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,wBAAwB;AAExB,iCAA6F;AAE7F,IAAI,CAAC,sBAAsB,EAAE,GAAG,EAAE;IAChC,MAAM,EAAE,SAAS,EAAE,GAAG,oBAAa,EAAE,CAAC;IAEtC,MAAM,CAAC,kBAAW,CAAC,kBAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAE/D,MAAM,CAAC,GAAG,EAAE,CAAC,kBAAW,CAAC,cAAqB,CAAC,CAAC,CAAC,YAAY,EAAE,CAA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CAAC,YAAY,EAAE,CAAC;IAChE,MAAM,CAAC,GAAG,EAAE,CAAC,IAAA,kBAAW,EAAC,qBAAqB,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC;IAChE,MAAM,CAAC,GAAG,EAAE,CAAC,IAAA,kBAAW,EAAC,SAAgB,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC;AAC7D,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE;IACnB,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAAA,oBAAa,GAAE,CAAC;IAEjD,MAAM,CAAC,IAAA,eAAQ,GAAE,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,IAAA,eAAQ,GAAE,CAAC,CAAC;IAE3C,MAAM,CAAC,IAAA,eAAQ,EAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,IAAA,eAAQ,EAAC,SAAS,CAAC,CAAC,CAAC;IAC7D,MAAM,CAAC,IAAA,eAAQ,EAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,aAAM,CAAC,QAAQ,CAAC,IAAA,kBAAW,EAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAC7E,MAAM,CAAC,aAAM,CAAC,QAAQ,CAAC,IAAA,eAAQ,GAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AACpD,CAAC,CAAC,CAAC"}
@@ -38,6 +38,6 @@ it('from', () => {
38
38
  });
39
39
  it('equals', () => {
40
40
  expect(public_key_1.PublicKey.equals(public_key_1.PublicKey.from(KEY_HEX), public_key_1.PublicKey.from(KEY_HEX))).toEqual(true);
41
- expect(public_key_1.PublicKey.equals(public_key_1.PublicKey.from(keys_1.randomBytes()), public_key_1.PublicKey.from(keys_1.randomBytes()))).toEqual(false);
41
+ expect(public_key_1.PublicKey.equals(public_key_1.PublicKey.from((0, keys_1.randomBytes)()), public_key_1.PublicKey.from((0, keys_1.randomBytes)()))).toEqual(false);
42
42
  });
43
43
  //# sourceMappingURL=public-key.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"public-key.test.js","sourceRoot":"","sources":["../../src/public-key.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,iCAAqC;AACrC,6CAAyC;AAEzC,MAAM,OAAO,GAAG,kEAAkE,CAAC;AAEnF,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE;IACpB,MAAM,GAAG,GAAG,sBAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAEvC,MAAM,CAAC,sBAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjD,sBAAS,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAEpC,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;IACjE,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AACvC,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,UAAU,EAAE,GAAG,EAAE;IAClB,MAAM,GAAG,GAAG,sBAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACvC,MAAM,MAAM,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAC;IAE9B,MAAM,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAEtC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACnE,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,cAAc,EAAE,GAAG,EAAE;IACtB,MAAM,GAAG,GAAG,sBAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAEvC,MAAM,KAAK,GAAG,GAAG,CAAC,YAA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BAAS,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAE3D,MAAM,CAAC,GAAG,EAAE,CAAC,sBAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAChD,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;IAChB,MAAM,CAAC,sBAAS,CAAC,MAAM,CACrB,sBAAS,CAAC,IAAI,CAAC,OAAO,CAAC,EACvB,sBAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CACxB,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB,MAAM,CAAC,sBAAS,CAAC,MAAM,CACrB,sBAAS,CAAC,IAAI,CAAC,IAAA,kBAAW,GAAE,CAAC,EAC7B,sBAAS,CAAC,IAAI,CAAC,IAAA,kBAAW,GAAE,CAAC,CAC9B,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AACpB,CAAC,CAAC,CAAC"}
@@ -15,16 +15,16 @@ const keys_1 = require("./keys");
15
15
  * Generate bip39 seed phrase (aka mnemonic).
16
16
  */
17
17
  const generateSeedPhrase = () => {
18
- return bip39_1.generateMnemonic();
18
+ return (0, bip39_1.generateMnemonic)();
19
19
  };
20
20
  exports.generateSeedPhrase = generateSeedPhrase;
21
21
  /**
22
22
  * Generate key pair from seed phrase.
23
23
  */
24
24
  const keyPairFromSeedPhrase = (seedPhrase) => {
25
- assert_1.default(seedPhrase);
26
- const seed = bip39_1.mnemonicToSeedSync(seedPhrase);
27
- return keys_1.createKeyPair(seed);
25
+ (0, assert_1.default)(seedPhrase);
26
+ const seed = (0, bip39_1.mnemonicToSeedSync)(seedPhrase);
27
+ return (0, keys_1.createKeyPair)(seed);
28
28
  };
29
29
  exports.keyPairFromSeedPhrase = keyPairFromSeedPhrase;
30
30
  //# sourceMappingURL=seedphrase.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"seedphrase.js","sourceRoot":"","sources":["../../src/seedphrase.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,iCAA6D;AAE7D,iCAAuC;AAEvC,uDAAuD;AAEvD;;GAEG;AACI,MAAM,kBAAkB,GAAG,GAAW,EAAE;IAC7C,OAAO,wBAAgB,EAAE,CAAC;AAC5B,CAAC,CAAC;AAFW,QAAA,kBAAkB,sBAE7B;AAEF;;GAEG;AACI,MAAM,qBAAqB,GAAG,CAAC,UAAkB,EAAE,EAAE;IAC1D,gBAAM,CAAC,UAAU,CAAC,CAAC;IACnB,MAAM,IAAI,GAAG,0BAAkB,CAAC,UAAU,CAAC,CAAC;IAC5C,OAAO,oBAAa,CAAC,IAAI,CAAC,CAAC;AAC7B,CAAC,CAAC;AAJW,QAAA,qBAAqB,yBAIhC"}
1
+ {"version":3,"file":"seedphrase.js","sourceRoot":"","sources":["../../src/seedphrase.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,oDAA4B;AAC5B,iCAA6D;AAE7D,iCAAuC;AAEvC,uDAAuD;AAEvD;;GAEG;AACI,MAAM,kBAAkB,GAAG,GAAW,EAAE;IAC7C,OAAO,IAAA,wBAAgB,GAAE,CAAC;AAC5B,CAAC,CAAC;AAFW,QAAA,kBAAkB,sBAE7B;AAEF;;GAEG;AACI,MAAM,qBAAqB,GAAG,CAAC,UAAkB,EAAE,EAAE;IAC1D,IAAA,gBAAM,EAAC,UAAU,CAAC,CAAC;IACnB,MAAM,IAAI,GAAG,IAAA,0BAAkB,EAAC,UAAU,CAAC,CAAC;IAC5C,OAAO,IAAA,oBAAa,EAAC,IAAI,CAAC,CAAC;AAC7B,CAAC,CAAC;AAJW,QAAA,qBAAqB,yBAIhC"}
@@ -7,15 +7,15 @@ const bip39_1 = require("bip39");
7
7
  const keys_1 = require("./keys");
8
8
  const seedphrase_1 = require("./seedphrase");
9
9
  it('Basic bip39 operations work', async () => {
10
- const seedPhrase = bip39_1.generateMnemonic();
11
- const seed = bip39_1.mnemonicToSeedSync(seedPhrase);
12
- await keys_1.createKeyPair(seed.slice(0, 32));
10
+ const seedPhrase = (0, bip39_1.generateMnemonic)();
11
+ const seed = (0, bip39_1.mnemonicToSeedSync)(seedPhrase);
12
+ await (0, keys_1.createKeyPair)(seed.slice(0, 32));
13
13
  });
14
14
  it('Create keypair from seedphrase', async () => {
15
- const seedPhrase = seedphrase_1.generateSeedPhrase();
15
+ const seedPhrase = (0, seedphrase_1.generateSeedPhrase)();
16
16
  expect(typeof seedPhrase).toBe('string');
17
17
  expect(seedPhrase.split(/\s+/g).length).toEqual(12);
18
- const recoveredKeyPair = seedphrase_1.keyPairFromSeedPhrase(seedPhrase);
18
+ const recoveredKeyPair = (0, seedphrase_1.keyPairFromSeedPhrase)(seedPhrase);
19
19
  expect(recoveredKeyPair).toBeDefined();
20
20
  });
21
21
  //# sourceMappingURL=seedphrase.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"seedphrase.test.js","sourceRoot":"","sources":["../../src/seedphrase.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,iCAA6D;AAE7D,iCAAuC;AACvC,6CAAyE;AAEzE,EAAE,CAAC,6BAA6B,EAAE,KAAK,IAAI,EAAE;IAC3C,MAAM,UAAU,GAAG,wBAAgB,EAAE,CAAC;IACtC,MAAM,IAAI,GAAG,0BAAkB,CAAC,UAAU,CAAC,CAAC;IAC5C,MAAM,oBAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;AACzC,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,gCAAgC,EAAE,KAAK,IAAI,EAAE;IAC9C,MAAM,UAAU,GAAG,+BAAkB,EAAE,CAAC;IACxC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACzC,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAEpD,MAAM,gBAAgB,GAAG,kCAAqB,CAAC,UAAU,CAAC,CAAC;IAC3D,MAAM,CAAC,gBAAgB,CAAC,CAAC,WAAW,EAAE,CAAC;AACzC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"seedphrase.test.js","sourceRoot":"","sources":["../../src/seedphrase.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,iCAA6D;AAE7D,iCAAuC;AACvC,6CAAyE;AAEzE,EAAE,CAAC,6BAA6B,EAAE,KAAK,IAAI,EAAE;IAC3C,MAAM,UAAU,GAAG,IAAA,wBAAgB,GAAE,CAAC;IACtC,MAAM,IAAI,GAAG,IAAA,0BAAkB,EAAC,UAAU,CAAC,CAAC;IAC5C,MAAM,IAAA,oBAAa,EAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;AACzC,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,gCAAgC,EAAE,KAAK,IAAI,EAAE;IAC9C,MAAM,UAAU,GAAG,IAAA,+BAAkB,GAAE,CAAC;IACxC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACzC,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAEpD,MAAM,gBAAgB,GAAG,IAAA,kCAAqB,EAAC,UAAU,CAAC,CAAC;IAC3D,MAAM,CAAC,gBAAgB,CAAC,CAAC,WAAW,EAAE,CAAC;AACzC,CAAC,CAAC,CAAC"}
@@ -10,6 +10,6 @@ const keys_1 = require("./keys");
10
10
  * Generator for signature validation function.
11
11
  * @param {String} publicKey
12
12
  */
13
- const getSignatureValidator = (publicKey) => (message, signature) => hypercore_crypto_1.verify(message, signature, keys_1.keyToBuffer(publicKey));
13
+ const getSignatureValidator = (publicKey) => (message, signature) => (0, hypercore_crypto_1.verify)(message, signature, (0, keys_1.keyToBuffer)(publicKey));
14
14
  exports.getSignatureValidator = getSignatureValidator;
15
15
  //# sourceMappingURL=validator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"validator.js","sourceRoot":"","sources":["../../src/validator.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,uDAA0C;AAE1C,iCAAqC;AAErC;;;GAGG;AACI,MAAM,qBAAqB,GAChC,CAAC,SAAiB,EAAE,EAAE,CAAC,CAAC,OAAe,EAAE,SAAiB,EAAE,EAAE,CAAC,yBAAM,CAAC,OAAO,EAAE,SAAS,EAAE,kBAAW,CAAC,SAAS,CAAC,CAAC,CAAC;AADvG,QAAA,qBAAqB,yBACkF"}
1
+ {"version":3,"file":"validator.js","sourceRoot":"","sources":["../../src/validator.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,uDAA0C;AAE1C,iCAAqC;AAErC;;;GAGG;AACI,MAAM,qBAAqB,GAChC,CAAC,SAAiB,EAAE,EAAE,CAAC,CAAC,OAAe,EAAE,SAAiB,EAAE,EAAE,CAAC,IAAA,yBAAM,EAAC,OAAO,EAAE,SAAS,EAAE,IAAA,kBAAW,EAAC,SAAS,CAAC,CAAC,CAAC;AADvG,QAAA,qBAAqB,yBACkF"}
@@ -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/temp/node_modules/.pnpm/@types/crypto-js@4.0.2/node_modules/@types/crypto-js/index.d.ts","../src/encrypt.ts","../src/encrypt.test.ts","../src/hash.ts","../src/hash.test.ts","../src/public-key.ts","../src/keys.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/temp/node_modules/.pnpm/bip39@3.0.4/node_modules/bip39/types/_wordlists.d.ts","../../../../common/temp/node_modules/.pnpm/bip39@3.0.4/node_modules/bip39/types/index.d.ts","../src/seedphrase.ts","../src/validator.ts","../src/index.ts","../src/keys.test.ts","../src/public-key.test.ts","../src/seedphrase.test.ts","../src/shims.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"],"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},{"version":"070fafc332546049324c5eb0559b40974f700aa78eee7a12d1486035baa39558","affectsGlobalScope":true},"207a026d2561e058b5c42264b02ad7b63f79d142c4ee8d41ecd81ed7643acdff","528215f3eec43ecbb2420cfde8d88672328129643a1586a13d86d5e80c415110","1127d47e6d5d89262545d064ee90a5ccef53a80f4d81eedb3221251198ec366f","e747a4ae9c8bed522f9c9c7738775ac50455ab182f09f70498e5a7ab1260a8aa","d5942904dd549accd3c72ae04533061bb73952fae6e22d0ac256034d022c1e39","9219536ff49177e5922920ff84f8b79d4b72a76cdffe07adb952f12e67a3dd28",{"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","b50dc1eb21ae0cf50fdad3a52298af07a6c5aa681c55ecc68b45362294dc3972","2403a8e0780ec6f1e95f3a4f922eafdda29da975f0bffe7e35cad640b333247c","33a3e0aa4c36477e20ff180c9552b78ceb3c5f320bc0c8ea8fc8f90237f320cc","7dcc90de23c417ea963789112cc023c68f2bcf6a648339dc6baaf40ca648c29d","e2a63ec1af6a5a4c35ba4161646b5703388bb23f69601e5b0f36223a3f0947de","cf0c4790c3404e84670821dfdf727fe1023ff2c9cbe1febf24f0b2a27509ccf8","cd88c4b65d1400248777e655e58258cab8e07986c3faf70f2c38d2968e7d992d","c67c641af9d44979f3e28f88e40f92290a964f8e9ef0ea8d66204c7c78032f4f","952aec4b63e9759fc9ad0db23f2375e34c2201c4a596ef1d395ff42286c1e8be","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"bbc19287f48d4b3c753bd2c82dd9326af19cccbfa1506f859029dfcedc7c5522","affectsGlobalScope":true}],"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":[[113,115],[96,97],[62,63,70,79],[54,62,70],[89],[58,63,71],[79],[60,62,70],[62],[62,64,79,88],[63],[70,79,88],[62,63,65,70,79,82,88],[65,82,88],[98],[88],[60,62,79],[52],[84],[77,89,91],[70],[51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,88,89,90,91,92,93,94,95],[76],[62,64,79,88,91],[99,100],[109,110],[109,110,111,112],[114],[85,86],[45],[44,97],[47],[45,47,49,50,102,103],[50],[49,97,108],[49,50],[89,108],[50,101,102],[50,97,101],[50,108]],"referencedMap":[[116,1],[98,2],[54,3],[55,4],[56,5],[57,6],[58,7],[59,8],[61,9],[62,9],[63,10],[64,11],[65,12],[66,13],[67,14],[99,15],[68,9],[69,16],[70,17],[73,18],[74,19],[77,9],[78,20],[79,9],[82,21],[96,22],[84,21],[88,23],[90,7],[92,24],[93,7],[101,25],[111,26],[113,27],[112,26],[115,28],[87,29],[46,30],[45,31],[48,32],[47,31],[104,33],[105,34],[50,35],[106,36],[49,37],[107,38],[102,39],[103,40]],"exportedModulesMap":[[116,1],[98,2],[54,3],[55,4],[56,5],[57,6],[58,7],[59,8],[61,9],[62,9],[63,10],[64,11],[65,12],[66,13],[67,14],[99,15],[68,9],[69,16],[70,17],[73,18],[74,19],[77,9],[78,20],[79,9],[82,21],[96,22],[84,21],[88,23],[90,7],[92,24],[93,7],[101,25],[111,26],[113,27],[112,26],[115,28],[87,29],[46,30],[45,31],[48,32],[47,31],[104,33],[105,34],[50,35],[106,36],[49,37],[107,38],[102,39],[103,40]],"semanticDiagnosticsPerFile":[44,116,97,52,98,53,54,55,56,57,58,59,60,61,62,63,64,51,94,65,66,67,99,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,96,84,88,89,90,91,95,92,93,100,101,109,111,113,112,110,115,114,85,86,87,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,46,45,48,47,104,105,50,106,49,107,102,108,103]},"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/temp/node_modules/.pnpm/@types/crypto-js@4.0.2/node_modules/@types/crypto-js/index.d.ts","../src/encrypt.ts","../src/encrypt.test.ts","../src/hash.ts","../src/hash.test.ts","../src/public-key.ts","../src/keys.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/temp/node_modules/.pnpm/bip39@3.0.4/node_modules/bip39/types/_wordlists.d.ts","../../../../common/temp/node_modules/.pnpm/bip39@3.0.4/node_modules/bip39/types/index.d.ts","../src/seedphrase.ts","../src/validator.ts","../src/index.ts","../src/keys.test.ts","../src/public-key.test.ts","../src/seedphrase.test.ts","../src/shims.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"],"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},{"version":"070fafc332546049324c5eb0559b40974f700aa78eee7a12d1486035baa39558","affectsGlobalScope":true},"207a026d2561e058b5c42264b02ad7b63f79d142c4ee8d41ecd81ed7643acdff","528215f3eec43ecbb2420cfde8d88672328129643a1586a13d86d5e80c415110","1127d47e6d5d89262545d064ee90a5ccef53a80f4d81eedb3221251198ec366f","e747a4ae9c8bed522f9c9c7738775ac50455ab182f09f70498e5a7ab1260a8aa","d5942904dd549accd3c72ae04533061bb73952fae6e22d0ac256034d022c1e39","9219536ff49177e5922920ff84f8b79d4b72a76cdffe07adb952f12e67a3dd28",{"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","b50dc1eb21ae0cf50fdad3a52298af07a6c5aa681c55ecc68b45362294dc3972","2403a8e0780ec6f1e95f3a4f922eafdda29da975f0bffe7e35cad640b333247c","33a3e0aa4c36477e20ff180c9552b78ceb3c5f320bc0c8ea8fc8f90237f320cc","7dcc90de23c417ea963789112cc023c68f2bcf6a648339dc6baaf40ca648c29d","e2a63ec1af6a5a4c35ba4161646b5703388bb23f69601e5b0f36223a3f0947de","cf0c4790c3404e84670821dfdf727fe1023ff2c9cbe1febf24f0b2a27509ccf8","cd88c4b65d1400248777e655e58258cab8e07986c3faf70f2c38d2968e7d992d","c67c641af9d44979f3e28f88e40f92290a964f8e9ef0ea8d66204c7c78032f4f","952aec4b63e9759fc9ad0db23f2375e34c2201c4a596ef1d395ff42286c1e8be","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"bbc19287f48d4b3c753bd2c82dd9326af19cccbfa1506f859029dfcedc7c5522","affectsGlobalScope":true}],"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":[[114,116],[97,98],[63,64,71,80],[55,63,71],[90],[59,64,72],[80],[61,63,71],[63],[63,65,80,89],[64],[71,80,89],[63,64,66,71,80,83,89],[66,83,89],[99],[89],[61,63,80],[53],[85],[78,90,92],[71],[52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,89,90,91,92,93,94,95,96],[77],[63,65,80,89,92],[100,101],[110,111],[110,111,112,113],[115],[86,87],[46],[45,98],[48],[46,48,50,51,103,104],[51],[50,98,109],[50,51],[90,109],[51,102,103],[51,98,102],[51,109]],"referencedMap":[[117,1],[99,2],[55,3],[56,4],[57,5],[58,6],[59,7],[60,8],[62,9],[63,9],[64,10],[65,11],[66,12],[67,13],[68,14],[100,15],[69,9],[70,16],[71,17],[74,18],[75,19],[78,9],[79,20],[80,9],[83,21],[97,22],[85,21],[89,23],[91,7],[93,24],[94,7],[102,25],[112,26],[114,27],[113,26],[116,28],[88,29],[47,30],[46,31],[49,32],[48,31],[105,33],[106,34],[51,35],[107,36],[50,37],[108,38],[103,39],[104,40]],"exportedModulesMap":[[117,1],[99,2],[55,3],[56,4],[57,5],[58,6],[59,7],[60,8],[62,9],[63,9],[64,10],[65,11],[66,12],[67,13],[68,14],[100,15],[69,9],[70,16],[71,17],[74,18],[75,19],[78,9],[79,20],[80,9],[83,21],[97,22],[85,21],[89,23],[91,7],[93,24],[94,7],[102,25],[112,26],[114,27],[113,26],[116,28],[88,29],[47,30],[46,31],[49,32],[48,31],[105,33],[106,34],[51,35],[107,36],[50,37],[108,38],[103,39],[104,40]],"semanticDiagnosticsPerFile":[45,117,98,53,99,54,55,56,57,58,59,60,61,62,63,64,65,52,95,66,67,68,100,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,97,85,89,90,91,92,96,93,94,101,102,110,112,114,113,111,116,115,86,87,88,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,47,46,49,48,105,106,51,107,50,108,103,109,104]},"version":"4.5.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/crypto",
3
- "version": "2.17.1",
3
+ "version": "2.18.0",
4
4
  "description": "Basic crypto key utils",
5
5
  "license": "AGPL-3.0",
6
6
  "author": "DXOS.org",
@@ -23,7 +23,7 @@
23
23
  "hypercore-crypto": "^2.3.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@dxos/toolchain-node-library": "2.10.10",
26
+ "@dxos/toolchain-node-library": "2.18.0",
27
27
  "@types/crypto-js": "~4.0.2",
28
28
  "@types/jest": "^26.0.7",
29
29
  "@types/node": "^14.0.9"