@oneaddress/partner-sdk 2.9.0 → 2.11.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 +64 -1
- package/README.md +45 -9
- package/dist/{chunk-PP2TM7HN.mjs → chunk-RU6G6PIM.mjs} +164 -27
- package/dist/{chunk-OKPEOGR5.mjs → chunk-WHVGOWN6.mjs} +208 -14
- package/dist/edge.d.mts +1 -1
- package/dist/edge.d.ts +1 -1
- package/dist/edge.js +285 -40
- package/dist/edge.mjs +12 -2
- package/dist/index.d.mts +215 -15
- package/dist/index.d.ts +215 -15
- package/dist/index.js +393 -40
- package/dist/index.mjs +34 -2
- package/dist/{src-P3LR7F4A.mjs → src-4WJQTYDA.mjs} +13 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -165,6 +165,11 @@ declare const CURRENT_VERSION: "2026.1";
|
|
|
165
165
|
/** All protocol versions this build of the SDK recognises. */
|
|
166
166
|
declare const SUPPORTED_VERSIONS: readonly ["2026.1"];
|
|
167
167
|
|
|
168
|
+
/** A calendar date, `YYYY-MM-DD`. */
|
|
169
|
+
type IsoDate = string;
|
|
170
|
+
/** True for a real calendar date in `YYYY-MM-DD` form. `2026-02-30` is false. */
|
|
171
|
+
declare function isIsoDate(value: unknown): value is IsoDate;
|
|
172
|
+
|
|
168
173
|
/** The most typed aliases a v2 record carries. A longer list is malformed. */
|
|
169
174
|
declare const LOA_MAX_TYPED_ALIASES = 3;
|
|
170
175
|
/** The name normalisation every SDK applies before comparing. See the module notes. */
|
|
@@ -213,6 +218,63 @@ declare function acceptTypedAliases(verifiedName: string, aliases: readonly unkn
|
|
|
213
218
|
declare const LOA_V2_REFUSALS: readonly ["loa_v2_malformed", "loa_v2_signature_invalid", "loa_v2_partner_mismatch", "loa_v2_update_mismatch", "loa_v2_envelope_mismatch", "loa_v2_name_mismatch"];
|
|
214
219
|
type LoaV2Refusal = typeof LOA_V2_REFUSALS[number];
|
|
215
220
|
|
|
221
|
+
/**
|
|
222
|
+
* The verification commitment (3 Nov 2026, new-matter register row of that date).
|
|
223
|
+
*
|
|
224
|
+
* A receiver that decrypts an indexed `address.test` answers
|
|
225
|
+
* `{ verification: true, index, commitment }`, where
|
|
226
|
+
*
|
|
227
|
+
* commitment = lowercase hex HMAC-SHA256(webhook_secret, verificationCommitmentString(...))
|
|
228
|
+
*
|
|
229
|
+
* and the relay builds the same string over the record it fabricated and
|
|
230
|
+
* compares in constant time. The name and address travel only inside the sealed
|
|
231
|
+
* envelope, so nobody can compute the commitment without decrypting; the secret
|
|
232
|
+
* means only the partner's own receiver can answer; the verification id and
|
|
233
|
+
* index stop an earlier answer being replayed.
|
|
234
|
+
*
|
|
235
|
+
* ONE STRING BUILDER, AND IT IS THIS ONE. The 20 Aug 2026 connection
|
|
236
|
+
* verification failed 0 of 5 because the two sides normalised differently (one
|
|
237
|
+
* dropped the country token, the other kept it). So the normalisation is part
|
|
238
|
+
* of the wire contract, defined here once, and every implementation is pinned
|
|
239
|
+
* to `verification_commitment` in `test-vectors.json`: the relay, the TS SDK,
|
|
240
|
+
* the drop-in receiver, conformance and the test receiver import this function,
|
|
241
|
+
* and the Python, Go, Java and C# SDKs reproduce it byte for byte against the
|
|
242
|
+
* same vectors.
|
|
243
|
+
*
|
|
244
|
+
* Inputs are STRUCTURED fields taken from the decrypted envelope, never a
|
|
245
|
+
* formatted one-line address, because a formatter is exactly where two sides
|
|
246
|
+
* drift. Normalisation is deliberately small and ASCII-only so it is identical
|
|
247
|
+
* in every language: a non-string is the empty string; runs of ASCII whitespace
|
|
248
|
+
* (space, tab, LF, VT, FF, CR) become one space; leading and trailing spaces
|
|
249
|
+
* are removed. No case folding and no Unicode normalisation: both sides start
|
|
250
|
+
* from the same decrypted UTF-8 bytes, and either step is a place for two
|
|
251
|
+
* runtimes to disagree.
|
|
252
|
+
*
|
|
253
|
+
* The leading `oa-verify.v1` line keeps this string disjoint from the webhook
|
|
254
|
+
* signing string `${timestamp}.${body}`, whose first character is a digit, so
|
|
255
|
+
* the two HMACs under one secret can never stand in for each other.
|
|
256
|
+
*/
|
|
257
|
+
declare const VERIFICATION_COMMITMENT_VERSION = "oa-verify.v1";
|
|
258
|
+
/** The decrypted fields a commitment covers, read from the session envelope. */
|
|
259
|
+
interface VerificationCommitmentRecord {
|
|
260
|
+
/** `verified_name` from the envelope. */
|
|
261
|
+
name: unknown;
|
|
262
|
+
/** `new_address.street` (the drop-in receiver calls it `line1`). */
|
|
263
|
+
street: unknown;
|
|
264
|
+
suburb: unknown;
|
|
265
|
+
state: unknown;
|
|
266
|
+
postcode: unknown;
|
|
267
|
+
country: unknown;
|
|
268
|
+
}
|
|
269
|
+
/** The per-field normalisation. Part of the wire contract: see the file header. */
|
|
270
|
+
declare function normaliseCommitmentField(value: unknown): string;
|
|
271
|
+
/**
|
|
272
|
+
* The exact string a commitment is the HMAC of. Nine lines joined by `\n`:
|
|
273
|
+
* the version, the verification id, the decimal index, then name, street,
|
|
274
|
+
* suburb, state, postcode and country.
|
|
275
|
+
*/
|
|
276
|
+
declare function verificationCommitmentString(verificationId: string, index: number, record: VerificationCommitmentRecord): string;
|
|
277
|
+
|
|
216
278
|
/** True when a value looks like an email address rather than a person's name. */
|
|
217
279
|
declare function isEmailLike(value: string): boolean;
|
|
218
280
|
declare function namePoolMatches(providedNames: string[], storedName: string): boolean;
|
|
@@ -561,6 +623,74 @@ declare function parsePinnedRegistryRoots(raw: string | undefined | null): {
|
|
|
561
623
|
*/
|
|
562
624
|
declare function checkRegistryHead(opts: RegistryHeadCheckOptions): Promise<RegistryHeadCheckResult>;
|
|
563
625
|
|
|
626
|
+
/**
|
|
627
|
+
* Tells a partner that a newer SDK exists. Reads only, never installs.
|
|
628
|
+
*
|
|
629
|
+
* A receiver built on this SDK holds a decryption key, so it must never
|
|
630
|
+
* update itself: an auto-update is a path from whoever controls the registry
|
|
631
|
+
* to that key. This module asks the public npm registry for one version
|
|
632
|
+
* number, at most once a day, and logs one line when it is behind. Updating
|
|
633
|
+
* stays a change the partner reviews and deploys.
|
|
634
|
+
*
|
|
635
|
+
* What goes out: a GET of a public document, with no partner id, no customer
|
|
636
|
+
* data and no header identifying the installation. A refused connection, a
|
|
637
|
+
* proxy 403 or a timeout is reported as `unknown` and logs nothing.
|
|
638
|
+
* `ONEADDRESS_UPDATE_CHECK=off` turns it off.
|
|
639
|
+
*/
|
|
640
|
+
/** Must equal `version` in this package's package.json. Pinned by test. */
|
|
641
|
+
declare const SDK_VERSION = "2.11.0";
|
|
642
|
+
/** The partner guide's page on updating safely. Behind portal sign-in. */
|
|
643
|
+
declare const UPDATE_GUIDE_URL = "https://partners.oneaddress.io/#updating-safely";
|
|
644
|
+
type UpdateCheckState = 'current' | 'available' | 'unknown' | 'disabled';
|
|
645
|
+
interface UpdateCheckResult {
|
|
646
|
+
state: UpdateCheckState;
|
|
647
|
+
running: string;
|
|
648
|
+
/** Present when the registry answered with a valid version. */
|
|
649
|
+
latest?: string;
|
|
650
|
+
/** When the registry was last asked, ms since epoch. */
|
|
651
|
+
checkedAt?: number;
|
|
652
|
+
}
|
|
653
|
+
/** `off`, `never`, `0` and `false` turn the check off. Anything else leaves it on. */
|
|
654
|
+
declare function updateCheckEnabled(setting: string | undefined): boolean;
|
|
655
|
+
/** Numeric per field: a string compare puts 2.9.0 above 2.10.0. */
|
|
656
|
+
declare function isNewerVersion(latest: string, running: string): boolean;
|
|
657
|
+
/** The one log line. */
|
|
658
|
+
declare function updateAvailableLine(running: string, latest: string): string;
|
|
659
|
+
/**
|
|
660
|
+
* A Prometheus line for a receiver's `/metrics`: 1 when an update is
|
|
661
|
+
* available, 0 otherwise, with the two versions as labels. Both labels have
|
|
662
|
+
* already passed `parseVersion`, so they cannot carry a quote.
|
|
663
|
+
*/
|
|
664
|
+
declare function updateCheckMetric(result: UpdateCheckResult, product?: string): string;
|
|
665
|
+
interface CheckForUpdateOptions {
|
|
666
|
+
running?: string;
|
|
667
|
+
registryUrl?: string;
|
|
668
|
+
fetchImpl?: typeof fetch;
|
|
669
|
+
timeoutMs?: number;
|
|
670
|
+
env?: Record<string, string | undefined>;
|
|
671
|
+
now?: () => number;
|
|
672
|
+
}
|
|
673
|
+
/** One bounded request. Never throws. */
|
|
674
|
+
declare function checkForUpdate(opts?: CheckForUpdateOptions): Promise<UpdateCheckResult>;
|
|
675
|
+
interface StartUpdateCheckOptions extends CheckForUpdateOptions {
|
|
676
|
+
/** Where the one line goes. Defaults to `console.warn`. */
|
|
677
|
+
log?: (line: string) => void;
|
|
678
|
+
/** Called after every check, for a `/ready` field or a metric. */
|
|
679
|
+
onResult?: (result: UpdateCheckResult) => void;
|
|
680
|
+
/** Defaults to 24 hours. Values under an hour are raised to an hour. */
|
|
681
|
+
intervalMs?: number;
|
|
682
|
+
}
|
|
683
|
+
interface UpdateCheckHandle {
|
|
684
|
+
/** The most recent result, `unknown` until the first check finishes. */
|
|
685
|
+
current(): UpdateCheckResult;
|
|
686
|
+
stop(): void;
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* Checks now, then once a day, without holding the process open. The line is
|
|
690
|
+
* logged once per newer version found, not on every check.
|
|
691
|
+
*/
|
|
692
|
+
declare function startUpdateCheck(opts?: StartUpdateCheckOptions): UpdateCheckHandle;
|
|
693
|
+
|
|
564
694
|
/**
|
|
565
695
|
* @oneaddress/partner-sdk
|
|
566
696
|
*
|
|
@@ -651,8 +781,9 @@ declare function checkRegistryHead(opts: RegistryHeadCheckOptions): Promise<Regi
|
|
|
651
781
|
* two apart.
|
|
652
782
|
*
|
|
653
783
|
* If you need to record that something did not apply, `note` on
|
|
654
|
-
* {@link confirmUpdate}
|
|
655
|
-
*
|
|
784
|
+
* {@link confirmUpdate} can carry a short code for it (see
|
|
785
|
+
* {@link ConfirmUpdateOptions.note}), but nothing is driven off it: the status
|
|
786
|
+
* alone decides what happens next.
|
|
656
787
|
*/
|
|
657
788
|
type OneAddressConfirmStatus = 'confirmed' | 'already_current' | 'failed' | 'no_match';
|
|
658
789
|
interface OneAddressAddress {
|
|
@@ -864,6 +995,13 @@ interface OneAddressUpdateEvent {
|
|
|
864
995
|
* is refused with 400 before this callback runs.
|
|
865
996
|
*/
|
|
866
997
|
effective_date?: string;
|
|
998
|
+
/**
|
|
999
|
+
* The product line this customer's account sits under, when you have set up
|
|
1000
|
+
* product lines in the partner portal: route on `product.code`. `null` for a
|
|
1001
|
+
* plain account and on every legacy dispatch. A malformed sealed value is
|
|
1002
|
+
* also `null` (logged as a warning), and the update is still delivered here.
|
|
1003
|
+
*/
|
|
1004
|
+
product?: OneAddressProduct | null;
|
|
867
1005
|
/** Raw decrypted + parsed payload (in case fields are extended) */
|
|
868
1006
|
raw: Record<string, unknown>;
|
|
869
1007
|
}
|
|
@@ -1012,10 +1150,12 @@ interface OneAddressHandlerOptions {
|
|
|
1012
1150
|
* OR a {@link PrivateKeyOperations} delegate for a key held in a KMS or HSM
|
|
1013
1151
|
* that will not export it. The name is kept for compatibility. A delegate
|
|
1014
1152
|
* covers the session-envelope paths (`address.updated`, `contact.updated`,
|
|
1015
|
-
* the test events and `
|
|
1016
|
-
*
|
|
1017
|
-
*
|
|
1018
|
-
*
|
|
1153
|
+
* the test events, `loa_encrypted`, and `customer_encrypted` on
|
|
1154
|
+
* `account.verify` when it arrives in the session shape, which it does for an
|
|
1155
|
+
* RSA-OAEP or X-Wing key); the legacy single-blob paths (`address_encrypted`
|
|
1156
|
+
* on `address.verify`, and `customer_encrypted` in the ECDH shape) need the
|
|
1157
|
+
* raw key and are refused with a named error (500) when a delegate is
|
|
1158
|
+
* supplied.
|
|
1019
1159
|
*
|
|
1020
1160
|
* A PEM that does not import is refused at construction rather than on the
|
|
1021
1161
|
* first delivery, where it surfaces as a 500 and a retry storm.
|
|
@@ -1194,7 +1334,7 @@ interface OneAddressHandlerOptions {
|
|
|
1194
1334
|
reference?: string;
|
|
1195
1335
|
/**
|
|
1196
1336
|
* Sent as the confirm's `note` when `confirm` is set, so a `failed` can say
|
|
1197
|
-
* why.
|
|
1337
|
+
* why. Kept only as a short code, which the consumer sees. NEVER the
|
|
1198
1338
|
* address or any other decrypted detail: see {@link ConfirmUpdateOptions.note}.
|
|
1199
1339
|
*/
|
|
1200
1340
|
note?: string;
|
|
@@ -1563,6 +1703,33 @@ declare function signPullRequest(opts: {
|
|
|
1563
1703
|
* if (!ok) return res.status(401).end();
|
|
1564
1704
|
*/
|
|
1565
1705
|
declare function verifyWithGrace(rawBody: string, timestamp: string, signature: string, currentSecret: string, previousSecret?: string, graceUntil?: string | number): boolean;
|
|
1706
|
+
/**
|
|
1707
|
+
* The secret that verified this request, or null when neither did. Same rule
|
|
1708
|
+
* as {@link verifyWithGrace}, which is a wrapper over it, so the two cannot
|
|
1709
|
+
* disagree about which requests are authentic.
|
|
1710
|
+
*
|
|
1711
|
+
* It exists for the connection-verification commitment: the receiver keys its
|
|
1712
|
+
* answer with the secret the relay SIGNED with, and during a rotation grace
|
|
1713
|
+
* window that may be the previous one. Committing under the current secret
|
|
1714
|
+
* then would turn a correctly decrypted probe into a mismatch.
|
|
1715
|
+
*/
|
|
1716
|
+
declare function matchingWebhookSecret(rawBody: string, timestamp: string, signature: string, currentSecret: string, previousSecret?: string, graceUntil?: string | number): string | null;
|
|
1717
|
+
/**
|
|
1718
|
+
* The connection-verification commitment (3 Nov 2026): lowercase hex
|
|
1719
|
+
* HMAC-SHA256 under the webhook secret of the shared canonical string over the
|
|
1720
|
+
* verification id, the record index and the DECRYPTED name and structured
|
|
1721
|
+
* address. A receiver returns it as `commitment` beside `verification: true`
|
|
1722
|
+
* when it answers an indexed `address.test`, and OneAddress recomputes it over
|
|
1723
|
+
* the record it sent. It cannot be produced without decrypting the envelope,
|
|
1724
|
+
* which is the point: `verification: true` on its own is only a claim.
|
|
1725
|
+
*
|
|
1726
|
+
* `createOneAddressHandler` does this for you when `onTest` is wired. Call it
|
|
1727
|
+
* yourself only if you answer `address.test` without the handler, passing the
|
|
1728
|
+
* secret that verified the request's signature (see {@link matchingWebhookSecret})
|
|
1729
|
+
* and the fields exactly as decrypted: `verified_name`, and `new_address`'s
|
|
1730
|
+
* `street`, `suburb`, `state`, `postcode` and `country`.
|
|
1731
|
+
*/
|
|
1732
|
+
declare function computeVerificationCommitment(secret: string, verificationId: string, index: number, record: VerificationCommitmentRecord): string;
|
|
1566
1733
|
/**
|
|
1567
1734
|
* Decrypt an ECDH P-256 + HKDF-SHA256 + AES-256-GCM encrypted address payload.
|
|
1568
1735
|
*
|
|
@@ -1711,7 +1878,33 @@ interface SessionData {
|
|
|
1711
1878
|
* `effective_date` differs from this one, or where only one is present.
|
|
1712
1879
|
*/
|
|
1713
1880
|
effective_date?: string;
|
|
1881
|
+
/**
|
|
1882
|
+
* The partner product line this account sits under, sealed beside
|
|
1883
|
+
* `account_number`. Route on `code`. Absent for a plain account.
|
|
1884
|
+
* {@link decryptSession} reads it tolerantly: a malformed value comes back
|
|
1885
|
+
* as `null` and the update is still handled. See {@link readSessionProduct}.
|
|
1886
|
+
*/
|
|
1887
|
+
product?: OneAddressProduct | null;
|
|
1714
1888
|
}
|
|
1889
|
+
/**
|
|
1890
|
+
* One of your product lines, as sealed in the session envelope. `code` is your
|
|
1891
|
+
* own routing key and survives a rename; `id` is stable; `name` is the display
|
|
1892
|
+
* name at the time of sealing.
|
|
1893
|
+
*/
|
|
1894
|
+
interface OneAddressProduct {
|
|
1895
|
+
id: string;
|
|
1896
|
+
code: string;
|
|
1897
|
+
name: string;
|
|
1898
|
+
}
|
|
1899
|
+
/** What a product `code` must look like for this SDK to expose it. */
|
|
1900
|
+
declare const PRODUCT_CODE_PATTERN: RegExp;
|
|
1901
|
+
/**
|
|
1902
|
+
* Read a sealed `product` tolerantly. Anything that is not an object with a
|
|
1903
|
+
* string `id` and a string `code` matching {@link PRODUCT_CODE_PATTERN} is
|
|
1904
|
+
* `null`, never an error: refusing a change of address over a routing hint
|
|
1905
|
+
* would lose the change. A missing or empty `name` reads as the `code`.
|
|
1906
|
+
*/
|
|
1907
|
+
declare function readSessionProduct(raw: unknown): OneAddressProduct | null;
|
|
1715
1908
|
/**
|
|
1716
1909
|
* Decrypt a D5 session envelope using your retained private key matching
|
|
1717
1910
|
* `share.key_id`.
|
|
@@ -1912,13 +2105,16 @@ interface ConfirmUpdateOptions {
|
|
|
1912
2105
|
/** Defaults to `'confirmed'`. See {@link OneAddressConfirmStatus}. */
|
|
1913
2106
|
status?: OneAddressConfirmStatus;
|
|
1914
2107
|
/**
|
|
1915
|
-
*
|
|
2108
|
+
* Optional. OneAddress keeps it only when it is a short code such as
|
|
2109
|
+
* `crm_updated`: a letter first, then letters, digits or `_ . : -`, up to
|
|
2110
|
+
* 64 characters, with no run of five or more digits. Any other text is
|
|
2111
|
+
* replaced by OneAddress's own sentence for the status. A kept code is shown
|
|
2112
|
+
* to the consumer beside the result, on their dashboard and in their
|
|
2113
|
+
* Transmission Report.
|
|
1916
2114
|
*
|
|
1917
2115
|
* NEVER put the address, or any other decrypted detail, in it. The note
|
|
1918
|
-
* travels back to OneAddress in cleartext
|
|
1919
|
-
*
|
|
1920
|
-
* happened ("applied to CRM record", "account closed"), not what the
|
|
1921
|
-
* address was.
|
|
2116
|
+
* travels back to OneAddress in cleartext. Say what happened
|
|
2117
|
+
* (`crm_updated`, `account_closed`), not what the address was.
|
|
1922
2118
|
*/
|
|
1923
2119
|
note?: string;
|
|
1924
2120
|
/** Echo of `event.loa_ref`, proving you decrypted the signed consent. */
|
|
@@ -2000,7 +2196,7 @@ interface ConfirmUpdateResult {
|
|
|
2000
2196
|
* secret: process.env.OA_CONFIRM_SECRET!,
|
|
2001
2197
|
* dispatchId: event.dispatchId,
|
|
2002
2198
|
* status: 'confirmed',
|
|
2003
|
-
* note: '
|
|
2199
|
+
* note: 'crm_updated',
|
|
2004
2200
|
* });
|
|
2005
2201
|
* if (!res.ok) console.error('[oneaddress] confirm failed', res.status, res.error);
|
|
2006
2202
|
*/
|
|
@@ -2358,7 +2554,11 @@ interface VerifyResultCallbackParams {
|
|
|
2358
2554
|
partnerId: string;
|
|
2359
2555
|
/** `true` if the submitted address matches what you hold on file. */
|
|
2360
2556
|
match: boolean;
|
|
2361
|
-
/**
|
|
2557
|
+
/**
|
|
2558
|
+
* Optional short code, kept on the same rule as {@link ConfirmUpdateOptions.note}
|
|
2559
|
+
* and shown to the consumer with the result. Any other text is replaced by
|
|
2560
|
+
* OneAddress's own sentence for the result. Never a decrypted detail.
|
|
2561
|
+
*/
|
|
2362
2562
|
note?: string;
|
|
2363
2563
|
/**
|
|
2364
2564
|
* Extra hostnames the callback may be POSTed to, beside `oneaddress.io` and
|
|
@@ -2675,4 +2875,4 @@ interface SignedTestWebhook {
|
|
|
2675
2875
|
*/
|
|
2676
2876
|
declare function buildSignedTestWebhook(opts: SignedTestWebhookOptions): Promise<SignedTestWebhook>;
|
|
2677
2877
|
|
|
2678
|
-
export { type AddressParts, type BlindIndexField, CURRENT_VERSION, type ComparableAddress, type ConfirmUpdateOptions, type ConfirmUpdateResult, DEFAULT_IDEMPOTENCY_LEASE_SECS, DEFAULT_MAX_BODY_BYTES, DEFAULT_REPLAY_WINDOW_SECS, EffectiveDateMismatchError, type EncryptedPayload, type ExpressLikeRequest, type ExpressLikeResponse, type HandlerConfirmOptions, type HandlerRequest, type HandlerResponse, type IdempotencyClaim, type IdempotencyDialect, type IdempotencyStore, LOA_MAX_TYPED_ALIASES, LOA_MIN_SHORT_FORM_LETTERS, LOA_PUBLIC_KEY_CACHE_MS, LOA_V2_REFUSALS, LoaPublicKeyUnavailableError, type LoaV2Context, type LoaV2Refusal, LoaV2RefusedError, MAX_ADDRESS_FIELD_CHARS, OUTBOX_LEASE_COLUMNS, type OneAddressAccountVerifyEvent, type OneAddressAddress, type OneAddressConfirmStatus, type OneAddressCustomer, type OneAddressCustomerMatch, type OneAddressD5LOA, type OneAddressHandlerOptions, type OneAddressIdVerification, type OneAddressLOA, type OneAddressTestEvent, type OneAddressUpdateEvent, type OneAddressVerifyEvent, type OutboxBacklog, type OutboxConsumer, type OutboxConsumerOptions, type OutboxDialect, type OutboxQueryFn, type OutboxRow, type PinnedRegistryRoot, type PrivateKeyOperations, type RegistryHeadCheckOptions, type RegistryHeadCheckResult, type RegistryHeadCheckVerdict, SUPPORTED_VERSIONS, type SessionData, type SessionKeyShare, type SessionUpdateType, type SignedTestWebhook, type SignedTestWebhookOptions, type VerifyResultCallbackParams, _resetLoaKeyCacheForTests, _resetOnceWarningsForTests, acceptTypedAliases, assertEffectiveDateBound, buildSignedTestWebhook, cachedLoaPublicKey, canonicalD5LoaForm, canonicalD5LoaFormV2, checkLoaV2, checkRegistryHead, compareAddresses, computeBlindIndex, confirmUpdate, createOneAddressHandler, createOutboxConsumer, createSqlIdempotencyStore, d5LoaRef, decryptAddress as decrypt, decryptAddress, decryptLoaEncrypted, decryptSession, fetchLoaPublicKey, findMatchingStoredName, formatAddressParts, fromOutboxTimestamp, hasLoaV2, isAcceptableAlias, isEmailLike, isFreshTimestamp, loaEnvelopeSha256, loaFirstName, loaNamesMatch, loaSurname, namePoolMatches, normaliseLoaName, normalizeForBlindIndex, parsePinnedRegistryRoots, readAddressParts, sendVerifyResult, signPullRequest, toExpressHandler, toOutboxTimestamp, transformAddress as transform, transformAddress, transformSession, typedAliasesOf, validateAddress, verifySignature as verify, verifyD5LOA, verifyD5LOAv2, verifyWithGrace as verifyGrace, verifyLOA, verifySignature, verifyWithGrace };
|
|
2878
|
+
export { type AddressParts, type BlindIndexField, CURRENT_VERSION, type CheckForUpdateOptions, type ComparableAddress, type ConfirmUpdateOptions, type ConfirmUpdateResult, DEFAULT_IDEMPOTENCY_LEASE_SECS, DEFAULT_MAX_BODY_BYTES, DEFAULT_REPLAY_WINDOW_SECS, EffectiveDateMismatchError, type EncryptedPayload, type ExpressLikeRequest, type ExpressLikeResponse, type HandlerConfirmOptions, type HandlerRequest, type HandlerResponse, type IdempotencyClaim, type IdempotencyDialect, type IdempotencyStore, LOA_MAX_TYPED_ALIASES, LOA_MIN_SHORT_FORM_LETTERS, LOA_PUBLIC_KEY_CACHE_MS, LOA_V2_REFUSALS, LoaPublicKeyUnavailableError, type LoaV2Context, type LoaV2Refusal, LoaV2RefusedError, MAX_ADDRESS_FIELD_CHARS, OUTBOX_LEASE_COLUMNS, type OneAddressAccountVerifyEvent, type OneAddressAddress, type OneAddressConfirmStatus, type OneAddressCustomer, type OneAddressCustomerMatch, type OneAddressD5LOA, type OneAddressHandlerOptions, type OneAddressIdVerification, type OneAddressLOA, type OneAddressProduct, type OneAddressTestEvent, type OneAddressUpdateEvent, type OneAddressVerifyEvent, type OutboxBacklog, type OutboxConsumer, type OutboxConsumerOptions, type OutboxDialect, type OutboxQueryFn, type OutboxRow, PRODUCT_CODE_PATTERN, type PinnedRegistryRoot, type PrivateKeyOperations, type RegistryHeadCheckOptions, type RegistryHeadCheckResult, type RegistryHeadCheckVerdict, SDK_VERSION, SUPPORTED_VERSIONS, type SessionData, type SessionKeyShare, type SessionUpdateType, type SignedTestWebhook, type SignedTestWebhookOptions, type StartUpdateCheckOptions, UPDATE_GUIDE_URL, type UpdateCheckHandle, type UpdateCheckResult, type UpdateCheckState, VERIFICATION_COMMITMENT_VERSION, type VerificationCommitmentRecord, type VerifyResultCallbackParams, _resetLoaKeyCacheForTests, _resetOnceWarningsForTests, acceptTypedAliases, assertEffectiveDateBound, buildSignedTestWebhook, cachedLoaPublicKey, canonicalD5LoaForm, canonicalD5LoaFormV2, checkForUpdate, checkLoaV2, checkRegistryHead, compareAddresses, computeBlindIndex, computeVerificationCommitment, confirmUpdate, createOneAddressHandler, createOutboxConsumer, createSqlIdempotencyStore, d5LoaRef, decryptAddress as decrypt, decryptAddress, decryptLoaEncrypted, decryptSession, fetchLoaPublicKey, findMatchingStoredName, formatAddressParts, fromOutboxTimestamp, hasLoaV2, isAcceptableAlias, isEmailLike, isFreshTimestamp, isIsoDate, isNewerVersion, loaEnvelopeSha256, loaFirstName, loaNamesMatch, loaSurname, matchingWebhookSecret, namePoolMatches, normaliseCommitmentField, normaliseLoaName, normalizeForBlindIndex, parsePinnedRegistryRoots, readAddressParts, readSessionProduct, sendVerifyResult, signPullRequest, startUpdateCheck, toExpressHandler, toOutboxTimestamp, transformAddress as transform, transformAddress, transformSession, typedAliasesOf, updateAvailableLine, updateCheckEnabled, updateCheckMetric, validateAddress, verificationCommitmentString, verifySignature as verify, verifyD5LOA, verifyD5LOAv2, verifyWithGrace as verifyGrace, verifyLOA, verifySignature, verifyWithGrace };
|