@oneaddress/partner-sdk 2.7.0 → 2.8.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 +138 -0
- package/README.md +184 -61
- package/dist/{chunk-OKAJO4T6.mjs → chunk-BFSYMDJI.mjs} +513 -50
- package/dist/{chunk-CLV6TLSP.mjs → chunk-PP2TM7HN.mjs} +80 -0
- package/dist/edge.d.mts +1 -1
- package/dist/edge.d.ts +1 -1
- package/dist/edge.js +534 -41
- package/dist/edge.mjs +28 -2
- package/dist/index.d.mts +399 -52
- package/dist/index.d.ts +399 -52
- package/dist/index.js +614 -48
- package/dist/index.mjs +48 -2
- package/dist/{src-FPYBM6X6.mjs → src-P3LR7F4A.mjs} +1 -1
- package/package.json +1 -1
package/dist/edge.mjs
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CURRENT_VERSION,
|
|
3
|
+
LoaV2RefusedError,
|
|
3
4
|
SUPPORTED_VERSIONS,
|
|
5
|
+
acceptTypedAliases,
|
|
4
6
|
canonicalD5LoaForm,
|
|
7
|
+
canonicalD5LoaFormV2,
|
|
8
|
+
checkLoaV2,
|
|
5
9
|
compareAddresses,
|
|
6
10
|
createOneAddressHandler,
|
|
7
11
|
d5LoaRef,
|
|
@@ -10,28 +14,41 @@ import {
|
|
|
10
14
|
decryptSession,
|
|
11
15
|
fetchLoaPublicKey,
|
|
12
16
|
findMatchingStoredName,
|
|
17
|
+
hasLoaV2,
|
|
18
|
+
isAcceptableAlias,
|
|
13
19
|
isEmailLike,
|
|
20
|
+
loaEnvelopeSha256,
|
|
21
|
+
loaFirstName,
|
|
22
|
+
loaNamesMatch,
|
|
23
|
+
loaSurname,
|
|
14
24
|
namePoolMatches,
|
|
25
|
+
normaliseLoaName,
|
|
15
26
|
sendVerifyResult,
|
|
16
27
|
transformAddress,
|
|
17
28
|
transformSession,
|
|
29
|
+
typedAliasesOf,
|
|
18
30
|
validateAddress,
|
|
19
31
|
verifyD5LOA,
|
|
32
|
+
verifyD5LOAv2,
|
|
20
33
|
verifyLOA,
|
|
21
34
|
verifySignature,
|
|
22
35
|
verifyWithGrace
|
|
23
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-BFSYMDJI.mjs";
|
|
24
37
|
import {
|
|
25
38
|
DEFAULT_REPLAY_WINDOW_SECS,
|
|
26
39
|
computeBlindIndex,
|
|
27
40
|
isFreshTimestamp,
|
|
28
41
|
normalizeForBlindIndex
|
|
29
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-PP2TM7HN.mjs";
|
|
30
43
|
export {
|
|
31
44
|
CURRENT_VERSION,
|
|
32
45
|
DEFAULT_REPLAY_WINDOW_SECS,
|
|
46
|
+
LoaV2RefusedError,
|
|
33
47
|
SUPPORTED_VERSIONS,
|
|
48
|
+
acceptTypedAliases,
|
|
34
49
|
canonicalD5LoaForm,
|
|
50
|
+
canonicalD5LoaFormV2,
|
|
51
|
+
checkLoaV2,
|
|
35
52
|
compareAddresses,
|
|
36
53
|
computeBlindIndex,
|
|
37
54
|
createOneAddressHandler,
|
|
@@ -41,15 +58,24 @@ export {
|
|
|
41
58
|
decryptSession,
|
|
42
59
|
fetchLoaPublicKey,
|
|
43
60
|
findMatchingStoredName,
|
|
61
|
+
hasLoaV2,
|
|
62
|
+
isAcceptableAlias,
|
|
44
63
|
isEmailLike,
|
|
45
64
|
isFreshTimestamp,
|
|
65
|
+
loaEnvelopeSha256,
|
|
66
|
+
loaFirstName,
|
|
67
|
+
loaNamesMatch,
|
|
68
|
+
loaSurname,
|
|
46
69
|
namePoolMatches,
|
|
70
|
+
normaliseLoaName,
|
|
47
71
|
normalizeForBlindIndex,
|
|
48
72
|
sendVerifyResult,
|
|
49
73
|
transformAddress,
|
|
50
74
|
transformSession,
|
|
75
|
+
typedAliasesOf,
|
|
51
76
|
validateAddress,
|
|
52
77
|
verifyD5LOA,
|
|
78
|
+
verifyD5LOAv2,
|
|
53
79
|
verifyLOA,
|
|
54
80
|
verifySignature,
|
|
55
81
|
verifyWithGrace
|