@postonus/cli 0.1.63 → 0.1.65

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.63";
12903
+ var CLI_VERSION = "0.1.65";
12907
12904
 
12908
12905
  // src/client.ts
12909
12906
  var DEVICE_CODE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:device_code";
@@ -13246,7 +13243,9 @@ async function pollOnce(apiUrl, clientId, deviceCode) {
13246
13243
  return { error: result.description ?? "Login failed" };
13247
13244
  }
13248
13245
  }
13249
- var sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
13246
+ var sleep = (ms) => new Promise((resolve) => {
13247
+ setTimeout(resolve, ms);
13248
+ });
13250
13249
  async function pollForToken(apiUrl, clientId, device) {
13251
13250
  let intervalMs = Math.max(device.interval, 1) * 1e3;
13252
13251
  const deadline = Date.now() + device.expires_in * 1e3;
@@ -13461,7 +13460,9 @@ async function pickPlatform(existing) {
13461
13460
  );
13462
13461
  });
13463
13462
  }
13464
- var sleep2 = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
13463
+ var sleep2 = (ms) => new Promise((resolve) => {
13464
+ setTimeout(resolve, ms);
13465
+ });
13465
13466
  async function waitForNewChannel(api, platform, before) {
13466
13467
  const knownIds = new Set(before.map((channel) => channel.id));
13467
13468
  const deadline = Date.now() + 5 * 60 * 1e3;