@rekey.dev/node 2.0.0-rc.3 → 2.0.0-rc.4
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 +66 -9
- package/dist/index.d.ts +211 -30
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +334 -86
- package/dist/index.js.map +1 -1
- package/package.json +7 -4
package/README.md
CHANGED
|
@@ -135,10 +135,10 @@ if (!r.emailSent && r.resetToken) {
|
|
|
135
135
|
### `rekey.billing`
|
|
136
136
|
| Method | Description |
|
|
137
137
|
| --- | --- |
|
|
138
|
-
| `getPlans()` | List the Application's active plans (public — render pricing pages). |
|
|
139
|
-
| `getSubscription(accessToken)` | The user's active subscription, or `null`. |
|
|
138
|
+
| `getPlans(page?)` | List the Application's active plans (public — render pricing pages). Returns `{items, page}`. |
|
|
139
|
+
| `getSubscription(accessToken, { organizationId?, includeEnded? })` | The user's active subscription, or `null`. `includeEnded: true` falls back to their most recent CANCELED/EXPIRED subscription **only when the answer would otherwise be null** — so a billing page can say what a former subscriber was on and when it ended, instead of showing them the same blank state as somebody who never subscribed. It never replaces a live subscription; leave it off for entitlement checks. |
|
|
140
140
|
| `createCheckout(accessToken, { planSlug, successUrl, cancelUrl, couponCode?, organizationId? })` | Start hosted checkout; returns the redirect URL + a PENDING subscription. Activation happens via the provider webhook. |
|
|
141
|
-
| `cancelSubscription(accessToken, { atPeriodEnd?, organizationId? })` | Cancel the user's subscription. Defaults to **at period end** — the row stays ACTIVE with `cancelAt` set until the
|
|
141
|
+
| `cancelSubscription(accessToken, { atPeriodEnd?, organizationId? })` | Cancel the user's subscription. Defaults to **at period end** — the row stays ACTIVE with `cancelAt` set until the day arrives, so read `cancelAt`, not `status`. Pass `atPeriodEnd: false` to end it immediately. The default is a *request*: a PAST_DUE subscription, a PENDING checkout, or an ACTIVE row with no known period end is canceled on the spot regardless. Ask `cancelsAtPeriodEnd(sub)` (exported from this package) before showing a confirmation, so you promise the outcome the caller will actually get. |
|
|
142
142
|
| `validateCoupon(accessToken, { code, planSlug })` | Price-check a coupon without applying it. |
|
|
143
143
|
| `getProviders(country?)` | The geo-routed list of enabled billing providers. |
|
|
144
144
|
| `getEntitlements(accessToken, { organizationId? })` | Resolve feature flags + limits + live credit balance. **Gate your app on this.** Cache it with a ~5-min TTL / stale-while-revalidate and bust on checkout success — see ["Caching entitlements" in docs/billing.md](https://github.com/rekey-dev/rekey/blob/main/docs/billing.md#caching-entitlements). |
|
|
@@ -164,7 +164,7 @@ if (!r.emailSent && r.resetToken) {
|
|
|
164
164
|
| --- | --- |
|
|
165
165
|
| `getBalance(subject)` | Spendable balance for `{ endUserId }` or `{ organizationId }`. |
|
|
166
166
|
| `consume(subject & { amount, idempotencyKey? })` | Idempotent drawdown. Throws `CREDITS_INSUFFICIENT` (402) when too low. |
|
|
167
|
-
| `listLedger(subject, limit?, offset?)` | Ledger entries, newest first (default 50, max 200). |
|
|
167
|
+
| `listLedger(subject, limit?, offset?)` | Ledger entries, newest first (default 50, max 200). Returns `{items, page}`. |
|
|
168
168
|
|
|
169
169
|
#### `idempotencyKey` scoping & retry semantics
|
|
170
170
|
|
|
@@ -200,26 +200,43 @@ Retry semantics: a repeat with the same key (timeout retry, queue redelivery, do
|
|
|
200
200
|
| Export | Description |
|
|
201
201
|
| --- | --- |
|
|
202
202
|
| `verifyWebhookSignature({ header, payload, secret, toleranceSeconds? })` | Verify the HMAC on a webhook **Rekey sends to your app** (user-lifecycle + billing events) against the **raw body bytes** + the `X-Rekey-Signature` header. Not for Stripe/PayPal webhooks — those go to Rekey, never to you (see [docs/billing.md](https://github.com/rekey-dev/rekey/blob/main/docs/billing.md)). |
|
|
203
|
-
| `verifyAccessToken(token, { jwksUrl \| jwks })` | Verify an end-user access token **offline** (no API round-trip) against your deployment's `GET /.well-known/jwks.json`. RS256 only — the Application must opt in via `authConfig.tokenAlg: "RS256"`; default HS256 tokens still need `auth.getCurrentUser`. Fetches + caches the JWKS for 5 minutes, checks `kid`/signature/`exp`/`typ`, and returns the claims (`sub`, `applicationId`, `oid?`, …).
|
|
203
|
+
| `verifyAccessToken(token, { applicationId, jwksUrl \| jwks })` | Verify an end-user access token **offline** (no API round-trip) against your deployment's `GET /.well-known/jwks.json`. RS256 only — the Application must opt in via `authConfig.tokenAlg: "RS256"`; default HS256 tokens still need `auth.getCurrentUser`. Fetches + caches the JWKS for 5 minutes, checks `kid`/signature/`exp`/`typ`, and returns the claims (`sub`, `applicationId`, `oid?`, …). **`applicationId` is required** — the RS256 keypair is deployment-wide, so without it a token minted for any other Application on the same deployment would verify here. (The HS256 default is unaffected: its key is derived per Application.) See [docs/jwks.md](https://github.com/rekey-dev/rekey/blob/main/docs/jwks.md). |
|
|
204
204
|
| `WEBHOOK_EVENTS` / `KNOWN_WEBHOOK_EVENTS` / `isKnownWebhookEvent` | The full outbound-event registry — `{ name, description }` pairs (and just the names) for the 17 events Rekey can send: `user.created/updated/deleted/erased`, `session.revoked`, `mfa.enabled/disabled`, `password.changed`, `email.verified`, `subscription.activated/canceled/past_due`, `payment.succeeded/failed`, `dunning.case_opened/case_recovered/case_exhausted`. Mirrors the API exactly; use it for event pickers / autocompleting an endpoint's `events` array rather than hardcoding this list. See [docs/webhooks.md](https://github.com/rekey-dev/rekey/blob/main/docs/webhooks.md). |
|
|
205
205
|
| `WebhookEventType` / `WebhookEventEnvelope<TData>` | Types for the event-name union and the delivery envelope (`{ eventId, occurredAt, type, applicationId, data }`). Dedupe on `eventId` — retries reuse it. |
|
|
206
206
|
| `RekeyError` | The canonical error class — `instanceof`-consistent across SDK packages. |
|
|
207
207
|
|
|
208
208
|
### Pagination
|
|
209
209
|
|
|
210
|
-
|
|
210
|
+
Every list method resolves to the same envelope:
|
|
211
|
+
|
|
212
|
+
```ts
|
|
213
|
+
const { items, page } = await rekey.billing.getPlans();
|
|
214
|
+
// page → { total: 80, limit: 50, offset: 0, hasMore: true }
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
`page.total` is the count of matching rows ignoring `limit`/`offset`, so you can
|
|
218
|
+
tell a complete list from a window without over-fetching. **This is a breaking
|
|
219
|
+
change in 2.0.0-rc.3** — these methods used to resolve to a bare array, which
|
|
220
|
+
could not report that it had been truncated.
|
|
221
|
+
|
|
222
|
+
Request pagination is `{ limit, offset }` everywhere. Per-endpoint windows
|
|
223
|
+
(server-enforced — a larger `limit` is clamped or rejected):
|
|
211
224
|
|
|
212
225
|
| Method | Default `limit` | Max `limit` |
|
|
213
226
|
| --- | --- | --- |
|
|
214
227
|
| `organizations.listMine(accessToken, page?)` | 50 | 100 |
|
|
215
228
|
| `organizations.listMembers(accessToken, orgId, page?)` | 50 | 100 |
|
|
216
229
|
| `credits.listLedger(subject, limit?, offset?)` | 50 | 200 |
|
|
217
|
-
| `auth.listSessions
|
|
218
|
-
| `
|
|
230
|
+
| `auth.listSessions(accessToken, page?)` | 50 | 100 |
|
|
231
|
+
| `auth.listPasskeys(accessToken, page?)` | 50 | 100 |
|
|
232
|
+
| `billing.getPlans(page?)` | 50 | 100 |
|
|
233
|
+
| `auth.listOAuthIdentities` | — (bare array; one row per provider the user linked, bounded by the Application's provider list) | — |
|
|
219
234
|
|
|
220
235
|
## Errors
|
|
221
236
|
|
|
222
|
-
Every failure is a `RekeyError` with `code`, `message`, and usually a concrete `fix` (plus optional `docs`, `statusCode`, `requestId`). **Read `error.fix` first.**
|
|
237
|
+
Every failure is a `RekeyError` with `code`, `message`, and usually a concrete `fix` (plus optional `docs`, `statusCode`, `requestId`, `retryAfterSeconds`). **Read `error.fix` first.**
|
|
238
|
+
|
|
239
|
+
That includes failures where no server answered. A refused connection, a DNS failure or an expired deadline is a `RekeyError` too — one `catch` covers everything:
|
|
223
240
|
|
|
224
241
|
```ts
|
|
225
242
|
import { RekeyError } from '@rekey.dev/node';
|
|
@@ -232,6 +249,46 @@ try {
|
|
|
232
249
|
}
|
|
233
250
|
```
|
|
234
251
|
|
|
252
|
+
Transport codes, and what each one asks you to do:
|
|
253
|
+
|
|
254
|
+
| `code` | Meaning | What to do |
|
|
255
|
+
| --- | --- | --- |
|
|
256
|
+
| `REQUEST_TIMEOUT` | The deadline expired before a response. | Retry, or raise `timeoutMs`. |
|
|
257
|
+
| `NETWORK_ERROR` | The request never reached a server (refused, DNS, TLS). | Check `apiUrl` and reachability. `error.cause` has the original. |
|
|
258
|
+
| `REQUEST_ABORTED` | An `AbortSignal` you passed fired. | Your own cancellation — usually swallow it. |
|
|
259
|
+
| `RATE_LIMITED` | Too many requests. | Wait `error.retryAfterSeconds`, then retry. |
|
|
260
|
+
|
|
261
|
+
## Timeouts and cancellation
|
|
262
|
+
|
|
263
|
+
Every request carries a **10-second deadline** by default — the same one the Rekey API uses for its own outbound webhooks. Without it the effective timeout is undici's `headersTimeout`, five minutes, which is long enough for one unreachable deployment to pin a request handler.
|
|
264
|
+
|
|
265
|
+
```ts
|
|
266
|
+
// Client-wide.
|
|
267
|
+
const rekey = new Rekey({ apiUrl, secretKey, timeoutMs: 5_000 });
|
|
268
|
+
|
|
269
|
+
// One call. `with()` returns a cheap scoped clone; it works on every method.
|
|
270
|
+
const plans = await rekey.with({ timeoutMs: 2_000 }).billing.getPlans();
|
|
271
|
+
|
|
272
|
+
// Tie Rekey calls to an inbound request's lifetime.
|
|
273
|
+
app.get('/me', async (req, res) => {
|
|
274
|
+
const scoped = rekey.with({ signal: AbortSignal.any([req.signal]) });
|
|
275
|
+
res.json(await scoped.auth.getCurrentUser(token));
|
|
276
|
+
});
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
Pass `timeoutMs: 0` to opt out. `verifyAccessToken` takes its own `timeoutMs` / `signal` for the JWKS fetch.
|
|
280
|
+
|
|
281
|
+
## Calling an endpoint the SDK does not wrap
|
|
282
|
+
|
|
283
|
+
`rekey.request()` is a supported escape hatch — you keep the auth header, the `{ success, data }` unwrapping, the `RekeyError` mapping and the deadline:
|
|
284
|
+
|
|
285
|
+
```ts
|
|
286
|
+
const seats = await rekey.request<{ used: number }>('GET', '/api/v1/seats');
|
|
287
|
+
await rekey.request('POST', '/api/v1/seats', { body: { count: 5 }, timeoutMs: 30_000 });
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
Prefer a namespace method wherever one exists — those carry the endpoint's real types.
|
|
291
|
+
|
|
235
292
|
## Gotchas
|
|
236
293
|
|
|
237
294
|
- **Entitlements are resolved server-side.** Never gate features from client state — always read `rekey.billing.getEntitlements(...)` on the server.
|
package/dist/index.d.ts
CHANGED
|
@@ -19,9 +19,19 @@
|
|
|
19
19
|
* console.log(`Connected to "${me.name}" (${me.slug})`);
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
import type { ApplicationDto, AuthResultDto, JwksDto, ChangePasswordRequest, CheckoutResultDto, ConsumeCreditsRequest, ConsumeCreditsResultDto, CreateCheckoutRequest, CreditBalanceDto, CreditLedgerEntryDto, EndUserDto, ForgotPasswordRequest, ForgotPasswordResultDto, LicenseVerifyResultDto, MfaVerifyRequest, OAuthAuthServerMetadata, OAuthIntrospectionResponse, OrganizationDto, OrganizationInvitationDto, OrganizationMemberDto, OrganizationWithRoleDto, PlanDto, ProvidersListDto, ResetPasswordRequest, SignInOutcomeDto, SignInRequest, SignUpRequest, SubscriptionDto, UsageAggregateDto, UsageRecordDto, ValidateCouponRequest, ValidateCouponResultDto } from '@rekey.dev/shared-types';
|
|
23
|
-
import { RekeyError } from '@rekey.dev/shared-types';
|
|
22
|
+
import type { ApplicationDto, AuthResultDto, ListPage, Paged, JwksDto, ChangePasswordRequest, CheckoutResultDto, ConsumeCreditsRequest, ConsumeCreditsResultDto, CreateCheckoutRequest, CreditBalanceDto, CreditLedgerEntryDto, EndUserDto, ForgotPasswordRequest, ForgotPasswordResultDto, LicenseVerifyResultDto, MfaVerifyRequest, OAuthAuthServerMetadata, OAuthIntrospectionResponse, OrganizationDto, OrganizationInvitationDto, OrganizationMemberDto, OrganizationWithRoleDto, PlanDto, ProvidersListDto, ResetPasswordRequest, SignInOutcomeDto, SignInRequest, SignUpRequest, SubscriptionDto, UsageAggregateDto, UsageRecordDto, ValidateCouponRequest, ValidateCouponResultDto } from '@rekey.dev/shared-types';
|
|
23
|
+
import { RekeyError } from '@rekey.dev/shared-types/error';
|
|
24
24
|
export type { ApplicationDto, EndUserDto, ApiKeyDto, AuthResultDto, MfaChallengeResultDto, MfaVerifyRequest, SignInOutcomeDto, SignInRequest, SignUpRequest, RefreshRequest, ForgotPasswordRequest, ForgotPasswordResultDto, ResetPasswordRequest, ChangePasswordRequest, PlanDto, SubscriptionDto, CreateCheckoutRequest, CheckoutResultDto, CouponDto, ValidateCouponRequest, ValidateCouponResultDto, CouponDiscountTypeValue, PlanIntervalType, PlanKindType, LicenseKindType, CreditReasonType, CreditBalanceDto, CreditLedgerEntryDto, ConsumeCreditsRequest, ConsumeCreditsResultDto, OrganizationDto, OrganizationWithRoleDto, OrganizationMemberDto, OrganizationInvitationDto, OrganizationRole, LicenseDto, LicenseStatusType, LicenseVerifyResultDto, UsageRecordDto, UsageAggregateDto, SubscriptionStatusType, RekeyErrorShape, AuthConfig, BillingConfig, BillingProvider, TokenAlg, JwkRsaPublic, JwksDto, OAuthIntrospectionResponse, OAuthAuthServerMetadata, } from '@rekey.dev/shared-types';
|
|
25
|
+
/**
|
|
26
|
+
* Default per-request deadline, in milliseconds. Matches the timeout the Rekey
|
|
27
|
+
* API itself uses when it POSTs your outbound webhooks.
|
|
28
|
+
*
|
|
29
|
+
* Without a deadline the effective timeout is undici's `headersTimeout` — five
|
|
30
|
+
* minutes — so a single unreachable Rekey deployment can pin one of your
|
|
31
|
+
* request handlers for that long. Ten seconds is long enough for any endpoint
|
|
32
|
+
* this SDK calls and short enough to fail a page instead of hanging it.
|
|
33
|
+
*/
|
|
34
|
+
export declare const DEFAULT_TIMEOUT_MS = 10000;
|
|
25
35
|
/** Configuration for a Rekey client instance. */
|
|
26
36
|
export interface RekeyConfig {
|
|
27
37
|
/** Base URL of the Rekey API. e.g. `https://rekey.example.com` */
|
|
@@ -30,6 +40,43 @@ export interface RekeyConfig {
|
|
|
30
40
|
secretKey: string;
|
|
31
41
|
/** Optional fetch override (test stubs, custom keep-alive agents, etc.). */
|
|
32
42
|
fetch?: typeof fetch;
|
|
43
|
+
/**
|
|
44
|
+
* Deadline for every request this client makes, in milliseconds.
|
|
45
|
+
* Default {@link DEFAULT_TIMEOUT_MS} (10 000). Pass `0` to disable — only do
|
|
46
|
+
* that if something upstream of you already bounds the call.
|
|
47
|
+
*
|
|
48
|
+
* On expiry the promise rejects with a `RekeyError` whose code is
|
|
49
|
+
* `REQUEST_TIMEOUT`. Override per call with `timeoutMs` in the call options.
|
|
50
|
+
*/
|
|
51
|
+
timeoutMs?: number | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Client-wide abort signal — aborting it cancels every in-flight request
|
|
54
|
+
* (server shutdown, request-scoped cancellation). Composed with, not
|
|
55
|
+
* replaced by, any per-call `signal`.
|
|
56
|
+
*/
|
|
57
|
+
signal?: AbortSignal | undefined;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Per-call overrides. Deliberately an options object rather than positional
|
|
61
|
+
* parameters: this is the shape frozen at 2.0.0, and a new knob has to be
|
|
62
|
+
* addable without a new overload.
|
|
63
|
+
*/
|
|
64
|
+
export interface RekeyRequestOptions {
|
|
65
|
+
/** JSON request body. Omit for GET/DELETE — a present body sets `Content-Type`. */
|
|
66
|
+
body?: unknown;
|
|
67
|
+
/** Extra headers, merged over the SDK's own (`Authorization`, `Content-Type`). */
|
|
68
|
+
headers?: Record<string, string> | undefined;
|
|
69
|
+
/** Deadline for this one call, in ms. Overrides the client's. `0` disables. */
|
|
70
|
+
timeoutMs?: number | undefined;
|
|
71
|
+
/** Abort signal for this one call. Composed with the client's signal and the deadline. */
|
|
72
|
+
signal?: AbortSignal | undefined;
|
|
73
|
+
}
|
|
74
|
+
/** The subset of {@link RekeyRequestOptions} every wrapped method accepts. */
|
|
75
|
+
export interface RekeyCallOptions {
|
|
76
|
+
/** Deadline for this one call, in ms. Overrides the client's. `0` disables. */
|
|
77
|
+
timeoutMs?: number | undefined;
|
|
78
|
+
/** Abort signal for this one call. Composed with the client's signal and the deadline. */
|
|
79
|
+
signal?: AbortSignal | undefined;
|
|
33
80
|
}
|
|
34
81
|
export { RekeyError };
|
|
35
82
|
/**
|
|
@@ -50,6 +97,26 @@ export { RekeyError };
|
|
|
50
97
|
*/
|
|
51
98
|
export { WEBHOOK_EVENTS, KNOWN_WEBHOOK_EVENTS, isKnownWebhookEvent } from '@rekey.dev/shared-types';
|
|
52
99
|
export type { WebhookEventType, WebhookEventEnvelope } from '@rekey.dev/shared-types';
|
|
100
|
+
/**
|
|
101
|
+
* Would `cancelSubscription`'s default (`atPeriodEnd: true`) actually leave
|
|
102
|
+
* this subscriber the rest of the period they paid for?
|
|
103
|
+
*
|
|
104
|
+
* Exported because a cancel confirmation has to say which outcome the customer
|
|
105
|
+
* is about to get, and it has to say so BEFORE the call — there is no response
|
|
106
|
+
* to read it off. It is the same function the API decides from, not a
|
|
107
|
+
* description of it, so a UI built on it cannot promise a behaviour the server
|
|
108
|
+
* does not have. See its docblock for the cases that still end immediately.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* ```ts
|
|
112
|
+
* const sub = await rekey.billing.getSubscription(token);
|
|
113
|
+
* const message = sub && cancelsAtPeriodEnd(sub)
|
|
114
|
+
* ? `You keep access until ${sub.currentPeriodEnd}.`
|
|
115
|
+
* : 'Cancelling takes effect straight away.';
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
118
|
+
export { cancelsAtPeriodEnd } from '@rekey.dev/shared-types';
|
|
119
|
+
export type { CancellationTimingInput } from '@rekey.dev/shared-types';
|
|
53
120
|
/**
|
|
54
121
|
* Top-level Rekey client. Auth and billing live as namespaces
|
|
55
122
|
* (`rekey.applications`, `rekey.auth`, `rekey.billing`) so an agent
|
|
@@ -59,6 +126,9 @@ export declare class Rekey {
|
|
|
59
126
|
private readonly apiUrl;
|
|
60
127
|
private readonly secretKey;
|
|
61
128
|
private readonly fetchImpl;
|
|
129
|
+
private readonly timeoutMs;
|
|
130
|
+
private readonly signal;
|
|
131
|
+
private readonly config;
|
|
62
132
|
/** Operations on the calling Application itself. */
|
|
63
133
|
readonly applications: ApplicationsClient;
|
|
64
134
|
/** Auth operations — sign-in, sign-up, sessions, passkeys, magic-link. */
|
|
@@ -76,15 +146,57 @@ export declare class Rekey {
|
|
|
76
146
|
/** MCP — validate Rekey-issued MCP tokens from your own MCP server. */
|
|
77
147
|
readonly mcp: McpClient;
|
|
78
148
|
constructor(config: RekeyConfig);
|
|
79
|
-
/** @internal */
|
|
80
|
-
request<T>(method: string, path: string, body?: unknown, extraHeaders?: Record<string, string>): Promise<T>;
|
|
81
149
|
/**
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
150
|
+
* A clone of this client with different call options — the per-call knob for
|
|
151
|
+
* every wrapped method.
|
|
152
|
+
*
|
|
153
|
+
* Each namespace method (`billing.getPlans()`, `auth.signIn()`, …) has a
|
|
154
|
+
* fixed signature, so scoping one call is done by scoping the client rather
|
|
155
|
+
* than by threading an options argument through sixty-odd methods:
|
|
156
|
+
*
|
|
157
|
+
* @example Give one call a tighter deadline
|
|
158
|
+
* ```ts
|
|
159
|
+
* const plans = await rekey.with({ timeoutMs: 2_000 }).billing.getPlans();
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
162
|
+
* @example Tie every Rekey call to an inbound request's lifetime
|
|
163
|
+
* ```ts
|
|
164
|
+
* app.get('/me', async (req, res) => {
|
|
165
|
+
* const scoped = rekey.with({ signal: AbortSignal.any([req.signal]) });
|
|
166
|
+
* res.json(await scoped.auth.getCurrentUser(token));
|
|
167
|
+
* });
|
|
168
|
+
* ```
|
|
169
|
+
*
|
|
170
|
+
* Cheap — it rebuilds the namespace objects, holds no connections, and
|
|
171
|
+
* shares the same `fetch`.
|
|
172
|
+
*/
|
|
173
|
+
with(options: RekeyCallOptions): Rekey;
|
|
174
|
+
/**
|
|
175
|
+
* Call a Rekey endpoint this SDK does not wrap yet.
|
|
176
|
+
*
|
|
177
|
+
* This is a **supported** escape hatch, not an internal: when the API grows a
|
|
178
|
+
* route before the SDK does, use this instead of hand-rolling `fetch` — you
|
|
179
|
+
* keep the auth header, the `{ success, data }` unwrapping, the `RekeyError`
|
|
180
|
+
* mapping (including transport failures) and the deadline. It takes an
|
|
181
|
+
* options object precisely so a future knob does not need a new overload.
|
|
182
|
+
*
|
|
183
|
+
* Prefer a namespace method when one exists; those carry the endpoint's real
|
|
184
|
+
* types, this returns whatever `T` you claim.
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* ```ts
|
|
188
|
+
* const seats = await rekey.request<{ used: number }>('GET', '/api/v1/seats');
|
|
189
|
+
*
|
|
190
|
+
* await rekey.request('POST', '/api/v1/seats', {
|
|
191
|
+
* body: { count: 5 },
|
|
192
|
+
* timeoutMs: 30_000,
|
|
193
|
+
* });
|
|
194
|
+
* ```
|
|
195
|
+
*
|
|
196
|
+
* @throws {RekeyError} the server's error envelope, or `REQUEST_TIMEOUT` /
|
|
197
|
+
* `REQUEST_ABORTED` / `NETWORK_ERROR` when the request never got an answer.
|
|
86
198
|
*/
|
|
87
|
-
|
|
199
|
+
request<T>(method: string, path: string, options?: RekeyRequestOptions): Promise<T>;
|
|
88
200
|
}
|
|
89
201
|
/**
|
|
90
202
|
* MCP helpers for customers running their OWN MCP server behind Rekey auth.
|
|
@@ -251,8 +363,13 @@ declare class AuthClient {
|
|
|
251
363
|
credentialId: string;
|
|
252
364
|
deviceName: string | null;
|
|
253
365
|
}>;
|
|
254
|
-
/**
|
|
255
|
-
|
|
366
|
+
/**
|
|
367
|
+
* List the user's registered passkeys, newest first.
|
|
368
|
+
*
|
|
369
|
+
* Returns `{items, page}` — `page.total` is the number of passkeys the user
|
|
370
|
+
* has, independent of the window served.
|
|
371
|
+
*/
|
|
372
|
+
listPasskeys(accessToken: string, page?: ListPage): Promise<Paged<{
|
|
256
373
|
id: string;
|
|
257
374
|
credentialId: string;
|
|
258
375
|
deviceName: string | null;
|
|
@@ -441,7 +558,7 @@ declare class AuthClient {
|
|
|
441
558
|
* first. Each carries the User-Agent + IP captured at issue time and an
|
|
442
559
|
* `id` you can pass to `revokeSession(...)`.
|
|
443
560
|
*/
|
|
444
|
-
listSessions(accessToken: string): Promise<
|
|
561
|
+
listSessions(accessToken: string, page?: ListPage): Promise<Paged<{
|
|
445
562
|
id: string;
|
|
446
563
|
createdAt: string;
|
|
447
564
|
expiresAt: string;
|
|
@@ -525,12 +642,16 @@ declare class AuthClient {
|
|
|
525
642
|
unlinked: boolean;
|
|
526
643
|
}>;
|
|
527
644
|
}
|
|
528
|
-
/**
|
|
529
|
-
*
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
}
|
|
645
|
+
/**
|
|
646
|
+
* Optional offset pagination for list endpoints. The API caps these lists
|
|
647
|
+
* (default 50, max 100); pass `offset` to page beyond the first window.
|
|
648
|
+
*
|
|
649
|
+
* Re-exported from `@rekey.dev/shared-types` so the SDK, the API and the panel
|
|
650
|
+
* all name one shape. Every list method returns {@link Paged}, whose `page`
|
|
651
|
+
* tells you whether there is another window — you no longer have to infer it
|
|
652
|
+
* by asking for one row more than you need.
|
|
653
|
+
*/
|
|
654
|
+
export type { ListPage, PageMeta, Paged } from '@rekey.dev/shared-types';
|
|
534
655
|
declare class OrganizationsClient {
|
|
535
656
|
private readonly client;
|
|
536
657
|
constructor(client: Rekey);
|
|
@@ -546,9 +667,13 @@ declare class OrganizationsClient {
|
|
|
546
667
|
role: 'OWNER';
|
|
547
668
|
};
|
|
548
669
|
}>;
|
|
549
|
-
/**
|
|
550
|
-
*
|
|
551
|
-
|
|
670
|
+
/**
|
|
671
|
+
* List organizations the calling user belongs to, with their role.
|
|
672
|
+
*
|
|
673
|
+
* Paginated (default 50, max 100). Read `page.hasMore` / `page.total` from
|
|
674
|
+
* the result rather than guessing from `items.length`.
|
|
675
|
+
*/
|
|
676
|
+
listMine(accessToken: string, page?: ListPage): Promise<Paged<OrganizationWithRoleDto>>;
|
|
552
677
|
/** Fetch one organization the caller belongs to. */
|
|
553
678
|
get(accessToken: string, organizationId: string): Promise<OrganizationWithRoleDto>;
|
|
554
679
|
/** Update org name / metadata. OWNER + ADMIN only. */
|
|
@@ -556,9 +681,13 @@ declare class OrganizationsClient {
|
|
|
556
681
|
name?: string;
|
|
557
682
|
metadata?: Record<string, unknown>;
|
|
558
683
|
}): Promise<OrganizationDto>;
|
|
559
|
-
/**
|
|
560
|
-
*
|
|
561
|
-
|
|
684
|
+
/**
|
|
685
|
+
* List members of an organization the caller belongs to.
|
|
686
|
+
*
|
|
687
|
+
* Paginated (default 50, max 100). `page.total` is the org's member count,
|
|
688
|
+
* so you do not need a second call to render "3 of 40".
|
|
689
|
+
*/
|
|
690
|
+
listMembers(accessToken: string, organizationId: string, page?: ListPage): Promise<Paged<OrganizationMemberDto>>;
|
|
562
691
|
/**
|
|
563
692
|
* Invite a user. Returns the raw token ONCE — surface via your own
|
|
564
693
|
* email/share channel. OWNER + ADMIN only.
|
|
@@ -727,7 +856,7 @@ declare class CreditsClient {
|
|
|
727
856
|
* through the full append-only history (the ledger grows for the life of a
|
|
728
857
|
* subject); `limit` is capped at 200 server-side.
|
|
729
858
|
*/
|
|
730
|
-
listLedger(subject: CreditSubject, limit?: number, offset?: number): Promise<CreditLedgerEntryDto
|
|
859
|
+
listLedger(subject: CreditSubject, limit?: number, offset?: number): Promise<Paged<CreditLedgerEntryDto>>;
|
|
731
860
|
}
|
|
732
861
|
/** What an end-user (or org) is entitled to right now — from active subs. */
|
|
733
862
|
export interface EntitlementsDto {
|
|
@@ -794,6 +923,28 @@ export interface VerifiedAccessTokenClaims {
|
|
|
794
923
|
exp: number;
|
|
795
924
|
}
|
|
796
925
|
export interface VerifyAccessTokenOptions {
|
|
926
|
+
/**
|
|
927
|
+
* The Application this token must belong to. **Required.**
|
|
928
|
+
*
|
|
929
|
+
* This helper verifies RS256 tokens against the deployment's JWKS, and the
|
|
930
|
+
* RS256 keypair is deployment-wide — `SigningKey` has no `applicationId`
|
|
931
|
+
* column, and `eu_access` tokens carry no `iss`/`aud`. So a token minted for
|
|
932
|
+
* ANY Application on the same deployment is cryptographically valid here.
|
|
933
|
+
* Without this, a multi-app self-host accepts another Application's end-user
|
|
934
|
+
* as its own.
|
|
935
|
+
*
|
|
936
|
+
* (The HS256 default path is not affected: that key is derived per
|
|
937
|
+
* Application as `HMAC-SHA256(JWT_SECRET, applicationId:tokenGeneration)`, so
|
|
938
|
+
* a foreign token fails the signature. This is the RS256 opt-in only — which
|
|
939
|
+
* is exactly the path this function exists for.)
|
|
940
|
+
*
|
|
941
|
+
* Required rather than optional-with-a-warning: a security check nobody is
|
|
942
|
+
* forced to make is one most callers will not make, and the docblock used to
|
|
943
|
+
* tell them to compare `claims.applicationId` afterwards — which made the
|
|
944
|
+
* shortest correct path the insecure one. 2.0.0 is not out yet, so this
|
|
945
|
+
* breaks rc callers rather than a stable contract.
|
|
946
|
+
*/
|
|
947
|
+
applicationId: string;
|
|
797
948
|
/**
|
|
798
949
|
* URL of the deployment's JWKS — `https://<your-rekey>/.well-known/jwks.json`.
|
|
799
950
|
* Fetched lazily and cached in-process for `cacheTtlMs` (default 5 minutes);
|
|
@@ -807,11 +958,19 @@ export interface VerifyAccessTokenOptions {
|
|
|
807
958
|
fetch?: typeof fetch;
|
|
808
959
|
/** JWKS cache lifetime in ms when using `jwksUrl`. Default 300 000 (5 min). */
|
|
809
960
|
cacheTtlMs?: number;
|
|
961
|
+
/**
|
|
962
|
+
* Deadline for the JWKS fetch, in ms. Default {@link DEFAULT_TIMEOUT_MS}
|
|
963
|
+
* (10 000); `0` disables. This one matters more than most: token
|
|
964
|
+
* verification usually sits in a hot request path, and an unreachable JWKS
|
|
965
|
+
* host would otherwise stall it for undici's five-minute header timeout.
|
|
966
|
+
* Pass a pre-fetched `jwks` to skip the network entirely.
|
|
967
|
+
*/
|
|
968
|
+
timeoutMs?: number | undefined;
|
|
969
|
+
/** Abort signal for the JWKS fetch. Composed with the deadline. */
|
|
970
|
+
signal?: AbortSignal | undefined;
|
|
810
971
|
/** Clock override for tests. Returns ms since epoch. */
|
|
811
972
|
now?: () => number;
|
|
812
973
|
}
|
|
813
|
-
/** @internal Test hook — drop cached JWKS responses. */
|
|
814
|
-
export declare function _clearJwksCacheForTests(): void;
|
|
815
974
|
/**
|
|
816
975
|
* Verify an end-user ACCESS token **offline** — no round-trip to the Rekey
|
|
817
976
|
* API. Works only for Applications that opted into RS256 tokens
|
|
@@ -838,12 +997,20 @@ export declare function _clearJwksCacheForTests(): void;
|
|
|
838
997
|
* import { verifyAccessToken } from '@rekey.dev/node';
|
|
839
998
|
*
|
|
840
999
|
* const claims = await verifyAccessToken(req.headers['x-rekey-user-token'], {
|
|
1000
|
+
* applicationId: MY_APP_ID,
|
|
841
1001
|
* jwksUrl: 'https://rekey.example.com/.well-known/jwks.json',
|
|
842
1002
|
* });
|
|
843
|
-
* if (claims.applicationId !== MY_APP_ID) throw new Error('wrong app');
|
|
844
1003
|
* req.userId = claims.sub;
|
|
845
1004
|
* ```
|
|
846
1005
|
*
|
|
1006
|
+
* `applicationId` is required and checked inside this function. The RS256
|
|
1007
|
+
* keypair is deployment-wide and `eu_access` tokens carry no `iss`/`aud`, so
|
|
1008
|
+
* without it a token minted for any other Application on the same deployment
|
|
1009
|
+
* verifies here with a perfectly valid signature. This example used to show
|
|
1010
|
+
* the comparison being done by the caller afterwards, which is precisely why
|
|
1011
|
+
* it moved inside: the shortest correct path should not be the one nobody
|
|
1012
|
+
* takes.
|
|
1013
|
+
*
|
|
847
1014
|
* @throws {RekeyError} `TOKEN_ALG_NOT_RS256` — token is HS256 (app hasn't opted in) or another alg.
|
|
848
1015
|
* @throws {RekeyError} `TOKEN_KID_UNKNOWN` — `kid` not in the JWKS (forged, or key deleted).
|
|
849
1016
|
* @throws {RekeyError} `USER_TOKEN_EXPIRED` — `exp` passed; refresh the session.
|
|
@@ -861,14 +1028,28 @@ declare class BillingClient {
|
|
|
861
1028
|
* `amount` is in the smallest currency unit (cents/paise/sen) — never
|
|
862
1029
|
* a float. Format on display: `${amount / 100} ${currency}`.
|
|
863
1030
|
*/
|
|
864
|
-
getPlans(): Promise<PlanDto
|
|
1031
|
+
getPlans(page?: ListPage): Promise<Paged<PlanDto>>;
|
|
865
1032
|
/**
|
|
866
1033
|
* Fetch the current end-user's active subscription, or `null` if they
|
|
867
1034
|
* have none. Returns the most recent ACTIVE / PENDING / PAST_DUE row.
|
|
868
1035
|
*
|
|
869
1036
|
* Pass the user's access token (the SDK puts it in `X-Rekey-User-Token`).
|
|
1037
|
+
*
|
|
1038
|
+
* `opts.includeEnded` falls back to the most recent CANCELED/EXPIRED
|
|
1039
|
+
* subscription **only when the answer would otherwise be null** — for a
|
|
1040
|
+
* billing page that has to tell a former subscriber what they were on and
|
|
1041
|
+
* when it ended, rather than showing them the same blank state as somebody
|
|
1042
|
+
* who never subscribed. It can never replace a live subscription, so it is
|
|
1043
|
+
* safe to add to an existing call; it is off by default all the same,
|
|
1044
|
+
* because an entitlement check wants the strict question.
|
|
1045
|
+
*
|
|
1046
|
+
* `opts.organizationId` reads an organization's subscription instead of the
|
|
1047
|
+
* user's own on an org-billed app. The caller must be a member.
|
|
870
1048
|
*/
|
|
871
|
-
getSubscription(accessToken: string
|
|
1049
|
+
getSubscription(accessToken: string, opts?: {
|
|
1050
|
+
organizationId?: string;
|
|
1051
|
+
includeEnded?: boolean;
|
|
1052
|
+
}): Promise<SubscriptionDto | null>;
|
|
872
1053
|
/**
|
|
873
1054
|
* Start a hosted-checkout session. Returns the URL to redirect the user
|
|
874
1055
|
* to and the local PENDING Subscription row. Subscription activation
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;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
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,QAAQ,EACR,KAAK,EAEL,OAAO,EACP,qBAAqB,EACrB,iBAAiB,EAEjB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,UAAU,EACV,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,0BAA0B,EAC1B,eAAe,EACf,yBAAyB,EACzB,qBAAqB,EACrB,uBAAuB,EACvB,OAAO,EACP,gBAAgB,EAEhB,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,yBAAyB,CAAC;AAMjC,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE3D,YAAY,EACV,cAAc,EACd,UAAU,EACV,SAAS,EACT,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,EACP,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,SAAS,EACT,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,uBAAuB,EACvB,qBAAqB,EACrB,yBAAyB,EACzB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EACf,UAAU,EACV,aAAa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