@oneaddress/partner-sdk 1.1.0 → 1.2.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
@@ -1,24 +1,30 @@
1
1
  import {
2
2
  CURRENT_VERSION,
3
- DEFAULT_REPLAY_WINDOW_SECS,
4
3
  SUPPORTED_VERSIONS,
4
+ compareAddresses,
5
5
  createOneAddressHandler,
6
6
  decryptAddress,
7
+ decryptSession,
7
8
  fetchLoaPublicKey,
8
- isFreshTimestamp,
9
9
  transformAddress,
10
10
  validateAddress,
11
11
  verifyLOA,
12
12
  verifySignature,
13
13
  verifyWithGrace
14
- } from "./chunk-BCAOUGA6.mjs";
14
+ } from "./chunk-EHR6T6MA.mjs";
15
+ import {
16
+ DEFAULT_REPLAY_WINDOW_SECS,
17
+ isFreshTimestamp
18
+ } from "./chunk-TGLIJMGK.mjs";
15
19
  export {
16
20
  CURRENT_VERSION,
17
21
  DEFAULT_REPLAY_WINDOW_SECS,
18
22
  SUPPORTED_VERSIONS,
23
+ compareAddresses,
19
24
  createOneAddressHandler,
20
25
  decryptAddress as decrypt,
21
26
  decryptAddress,
27
+ decryptSession,
22
28
  fetchLoaPublicKey,
23
29
  isFreshTimestamp,
24
30
  transformAddress as transform,
@@ -0,0 +1,30 @@
1
+ import {
2
+ DEFAULT_REPLAY_WINDOW_SECS,
3
+ decryptAddress,
4
+ decryptSession,
5
+ encryptAddressForAll,
6
+ encryptAddressForPartner,
7
+ encryptSessionForAll,
8
+ encryptSessionForPartner,
9
+ generatePartnerKeyPair,
10
+ isFreshTimestamp,
11
+ isSafeWebhookUrl,
12
+ normaliseAddress,
13
+ signWebhookPayload,
14
+ verifyWebhookSignature
15
+ } from "./chunk-TGLIJMGK.mjs";
16
+ export {
17
+ DEFAULT_REPLAY_WINDOW_SECS,
18
+ decryptAddress,
19
+ decryptSession,
20
+ encryptAddressForAll,
21
+ encryptAddressForPartner,
22
+ encryptSessionForAll,
23
+ encryptSessionForPartner,
24
+ generatePartnerKeyPair,
25
+ isFreshTimestamp,
26
+ isSafeWebhookUrl,
27
+ normaliseAddress,
28
+ signWebhookPayload,
29
+ verifyWebhookSignature
30
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oneaddress/partner-sdk",
3
- "version": "1.1.0",
4
- "description": "Official OneAddress partner integration SDK — webhook verification, address decryption, LOA validation",
3
+ "version": "1.2.0",
4
+ "description": "Official OneAddress partner integration SDK — webhook verification, address decryption (legacy + D5 session-envelope), LOA validation",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {