@vonage/cli-plugin-numbers
Advanced tools
Comparing version 1.2.4 to 1.3.0
@@ -8,3 +8,3 @@ import NumberCommand from '../../number_base.js'; | ||
const numberData = await this.getAllNumbers({}); | ||
cli.table(numberData.numbers, { | ||
cli.table(numberData.numbers || [], { | ||
country: {}, | ||
@@ -11,0 +11,0 @@ msisdn: { |
@@ -9,3 +9,3 @@ import NumberCommand from '../../number_base.js'; | ||
const numberData = await this.numberSearch(args.countryCode, flags); | ||
cli.table(numberData.numbers, { | ||
cli.table(numberData.numbers || [], { | ||
country: {}, | ||
@@ -12,0 +12,0 @@ msisdn: { |
import VonageCommand from '@vonage/cli-utils'; | ||
export default abstract class NumberCommand<T> extends VonageCommand<typeof NumberCommand> { | ||
catch(error: any): Promise<any>; | ||
protected _parseParams(params: any): any; | ||
@@ -5,0 +4,0 @@ getAllNumbers(params: any): any; |
import VonageCommand from '@vonage/cli-utils'; | ||
export default class NumberCommand extends VonageCommand { | ||
async catch(error) { | ||
return super.catch(error); | ||
} | ||
_parseParams(params) { | ||
@@ -7,0 +4,0 @@ const searchResponse = {}; |
{ | ||
"name": "@vonage/cli-plugin-numbers", | ||
"version": "1.2.4", | ||
"version": "1.3.0", | ||
"author": "Vonage Dev Rel <devrel@vonage.com>", | ||
@@ -9,3 +9,3 @@ "bugs": "https://github.com/Vonage/vonage-cli/issues", | ||
"@oclif/core": "^1.20.4", | ||
"@vonage/cli-utils": "^1.3.3" | ||
"@vonage/cli-utils": "^1.3.0" | ||
}, | ||
@@ -30,5 +30,2 @@ "engines": { | ||
"scripts": { | ||
"postpack": "npx shx rm -f oclif.manifest.json", | ||
"prepack": "npm run build && npx oclif manifest && npx oclif readme", | ||
"version": "npx oclif readme && git add README.md", | ||
"build": "npx shx rm -rf dist tsconfig.tsbuildinfo && tsc --build --verbose" | ||
@@ -35,0 +32,0 @@ }, |
@@ -22,3 +22,3 @@ @vonage/cli-plugin-numbers | ||
$ @vonage/cli-plugin-numbers (--version) | ||
@vonage/cli-plugin-numbers/1.2.4 darwin-arm64 node-v16.18.1 | ||
@vonage/cli-plugin-numbers/1.2.2 darwin-arm64 node-v16.18.1 | ||
$ @vonage/cli-plugin-numbers --help [COMMAND] | ||
@@ -70,3 +70,3 @@ USAGE | ||
_See code: [dist/commands/numbers/index.js](https://github.com/Vonage/vonage-cli/blob/v1.2.4/dist/commands/numbers/index.js)_ | ||
_See code: [dist/commands/numbers/index.js](https://github.com/Vonage/vonage-cli/blob/v1.2.2/dist/commands/numbers/index.js)_ | ||
@@ -94,3 +94,3 @@ ## `@vonage/cli-plugin-numbers numbers:buy [NUMBER] [COUNTRYCODE]` | ||
_See code: [dist/commands/numbers/buy.js](https://github.com/Vonage/vonage-cli/blob/v1.2.4/dist/commands/numbers/buy.js)_ | ||
_See code: [dist/commands/numbers/buy.js](https://github.com/Vonage/vonage-cli/blob/v1.2.2/dist/commands/numbers/buy.js)_ | ||
@@ -118,3 +118,3 @@ ## `@vonage/cli-plugin-numbers numbers:cancel [NUMBER] [COUNTRYCODE]` | ||
_See code: [dist/commands/numbers/cancel.js](https://github.com/Vonage/vonage-cli/blob/v1.2.4/dist/commands/numbers/cancel.js)_ | ||
_See code: [dist/commands/numbers/cancel.js](https://github.com/Vonage/vonage-cli/blob/v1.2.2/dist/commands/numbers/cancel.js)_ | ||
@@ -160,3 +160,3 @@ ## `@vonage/cli-plugin-numbers numbers:search [COUNTRYCODE]` | ||
_See code: [dist/commands/numbers/search.js](https://github.com/Vonage/vonage-cli/blob/v1.2.4/dist/commands/numbers/search.js)_ | ||
_See code: [dist/commands/numbers/search.js](https://github.com/Vonage/vonage-cli/blob/v1.2.2/dist/commands/numbers/search.js)_ | ||
@@ -186,3 +186,3 @@ ## `@vonage/cli-plugin-numbers numbers:update NUMBER COUNTRYCODE --url=https://www.example.com` | ||
_See code: [dist/commands/numbers/update.js](https://github.com/Vonage/vonage-cli/blob/v1.2.4/dist/commands/numbers/update.js)_ | ||
_See code: [dist/commands/numbers/update.js](https://github.com/Vonage/vonage-cli/blob/v1.2.2/dist/commands/numbers/update.js)_ | ||
<!-- commandsstop --> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41168
27
430
Updated@vonage/cli-utils@^1.3.0