@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 +6 -0
- package/README.md +9 -8
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
`
|
|
292
|
-
|
|
293
|
-
`--account-id` after completion only
|
|
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.
|
|
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: "
|
|
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: {
|