@farthershore/client 0.4.0 → 0.5.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/CHANGELOG.md +8 -0
- package/README.md +4 -2
- package/dist/index.js +148 -96
- package/dist/types/api.generated.d.ts +3 -33
- package/dist/types/credentials.d.ts +6 -2
- package/dist/types/generated/schemas.d.ts +19 -14
- package/dist/types/helpers/refs.d.ts +2 -2
- package/dist/types/operations/billing.d.ts +0 -7
- package/dist/types/operations/businesses.d.ts +5 -6
- package/dist/types/operations/define.d.ts +7 -1
- package/dist/types/operations/index.d.ts +13 -41
- package/dist/types/operations/organizations.d.ts +0 -12
- package/dist/types/operations/platform.d.ts +6 -6
- package/dist/types/operations/webhooks.d.ts +2 -2
- package/dist/types/types.d.ts +4 -1
- package/dist/types/version.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog — @farthershore/client
|
|
2
2
|
|
|
3
|
+
## [0.5.0] - 2026-11-09
|
|
4
|
+
|
|
5
|
+
- **Breaking:** `businesses.rollback` takes `publishId` and returns
|
|
6
|
+
`rollbackPublishId`; `businesses.publish` returns `publishId`. Requires the
|
|
7
|
+
matching platform release.
|
|
8
|
+
|
|
9
|
+
- **Breaking:** Removed business deletion, organization deletion, ownership transfer and Stripe disconnection methods. These actions require a person in the dashboard after fresh sign-in and typed-name confirmation. Owner-target membership changes are also dashboard-only; non-owner membership operations remain available.
|
|
10
|
+
|
|
3
11
|
All notable changes to the API client are documented here. This package
|
|
4
12
|
versions independently from the CLI and the other SDKs. Pre-1.0: minor versions
|
|
5
13
|
may include breaking changes.
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ namespaced, typed operation surface (`fs.runtimeTokens.revoke(…)`) over an
|
|
|
5
5
|
authenticated `fetch` transport with exact retry and outcome semantics,
|
|
6
6
|
pluggable credential sources, and typed errors.
|
|
7
7
|
|
|
8
|
-
> **Status: `0.
|
|
8
|
+
> **Status: `0.5.0`.** Pre-1.0: minor releases may include breaking changes.
|
|
9
9
|
> Every response is typed. All but the publish-rollback receipt are generated
|
|
10
10
|
> from the platform's zod schemas (through the API's OpenAPI components), so a
|
|
11
11
|
> field exists in a type exactly when the server sends it.
|
|
@@ -82,7 +82,7 @@ The namespace path comes from the operation key (`runtime_token.revoke` →
|
|
|
82
82
|
| `fs.knowledge` | Knowledge index (guide, business) |
|
|
83
83
|
| `fs.makerTokens` | Organization maker tokens and their approvals |
|
|
84
84
|
| `fs.notifications` | Notification preferences |
|
|
85
|
-
| `fs.organizations` | Organizations, roles, members, invitations,
|
|
85
|
+
| `fs.organizations` | Organizations, roles, non-owner members, invitations, overview |
|
|
86
86
|
| `fs.personas` | Test personas and local-preview sign-in |
|
|
87
87
|
| `fs.plans` | Compiled plans (read) |
|
|
88
88
|
| `fs.platform` | Denial explanations, dependents, resource counts, workflow replay/rollback previews |
|
|
@@ -257,3 +257,5 @@ a successful read whose JSON body is malformed rejects with the parser's
|
|
|
257
257
|
`SyntaxError` (it is not retried), and a request `body` that `JSON.stringify`
|
|
258
258
|
cannot serialize (a `BigInt`, a cycle) throws its `TypeError` before anything
|
|
259
259
|
is sent.
|
|
260
|
+
|
|
261
|
+
Human-only actions have no client methods: business or organization deletion, ownership transfer, and Stripe disconnection. The API also refuses delegated credentials for owner removal or demotion. Use the dashboard after fresh sign-in and typed-name confirmation.
|