axiam-sdk 1.0.0 → 1.1.1

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.
Files changed (60) hide show
  1. package/README.md +100 -12
  2. package/dist/amqp/index.d.cts +3 -2
  3. package/dist/amqp/index.d.ts +3 -2
  4. package/dist/{authzCore-BQfX9qxN.d.cts → authzCore-CqXzLNmT.d.cts} +4 -3
  5. package/dist/{authzCore-BlSHwGnW.d.ts → authzCore-D-hquWSI.d.ts} +4 -3
  6. package/dist/browser/index.d.cts +8 -7
  7. package/dist/browser/index.d.ts +8 -7
  8. package/dist/{client-0WJkblDE.d.ts → client-BMNQi36J.d.ts} +646 -16
  9. package/dist/{client-yD0eMwHQ.d.cts → client-D34sXV8p.d.cts} +646 -16
  10. package/dist/{cookieJar-CTD5jOmd.d.cts → cookieJar-C_xPuniu.d.cts} +3 -3
  11. package/dist/{cookieJar-hWRmZkhe.d.ts → cookieJar-DcrMe93Q.d.ts} +3 -3
  12. package/dist/{errors-DMIlw2lN.d.ts → errors-DZ3k8a8i.d.cts} +2 -1
  13. package/dist/{errors-DMIlw2lN.d.cts → errors-DZ3k8a8i.d.ts} +2 -1
  14. package/dist/{errors-m0Tue_pE.d.cts → errors-RvGlTyUj.d.cts} +18 -3
  15. package/dist/{errors-CmBvsxV0.d.ts → errors-dlGXAsbh.d.ts} +18 -3
  16. package/dist/grpc/index.d.cts +10 -9
  17. package/dist/grpc/index.d.ts +10 -9
  18. package/dist/grpc/index.js +604 -15
  19. package/dist/grpc/index.js.map +1 -1
  20. package/dist/grpc/index.mjs +604 -15
  21. package/dist/grpc/index.mjs.map +1 -1
  22. package/dist/index.d.cts +7 -7
  23. package/dist/index.d.ts +7 -7
  24. package/dist/index.js +626 -16
  25. package/dist/index.js.map +1 -1
  26. package/dist/index.mjs +624 -17
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/{jwks-BR55d7-Z.d.cts → jwks-CTVpOWzI.d.cts} +2 -1
  29. package/dist/{jwks-BR55d7-Z.d.ts → jwks-CTVpOWzI.d.ts} +2 -1
  30. package/dist/middleware/index.d.cts +13 -12
  31. package/dist/middleware/index.d.ts +13 -12
  32. package/dist/middleware/index.js +53 -12
  33. package/dist/middleware/index.js.map +1 -1
  34. package/dist/middleware/index.mjs +53 -12
  35. package/dist/middleware/index.mjs.map +1 -1
  36. package/dist/nestjs/index.d.cts +5 -4
  37. package/dist/nestjs/index.d.ts +5 -4
  38. package/dist/node/index.d.cts +10 -9
  39. package/dist/node/index.d.ts +10 -9
  40. package/dist/node/index.js +631 -19
  41. package/dist/node/index.js.map +1 -1
  42. package/dist/node/index.mjs +631 -19
  43. package/dist/node/index.mjs.map +1 -1
  44. package/dist/{oidcState-mQLVn3-A.d.cts → oidcState-BFIHt7_Y.d.cts} +29 -7
  45. package/dist/{oidcState-DOSCgnMG.d.ts → oidcState-qoy2vsYG.d.ts} +29 -7
  46. package/dist/rest/index.d.cts +64 -12
  47. package/dist/rest/index.d.ts +64 -12
  48. package/dist/rest/index.js +626 -16
  49. package/dist/rest/index.js.map +1 -1
  50. package/dist/rest/index.mjs +624 -17
  51. package/dist/rest/index.mjs.map +1 -1
  52. package/dist/{revocationFeed-CDoD7Twr.d.cts → revocationFeed-KQhvMMl8.d.cts} +2 -1
  53. package/dist/{revocationFeed-CDoD7Twr.d.ts → revocationFeed-KQhvMMl8.d.ts} +2 -1
  54. package/dist/{session-CeG6P9GO.d.ts → session-BbPFTpMZ.d.ts} +3 -2
  55. package/dist/{session-BmjEMowX.d.cts → session-C9WlP6DV.d.cts} +3 -2
  56. package/dist/{telemetry--0DwnNjV.d.cts → telemetry-Du0-zS5f.d.cts} +2 -1
  57. package/dist/{telemetry--0DwnNjV.d.ts → telemetry-Du0-zS5f.d.ts} +2 -1
  58. package/dist/{webauthnErrors-fLgfOflO.d.cts → webauthnErrors-m1LZiaRy.d.cts} +2 -1
  59. package/dist/{webauthnErrors-fLgfOflO.d.ts → webauthnErrors-m1LZiaRy.d.ts} +2 -1
  60. package/package.json +2 -2
package/README.md CHANGED
@@ -20,13 +20,56 @@ Official TypeScript/JavaScript client SDK for [AXIAM](https://github.com/ilpanic
20
20
 
21
21
  ## Contract conformance
22
22
 
23
- This SDK conforms to **contract 1.60**: CONTRACT.md §1–§13 and §12.7, §14, §15, §17, §19,
24
- §20, §21, §22, §23, §24, §25, §26, §27, §28, §28.12, §29, §30, §31, §32 and §33, with §32.7 and
25
- §33.2 signed (including §6.1 mTLS client certificates, the
23
+ This SDK conforms to **contract 1.63**: CONTRACT.md §1–§13 and §12.7, §14, §15, §17, §19,
24
+ §20, §21, §22, §23, §24, §25, §26, §27 (with §27.6.2), §28, §28.12, §29, §30, §31, §32, §33 and §36,
25
+ with §32.7 and §33.2 signed (including §6.1 mTLS client certificates, the
26
26
  §10.1 minimum local-verification set, the §12 OIDC/SSO relying-party helpers, and the §13
27
- `verifyWebhook` signature verifier). §12 is implemented in full at its 1.38 shape: all
27
+ `verifyWebhook` signature verifier). Manifest pruning: not offered in any namespace (§27.10). §12 is implemented in full at its 1.38 shape: all
28
28
  **thirteen** operations, including the four public "Sign in with X" entry points.
29
29
 
30
+ ### Contract 1.63 — the 1.1.1 release (§34.7)
31
+
32
+ | Item | Rule | What this SDK does |
33
+ |---|---|---|
34
+ | (a) no session cookie, no CSRF header on `/oauth2/*` | §6.1 rule 11, §12.1 rule 3, §14.6 | Every `/oauth2/*` request goes through the jar-free agent pair and carries no `X-CSRF-Token`, whether or not a device credential is adopted (a path-prefix match: the federation `oauth2/start`/`callback` routes are session endpoints and are unaffected). |
35
+ | (ab) an unknown open-enum value on an unstated manifest member | §27.6.2 item 4 | `plan` raises a `ValidationError` naming the member and the value, before any write; stating the member resolves it. |
36
+ | (ac) `termination_action` has no "none" in a manifest | §27.6.2 item 4 | A stated `terminationAction: null` is refused at `plan` with zero wire calls. |
37
+ | (c) the AMQP producer's local refusal | §8 (MAY) | Not applicable: this SDK ships no helper that builds or signs an `AuditEventMessage`. |
38
+
39
+ ### Contract 1.62 — the 1.1.0 release (§34.6)
40
+
41
+ Contract 1.62 accompanies the 1.1.0 platform release; this SDK's release of it is **1.1.0**
42
+ (release 1.0.1 was never tagged, so contract 1.61 below ships in the same release). Every item of
43
+ §34.6 that names TypeScript, and what this SDK does:
44
+
45
+ | Item | Rule | What this SDK does |
46
+ |---|---|---|
47
+ | (l) the `network` namespace | §36 | `client.network`: twelve operations (202 in 29 namespaces in all) — `listSegments`/`listSegmentsAll`, `createSegment`, `getSegment`, `replaceSegment`, `deleteSegment(id, version)`, `listProfiles`/`listProfilesAll`, `createProfile`, `getProfile`, `replaceProfile`, `deleteProfile(segmentId, version)`, `getPolicy`, `replacePolicy`. Every write carries the version you read, exactly as given, and is never retried; a `409` is a `ConflictError` whose `reasonCode` is the body's `reason_code`; a `403` is an `AuthzError` carrying `action` and `resourceId`. The decision route `POST /network/decide` is not SDK work and has no method. |
48
+ | (n), (u), (v), (w) `network` in a manifest | §27.6.2 | `ManagementManifest.network` — `policy`, `segments[]` (key: site + kind + name, `kind` the wire spelling `access`/`quarantine`), `profiles[]` (key: its segment). Ordered policy, segments, profiles; drift judged on the read (a clamped timeout, `filterIds` as a set); duplicate natural keys and a repeated Filter-Id refused at `plan` with zero wire calls; `Update`s are version-conditional full replacements; a `409` stops the apply and `failure(report).reasonCode` names it. **No pruning**: like every namespace here, `network` is never deleted from. |
49
+ | (e) the change-taking form | §32.2 | `ssfStreamInputWith(stream, changes)` sends `events_requested` and `expected_updated_at` as read and cuts `events_requested` to a lowered `events_allowed`. `ssfStreamInputFrom` stays, and its documentation names the caller's duty. |
50
+ | (f) an assigned `null` is "none" | §27.11 rule 5, §32.2 | `user_id` on `certificates.generate`/`signCsr` and `expected_updated_at` on `ssf` and `scimTargets` writes: a `null` is dropped from the body, never sent. |
51
+ | (g) `expected_updated_at` is the server's string | §32.2 | Already held: `SsfStream.updated_at` is the response's own string and both converters send it unchanged. |
52
+ | (h) the three meanings at the call site | §32.2 | The TSDoc of `ssf.updateStream` states them. |
53
+ | (i) the request `user_id` is an untyped string | §27.11 rule 5 | Already held: `user_id?: string \| null` on both requests; the response `Certificate.user_id` stays as it was. |
54
+ | (m), (t) the device grant authenticates its client | §14.1 rule 2 | `deviceAuthorize` and each `devicePoll` send a configured `clientSecret` as `client_secret` in the form body (never `Authorization: Basic`) and an mTLS client presents its certificate; a public client sends none and is not refused; the poll sends `client_id`; a `401 invalid_client` is an `OAuthProtocolError`, made once, outside the §9 refresh guard. `private_key_jwt` client authentication and DPoP proof generation are not implemented by this SDK. |
55
+ | (a)–(d), (k), (p)–(s) | | Informative or no SDK work: nothing to do (`CibaPendingList` stays unmodelled). |
56
+
57
+ **SemVer.** A contract record may add a member or widen a type in a **minor** release; a removal
58
+ waits for **2.0.0**. 1.1.0 is a minor release: the one source-level break it records (the manifest
59
+ `Target` union gains three members) is of the additive kind, and it is named in the CHANGELOG.
60
+
61
+ ### Contract 1.61 — the 1.0.1 fields (§34.5), released in 1.1.0
62
+
63
+ Contract 1.61 is additive and clarifying: no route, no operation, one new optional member on
64
+ each of three models, and rules about what a read-modify-write sends. What changed here:
65
+
66
+ | Row | Rule | What this SDK does |
67
+ |---|---|---|
68
+ | `Certificate.user_id` | §27.11 rule 5 | `user_id?: string \| null` on `Certificate` and `GeneratedCertificate`: a UUID, `null` and an absent member all decode, the last two meaning "no account named"; never coalesced to a nil UUID or taken from `metadata`. On `CreateCertificateRequest` and `SignCertificateCsrRequest` it is sent exactly as given when you set it and the key is absent when you do not; the SDK does not judge the value (the server answers `400`). |
69
+ | `SsfStreamInput.expected_updated_at` | §32.2, §32.3 rule 4 | Optional; sent exactly as the stream's `updated_at` was read (not re-formatted) and absent when unset. `ssfStreamInputFrom` fills it with the read's `updated_at`, so a stream written since (the receiver's pause or narrowing included) answers `409` (`ConflictError`, never retried). |
70
+ | `events_requested` on update | §32.2 | Absent resets the stream to every allowed event, `[]` is stored as the receiver's "none", a list is stored as given. `ssfStreamInputFrom` always sends the list it read, `[]` as `[]`; if you lower `events_allowed` yourself, cut `events_requested` to it. |
71
+ | `CibaPendingList.total_pending`, `truncated` | §33.3 rule 16 | Not modelled: the type belongs to the console's `GET /api/v1/ciba/requests` route, which no registry operation returns and no SDK drives. |
72
+
30
73
  ### Contract 1.60 — the answers to #588 and the release wave (§34.4)
31
74
 
32
75
  Contract 1.60 changes no route; it answers the questions the 1.59 ports raised (§34.4
@@ -73,7 +116,7 @@ throws the failure (the first form's outcome).
73
116
  | §28.12 RFC 7592 client configuration (1.53) | `readClientRegistration`, `updateClientRegistration`, `deleteClientRegistration`, `ClientRegistration` | `AxiamClient` (see [below](#rfc-7592-client-configuration-contract-153-2812)) |
74
117
  | §30 directory configuration (1.54) | the `directory` namespace, explicit-`null` sparse update, `setDirectoryConfigFrom` | `client.directory` |
75
118
  | §29 SAML service-provider registration (1.55) | the `saml` namespace, `parseSpMetadataFromUrl` / `FromXml`, `samlServiceProviderInputFrom` | `client.saml` |
76
- | §32 SSF stream registration (1.56) | the `ssf` namespace, `ssfStreamInputFrom` | `client.ssf` |
119
+ | §32 SSF stream registration (1.56) | the `ssf` namespace, `ssfStreamInputFrom`, `ssfStreamInputWith` (1.62) | `client.ssf` |
77
120
  | §32.7 SSF receiver helper (1.56) | `SsfReceiver.verifySet` / `.poll` | `axiam-sdk/node` |
78
121
  | §31 outbound SCIM targets (1.57) | the `scim_targets` namespace, `scimTargetInputFrom` | `client.scimTargets` |
79
122
  | §33 CIBA, and §33.2's signed form (1.58) | `cibaInitiate`, `cibaPoll`, `cibaAwait`, `cibaHandlePing`, `CibaRequestSigner` (PS256, ES256, EdDSA) | `OidcClient` (`axiam-sdk/node`) |
@@ -109,7 +152,7 @@ browser bundle pulls in no Node-only code. §12.2 forbids splitting them across
109
152
  the four operations contract 1.38 adds are on `OidcClient` too, with the nine that preceded
110
153
  them, even though three of them need no Node-only code at all.
111
154
 
112
- §27 is implemented **in full**, both halves: the 190-operation imperative surface *and*
155
+ §27 is implemented **in full**, both halves: the 202-operation imperative surface *and*
113
156
  the §27.6 declarative manifest with its §27.7 `defineManifest` and decorator forms. The
114
157
  contract asks an SDK that ships only one half to say which; this one ships both.
115
158
 
@@ -181,11 +224,13 @@ See [`CONTRACT.md`](./CONTRACT.md) for the full cross-language behavioral contra
181
224
  ## Install
182
225
 
183
226
  ```bash
184
- npm install axiam-sdk@^1.0.0
227
+ npm install axiam-sdk@^1.1.0
185
228
  ```
186
229
 
187
230
  From 1.0.0 the SDK is stable and follows semantic versioning: a breaking change to its
188
- public API waits for the next major version. Releases are published on npm's `latest`
231
+ public API waits for the next major version. A contract record may add a member or widen a
232
+ type in a **minor** release (a new management namespace, an optional request member, a wider
233
+ union); **a removal waits for 2.0.0**. Releases are published on npm's `latest`
189
234
  dist-tag, so a bare `npm install axiam-sdk` resolves the newest one.
190
235
 
191
236
  ## Supported Node versions
@@ -2221,7 +2266,8 @@ contract makes an SDK repeat in their TSDoc. Every write is issued once; reads r
2221
2266
 
2222
2267
  ```ts
2223
2268
  import { Sensitive, setDirectoryConfigFrom, parseSpMetadataFromUrl,
2224
- samlServiceProviderInputFrom, ssfStreamInputFrom, scimTargetInputFrom } from 'axiam-sdk';
2269
+ samlServiceProviderInputFrom, ssfStreamInputFrom, ssfStreamInputWith,
2270
+ scimTargetInputFrom } from 'axiam-sdk';
2225
2271
 
2226
2272
  // §30 directory — a sparse update: undefined keeps, null CLEARS.
2227
2273
  await client.directory.update({ group_filter: null }); // sends {"group_filter":null}
@@ -2242,6 +2288,10 @@ await client.saml.updateServiceProvider(sp.id, { ...body, display_name: 'Payroll
2242
2288
  // §32 SSF and §31 SCIM targets — read-modify-write; the secret is left absent (kept).
2243
2289
  const stream = ssfStreamInputFrom(await client.ssf.getStream(streamId));
2244
2290
  await client.ssf.updateStream(streamId, { ...stream, description: 'rotated' });
2291
+ // Lowering events_allowed? The change-taking form cuts events_requested for you (§32.2, 1.62),
2292
+ // and sends events_requested and expected_updated_at exactly as read.
2293
+ const read = await client.ssf.getStream(streamId);
2294
+ await client.ssf.updateStream(streamId, ssfStreamInputWith(read, { events_allowed: [onlyThisOne] }));
2245
2295
  const target = scimTargetInputFrom(await client.scimTargets.get(targetId));
2246
2296
  await client.scimTargets.update(targetId, { ...target, push_groups: true });
2247
2297
  ```
@@ -2254,6 +2304,13 @@ await client.scimTargets.update(targetId, { ...target, push_groups: true });
2254
2304
  - Enums and the `ScimTargetAuth` / `ScimTargetScope` unions are open: an unknown value
2255
2305
  decodes. An unknown `auth.type` / `scope.type` is refused before it is sent back.
2256
2306
  - `getIdp` is never cached: readiness changes with every credential write.
2307
+ - **`events_requested` has three meanings on an update** (§32.2): absent *resets* the stream
2308
+ to every event of `events_allowed`; `[]` is stored as the receiver's "none"; a list is
2309
+ stored as given and refused (`400`) outside `events_allowed`. `ssfStreamInputFrom` sends the
2310
+ list it read — cutting it to a lowered `events_allowed` is then your duty;
2311
+ `ssfStreamInputWith(stream, changes)` does the cut.
2312
+ - An assigned `null` is "none" for `user_id` (certificate requests) and `expected_updated_at`
2313
+ (`ssf`, `scimTargets`): the key is omitted and `null` is never sent (§27.11 rule 5).
2257
2314
 
2258
2315
  ## SSF receiver (`axiam-sdk/node`, contract 1.56, §32.7)
2259
2316
 
@@ -2492,7 +2549,7 @@ entries are keyed by subject rather than by session.
2492
2549
  Everything above assumes a populated tenant. `login` signs a user in,
2493
2550
  `checkAccess` asks about a resource, `verifyWebhook` checks a delivery signature — and
2494
2551
  none of them can create the user, declare the resource or register the webhook. The
2495
- management surface is the part that can: **190 operations across 28 namespaces**,
2552
+ management surface is the part that can: **202 operations across 29 namespaces**,
2496
2553
  generated from `management-registry.json`, which is the whole server API minus what other
2497
2554
  contract sections own and minus organization creation and deletion (§27.0 keeps those out
2498
2555
  of reach of a client library on purpose).
@@ -2603,7 +2660,7 @@ back.
2603
2660
 
2604
2661
  ### Declarative manifests (§27.6, §27.7)
2605
2662
 
2606
- Calling 190 operations one at a time is rarely what an application wants. What it does at
2663
+ Calling 202 operations one at a time is rarely what an application wants. What it does at
2607
2664
  start-up, in a migration, or in a test fixture is assert a shape:
2608
2665
 
2609
2666
  ```ts
@@ -2641,7 +2698,7 @@ actions that would reconcile the tenant.
2641
2698
  a tenant that also holds hand-made state.
2642
2699
  - **Applying twice converges**: the second plan is all `no-change`. That is what makes
2643
2700
  re-running after a failure safe.
2644
- - **There is no transaction** across 160 independent HTTP endpoints, and `ApplyReport` does
2701
+ - **There is no transaction** across 202 independent HTTP endpoints, and `ApplyReport` does
2645
2702
  not pretend there is. If step 12 of 30 fails, steps 1–11 have happened; the report says
2646
2703
  which, execution stops rather than continuing blindly, and there is no `rollback` —
2647
2704
  because this SDK could not honour one.
@@ -2713,6 +2770,37 @@ under neither: `AxiamResource(spec)(Documents)` is exactly what the `@` syntax d
2713
2770
 
2714
2771
  `@AxiamServiceAccount({ key, name, roles })` (contract 1.51) joins the set the same way.
2715
2772
 
2773
+ #### The `network` namespace in a manifest (§27.6.2, contract 1.62)
2774
+
2775
+ ```ts
2776
+ const desired = defineManifest({
2777
+ network: {
2778
+ policy: { sessionTimeoutMaxSecs: 7200 }, // a singleton: the tenant's cap
2779
+ segments: [
2780
+ { key: 'staff', site: 'hq', kind: 'access', name: 'staff', vlanId: 20, rank: 1,
2781
+ filterIds: ['acl-a', 'acl-b'] },
2782
+ ],
2783
+ profiles: [{ segment: 'staff', sessionTimeoutSecs: 3600, filterId: 'acl-a' }],
2784
+ },
2785
+ });
2786
+ const report = await client.manifest.apply(desired);
2787
+ const failed = failure(report); // failed?.reasonCode: 'stale_version', 'duplicate_vlan', …
2788
+ ```
2789
+
2790
+ - A segment is keyed by **site + kind + name**, `kind` being the wire spelling (`access` or
2791
+ `quarantine`); a profile by **its segment**; the policy is a singleton. The order is policy,
2792
+ segments, profiles. The namespace is human-only: a service-account token meets `401`.
2793
+ - Every stated member is compared with the value **as the read returns it**: a profile's
2794
+ effective (clamped) timeout, and `filterIds` as a *set* (a reorder is `no-change`; a name
2795
+ listed twice is refused by `plan` and `apply` with no request made). A timeout stated above
2796
+ the tenant's cap is an `update` the server refuses with `403`; `apply` reports it and stops.
2797
+ - An `update` is a full, version-conditional replacement built from the read: members you
2798
+ did not state are carried, a stated `null` is left out, and a profile's `segment_version`
2799
+ is the version of this apply's own segment write when there was one. Nothing is retried or
2800
+ re-read: a `409` is that action's failure, and `outcome.reasonCode` names it.
2801
+ - **No pruning.** As for every other namespace here, `apply` never deletes; this SDK has no
2802
+ prune option for `network` either (§27.10).
2803
+
2716
2804
  ### Examples
2717
2805
 
2718
2806
  - [`examples/management-basics.ts`](examples/management-basics.ts) — the imperative surface
@@ -1,7 +1,7 @@
1
1
  import { S as Sensitive } from '../sensitive-BC_s7Rrd.cjs';
2
2
  import { ConsumeMessage } from 'amqplib';
3
3
  import { ConnectionOptions } from 'node:tls';
4
- import { T as TelemetryHook, a as TelemetryDispatcher } from '../telemetry--0DwnNjV.cjs';
4
+ import { TelemetryHook, TelemetryDispatcher } from '../index.cjs';
5
5
 
6
6
  /**
7
7
  * Compute the hex-encoded HMAC-SHA256 of `payloadJson` using `key`.
@@ -1010,4 +1010,5 @@ declare function hookableEvents(): readonly string[];
1010
1010
  */
1011
1011
  declare function reactorHandlers(...groups: readonly ReactorHandlerMap[]): ReactorHandler;
1012
1012
 
1013
- export { type AmqpTlsOptions, type AuditEventMessage, type AuthzRequest, type AuthzResponse, type ConsumeChannel, type ConsumeLogger, type ConsumeOptions, DEFAULT_REACTOR_MAX_IN_FLIGHT, DEFAULT_REACTOR_TIMEOUT_MS, DEFAULT_REPLAY_SKEW_MS, EVENT_REGISTRY, type EventRejection, type FailurePolicy, HMAC_SIGNED_MESSAGE_TYPES, type HmacSignedMessageType, InMemoryNonceStore, MAX_REACTOR_TIMEOUT_MS, MIN_REACTOR_TIMEOUT_MS, type NonceStore, type NotificationEvent, REACTOR_EVENTS, REACTOR_EXCHANGE, REACTOR_FRESHNESS_SKEW_MS, REACTOR_KEY_VERSION, type ReactorChannel, type ReactorConfig, type ReactorDecision, type ReactorDispatchContext, type ReactorEvent, type ReactorEventName, type ReactorEventSpec, type ReactorHandler, type ReactorHandlerMap, type ReactorLogger, type ReactorMode, type ReactorReply, type ReplyDecision, type ReplyInput, type ReplyRejection, Sensitive, type VerifyEventResult, abstain, allow, assertAmqpsUrl, buildAmqpConnectOptions, buildReactorReply, canonicalEventBytes, canonicalReplyBytes, chainedPatch, consume, defaultFailurePolicyFor, deny, dispatchReactorDelivery, eventSpec, hookableEvents, isFresh, mutate, patchFieldAllowed, reactorHandlers, reactorQueueName, reactorReplySignatureValid, reactorRoutingKey, reactorServe, requireStepUp, signPayload, signReactorReply, signingKeyFingerprint, specForEvent, toChronoRfc3339, verifyAndDispatch, verifyEvent, verifyPayload };
1013
+ export { DEFAULT_REACTOR_MAX_IN_FLIGHT, DEFAULT_REACTOR_TIMEOUT_MS, DEFAULT_REPLAY_SKEW_MS, EVENT_REGISTRY, HMAC_SIGNED_MESSAGE_TYPES, InMemoryNonceStore, MAX_REACTOR_TIMEOUT_MS, MIN_REACTOR_TIMEOUT_MS, REACTOR_EVENTS, REACTOR_EXCHANGE, REACTOR_FRESHNESS_SKEW_MS, REACTOR_KEY_VERSION, Sensitive, abstain, allow, assertAmqpsUrl, buildAmqpConnectOptions, buildReactorReply, canonicalEventBytes, canonicalReplyBytes, chainedPatch, consume, defaultFailurePolicyFor, deny, dispatchReactorDelivery, eventSpec, hookableEvents, isFresh, mutate, patchFieldAllowed, reactorHandlers, reactorQueueName, reactorReplySignatureValid, reactorRoutingKey, reactorServe, requireStepUp, signPayload, signReactorReply, signingKeyFingerprint, specForEvent, toChronoRfc3339, verifyAndDispatch, verifyEvent, verifyPayload };
1014
+ export type { AmqpTlsOptions, AuditEventMessage, AuthzRequest, AuthzResponse, ConsumeChannel, ConsumeLogger, ConsumeOptions, EventRejection, FailurePolicy, HmacSignedMessageType, NonceStore, NotificationEvent, ReactorChannel, ReactorConfig, ReactorDecision, ReactorDispatchContext, ReactorEvent, ReactorEventName, ReactorEventSpec, ReactorHandler, ReactorHandlerMap, ReactorLogger, ReactorMode, ReactorReply, ReplyDecision, ReplyInput, ReplyRejection, VerifyEventResult };
@@ -1,7 +1,7 @@
1
1
  import { S as Sensitive } from '../sensitive-BC_s7Rrd.js';
2
2
  import { ConsumeMessage } from 'amqplib';
3
3
  import { ConnectionOptions } from 'node:tls';
4
- import { T as TelemetryHook, a as TelemetryDispatcher } from '../telemetry--0DwnNjV.js';
4
+ import { TelemetryHook, TelemetryDispatcher } from '../index.js';
5
5
 
6
6
  /**
7
7
  * Compute the hex-encoded HMAC-SHA256 of `payloadJson` using `key`.
@@ -1010,4 +1010,5 @@ declare function hookableEvents(): readonly string[];
1010
1010
  */
1011
1011
  declare function reactorHandlers(...groups: readonly ReactorHandlerMap[]): ReactorHandler;
1012
1012
 
1013
- export { type AmqpTlsOptions, type AuditEventMessage, type AuthzRequest, type AuthzResponse, type ConsumeChannel, type ConsumeLogger, type ConsumeOptions, DEFAULT_REACTOR_MAX_IN_FLIGHT, DEFAULT_REACTOR_TIMEOUT_MS, DEFAULT_REPLAY_SKEW_MS, EVENT_REGISTRY, type EventRejection, type FailurePolicy, HMAC_SIGNED_MESSAGE_TYPES, type HmacSignedMessageType, InMemoryNonceStore, MAX_REACTOR_TIMEOUT_MS, MIN_REACTOR_TIMEOUT_MS, type NonceStore, type NotificationEvent, REACTOR_EVENTS, REACTOR_EXCHANGE, REACTOR_FRESHNESS_SKEW_MS, REACTOR_KEY_VERSION, type ReactorChannel, type ReactorConfig, type ReactorDecision, type ReactorDispatchContext, type ReactorEvent, type ReactorEventName, type ReactorEventSpec, type ReactorHandler, type ReactorHandlerMap, type ReactorLogger, type ReactorMode, type ReactorReply, type ReplyDecision, type ReplyInput, type ReplyRejection, Sensitive, type VerifyEventResult, abstain, allow, assertAmqpsUrl, buildAmqpConnectOptions, buildReactorReply, canonicalEventBytes, canonicalReplyBytes, chainedPatch, consume, defaultFailurePolicyFor, deny, dispatchReactorDelivery, eventSpec, hookableEvents, isFresh, mutate, patchFieldAllowed, reactorHandlers, reactorQueueName, reactorReplySignatureValid, reactorRoutingKey, reactorServe, requireStepUp, signPayload, signReactorReply, signingKeyFingerprint, specForEvent, toChronoRfc3339, verifyAndDispatch, verifyEvent, verifyPayload };
1013
+ export { DEFAULT_REACTOR_MAX_IN_FLIGHT, DEFAULT_REACTOR_TIMEOUT_MS, DEFAULT_REPLAY_SKEW_MS, EVENT_REGISTRY, HMAC_SIGNED_MESSAGE_TYPES, InMemoryNonceStore, MAX_REACTOR_TIMEOUT_MS, MIN_REACTOR_TIMEOUT_MS, REACTOR_EVENTS, REACTOR_EXCHANGE, REACTOR_FRESHNESS_SKEW_MS, REACTOR_KEY_VERSION, Sensitive, abstain, allow, assertAmqpsUrl, buildAmqpConnectOptions, buildReactorReply, canonicalEventBytes, canonicalReplyBytes, chainedPatch, consume, defaultFailurePolicyFor, deny, dispatchReactorDelivery, eventSpec, hookableEvents, isFresh, mutate, patchFieldAllowed, reactorHandlers, reactorQueueName, reactorReplySignatureValid, reactorRoutingKey, reactorServe, requireStepUp, signPayload, signReactorReply, signingKeyFingerprint, specForEvent, toChronoRfc3339, verifyAndDispatch, verifyEvent, verifyPayload };
1014
+ export type { AmqpTlsOptions, AuditEventMessage, AuthzRequest, AuthzResponse, ConsumeChannel, ConsumeLogger, ConsumeOptions, EventRejection, FailurePolicy, HmacSignedMessageType, NonceStore, NotificationEvent, ReactorChannel, ReactorConfig, ReactorDecision, ReactorDispatchContext, ReactorEvent, ReactorEventName, ReactorEventSpec, ReactorHandler, ReactorHandlerMap, ReactorLogger, ReactorMode, ReactorReply, ReplyDecision, ReplyInput, ReplyRejection, VerifyEventResult };
@@ -1,7 +1,7 @@
1
1
  import { S as Sensitive } from './sensitive-BC_s7Rrd.cjs';
2
2
  import { A as AccessCheck, a as AccessDecision } from './types-zXSpiQM-.cjs';
3
- import { V as Verifier, P as PresentedProofs } from './jwks-BR55d7-Z.cjs';
4
- import { R as RevocationFeed } from './revocationFeed-CDoD7Twr.cjs';
3
+ import { V as Verifier, P as PresentedProofs } from './jwks-CTVpOWzI.cjs';
4
+ import { R as RevocationFeed } from './revocationFeed-KQhvMMl8.cjs';
5
5
 
6
6
  /**
7
7
  * Minimal session shape the middleware needs: a JWKS verifier (D-11) and the
@@ -323,4 +323,5 @@ declare function evaluateAccess(checker: AuthzChecker, action: string, resourceI
323
323
  /** Local (no server round-trip) role check (§11.2.9): true iff `roles` and the identity's roles share at least one entry. */
324
324
  declare function hasAnyRole(identityRoles: readonly string[], roles: readonly string[]): boolean;
325
325
 
326
- export { type AuthzVerifiableSession as A, type CheckOutcome as C, type ErrorBody as E, type RequireAccessOptions as R, type UmaChallenger as U, type VerifiableSession as V, type AuthzLogger as a, type AxiamIdentity as b, type ResourceSpec as c, type AuthzChecker as d, type ResourceParamRef as e, ResourceResolutionError as f, type ResourceResolver as g, type UmaTicketMinter as h, assertAuthzClient as i, authenticateRequest as j, evaluateAccess as k, fromParam as l, hasAnyRole as m, resolveResourceId as r };
326
+ export { ResourceResolutionError as f, assertAuthzClient as i, authenticateRequest as j, evaluateAccess as k, fromParam as l, hasAnyRole as m, resolveResourceId as r };
327
+ export type { AuthzVerifiableSession as A, CheckOutcome as C, ErrorBody as E, RequireAccessOptions as R, UmaChallenger as U, VerifiableSession as V, AuthzLogger as a, AxiamIdentity as b, ResourceSpec as c, AuthzChecker as d, ResourceParamRef as e, ResourceResolver as g, UmaTicketMinter as h };
@@ -1,7 +1,7 @@
1
1
  import { S as Sensitive } from './sensitive-BC_s7Rrd.js';
2
2
  import { A as AccessCheck, a as AccessDecision } from './types-BOX-6Srv.js';
3
- import { V as Verifier, P as PresentedProofs } from './jwks-BR55d7-Z.js';
4
- import { R as RevocationFeed } from './revocationFeed-CDoD7Twr.js';
3
+ import { V as Verifier, P as PresentedProofs } from './jwks-CTVpOWzI.js';
4
+ import { R as RevocationFeed } from './revocationFeed-KQhvMMl8.js';
5
5
 
6
6
  /**
7
7
  * Minimal session shape the middleware needs: a JWKS verifier (D-11) and the
@@ -323,4 +323,5 @@ declare function evaluateAccess(checker: AuthzChecker, action: string, resourceI
323
323
  /** Local (no server round-trip) role check (§11.2.9): true iff `roles` and the identity's roles share at least one entry. */
324
324
  declare function hasAnyRole(identityRoles: readonly string[], roles: readonly string[]): boolean;
325
325
 
326
- export { type AuthzVerifiableSession as A, type CheckOutcome as C, type ErrorBody as E, type RequireAccessOptions as R, type UmaChallenger as U, type VerifiableSession as V, type AuthzLogger as a, type AxiamIdentity as b, type ResourceSpec as c, type AuthzChecker as d, type ResourceParamRef as e, ResourceResolutionError as f, type ResourceResolver as g, type UmaTicketMinter as h, assertAuthzClient as i, authenticateRequest as j, evaluateAccess as k, fromParam as l, hasAnyRole as m, resolveResourceId as r };
326
+ export { ResourceResolutionError as f, assertAuthzClient as i, authenticateRequest as j, evaluateAccess as k, fromParam as l, hasAnyRole as m, resolveResourceId as r };
327
+ export type { AuthzVerifiableSession as A, CheckOutcome as C, ErrorBody as E, RequireAccessOptions as R, UmaChallenger as U, VerifiableSession as V, AuthzLogger as a, AxiamIdentity as b, ResourceSpec as c, AuthzChecker as d, ResourceParamRef as e, ResourceResolver as g, UmaTicketMinter as h };
@@ -1,10 +1,10 @@
1
- import { A as AxiamClient, W as WebauthnWorkspace, a as WebauthnLoginResult, b as WebauthnCredential } from '../client-yD0eMwHQ.cjs';
2
- import { S as Sensitive } from '../sensitive-BC_s7Rrd.cjs';
3
- import { L as LoginResult } from '../types-zXSpiQM-.cjs';
4
- export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-fLgfOflO.cjs';
5
- import '../session-BmjEMowX.cjs';
1
+ import { AxiamClient, WebauthnWorkspace, WebauthnLoginResult, WebauthnCredential } from '../index.cjs';
2
+ import { Sensitive } from '../amqp/index.cjs';
3
+ import { LoginResult } from '../index.cjs';
4
+ export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-m1LZiaRy.cjs';
5
+ import '../session-C9WlP6DV.cjs';
6
6
  import 'axios';
7
- import '../telemetry--0DwnNjV.cjs';
7
+ import '../telemetry-Du0-zS5f.cjs';
8
8
 
9
9
  /**
10
10
  * Whether this runtime can perform a WebAuthn ceremony at all.
@@ -106,4 +106,5 @@ declare function base64UrlToBytes(value: string): Uint8Array<ArrayBuffer>;
106
106
  /** Encode bytes as unpadded base64url. */
107
107
  declare function bytesToBase64Url(buffer: ArrayBuffer | Uint8Array): string;
108
108
 
109
- export { type AuthenticatorKind, type WebauthnCeremonyOptions, base64UrlToBytes, bytesToBase64Url, isConditionalMediationAvailable, isWebauthnSupported, webauthnDiscoverableLogin, webauthnLogin, webauthnRegister, webauthnSetupRegister };
109
+ export { base64UrlToBytes, bytesToBase64Url, isConditionalMediationAvailable, isWebauthnSupported, webauthnDiscoverableLogin, webauthnLogin, webauthnRegister, webauthnSetupRegister };
110
+ export type { AuthenticatorKind, WebauthnCeremonyOptions };
@@ -1,10 +1,10 @@
1
- import { A as AxiamClient, W as WebauthnWorkspace, a as WebauthnLoginResult, b as WebauthnCredential } from '../client-0WJkblDE.js';
2
- import { S as Sensitive } from '../sensitive-BC_s7Rrd.js';
3
- import { L as LoginResult } from '../types-BOX-6Srv.js';
4
- export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-fLgfOflO.js';
5
- import '../session-CeG6P9GO.js';
1
+ import { AxiamClient, WebauthnWorkspace, WebauthnLoginResult, WebauthnCredential } from '../index.js';
2
+ import { Sensitive } from '../amqp/index.js';
3
+ import { LoginResult } from '../index.js';
4
+ export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-m1LZiaRy.js';
5
+ import '../session-BbPFTpMZ.js';
6
6
  import 'axios';
7
- import '../telemetry--0DwnNjV.js';
7
+ import '../telemetry-Du0-zS5f.js';
8
8
 
9
9
  /**
10
10
  * Whether this runtime can perform a WebAuthn ceremony at all.
@@ -106,4 +106,5 @@ declare function base64UrlToBytes(value: string): Uint8Array<ArrayBuffer>;
106
106
  /** Encode bytes as unpadded base64url. */
107
107
  declare function bytesToBase64Url(buffer: ArrayBuffer | Uint8Array): string;
108
108
 
109
- export { type AuthenticatorKind, type WebauthnCeremonyOptions, base64UrlToBytes, bytesToBase64Url, isConditionalMediationAvailable, isWebauthnSupported, webauthnDiscoverableLogin, webauthnLogin, webauthnRegister, webauthnSetupRegister };
109
+ export { base64UrlToBytes, bytesToBase64Url, isConditionalMediationAvailable, isWebauthnSupported, webauthnDiscoverableLogin, webauthnLogin, webauthnRegister, webauthnSetupRegister };
110
+ export type { AuthenticatorKind, WebauthnCeremonyOptions };