@ledgerhq/vault-cli 2.3.0 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/index.mjs 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.3.0",
12
+ version: "2.3.2",
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,8 +3194,8 @@ var createEntity = async (opts) => {
3194
3194
  const manifestAccount = {
3195
3195
  name: opts.name,
3196
3196
  status: noApproval ? "PENDING" : void 0,
3197
- policy: opts.policy,
3198
3197
  ...rules ? { rules } : {},
3198
+ ...opts.policy !== void 0 ? { policy: opts.policy } : {},
3199
3199
  ...opts.index !== void 0 ? { index: opts.index } : {},
3200
3200
  ...opts.contractAddress ? (
3201
3201
  /* istanbul ignore next */