@alwatr/crypto 1.1.11 → 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.
Files changed (2) hide show
  1. package/CHANGELOG.md +63 -51
  2. package/package.json +11 -7
package/CHANGELOG.md CHANGED
@@ -3,39 +3,51 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [1.1.11](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/crypto@1.1.10...@alwatr/crypto@1.1.11) (2023-11-01)
6
+ # [1.2.0](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.12...@alwatr/crypto@1.2.0) (2023-11-14)
7
+
8
+ ### Features
9
+
10
+ * **yarn:** pnp ([b6a562c](https://github.com/Alwatr/eslib/commit/b6a562c909a35b3e626442e5c325da3fce448e1b)) by @AliMD
11
+
12
+ ## [1.1.12](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.11...@alwatr/crypto@1.1.12) (2023-11-08)
13
+
14
+ ### Bug Fixes
15
+
16
+ * move repo urls ([719aa3e](https://github.com/Alwatr/eslib/commit/719aa3e7462d3c9c6272958fc93f89fda6793fb1)) by @AliMD
17
+
18
+ ## [1.1.11](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.10...@alwatr/crypto@1.1.11) (2023-11-01)
7
19
 
8
20
  **Note:** Version bump only for package @alwatr/crypto
9
21
 
10
- ## [1.1.10](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/crypto@1.1.9...@alwatr/crypto@1.1.10) (2023-10-23)
22
+ ## [1.1.10](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.9...@alwatr/crypto@1.1.10) (2023-10-23)
11
23
 
12
24
  **Note:** Version bump only for package @alwatr/crypto
13
25
 
14
- ## [1.1.9](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/crypto@1.1.8...@alwatr/crypto@1.1.9) (2023-10-23)
26
+ ## [1.1.9](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.8...@alwatr/crypto@1.1.9) (2023-10-23)
15
27
 
16
28
  **Note:** Version bump only for package @alwatr/crypto
17
29
 
18
- ## [1.1.8](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/crypto@1.1.7...@alwatr/crypto@1.1.8) (2023-10-23)
30
+ ## [1.1.8](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.7...@alwatr/crypto@1.1.8) (2023-10-23)
19
31
 
20
32
  ### Bug Fixes
21
33
 
22
- * **crypto:** compatible with new logger api ([f867317](https://github.com/AliMD/alwatr-eslib/commit/f8673178d18f14276e13dcb35a7d973f301a722b)) by @AliMD
34
+ * **crypto:** compatible with new logger api ([f867317](https://github.com/Alwatr/eslib/commit/f8673178d18f14276e13dcb35a7d973f301a722b)) by @AliMD
23
35
 
24
- ## [1.1.7](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/crypto@1.1.6...@alwatr/crypto@1.1.7) (2023-10-23)
36
+ ## [1.1.7](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.6...@alwatr/crypto@1.1.7) (2023-10-23)
25
37
 
26
38
  **Note:** Version bump only for package @alwatr/crypto
27
39
 
28
- ## [1.1.6](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/crypto@1.1.5...@alwatr/crypto@1.1.6) (2023-10-23)
40
+ ## [1.1.6](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.5...@alwatr/crypto@1.1.6) (2023-10-23)
29
41
 
30
42
  **Note:** Version bump only for package @alwatr/crypto
31
43
 
32
- ## [1.1.5](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/crypto@1.1.4...@alwatr/crypto@1.1.5) (2023-09-19)
44
+ ## [1.1.5](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.4...@alwatr/crypto@1.1.5) (2023-09-19)
33
45
 
34
46
  ### Bug Fixes
35
47
 
36
- - package repo urls ([466cbe9](https://github.com/AliMD/alwatr-eslib/commit/466cbe9188f24e1a1bc36d879a95b52538a58f16)) by @AliMD
48
+ - package repo urls ([466cbe9](https://github.com/Alwatr/eslib/commit/466cbe9188f24e1a1bc36d879a95b52538a58f16)) by @AliMD
37
49
 
38
- ## [1.1.4](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/crypto@1.1.3...@alwatr/crypto@1.1.4) (2023-09-19)
50
+ ## [1.1.4](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.3...@alwatr/crypto@1.1.4) (2023-09-19)
39
51
 
40
52
  **Note:** Version bump only for package @alwatr/crypto
41
53
 
@@ -43,11 +55,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
43
55
 
44
56
  **Note:** Version bump only for package @alwatr/crypto
45
57
 
46
- ## [1.1.2](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/crypto@1.1.1...@alwatr/crypto@1.1.2) (2023-09-12)
58
+ ## [1.1.2](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.1...@alwatr/crypto@1.1.2) (2023-09-12)
47
59
 
48
60
  **Note:** Version bump only for package @alwatr/crypto
49
61
 
50
- ## [1.1.1](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/crypto@1.1.0...@alwatr/crypto@1.1.1) (2023-09-12)
62
+ ## [1.1.1](https://github.com/Alwatr/eslib/compare/@alwatr/crypto@1.1.0...@alwatr/crypto@1.1.1) (2023-09-12)
51
63
 
52
64
  **Note:** Version bump only for package @alwatr/crypto
53
65
 
@@ -59,137 +71,137 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
59
71
 
60
72
  ### Features
61
73
 
62
- - **crypto:** add some pre config ([4b960c5](https://github.com/AliMD/alwatr-eslib/commit/4b960c5cb3f7495c0689adcb65c62a1032ae2650))
74
+ - **crypto:** add some pre config ([4b960c5](https://github.com/Alwatr/eslib/commit/4b960c5cb3f7495c0689adcb65c62a1032ae2650))
63
75
 
64
76
  ### Performance Improvements
65
77
 
66
- - **crypto/hash:** enhance crc generator ([ba8c4bc](https://github.com/AliMD/alwatr-eslib/commit/ba8c4bcf8f9ec9767b0bd3b6c3fd5c4f503a84dd))
78
+ - **crypto/hash:** enhance crc generator ([ba8c4bc](https://github.com/Alwatr/eslib/commit/ba8c4bcf8f9ec9767b0bd3b6c3fd5c4f503a84dd))
67
79
 
68
80
  # 0.31.0 (2023-05-08)
69
81
 
70
82
  ### Bug Fixes
71
83
 
72
- - **crypto:** package ([866c5f4](https://github.com/AliMD/alwatr-eslib/commit/866c5f490ea2eaa75bf177f35b3f4711931e13d2))
84
+ - **crypto:** package ([866c5f4](https://github.com/Alwatr/eslib/commit/866c5f490ea2eaa75bf177f35b3f4711931e13d2))
73
85
 
74
86
  ### Features
75
87
 
76
- - **crypto:** make prefix for userId ([5baa00a](https://github.com/AliMD/alwatr-eslib/commit/5baa00aafb16a4c6ed1d77913edddd090f732dad))
88
+ - **crypto:** make prefix for userId ([5baa00a](https://github.com/Alwatr/eslib/commit/5baa00aafb16a4c6ed1d77913edddd090f732dad))
77
89
 
78
- # [1.0.0](https://github.com/AliMD/alwatr-eslib/compare/v0.32.0...v1.0.0) (2023-06-14)
90
+ # [1.0.0](https://github.com/Alwatr/eslib/compare/v0.32.0...v1.0.0) (2023-06-14)
79
91
 
80
92
  **Note:** Version bump only for package @alwatr/crypto
81
93
 
82
- # [0.32.0](https://github.com/AliMD/alwatr-eslib/compare/v0.31.0...v0.32.0) (2023-05-27)
94
+ # [0.32.0](https://github.com/Alwatr/eslib/compare/v0.31.0...v0.32.0) (2023-05-27)
83
95
 
84
96
  ### Features
85
97
 
86
- - **crypto:** add some pre config ([4b960c5](https://github.com/AliMD/alwatr-eslib/commit/4b960c5cb3f7495c0689adcb65c62a1032ae2650))
98
+ - **crypto:** add some pre config ([4b960c5](https://github.com/Alwatr/eslib/commit/4b960c5cb3f7495c0689adcb65c62a1032ae2650))
87
99
 
88
100
  ### Performance Improvements
89
101
 
90
- - **crypto/hash:** enhance crc generator ([ba8c4bc](https://github.com/AliMD/alwatr-eslib/commit/ba8c4bcf8f9ec9767b0bd3b6c3fd5c4f503a84dd))
102
+ - **crypto/hash:** enhance crc generator ([ba8c4bc](https://github.com/Alwatr/eslib/commit/ba8c4bcf8f9ec9767b0bd3b6c3fd5c4f503a84dd))
91
103
 
92
- # [0.31.0](https://github.com/AliMD/alwatr-eslib/compare/v0.30.0...v0.31.0) (2023-05-08)
104
+ # [0.31.0](https://github.com/Alwatr/eslib/compare/v0.30.0...v0.31.0) (2023-05-08)
93
105
 
94
106
  ### Bug Fixes
95
107
 
96
- - **crypto:** package ([866c5f4](https://github.com/AliMD/alwatr-eslib/commit/866c5f490ea2eaa75bf177f35b3f4711931e13d2))
108
+ - **crypto:** package ([866c5f4](https://github.com/Alwatr/eslib/commit/866c5f490ea2eaa75bf177f35b3f4711931e13d2))
97
109
 
98
110
  ### Features
99
111
 
100
- - **crypto:** make prefix for userId ([5baa00a](https://github.com/AliMD/alwatr-eslib/commit/5baa00aafb16a4c6ed1d77913edddd090f732dad))
112
+ - **crypto:** make prefix for userId ([5baa00a](https://github.com/Alwatr/eslib/commit/5baa00aafb16a4c6ed1d77913edddd090f732dad))
101
113
 
102
- # [0.30.0](https://github.com/AliMD/alwatr-eslib/compare/v0.29.0...v0.30.0) (2023-03-06)
114
+ # [0.30.0](https://github.com/Alwatr/eslib/compare/v0.29.0...v0.30.0) (2023-03-06)
103
115
 
104
116
  **Note:** Version bump only for package @alwatr/crypto
105
117
 
106
- # [0.29.0](https://github.com/AliMD/alwatr-eslib/compare/v0.28.0...v0.29.0) (2023-02-10)
118
+ # [0.29.0](https://github.com/Alwatr/eslib/compare/v0.28.0...v0.29.0) (2023-02-10)
107
119
 
108
120
  **Note:** Version bump only for package @alwatr/crypto
109
121
 
110
- # [0.28.0](https://github.com/AliMD/alwatr-eslib/compare/v0.27.0...v0.28.0) (2023-01-20)
122
+ # [0.28.0](https://github.com/Alwatr/eslib/compare/v0.27.0...v0.28.0) (2023-01-20)
111
123
 
112
124
  ### Bug Fixes
113
125
 
114
- - **token:** types ([a7da60e](https://github.com/AliMD/alwatr-eslib/commit/a7da60e720ac83b8d2d2ed5c0b811dea1952a2b9))
126
+ - **token:** types ([a7da60e](https://github.com/Alwatr/eslib/commit/a7da60e720ac83b8d2d2ed5c0b811dea1952a2b9))
115
127
 
116
128
  ### Features
117
129
 
118
- - **token:** generate and verify token without expiration time ([6db78f0](https://github.com/AliMD/alwatr-eslib/commit/6db78f0644e076c3401a263173d7139838bbbf0c))
119
- - **type:** define math types ([8c19f40](https://github.com/AliMD/alwatr-eslib/commit/8c19f4058d4361b7d3f4f714595e34cb6fa21109))
130
+ - **token:** generate and verify token without expiration time ([6db78f0](https://github.com/Alwatr/eslib/commit/6db78f0644e076c3401a263173d7139838bbbf0c))
131
+ - **type:** define math types ([8c19f40](https://github.com/Alwatr/eslib/commit/8c19f4058d4361b7d3f4f714595e34cb6fa21109))
120
132
 
121
- # [0.27.0](https://github.com/AliMD/alwatr-eslib/compare/v0.26.0...v0.27.0) (2022-12-29)
133
+ # [0.27.0](https://github.com/Alwatr/eslib/compare/v0.26.0...v0.27.0) (2022-12-29)
122
134
 
123
135
  **Note:** Version bump only for package @alwatr/crypto
124
136
 
125
- # [0.26.0](https://github.com/AliMD/alwatr-eslib/compare/v0.25.0...v0.26.0) (2022-12-22)
137
+ # [0.26.0](https://github.com/Alwatr/eslib/compare/v0.25.0...v0.26.0) (2022-12-22)
126
138
 
127
139
  ### Bug Fixes
128
140
 
129
- - set correct path ([d01ce6f](https://github.com/AliMD/alwatr-eslib/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
130
- - tsconfig ([e96dcd3](https://github.com/AliMD/alwatr-eslib/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
141
+ - set correct path ([d01ce6f](https://github.com/Alwatr/eslib/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
142
+ - tsconfig ([e96dcd3](https://github.com/Alwatr/eslib/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
131
143
 
132
- # [0.25.0](https://github.com/AliMD/alwatr-eslib/compare/v0.24.1...v0.25.0) (2022-12-07)
144
+ # [0.25.0](https://github.com/Alwatr/eslib/compare/v0.24.1...v0.25.0) (2022-12-07)
133
145
 
134
146
  **Note:** Version bump only for package @alwatr/crypto
135
147
 
136
- ## [0.24.1](https://github.com/AliMD/alwatr-eslib/compare/v0.24.0...v0.24.1) (2022-12-01)
148
+ ## [0.24.1](https://github.com/Alwatr/eslib/compare/v0.24.0...v0.24.1) (2022-12-01)
137
149
 
138
150
  **Note:** Version bump only for package @alwatr/crypto
139
151
 
140
- # [0.24.0](https://github.com/AliMD/alwatr-eslib/compare/v0.23.0...v0.24.0) (2022-11-28)
152
+ # [0.24.0](https://github.com/Alwatr/eslib/compare/v0.23.0...v0.24.0) (2022-11-28)
141
153
 
142
154
  ### Bug Fixes
143
155
 
144
- - use ~ for package version ([4e027ff](https://github.com/AliMD/alwatr-eslib/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec))
156
+ - use ~ for package version ([4e027ff](https://github.com/Alwatr/eslib/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec))
145
157
 
146
- # [0.23.0](https://github.com/AliMD/alwatr-eslib/compare/v0.22.1...v0.23.0) (2022-11-23)
158
+ # [0.23.0](https://github.com/Alwatr/eslib/compare/v0.22.1...v0.23.0) (2022-11-23)
147
159
 
148
160
  **Note:** Version bump only for package @alwatr/crypto
149
161
 
150
- ## [0.22.1](https://github.com/AliMD/alwatr-eslib/compare/v0.22.0...v0.22.1) (2022-11-21)
162
+ ## [0.22.1](https://github.com/Alwatr/eslib/compare/v0.22.0...v0.22.1) (2022-11-21)
151
163
 
152
164
  **Note:** Version bump only for package @alwatr/crypto
153
165
 
154
- # [0.22.0](https://github.com/AliMD/alwatr-eslib/compare/v0.21.0...v0.22.0) (2022-11-20)
166
+ # [0.22.0](https://github.com/Alwatr/eslib/compare/v0.21.0...v0.22.0) (2022-11-20)
155
167
 
156
168
  **Note:** Version bump only for package @alwatr/crypto
157
169
 
158
- # [0.21.0](https://github.com/AliMD/alwatr-eslib/compare/v0.20.0...v0.21.0) (2022-11-13)
170
+ # [0.21.0](https://github.com/Alwatr/eslib/compare/v0.20.0...v0.21.0) (2022-11-13)
159
171
 
160
172
  **Note:** Version bump only for package @alwatr/crypto
161
173
 
162
- # [0.20.0](https://github.com/AliMD/alwatr-eslib/compare/v0.19.0...v0.20.0) (2022-11-05)
174
+ # [0.20.0](https://github.com/Alwatr/eslib/compare/v0.19.0...v0.20.0) (2022-11-05)
163
175
 
164
176
  **Note:** Version bump only for package @alwatr/crypto
165
177
 
166
- # [0.19.0](https://github.com/AliMD/alwatr-eslib/compare/v0.18.0...v0.19.0) (2022-11-01)
178
+ # [0.19.0](https://github.com/Alwatr/eslib/compare/v0.18.0...v0.19.0) (2022-11-01)
167
179
 
168
180
  **Note:** Version bump only for package @alwatr/crypto
169
181
 
170
- # [0.18.0](https://github.com/AliMD/alwatr-eslib/compare/v0.17.0...v0.18.0) (2022-10-22)
182
+ # [0.18.0](https://github.com/Alwatr/eslib/compare/v0.17.0...v0.18.0) (2022-10-22)
171
183
 
172
184
  **Note:** Version bump only for package @alwatr/crypto
173
185
 
174
- # [0.17.0](https://github.com/AliMD/alwatr-eslib/compare/v0.16.1...v0.17.0) (2022-10-21)
186
+ # [0.17.0](https://github.com/Alwatr/eslib/compare/v0.16.1...v0.17.0) (2022-10-21)
175
187
 
176
188
  **Note:** Version bump only for package @alwatr/crypto
177
189
 
178
- # [0.16.0](https://github.com/AliMD/alwatr-eslib/compare/v0.15.0...v0.16.0) (2022-09-08)
190
+ # [0.16.0](https://github.com/Alwatr/eslib/compare/v0.15.0...v0.16.0) (2022-09-08)
179
191
 
180
192
  **Note:** Version bump only for package @alwatr/crypto
181
193
 
182
- # [0.15.0](https://github.com/AliMD/alwatr-eslib/compare/v0.14.0...v0.15.0) (2022-09-01)
194
+ # [0.15.0](https://github.com/Alwatr/eslib/compare/v0.14.0...v0.15.0) (2022-09-01)
183
195
 
184
196
  **Note:** Version bump only for package @alwatr/crypto
185
197
 
186
- # [0.14.0](https://github.com/AliMD/alwatr-eslib/compare/v0.13.0...v0.14.0) (2022-08-19)
198
+ # [0.14.0](https://github.com/Alwatr/eslib/compare/v0.13.0...v0.14.0) (2022-08-19)
187
199
 
188
200
  **Note:** Version bump only for package @alwatr/crypto
189
201
 
190
- # [0.13.0](https://github.com/AliMD/alwatr-eslib/compare/v0.12.0...v0.13.0) (2022-08-06)
202
+ # [0.13.0](https://github.com/Alwatr/eslib/compare/v0.12.0...v0.13.0) (2022-08-06)
191
203
 
192
204
  ### Features
193
205
 
194
- - **token:** generate and verify HOTP tpkens ([d0372f8](https://github.com/AliMD/alwatr-eslib/commit/d0372f805a45d6fd6571b50821529068cec7d424))
195
- - **token:** new package files ([fe620e0](https://github.com/AliMD/alwatr-eslib/commit/fe620e0d9f84c4e6d8e0eed47d6b398e218429ad))
206
+ - **token:** generate and verify HOTP tpkens ([d0372f8](https://github.com/Alwatr/eslib/commit/d0372f805a45d6fd6571b50821529068cec7d424))
207
+ - **token:** new package files ([fe620e0](https://github.com/Alwatr/eslib/commit/fe620e0d9f84c4e6d8e0eed47d6b398e218429ad))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/crypto",
3
- "version": "1.1.11",
3
+ "version": "1.2.0",
4
4
  "description": "Secure authentication HOTP token generator (the HMAC-based One-Time Password algorithm) and crypto utils written in tiny TypeScript module.",
5
5
  "keywords": [
6
6
  "crypto",
@@ -32,17 +32,21 @@
32
32
  },
33
33
  "repository": {
34
34
  "type": "git",
35
- "url": "https://github.com/AliMD/alwatr-eslib",
35
+ "url": "https://github.com/Alwatr/eslib",
36
36
  "directory": "packages/crypto"
37
37
  },
38
- "homepage": "https://github.com/AliMD/alwatr-eslib/tree/next/packages/crypto#readme",
38
+ "homepage": "https://github.com/Alwatr/eslib/tree/next/packages/crypto#readme",
39
39
  "bugs": {
40
- "url": "https://github.com/AliMD/alwatr-eslib/issues"
40
+ "url": "https://github.com/Alwatr/eslib/issues"
41
41
  },
42
42
  "dependencies": {
43
- "@alwatr/logger": "^2.1.2",
44
- "@alwatr/math": "^1.1.11",
43
+ "@alwatr/logger": "^2.2.0",
44
+ "@alwatr/math": "^1.2.0",
45
+ "@alwatr/util": "^1.3.0",
45
46
  "tslib": "^2.6.2"
46
47
  },
47
- "gitHead": "6eb68b96dffe4104c58f711feb3d9f88fc0798ee"
48
+ "devDependencies": {
49
+ "@types/node": "^20.9.0"
50
+ },
51
+ "gitHead": "c9c6d5abf5e2aeafa915fde58c73e030ac00db27"
48
52
  }