@ledgerhq/vault-cli 2.1.0 → 2.1.1

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @ledgerhq/vault-cli@2.1.0 build /home/runner/work/vault-ts/vault-ts/apps/cli
2
+ > @ledgerhq/vault-cli@2.1.1 build /home/runner/work/vault-ts/vault-ts/apps/cli
3
3
  > tsup && chmod +x bin/index.js
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,9 +10,9 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- ESM bin/index.mjs 148.05 KB
13
+ ESM bin/index.mjs 148.06 KB
14
14
  ESM bin/index.mjs.map 280.24 KB
15
- ESM ⚡️ Build success in 691ms
15
+ ESM ⚡️ Build success in 570ms
16
16
  CJS bin/index.js 150.00 KB
17
17
  CJS bin/index.js.map 243.45 KB
18
- CJS ⚡️ Build success in 700ms
18
+ CJS ⚡️ Build success in 725ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ledgerhq/vault-cli
2
2
 
3
+ ## 2.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 4aafc1f: fix: proper minivault url extraction
8
+
3
9
  ## 2.1.0
4
10
 
5
11
  ### Minor Changes
package/bin/index.js CHANGED
@@ -9,7 +9,7 @@ var require_package = __commonJS({
9
9
  "package.json"(exports, module) {
10
10
  module.exports = {
11
11
  name: "@ledgerhq/vault-cli",
12
- version: "2.1.0",
12
+ version: "2.1.1",
13
13
  description: "A various utility command-line for Vault development",
14
14
  homepage: "https://github.com/LedgerHQ/vault-ts",
15
15
  license: "BSD-2-Clause",
@@ -2136,7 +2136,7 @@ var REVAULT_ONBOARDING_OPTIONS = [
2136
2136
  }
2137
2137
  ];
2138
2138
  function extractMinivaultUrlFromGate(gate) {
2139
- const match = gate.match(/(https?:\/\/[^.]+\.minivault\..*)\//);
2139
+ const match = gate.match(/(https?:\/\/[^.]+\.minivault\.[^/]*)\//);
2140
2140
  if (match) {
2141
2141
  return match[1];
2142
2142
  }