@postonus/cli 0.1.64 → 0.1.66

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/index.js CHANGED
@@ -9632,9 +9632,6 @@ var PostRowSchema = object({
9632
9632
  originSourcePostId: string2().nullable(),
9633
9633
  isEvergreen: boolean2(),
9634
9634
  lastRecycledAt: Timestamp.nullable(),
9635
- approvalStatus: _enum(APPROVAL_STATUS_VALUES).nullable(),
9636
- approvalRequestedAt: Timestamp.nullable(),
9637
- approvalCompletedAt: Timestamp.nullable(),
9638
9635
  requiredApproverIds: array(string2()).nullable(),
9639
9636
  createdAt: Timestamp,
9640
9637
  updatedAt: Timestamp
@@ -12903,7 +12900,7 @@ function formatTable(headers, rows, isTty = process.stdout.isTTY) {
12903
12900
  }
12904
12901
 
12905
12902
  // src/version.ts
12906
- var CLI_VERSION = "0.1.64";
12903
+ var CLI_VERSION = "0.1.66";
12907
12904
 
12908
12905
  // src/client.ts
12909
12906
  var DEVICE_CODE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:device_code";
@@ -13301,6 +13298,7 @@ async function login() {
13301
13298
  }
13302
13299
  if (clientId !== carried.clientId) await writeConfig({ ...carried, clientId, apiUrl });
13303
13300
  void open2(device.verification_uri_complete).catch(() => {
13301
+ printStatus(`Could not open a browser. Open ${device.verification_uri_complete} yourself.`);
13304
13302
  });
13305
13303
  const finish = async (tokens) => {
13306
13304
  await writeConfig({
@@ -13511,6 +13509,7 @@ async function connectChannel(options) {
13511
13509
  printStatus(`Opening ${platform.toLowerCase()} authorization in your browser\u2026`);
13512
13510
  printStatus(redirectUrl);
13513
13511
  void open3(redirectUrl).catch(() => {
13512
+ printStatus(`Could not open a browser. Open the link above.`);
13514
13513
  });
13515
13514
  if (!options.wait) {
13516
13515
  printStatus("Run `postonus channels list` once you have approved it.");