@whooshbang/contract-mock 1.0.0-rc.32 → 1.0.0-rc.34

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
@@ -5,6 +5,21 @@ recorded here.
5
5
 
6
6
  ## Unreleased
7
7
 
8
+ ## 1.0.0-rc.34
9
+
10
+ - Upgrade the Hono runtime to 4.13.7 so consumers do not inherit the security
11
+ advisories fixed in Hono 4.13.5 and 4.13.7 (FXO-2344).
12
+ - Reissue the mock against `@whooshbang/contracts@1.0.0-rc.22` and
13
+ `@whooshbang/sdk@1.0.0-rc.31`.
14
+
15
+ ## 1.0.0-rc.33
16
+
17
+ - Serve the account-credential lifecycle — list, create, rotate and revoke —
18
+ so a consumer can exercise an organization-wide key against the mock without
19
+ reaching a real account (FXO-1809).
20
+ - Serve the customer-owned Slack app surfaces: manifest, credential submission
21
+ and setup restart (SLK-B1/B2).
22
+
8
23
  ## 1.0.0-rc.32
9
24
 
10
25
  - Serve the project and environment recipient-experience routes, and the
package/README.md CHANGED
@@ -52,6 +52,24 @@ ten owner-voiced panel values into recipient sessions, and serves the PNG only
52
52
  to that session's exact configured origin. System-owned safety, refusal, pause,
53
53
  unavailable, and unsubscribe copy is rejected just as it is by the service.
54
54
 
55
+ Subscriber data exports are available at
56
+ `GET /v1/projects/{project_id}/subscribers/{subscriber_id}/data-export` through
57
+ an account grant, account credential, or human session. The project-wide operation refuses a
58
+ one-environment project credential, requires `subscriptions:read`,
59
+ `messages:read`, and `machine-clients:read`, and returns a JSON attachment with
60
+ caching disabled.
61
+ The mock combines the created subscriber's profile with representative
62
+ synthetic recipient-response and delivery records to exercise all three
63
+ provenance sections; it does not reconstruct a complete activity history.
64
+ WhooshBang-controller audit and service-log data are listed as exclusions.
65
+
66
+ The same account authorities erase a subscriber through
67
+ `DELETE /v1/projects/{project_id}/subscribers/{subscriber_id}` when they carry
68
+ all three corresponding write scopes. Repeats return the same empty `204`.
69
+ `POST /v1/account/close` accepts only an administrator human session and the
70
+ exact `close-account` confirmation; its repeat-safe result names any synthetic
71
+ customer-managed provider resource that still needs manual retirement.
72
+
55
73
  Project credentials also execute the customer-endpoint lifecycle under
56
74
  `/v1/projects/{project_id}/environments/{environment_id}/customer-endpoints`:
57
75
  create with a one-time secret reveal, verify, bounded-overlap rotation, pause,
@@ -218,6 +236,7 @@ All credentials are synthetic local fixtures:
218
236
  | --- | --- | --- |
219
237
  | `humanSession` | `human-session-token` | default account administrator |
220
238
  | `otherHumanSession` | `human-other-session-token` | isolated account administrator |
239
+ | `account` | `account-credential-token` | default account API credential |
221
240
  | `projectTest` | `project-test-token` | default test project |
222
241
  | `liveProject` | `project-live-token` | default live project |
223
242
  | `projectA` | `project-a-token` | isolated test project A |
package/dist/core.d.ts CHANGED
@@ -17,6 +17,7 @@ export declare const CONTRACT_MOCK_FIXTURE_ENVIRONMENTS: Readonly<{
17
17
  readonly testEnvironmentId: "environment_project_synthetic_test";
18
18
  }>;
19
19
  export declare const CONTRACT_MOCK_FIXTURE_CREDENTIALS: Readonly<{
20
+ readonly account: "account-credential-token";
20
21
  readonly grant: "oauth-grant-token";
21
22
  readonly humanSession: "human-session-token";
22
23
  readonly otherGrant: "oauth-grant-other-token";