neonctl 1.21.2 → 1.22.0

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/callback.html CHANGED
@@ -14,6 +14,14 @@ body, html {
14
14
  flex-direction: column;
15
15
  justify-content: center;
16
16
  align-items: center;
17
+ background-color: #ffffff;
18
+ color: #2d374c;
19
+ }
20
+ @media (prefers-color-scheme: dark) {
21
+ body, html {
22
+ background-color: #191919;
23
+ color: #bfbfbf;
24
+ }
17
25
  }
18
26
  .logo {
19
27
  display: inline-block;
@@ -32,6 +40,6 @@ svg {
32
40
  </div>
33
41
  <h1>Thank you for using Neon</h1>
34
42
  <p>
35
- You may close the page now
43
+ You may close this page now
36
44
  </p>
37
45
  </body>
@@ -120,7 +120,7 @@ const create = async (props) => {
120
120
  ? [
121
121
  {
122
122
  type: props.type,
123
- suspend_timeout_seconds: props.suspendTimeout,
123
+ suspend_timeout_seconds: props.suspendTimeout === 0 ? undefined : props.suspendTimeout,
124
124
  },
125
125
  ]
126
126
  : [],
package/index.js CHANGED
@@ -21,7 +21,6 @@ import { fillInArgs } from './utils/middlewares.js';
21
21
  import pkg from './pkg.js';
22
22
  import commands from './commands/index.js';
23
23
  import { analyticsMiddleware, sendError } from './analytics.js';
24
- import { isCi } from './env.js';
25
24
  import { isAxiosError } from 'axios';
26
25
  import { matchErrorCode } from './errors.js';
27
26
  import { showHelp } from './help.js';
@@ -92,7 +91,7 @@ builder = builder
92
91
  describe: 'Manage analytics. Example: --no-analytics, --analytics false',
93
92
  group: 'Global options:',
94
93
  type: 'boolean',
95
- default: !isCi(),
94
+ default: true
96
95
  })
97
96
  .middleware(analyticsMiddleware, true)
98
97
  .group('version', 'Global options:')
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.21.2",
8
+ "version": "1.22.0",
9
9
  "description": "CLI tool for NeonDB Cloud management",
10
10
  "main": "index.js",
11
11
  "author": "NeonDB",