@fonoster/ctl 0.4.6 → 0.4.8

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.
@@ -29,7 +29,9 @@ class ListCommand extends command_1.Command {
29
29
  const projects = new Projects();
30
30
  // Gets the list
31
31
  const result = await projects.listProjects({});
32
- const projs = result.projects?.map(p => Object.assign(p, { name: (0, config_1.isDefaultProject)(p.ref) ? `${p.name} *` : p.name }));
32
+ const projs = result.projects?.map((p) => Object.assign(p, {
33
+ name: (0, config_1.isDefaultProject)(p.ref) ? `${p.name} *` : p.name
34
+ }));
33
35
  core_1.CliUx.ux.table(projs, {
34
36
  accessKeyId: { header: "Ref / Access Key Id", minWidth: 30 },
35
37
  name: { header: "Name", minWidth: 12 }
@@ -64,7 +64,7 @@ class CreateCommand extends command_1.Command {
64
64
  {
65
65
  name: "register",
66
66
  message: "enable registration?",
67
- type: "confirm",
67
+ type: "confirm"
68
68
  },
69
69
  {
70
70
  name: "expires",
@@ -68,7 +68,7 @@ class ListCommand extends command_1.Command {
68
68
  },
69
69
  host: { header: "Host", minWidth: 18 },
70
70
  transport: { header: "Transport", minWidth: 13 },
71
- register: { header: "Register", minWidth: 13 },
71
+ register: { header: "Register", minWidth: 13 }
72
72
  // expires: {header: "SIP Registration Refresh", minWidth: 13}
73
73
  }, { "no-header": !showHeader });
74
74
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/ctl",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "description": "Command-Line for Fonoster",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -55,22 +55,22 @@
55
55
  "url": "https://github.com/fonoster/fonoster/issues"
56
56
  },
57
57
  "dependencies": {
58
- "@fonoster/agents": "^0.4.6",
59
- "@fonoster/apps": "^0.4.6",
60
- "@fonoster/domains": "^0.4.6",
61
- "@fonoster/logger": "^0.4.6",
62
- "@fonoster/numbers": "^0.4.6",
58
+ "@fonoster/agents": "^0.4.8",
59
+ "@fonoster/apps": "^0.4.8",
60
+ "@fonoster/domains": "^0.4.8",
61
+ "@fonoster/logger": "^0.4.7",
62
+ "@fonoster/numbers": "^0.4.8",
63
63
  "@fonoster/plugin-warn-if-update-available": "github:fonoster/plugin-warn-if-update-available",
64
- "@fonoster/projects": "^0.4.6",
65
- "@fonoster/providers": "^0.4.6",
66
- "@fonoster/secrets": "^0.4.6",
67
- "@oclif/command": "^1.8.22",
68
- "@oclif/config": "^1.18.8",
69
- "@oclif/core": "^1.26.2",
64
+ "@fonoster/projects": "^0.4.8",
65
+ "@fonoster/providers": "^0.4.8",
66
+ "@fonoster/secrets": "^0.4.8",
67
+ "@oclif/command": "^1.8.16",
68
+ "@oclif/config": "^1.18.3",
69
+ "@oclif/core": "^1.3.4",
70
70
  "@oclif/errors": "^1.3.5",
71
71
  "@oclif/plugin-help": "^3.3.1",
72
- "@oclif/plugin-not-found": "^2.3.23",
73
- "@oclif/plugin-plugins": "^2.4.4",
72
+ "@oclif/plugin-not-found": "^2.3.1",
73
+ "@oclif/plugin-plugins": "^2.1.0",
74
74
  "easy-table": "^1.2.0",
75
75
  "figlet": "^1.5.2",
76
76
  "get-stdin-with-tty": "^6.0.0",
@@ -85,5 +85,5 @@
85
85
  "@types/prettyjson": "0.0.29",
86
86
  "rimraf": "^3.0.2"
87
87
  },
88
- "gitHead": "6794f58c43e0d68012a2122b259755229b23bcf1"
88
+ "gitHead": "e594d9c289ce814090b8133d3efb03561cfa7598"
89
89
  }