@zrhsh/wukong-cli 0.4.23 → 0.4.24

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/dist/cli.js CHANGED
@@ -2822,7 +2822,7 @@ async function runUpdateCommand({
2822
2822
  }
2823
2823
  var updateCommand = new Command5("update").description("Update wukong-cli to the latest npm version").action(async () => {
2824
2824
  const exitCode = await runUpdateCommand({
2825
- currentVersion: "0.4.23",
2825
+ currentVersion: "0.4.24",
2826
2826
  versionProvider: new NpmVersionProvider(
2827
2827
  "@zrhsh/wukong-cli",
2828
2828
  "https://registry.npmjs.org"
@@ -2837,7 +2837,7 @@ var updateCommand = new Command5("update").description("Update wukong-cli to the
2837
2837
 
2838
2838
  // src/cli.ts
2839
2839
  var program = new Command6();
2840
- program.name("wukong-cli").description("Wukong CLI - TypeScript implementation").version("0.4.23").option("--debug", "Enable debug mode (show HTTP requests)").hook("preAction", (thisCommand) => {
2840
+ program.name("wukong-cli").description("Wukong CLI - TypeScript implementation").version("0.4.24").option("--debug", "Enable debug mode (show HTTP requests)").hook("preAction", (thisCommand) => {
2841
2841
  const options = thisCommand.opts();
2842
2842
  if (options.debug === true) {
2843
2843
  setDebugMode(true, true);
@@ -2856,7 +2856,7 @@ if (process.argv.length === 2) {
2856
2856
  program.parse();
2857
2857
  setImmediate(() => {
2858
2858
  try {
2859
- const versionChecker = getVersionChecker("0.4.23");
2859
+ const versionChecker = getVersionChecker("0.4.24");
2860
2860
  const notifier = new ConsoleNotifier();
2861
2861
  versionChecker.checkInBackground(notifier).catch(() => {
2862
2862
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zrhsh/wukong-cli",
3
- "version": "0.4.23",
3
+ "version": "0.4.24",
4
4
  "description": "Wukong CLI - TypeScript with auto token refresh",
5
5
  "private": false,
6
6
  "type": "module",
@@ -1,5 +1,5 @@
1
1
  {
2
- "defaultEnv": "beta",
2
+ "defaultEnv": "prod",
3
3
  "environments": {
4
4
  "dev": {
5
5
  "authBaseUrl": "https://portal-dev.zrhsh.com",