@flintpay/cli 0.14.2 → 0.15.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/README.md +3 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -37,6 +37,8 @@ Access tokens refresh automatically as needed. `flint auth logout --confirm` rev
|
|
|
37
37
|
|
|
38
38
|
`flint login` is a shortcut for `flint auth login`. Related shortcuts: `flint logout` for `flint auth logout`, and `flint whoami` for `flint auth status`.
|
|
39
39
|
|
|
40
|
+
`whoami`, `auth status`, `doctor`, and `config get` show the API base URL, credential source, and selected profile in human output and under `data.cli` in JSON. Doctor results are under `data.checks`. `config get` resolves local configuration without an API request; an unreadable credential store is shown as `credential_source: "unavailable"`. Auth-context accepts `mode` (with `environment` as a fallback), `access`, and `auth_type: "cli_login"`. Live-mode guards use the verified auth-context mode. Set `FLINT_COLOR=auto|always|never` to choose color, or override it with `--color`.
|
|
41
|
+
|
|
40
42
|
### Sessions and contexts
|
|
41
43
|
|
|
42
44
|
Approve access to selected merchants, sandboxes, and live contexts once in the browser, then select where commands run:
|
|
@@ -55,7 +57,7 @@ flint reauth # change browser-approved access
|
|
|
55
57
|
|
|
56
58
|
Manage and revoke sessions on the [CLI sessions page](https://app.withflintpay.com/developers/cli).
|
|
57
59
|
|
|
58
|
-
Context selection uses `--context ID`, then a project's `.flint/config.json` `
|
|
60
|
+
Context selection uses `--context ID`, then a project's `.flint/config.json` `context_id` field, then the profile default. For example, `{"context_id":"ctx_development"}` pins a project. Switching changes the profile default, not a project pin. Each running command retains its starting context. Access tokens remain restricted to one context and refresh automatically. LIVE contexts are labeled in the selector and command diagnostics; selected multi-context sessions do not need `--live` on every command, while sensitive/destructive operations still require confirmation.
|
|
59
61
|
|
|
60
62
|
Environment credentials (`FLINT_API_KEY` or `FLINT_ACCESS_TOKEN`) override configured browser-session contexts. An explicit `--context` cannot be combined with these overrides. Merchant and sandbox guards still apply.
|
|
61
63
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flintpay/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "Flint Pay command-line interface",
|
|
5
5
|
"mcpName": "com.withflintpay/cli",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"node": ">=18"
|
|
17
17
|
},
|
|
18
18
|
"optionalDependencies": {
|
|
19
|
-
"@flintpay/cli-darwin-arm64": "0.
|
|
20
|
-
"@flintpay/cli-darwin-amd64": "0.
|
|
21
|
-
"@flintpay/cli-linux-arm64": "0.
|
|
22
|
-
"@flintpay/cli-linux-amd64": "0.
|
|
23
|
-
"@flintpay/cli-windows-amd64": "0.
|
|
19
|
+
"@flintpay/cli-darwin-arm64": "0.15.0",
|
|
20
|
+
"@flintpay/cli-darwin-amd64": "0.15.0",
|
|
21
|
+
"@flintpay/cli-linux-arm64": "0.15.0",
|
|
22
|
+
"@flintpay/cli-linux-amd64": "0.15.0",
|
|
23
|
+
"@flintpay/cli-windows-amd64": "0.15.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|