@usesocial/cli 0.19.10 → 0.19.11

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @usesocial/cli
2
2
 
3
+ ## 0.19.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#173](https://github.com/usesocial/monorepo/pull/173) [`988f3de`](https://github.com/usesocial/monorepo/commit/988f3ded68966de58701c09116bb66b5fb48190b) Thanks [@CyrusNuevoDia](https://github.com/CyrusNuevoDia)! - Run X OAuth before billing so a distinct authorized account stays resumable across payment retries.
8
+
3
9
  ## 0.19.10
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -283,14 +283,15 @@ returned approval or checkout URL, then rerun `social account setup` until it is
283
283
  `ready`.
284
284
 
285
285
  `social account connect <platform>` starts or resumes a server-owned partial
286
- account that purchases only that provider's plan or next seat, or the applicable
287
- legacy Social Pro seat during transition. It normally charges the stored card
288
- directly before returning hosted provider approval. In a non-TTY shell, omit
289
- `--account-id` on the first call, capture the returned `accountId`, and pass it
290
- back as `--account-id <accountId>` on every poll. Surface `paymentURL` only when
291
- `pending_billing` says customer action is required, then surface `connectURL`
292
- for provider approval. Replaying a connected account ID is stable; omit
293
- `--account-id` after completion only to connect another account.
286
+ account. LinkedIn normally charges the stored card before hosted provider
287
+ approval. X starts OAuth without charging, then purchases any missing provider
288
+ or legacy seat after a distinct, owned identity is authorized. Payment retries
289
+ retain that identity and keep the account unavailable until payment succeeds.
290
+ In a non-TTY shell, omit `--account-id` on the first call, capture the returned
291
+ `accountId`, and pass it back as `--account-id <accountId>` on every poll.
292
+ Surface `connectURL` for `pending_approval` and `paymentURL` for `pending_billing`.
293
+ Replaying a connected ID is stable; omit `--account-id` after completion only
294
+ to connect another account.
294
295
 
295
296
  `social account billing` prints Social LinkedIn and Social X independently.
296
297
  Social LinkedIn costs $20 per connected account with flat proxy usage. Social X
package/dist/index.mjs CHANGED
@@ -24845,7 +24845,7 @@ function createEnv(opts) {
24845
24845
  }
24846
24846
  //#endregion
24847
24847
  //#region package.json
24848
- var version$1 = "0.19.10";
24848
+ var version$1 = "0.19.11";
24849
24849
  //#endregion
24850
24850
  //#region src/lib/env.ts
24851
24851
  const URLWithTrailingSlash = url().transform(ensureTrailingSlash);
@@ -34355,7 +34355,7 @@ const platformLabel = (platform) => platform === "x" ? "X" : "LinkedIn";
34355
34355
  const lifecycleConnectContract = writeCLIContract({
34356
34356
  hazards: [{
34357
34357
  code: "account_connect_billing",
34358
- message: "The first call can start provider billing; pass the returned accountId when polling so retries cannot start another charge."
34358
+ message: "LinkedIn can charge on the first call; X charges after OAuth. Pass the returned accountId on every retry."
34359
34359
  }],
34360
34360
  idField: "accountId",
34361
34361
  idempotency: {