@ledgerhq/vault-cli 2.2.4 → 2.3.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @ledgerhq/vault-cli@2.2.4 build /home/runner/work/vault-ts/vault-ts/apps/cli
2
+ > @ledgerhq/vault-cli@2.3.0 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.11 KB
14
- ESM bin/index.mjs.map 280.31 KB
15
- ESM ⚡️ Build success in 234ms
16
- CJS bin/index.js 150.05 KB
17
- CJS bin/index.js.map 243.50 KB
18
- CJS ⚡️ Build success in 699ms
13
+ ESM bin/index.mjs 148.27 KB
14
+ ESM bin/index.mjs.map 280.58 KB
15
+ ESM ⚡️ Build success in 682ms
16
+ CJS bin/index.js 150.21 KB
17
+ CJS bin/index.js.map 243.74 KB
18
+ CJS ⚡️ Build success in 684ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @ledgerhq/vault-cli
2
2
 
3
+ ## 2.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ce5c522: feat: add the possibility to create account with policy
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [ce5c522]
12
+ - @ledgerhq/vault-common@2.3.0
13
+
14
+ ## 2.2.5
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [e420c9b]
19
+ - @ledgerhq/vault-common@2.2.5
20
+
3
21
  ## 2.2.4
4
22
 
5
23
  ### Patch 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.2.4",
12
+ version: "2.3.0",
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",
@@ -3194,6 +3194,7 @@ var createEntity = async (opts) => {
3194
3194
  const manifestAccount = {
3195
3195
  name: opts.name,
3196
3196
  status: noApproval ? "PENDING" : void 0,
3197
+ policy: opts.policy,
3197
3198
  ...rules ? { rules } : {},
3198
3199
  ...opts.index !== void 0 ? { index: opts.index } : {},
3199
3200
  ...opts.contractAddress ? (
@@ -3458,6 +3459,11 @@ var create_default = {
3458
3459
  name: "rules",
3459
3460
  type: String
3460
3461
  },
3462
+ {
3463
+ name: "policy",
3464
+ type: String,
3465
+ description: "Policy name to attach to the account"
3466
+ },
3461
3467
  {
3462
3468
  name: "xpub",
3463
3469
  type: String,