@metamask-previews/bitcoin-regtest-up 1.0.0-preview-a3ea429 → 1.0.0-preview-e2b065b23

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.
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  /* eslint-disable no-restricted-globals */
5
- const install_1 = require("../install.cjs");
5
+ const install_js_1 = require("../install.cjs");
6
6
  async function main() {
7
7
  const [command, ...args] = process.argv.slice(2);
8
8
  if (command === '--help' || command === 'help') {
@@ -10,17 +10,17 @@ async function main() {
10
10
  return;
11
11
  }
12
12
  if (command === 'cache' && args[0] === 'clean') {
13
- await (0, install_1.cleanBitcoinRegtestCache)({
14
- ...(0, install_1.readBitcoinRegtestInstallOptionsFromPackageJson)(),
15
- ...(0, install_1.parseBitcoinRegtestInstallCliOptions)(args.slice(1)),
13
+ await (0, install_js_1.cleanBitcoinRegtestCache)({
14
+ ...(0, install_js_1.readBitcoinRegtestInstallOptionsFromPackageJson)(),
15
+ ...(0, install_js_1.parseBitcoinRegtestInstallCliOptions)(args.slice(1)),
16
16
  });
17
17
  console.log('[bitcoin-regtest-up] cache cleaned');
18
18
  return;
19
19
  }
20
20
  const installArgs = command === 'install' ? args : process.argv.slice(2);
21
- const result = await (0, install_1.installBitcoinRegtest)({
22
- ...(0, install_1.readBitcoinRegtestInstallOptionsFromPackageJson)(),
23
- ...(0, install_1.parseBitcoinRegtestInstallCliOptions)(installArgs),
21
+ const result = await (0, install_js_1.installBitcoinRegtest)({
22
+ ...(0, install_js_1.readBitcoinRegtestInstallOptionsFromPackageJson)(),
23
+ ...(0, install_js_1.parseBitcoinRegtestInstallCliOptions)(installArgs),
24
24
  });
25
25
  console.log(`[bitcoin-regtest-up] Bitcoin Core ${result.cacheHit ? 'found in cache' : 'installed'}`);
26
26
  console.log(`[bitcoin-regtest-up] bitcoind installed at ${result.bitcoindBinary}`);
@@ -1 +1 @@
1
- {"version":3,"file":"bitcoin-regtest-up.cjs","sourceRoot":"","sources":["../../src/bin/bitcoin-regtest-up.ts"],"names":[],"mappings":";;;AACA,0CAA0C;AAC1C,4CAKoB;AAEpB,KAAK,UAAU,IAAI;IACjB,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAEjD,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,MAAM,EAAE,CAAC;QAC/C,SAAS,EAAE,CAAC;QACZ,OAAO;IACT,CAAC;IAED,IAAI,OAAO,KAAK,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC;QAC/C,MAAM,IAAA,kCAAwB,EAAC;YAC7B,GAAG,IAAA,yDAA+C,GAAE;YACpD,GAAG,IAAA,8CAAoC,EAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACvD,CAAC,CAAC;QACH,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,CAAC;QAClD,OAAO;IACT,CAAC;IAED,MAAM,WAAW,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACzE,MAAM,MAAM,GAAG,MAAM,IAAA,+BAAqB,EAAC;QACzC,GAAG,IAAA,yDAA+C,GAAE;QACpD,GAAG,IAAA,8CAAoC,EAAC,WAAW,CAAC;KACrD,CAAC,CAAC;IAEH,OAAO,CAAC,GAAG,CACT,qCACE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,WACvC,EAAE,CACH,CAAC;IACF,OAAO,CAAC,GAAG,CACT,8CAA8C,MAAM,CAAC,cAAc,EAAE,CACtE,CAAC;IACF,OAAO,CAAC,GAAG,CACT,iDAAiD,MAAM,CAAC,gBAAgB,EAAE,CAC3E,CAAC;AACJ,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,SAAS,SAAS;IAChB,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;uDAcyC,CAAC,CAAC;AACzD,CAAC","sourcesContent":["#!/usr/bin/env node\n/* eslint-disable no-restricted-globals */\nimport {\n cleanBitcoinRegtestCache,\n installBitcoinRegtest,\n parseBitcoinRegtestInstallCliOptions,\n readBitcoinRegtestInstallOptionsFromPackageJson,\n} from '../install';\n\nasync function main(): Promise<void> {\n const [command, ...args] = process.argv.slice(2);\n\n if (command === '--help' || command === 'help') {\n printHelp();\n return;\n }\n\n if (command === 'cache' && args[0] === 'clean') {\n await cleanBitcoinRegtestCache({\n ...readBitcoinRegtestInstallOptionsFromPackageJson(),\n ...parseBitcoinRegtestInstallCliOptions(args.slice(1)),\n });\n console.log('[bitcoin-regtest-up] cache cleaned');\n return;\n }\n\n const installArgs = command === 'install' ? args : process.argv.slice(2);\n const result = await installBitcoinRegtest({\n ...readBitcoinRegtestInstallOptionsFromPackageJson(),\n ...parseBitcoinRegtestInstallCliOptions(installArgs),\n });\n\n console.log(\n `[bitcoin-regtest-up] Bitcoin Core ${\n result.cacheHit ? 'found in cache' : 'installed'\n }`,\n );\n console.log(\n `[bitcoin-regtest-up] bitcoind installed at ${result.bitcoindBinary}`,\n );\n console.log(\n `[bitcoin-regtest-up] bitcoin-cli installed at ${result.bitcoinCliBinary}`,\n );\n}\n\nmain().catch((error) => {\n console.error(error);\n process.exit(1);\n});\n\nfunction printHelp(): void {\n console.log(`Usage: bitcoin-regtest-up [install] [options]\n bitcoin-regtest-up cache clean [options]\n\nCommands:\n install Install Bitcoin Core bitcoind and bitcoin-cli. Default command.\n cache clean Remove cached bitcoin-regtest-up artifacts.\n\nOptions:\n --bin-directory <path> Directory for executable wrappers.\n Defaults to node_modules/.bin.\n --cache-directory <path> Cache directory. Defaults to .metamask/cache.\n --bitcoin-core-url <url> Bitcoin Core archive URL for the current platform.\n --bitcoin-core-checksum <hash> Expected Bitcoin Core SHA-256 checksum.\n --platform <platform> Override platform key, e.g. linux-x64.\n --help Show this help text.`);\n}\n"]}
1
+ {"version":3,"file":"bitcoin-regtest-up.cjs","sourceRoot":"","sources":["../../src/bin/bitcoin-regtest-up.ts"],"names":[],"mappings":";;;AACA,0CAA0C;AAC1C,+CAKuB;AAEvB,KAAK,UAAU,IAAI;IACjB,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAEjD,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,MAAM,EAAE,CAAC;QAC/C,SAAS,EAAE,CAAC;QACZ,OAAO;IACT,CAAC;IAED,IAAI,OAAO,KAAK,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC;QAC/C,MAAM,IAAA,qCAAwB,EAAC;YAC7B,GAAG,IAAA,4DAA+C,GAAE;YACpD,GAAG,IAAA,iDAAoC,EAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACvD,CAAC,CAAC;QACH,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,CAAC;QAClD,OAAO;IACT,CAAC;IAED,MAAM,WAAW,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACzE,MAAM,MAAM,GAAG,MAAM,IAAA,kCAAqB,EAAC;QACzC,GAAG,IAAA,4DAA+C,GAAE;QACpD,GAAG,IAAA,iDAAoC,EAAC,WAAW,CAAC;KACrD,CAAC,CAAC;IAEH,OAAO,CAAC,GAAG,CACT,qCACE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,WACvC,EAAE,CACH,CAAC;IACF,OAAO,CAAC,GAAG,CACT,8CAA8C,MAAM,CAAC,cAAc,EAAE,CACtE,CAAC;IACF,OAAO,CAAC,GAAG,CACT,iDAAiD,MAAM,CAAC,gBAAgB,EAAE,CAC3E,CAAC;AACJ,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,SAAS,SAAS;IAChB,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;uDAcyC,CAAC,CAAC;AACzD,CAAC","sourcesContent":["#!/usr/bin/env node\n/* eslint-disable no-restricted-globals */\nimport {\n cleanBitcoinRegtestCache,\n installBitcoinRegtest,\n parseBitcoinRegtestInstallCliOptions,\n readBitcoinRegtestInstallOptionsFromPackageJson,\n} from '../install.js';\n\nasync function main(): Promise<void> {\n const [command, ...args] = process.argv.slice(2);\n\n if (command === '--help' || command === 'help') {\n printHelp();\n return;\n }\n\n if (command === 'cache' && args[0] === 'clean') {\n await cleanBitcoinRegtestCache({\n ...readBitcoinRegtestInstallOptionsFromPackageJson(),\n ...parseBitcoinRegtestInstallCliOptions(args.slice(1)),\n });\n console.log('[bitcoin-regtest-up] cache cleaned');\n return;\n }\n\n const installArgs = command === 'install' ? args : process.argv.slice(2);\n const result = await installBitcoinRegtest({\n ...readBitcoinRegtestInstallOptionsFromPackageJson(),\n ...parseBitcoinRegtestInstallCliOptions(installArgs),\n });\n\n console.log(\n `[bitcoin-regtest-up] Bitcoin Core ${\n result.cacheHit ? 'found in cache' : 'installed'\n }`,\n );\n console.log(\n `[bitcoin-regtest-up] bitcoind installed at ${result.bitcoindBinary}`,\n );\n console.log(\n `[bitcoin-regtest-up] bitcoin-cli installed at ${result.bitcoinCliBinary}`,\n );\n}\n\nmain().catch((error) => {\n console.error(error);\n process.exit(1);\n});\n\nfunction printHelp(): void {\n console.log(`Usage: bitcoin-regtest-up [install] [options]\n bitcoin-regtest-up cache clean [options]\n\nCommands:\n install Install Bitcoin Core bitcoind and bitcoin-cli. Default command.\n cache clean Remove cached bitcoin-regtest-up artifacts.\n\nOptions:\n --bin-directory <path> Directory for executable wrappers.\n Defaults to node_modules/.bin.\n --cache-directory <path> Cache directory. Defaults to .metamask/cache.\n --bitcoin-core-url <url> Bitcoin Core archive URL for the current platform.\n --bitcoin-core-checksum <hash> Expected Bitcoin Core SHA-256 checksum.\n --platform <platform> Override platform key, e.g. linux-x64.\n --help Show this help text.`);\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"bitcoin-regtest-up.mjs","sourceRoot":"","sources":["../../src/bin/bitcoin-regtest-up.ts"],"names":[],"mappings":";AACA,0CAA0C;AAC1C,OAAO,EACL,wBAAwB,EACxB,qBAAqB,EACrB,oCAAoC,EACpC,+CAA+C,EAChD,uBAAmB;AAEpB,KAAK,UAAU,IAAI;IACjB,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAEjD,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,MAAM,EAAE,CAAC;QAC/C,SAAS,EAAE,CAAC;QACZ,OAAO;IACT,CAAC;IAED,IAAI,OAAO,KAAK,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC;QAC/C,MAAM,wBAAwB,CAAC;YAC7B,GAAG,+CAA+C,EAAE;YACpD,GAAG,oCAAoC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACvD,CAAC,CAAC;QACH,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,CAAC;QAClD,OAAO;IACT,CAAC;IAED,MAAM,WAAW,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACzE,MAAM,MAAM,GAAG,MAAM,qBAAqB,CAAC;QACzC,GAAG,+CAA+C,EAAE;QACpD,GAAG,oCAAoC,CAAC,WAAW,CAAC;KACrD,CAAC,CAAC;IAEH,OAAO,CAAC,GAAG,CACT,qCACE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,WACvC,EAAE,CACH,CAAC;IACF,OAAO,CAAC,GAAG,CACT,8CAA8C,MAAM,CAAC,cAAc,EAAE,CACtE,CAAC;IACF,OAAO,CAAC,GAAG,CACT,iDAAiD,MAAM,CAAC,gBAAgB,EAAE,CAC3E,CAAC;AACJ,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,SAAS,SAAS;IAChB,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;uDAcyC,CAAC,CAAC;AACzD,CAAC","sourcesContent":["#!/usr/bin/env node\n/* eslint-disable no-restricted-globals */\nimport {\n cleanBitcoinRegtestCache,\n installBitcoinRegtest,\n parseBitcoinRegtestInstallCliOptions,\n readBitcoinRegtestInstallOptionsFromPackageJson,\n} from '../install';\n\nasync function main(): Promise<void> {\n const [command, ...args] = process.argv.slice(2);\n\n if (command === '--help' || command === 'help') {\n printHelp();\n return;\n }\n\n if (command === 'cache' && args[0] === 'clean') {\n await cleanBitcoinRegtestCache({\n ...readBitcoinRegtestInstallOptionsFromPackageJson(),\n ...parseBitcoinRegtestInstallCliOptions(args.slice(1)),\n });\n console.log('[bitcoin-regtest-up] cache cleaned');\n return;\n }\n\n const installArgs = command === 'install' ? args : process.argv.slice(2);\n const result = await installBitcoinRegtest({\n ...readBitcoinRegtestInstallOptionsFromPackageJson(),\n ...parseBitcoinRegtestInstallCliOptions(installArgs),\n });\n\n console.log(\n `[bitcoin-regtest-up] Bitcoin Core ${\n result.cacheHit ? 'found in cache' : 'installed'\n }`,\n );\n console.log(\n `[bitcoin-regtest-up] bitcoind installed at ${result.bitcoindBinary}`,\n );\n console.log(\n `[bitcoin-regtest-up] bitcoin-cli installed at ${result.bitcoinCliBinary}`,\n );\n}\n\nmain().catch((error) => {\n console.error(error);\n process.exit(1);\n});\n\nfunction printHelp(): void {\n console.log(`Usage: bitcoin-regtest-up [install] [options]\n bitcoin-regtest-up cache clean [options]\n\nCommands:\n install Install Bitcoin Core bitcoind and bitcoin-cli. Default command.\n cache clean Remove cached bitcoin-regtest-up artifacts.\n\nOptions:\n --bin-directory <path> Directory for executable wrappers.\n Defaults to node_modules/.bin.\n --cache-directory <path> Cache directory. Defaults to .metamask/cache.\n --bitcoin-core-url <url> Bitcoin Core archive URL for the current platform.\n --bitcoin-core-checksum <hash> Expected Bitcoin Core SHA-256 checksum.\n --platform <platform> Override platform key, e.g. linux-x64.\n --help Show this help text.`);\n}\n"]}
1
+ {"version":3,"file":"bitcoin-regtest-up.mjs","sourceRoot":"","sources":["../../src/bin/bitcoin-regtest-up.ts"],"names":[],"mappings":";AACA,0CAA0C;AAC1C,OAAO,EACL,wBAAwB,EACxB,qBAAqB,EACrB,oCAAoC,EACpC,+CAA+C,EAChD,uBAAsB;AAEvB,KAAK,UAAU,IAAI;IACjB,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAEjD,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,MAAM,EAAE,CAAC;QAC/C,SAAS,EAAE,CAAC;QACZ,OAAO;IACT,CAAC;IAED,IAAI,OAAO,KAAK,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC;QAC/C,MAAM,wBAAwB,CAAC;YAC7B,GAAG,+CAA+C,EAAE;YACpD,GAAG,oCAAoC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACvD,CAAC,CAAC;QACH,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,CAAC;QAClD,OAAO;IACT,CAAC;IAED,MAAM,WAAW,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACzE,MAAM,MAAM,GAAG,MAAM,qBAAqB,CAAC;QACzC,GAAG,+CAA+C,EAAE;QACpD,GAAG,oCAAoC,CAAC,WAAW,CAAC;KACrD,CAAC,CAAC;IAEH,OAAO,CAAC,GAAG,CACT,qCACE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,WACvC,EAAE,CACH,CAAC;IACF,OAAO,CAAC,GAAG,CACT,8CAA8C,MAAM,CAAC,cAAc,EAAE,CACtE,CAAC;IACF,OAAO,CAAC,GAAG,CACT,iDAAiD,MAAM,CAAC,gBAAgB,EAAE,CAC3E,CAAC;AACJ,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,SAAS,SAAS;IAChB,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;uDAcyC,CAAC,CAAC;AACzD,CAAC","sourcesContent":["#!/usr/bin/env node\n/* eslint-disable no-restricted-globals */\nimport {\n cleanBitcoinRegtestCache,\n installBitcoinRegtest,\n parseBitcoinRegtestInstallCliOptions,\n readBitcoinRegtestInstallOptionsFromPackageJson,\n} from '../install.js';\n\nasync function main(): Promise<void> {\n const [command, ...args] = process.argv.slice(2);\n\n if (command === '--help' || command === 'help') {\n printHelp();\n return;\n }\n\n if (command === 'cache' && args[0] === 'clean') {\n await cleanBitcoinRegtestCache({\n ...readBitcoinRegtestInstallOptionsFromPackageJson(),\n ...parseBitcoinRegtestInstallCliOptions(args.slice(1)),\n });\n console.log('[bitcoin-regtest-up] cache cleaned');\n return;\n }\n\n const installArgs = command === 'install' ? args : process.argv.slice(2);\n const result = await installBitcoinRegtest({\n ...readBitcoinRegtestInstallOptionsFromPackageJson(),\n ...parseBitcoinRegtestInstallCliOptions(installArgs),\n });\n\n console.log(\n `[bitcoin-regtest-up] Bitcoin Core ${\n result.cacheHit ? 'found in cache' : 'installed'\n }`,\n );\n console.log(\n `[bitcoin-regtest-up] bitcoind installed at ${result.bitcoindBinary}`,\n );\n console.log(\n `[bitcoin-regtest-up] bitcoin-cli installed at ${result.bitcoinCliBinary}`,\n );\n}\n\nmain().catch((error) => {\n console.error(error);\n process.exit(1);\n});\n\nfunction printHelp(): void {\n console.log(`Usage: bitcoin-regtest-up [install] [options]\n bitcoin-regtest-up cache clean [options]\n\nCommands:\n install Install Bitcoin Core bitcoind and bitcoin-cli. Default command.\n cache clean Remove cached bitcoin-regtest-up artifacts.\n\nOptions:\n --bin-directory <path> Directory for executable wrappers.\n Defaults to node_modules/.bin.\n --cache-directory <path> Cache directory. Defaults to .metamask/cache.\n --bitcoin-core-url <url> Bitcoin Core archive URL for the current platform.\n --bitcoin-core-checksum <hash> Expected Bitcoin Core SHA-256 checksum.\n --platform <platform> Override platform key, e.g. linux-x64.\n --help Show this help text.`);\n}\n"]}
package/dist/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.readBitcoinRegtestInstallOptionsFromPackageJson = exports.parseBitcoinRegtestInstallCliOptions = exports.installBitcoinRegtest = exports.getBitcoinRegtestCacheDirectory = exports.cleanBitcoinRegtestCache = exports.BITCOIN_REGTEST_DEFAULT_CORE = void 0;
4
- var install_1 = require("./install.cjs");
5
- Object.defineProperty(exports, "BITCOIN_REGTEST_DEFAULT_CORE", { enumerable: true, get: function () { return install_1.BITCOIN_REGTEST_DEFAULT_CORE; } });
6
- Object.defineProperty(exports, "cleanBitcoinRegtestCache", { enumerable: true, get: function () { return install_1.cleanBitcoinRegtestCache; } });
7
- Object.defineProperty(exports, "getBitcoinRegtestCacheDirectory", { enumerable: true, get: function () { return install_1.getBitcoinRegtestCacheDirectory; } });
8
- Object.defineProperty(exports, "installBitcoinRegtest", { enumerable: true, get: function () { return install_1.installBitcoinRegtest; } });
9
- Object.defineProperty(exports, "parseBitcoinRegtestInstallCliOptions", { enumerable: true, get: function () { return install_1.parseBitcoinRegtestInstallCliOptions; } });
10
- Object.defineProperty(exports, "readBitcoinRegtestInstallOptionsFromPackageJson", { enumerable: true, get: function () { return install_1.readBitcoinRegtestInstallOptionsFromPackageJson; } });
4
+ var install_js_1 = require("./install.cjs");
5
+ Object.defineProperty(exports, "BITCOIN_REGTEST_DEFAULT_CORE", { enumerable: true, get: function () { return install_js_1.BITCOIN_REGTEST_DEFAULT_CORE; } });
6
+ Object.defineProperty(exports, "cleanBitcoinRegtestCache", { enumerable: true, get: function () { return install_js_1.cleanBitcoinRegtestCache; } });
7
+ Object.defineProperty(exports, "getBitcoinRegtestCacheDirectory", { enumerable: true, get: function () { return install_js_1.getBitcoinRegtestCacheDirectory; } });
8
+ Object.defineProperty(exports, "installBitcoinRegtest", { enumerable: true, get: function () { return install_js_1.installBitcoinRegtest; } });
9
+ Object.defineProperty(exports, "parseBitcoinRegtestInstallCliOptions", { enumerable: true, get: function () { return install_js_1.parseBitcoinRegtestInstallCliOptions; } });
10
+ Object.defineProperty(exports, "readBitcoinRegtestInstallOptionsFromPackageJson", { enumerable: true, get: function () { return install_js_1.readBitcoinRegtestInstallOptionsFromPackageJson; } });
11
11
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAOmB;AANjB,uHAAA,4BAA4B,OAAA;AAC5B,mHAAA,wBAAwB,OAAA;AACxB,0HAAA,+BAA+B,OAAA;AAC/B,gHAAA,qBAAqB,OAAA;AACrB,+HAAA,oCAAoC,OAAA;AACpC,0IAAA,+CAA+C,OAAA","sourcesContent":["export {\n BITCOIN_REGTEST_DEFAULT_CORE,\n cleanBitcoinRegtestCache,\n getBitcoinRegtestCacheDirectory,\n installBitcoinRegtest,\n parseBitcoinRegtestInstallCliOptions,\n readBitcoinRegtestInstallOptionsFromPackageJson,\n} from './install';\nexport type {\n BitcoinRegtestArtifactConfig,\n BitcoinRegtestArtifactPlatformConfig,\n BitcoinRegtestInstallDependencies,\n BitcoinRegtestInstallOptions,\n BitcoinRegtestInstallResult,\n} from './install';\n"]}
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,4CAOsB;AANpB,0HAAA,4BAA4B,OAAA;AAC5B,sHAAA,wBAAwB,OAAA;AACxB,6HAAA,+BAA+B,OAAA;AAC/B,mHAAA,qBAAqB,OAAA;AACrB,kIAAA,oCAAoC,OAAA;AACpC,6IAAA,+CAA+C,OAAA","sourcesContent":["export {\n BITCOIN_REGTEST_DEFAULT_CORE,\n cleanBitcoinRegtestCache,\n getBitcoinRegtestCacheDirectory,\n installBitcoinRegtest,\n parseBitcoinRegtestInstallCliOptions,\n readBitcoinRegtestInstallOptionsFromPackageJson,\n} from './install.js';\nexport type {\n BitcoinRegtestArtifactConfig,\n BitcoinRegtestArtifactPlatformConfig,\n BitcoinRegtestInstallDependencies,\n BitcoinRegtestInstallOptions,\n BitcoinRegtestInstallResult,\n} from './install.js';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,+BAA+B,EAC/B,qBAAqB,EACrB,oCAAoC,EACpC,+CAA+C,GAChD,sBAAkB;AACnB,YAAY,EACV,4BAA4B,EAC5B,oCAAoC,EACpC,iCAAiC,EACjC,4BAA4B,EAC5B,2BAA2B,GAC5B,sBAAkB"}
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,+BAA+B,EAC/B,qBAAqB,EACrB,oCAAoC,EACpC,+CAA+C,GAChD,sBAAqB;AACtB,YAAY,EACV,4BAA4B,EAC5B,oCAAoC,EACpC,iCAAiC,EACjC,4BAA4B,EAC5B,2BAA2B,GAC5B,sBAAqB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,+BAA+B,EAC/B,qBAAqB,EACrB,oCAAoC,EACpC,+CAA+C,GAChD,sBAAkB;AACnB,YAAY,EACV,4BAA4B,EAC5B,oCAAoC,EACpC,iCAAiC,EACjC,4BAA4B,EAC5B,2BAA2B,GAC5B,sBAAkB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,+BAA+B,EAC/B,qBAAqB,EACrB,oCAAoC,EACpC,+CAA+C,GAChD,sBAAqB;AACtB,YAAY,EACV,4BAA4B,EAC5B,oCAAoC,EACpC,iCAAiC,EACjC,4BAA4B,EAC5B,2BAA2B,GAC5B,sBAAqB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,+BAA+B,EAC/B,qBAAqB,EACrB,oCAAoC,EACpC,+CAA+C,EAChD,sBAAkB","sourcesContent":["export {\n BITCOIN_REGTEST_DEFAULT_CORE,\n cleanBitcoinRegtestCache,\n getBitcoinRegtestCacheDirectory,\n installBitcoinRegtest,\n parseBitcoinRegtestInstallCliOptions,\n readBitcoinRegtestInstallOptionsFromPackageJson,\n} from './install';\nexport type {\n BitcoinRegtestArtifactConfig,\n BitcoinRegtestArtifactPlatformConfig,\n BitcoinRegtestInstallDependencies,\n BitcoinRegtestInstallOptions,\n BitcoinRegtestInstallResult,\n} from './install';\n"]}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,+BAA+B,EAC/B,qBAAqB,EACrB,oCAAoC,EACpC,+CAA+C,EAChD,sBAAqB","sourcesContent":["export {\n BITCOIN_REGTEST_DEFAULT_CORE,\n cleanBitcoinRegtestCache,\n getBitcoinRegtestCacheDirectory,\n installBitcoinRegtest,\n parseBitcoinRegtestInstallCliOptions,\n readBitcoinRegtestInstallOptionsFromPackageJson,\n} from './install.js';\nexport type {\n BitcoinRegtestArtifactConfig,\n BitcoinRegtestArtifactPlatformConfig,\n BitcoinRegtestInstallDependencies,\n BitcoinRegtestInstallOptions,\n BitcoinRegtestInstallResult,\n} from './install.js';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/bitcoin-regtest-up",
3
- "version": "1.0.0-preview-a3ea429",
3
+ "version": "1.0.0-preview-e2b065b23",
4
4
  "description": "Bitcoin Core regtest runtime installer for MetaMask E2E tests",
5
5
  "keywords": [
6
6
  "Ethereum",