@oneaddress/partner-sdk 2.9.0 → 2.10.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/dist/index.mjs CHANGED
@@ -11,7 +11,11 @@ import {
11
11
  LoaV2RefusedError,
12
12
  MAX_ADDRESS_FIELD_CHARS,
13
13
  OUTBOX_LEASE_COLUMNS,
14
+ PRODUCT_CODE_PATTERN,
15
+ SDK_VERSION,
14
16
  SUPPORTED_VERSIONS,
17
+ UPDATE_GUIDE_URL,
18
+ VERIFICATION_COMMITMENT_VERSION,
15
19
  _resetLoaKeyCacheForTests,
16
20
  _resetOnceWarningsForTests,
17
21
  acceptTypedAliases,
@@ -20,9 +24,11 @@ import {
20
24
  cachedLoaPublicKey,
21
25
  canonicalD5LoaForm,
22
26
  canonicalD5LoaFormV2,
27
+ checkForUpdate,
23
28
  checkLoaV2,
24
29
  checkRegistryHead,
25
30
  compareAddresses,
31
+ computeVerificationCommitment,
26
32
  confirmUpdate,
27
33
  createOneAddressHandler,
28
34
  createOutboxConsumer,
@@ -38,34 +44,43 @@ import {
38
44
  hasLoaV2,
39
45
  isAcceptableAlias,
40
46
  isEmailLike,
47
+ isNewerVersion,
41
48
  loaEnvelopeSha256,
42
49
  loaFirstName,
43
50
  loaNamesMatch,
44
51
  loaSurname,
52
+ matchingWebhookSecret,
45
53
  namePoolMatches,
54
+ normaliseCommitmentField,
46
55
  normaliseLoaName,
47
56
  parsePinnedRegistryRoots,
48
57
  readAddressParts,
58
+ readSessionProduct,
49
59
  sendVerifyResult,
50
60
  signPullRequest,
61
+ startUpdateCheck,
51
62
  toExpressHandler,
52
63
  toOutboxTimestamp,
53
64
  transformAddress,
54
65
  transformSession,
55
66
  typedAliasesOf,
67
+ updateAvailableLine,
68
+ updateCheckEnabled,
69
+ updateCheckMetric,
56
70
  validateAddress,
71
+ verificationCommitmentString,
57
72
  verifyD5LOA,
58
73
  verifyD5LOAv2,
59
74
  verifyLOA,
60
75
  verifySignature,
61
76
  verifyWithGrace
62
- } from "./chunk-OKPEOGR5.mjs";
77
+ } from "./chunk-NJGZ6ISS.mjs";
63
78
  import {
64
79
  DEFAULT_REPLAY_WINDOW_SECS,
65
80
  computeBlindIndex,
66
81
  isFreshTimestamp,
67
82
  normalizeForBlindIndex
68
- } from "./chunk-PP2TM7HN.mjs";
83
+ } from "./chunk-JJ2B5VFO.mjs";
69
84
  export {
70
85
  CURRENT_VERSION,
71
86
  DEFAULT_IDEMPOTENCY_LEASE_SECS,
@@ -80,7 +95,11 @@ export {
80
95
  LoaV2RefusedError,
81
96
  MAX_ADDRESS_FIELD_CHARS,
82
97
  OUTBOX_LEASE_COLUMNS,
98
+ PRODUCT_CODE_PATTERN,
99
+ SDK_VERSION,
83
100
  SUPPORTED_VERSIONS,
101
+ UPDATE_GUIDE_URL,
102
+ VERIFICATION_COMMITMENT_VERSION,
84
103
  _resetLoaKeyCacheForTests,
85
104
  _resetOnceWarningsForTests,
86
105
  acceptTypedAliases,
@@ -89,10 +108,12 @@ export {
89
108
  cachedLoaPublicKey,
90
109
  canonicalD5LoaForm,
91
110
  canonicalD5LoaFormV2,
111
+ checkForUpdate,
92
112
  checkLoaV2,
93
113
  checkRegistryHead,
94
114
  compareAddresses,
95
115
  computeBlindIndex,
116
+ computeVerificationCommitment,
96
117
  confirmUpdate,
97
118
  createOneAddressHandler,
98
119
  createOutboxConsumer,
@@ -110,24 +131,33 @@ export {
110
131
  isAcceptableAlias,
111
132
  isEmailLike,
112
133
  isFreshTimestamp,
134
+ isNewerVersion,
113
135
  loaEnvelopeSha256,
114
136
  loaFirstName,
115
137
  loaNamesMatch,
116
138
  loaSurname,
139
+ matchingWebhookSecret,
117
140
  namePoolMatches,
141
+ normaliseCommitmentField,
118
142
  normaliseLoaName,
119
143
  normalizeForBlindIndex,
120
144
  parsePinnedRegistryRoots,
121
145
  readAddressParts,
146
+ readSessionProduct,
122
147
  sendVerifyResult,
123
148
  signPullRequest,
149
+ startUpdateCheck,
124
150
  toExpressHandler,
125
151
  toOutboxTimestamp,
126
152
  transformAddress as transform,
127
153
  transformAddress,
128
154
  transformSession,
129
155
  typedAliasesOf,
156
+ updateAvailableLine,
157
+ updateCheckEnabled,
158
+ updateCheckMetric,
130
159
  validateAddress,
160
+ verificationCommitmentString,
131
161
  verifySignature as verify,
132
162
  verifyD5LOA,
133
163
  verifyD5LOAv2,
@@ -10,9 +10,11 @@ import {
10
10
  PARTNER_KEY_REFUSED_MESSAGE,
11
11
  PINNED_REGISTRY_ROOTS,
12
12
  PIN_HARDENING_VERSION,
13
+ PRODUCTION_REGISTRY_HOSTS,
13
14
  REGISTRY_HEAD_ALG,
14
15
  REGISTRY_HEAD_V1,
15
16
  REGISTRY_HEAD_V2,
17
+ REGISTRY_ROOT_PINS,
16
18
  SENDER_HELD_KEY_ALGORITHM,
17
19
  __setPinnedRegistryRootsForTests,
18
20
  blockedPublicKeyReason,
@@ -46,6 +48,7 @@ import {
46
48
  isIpLiteralHost,
47
49
  isSafeWebhookUrl,
48
50
  keyIdForPublicKey,
51
+ localStorageHeadHighWater,
49
52
  memorySenderHeldKeyStore,
50
53
  normaliseAddress,
51
54
  normalizeForBlindIndex,
@@ -53,6 +56,8 @@ import {
53
56
  parseOprfSeed,
54
57
  partnerKeyFingerprint,
55
58
  pinnedRegistryRoots,
59
+ refundReviewNotifySigningString,
60
+ registryEnvironmentForOrigin,
56
61
  rootIsPinned,
57
62
  rootKeyIdFromSpki,
58
63
  rootKeyIdFromSpkiB64,
@@ -63,7 +68,7 @@ import {
63
68
  verifyPartnerKeyAttestationWithRoots,
64
69
  verifyRegistryHead,
65
70
  verifyWebhookSignature
66
- } from "./chunk-PP2TM7HN.mjs";
71
+ } from "./chunk-JJ2B5VFO.mjs";
67
72
  export {
68
73
  DEFAULT_REPLAY_WINDOW_SECS,
69
74
  ENDPOINT_FAILURE_THRESHOLD,
@@ -76,9 +81,11 @@ export {
76
81
  PARTNER_KEY_REFUSED_MESSAGE,
77
82
  PINNED_REGISTRY_ROOTS,
78
83
  PIN_HARDENING_VERSION,
84
+ PRODUCTION_REGISTRY_HOSTS,
79
85
  REGISTRY_HEAD_ALG,
80
86
  REGISTRY_HEAD_V1,
81
87
  REGISTRY_HEAD_V2,
88
+ REGISTRY_ROOT_PINS,
82
89
  SENDER_HELD_KEY_ALGORITHM,
83
90
  __setPinnedRegistryRootsForTests,
84
91
  blockedPublicKeyReason,
@@ -112,6 +119,7 @@ export {
112
119
  isIpLiteralHost,
113
120
  isSafeWebhookUrl,
114
121
  keyIdForPublicKey,
122
+ localStorageHeadHighWater,
115
123
  memorySenderHeldKeyStore,
116
124
  normaliseAddress,
117
125
  normalizeForBlindIndex,
@@ -119,6 +127,8 @@ export {
119
127
  parseOprfSeed,
120
128
  partnerKeyFingerprint,
121
129
  pinnedRegistryRoots,
130
+ refundReviewNotifySigningString,
131
+ registryEnvironmentForOrigin,
122
132
  rootIsPinned,
123
133
  rootKeyIdFromSpki,
124
134
  rootKeyIdFromSpkiB64,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneaddress/partner-sdk",
3
- "version": "2.9.0",
3
+ "version": "2.10.0",
4
4
  "description": "Official OneAddress partner integration SDK — webhook verification, address decryption (legacy + D5 session-envelope), LOA validation",
5
5
  "repository": {
6
6
  "type": "git",