neonctl 1.27.1 → 1.27.3

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.
Files changed (3) hide show
  1. package/api.js +1 -1
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/api.js CHANGED
@@ -5,7 +5,7 @@ import pkg from './pkg.js';
5
5
  export const getApiClient = ({ apiKey, apiHost }) => createApiClient({
6
6
  apiKey,
7
7
  baseURL: apiHost,
8
- timeout: 10000,
8
+ timeout: 60000,
9
9
  headers: {
10
10
  'User-Agent': `neonctl v${pkg.version}`,
11
11
  },
package/index.js CHANGED
@@ -52,7 +52,7 @@ builder = builder
52
52
  .option('api-host', {
53
53
  describe: 'The API host',
54
54
  hidden: true,
55
- default: 'https://console.neon.tech/api/v2',
55
+ default: process.env.NEON_API_HOST ?? 'https://console.neon.tech/api/v2',
56
56
  })
57
57
  // Setup config directory
58
58
  .option('config-dir', {
@@ -72,7 +72,7 @@ builder = builder
72
72
  'oauth-host': {
73
73
  description: 'URL to Neon OAuth host',
74
74
  hidden: true,
75
- default: 'https://oauth2.neon.tech',
75
+ default: process.env.NEON_OAUTH_HOST ?? 'https://oauth2.neon.tech',
76
76
  },
77
77
  'client-id': {
78
78
  description: 'OAuth client id',
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "git@github.com:neondatabase/neonctl.git"
6
6
  },
7
7
  "type": "module",
8
- "version": "1.27.1",
8
+ "version": "1.27.3",
9
9
  "description": "CLI tool for NeonDB Cloud management",
10
10
  "main": "index.js",
11
11
  "author": "NeonDB",