@twin.org/crypto 0.0.1-next.9 → 0.0.2-next.10
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/cjs/index.cjs +156 -52
- package/dist/esm/index.mjs +128 -25
- package/dist/types/address/bip44.d.ts +15 -0
- package/dist/types/curves/ed25519.d.ts +12 -0
- package/dist/types/helpers/pemHelper.d.ts +19 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/keys/bip39.d.ts +8 -0
- package/docs/changelog.md +526 -1
- package/docs/reference/classes/Bech32.md +15 -7
- package/docs/reference/classes/Bip32Path.md +17 -9
- package/docs/reference/classes/Bip39.md +62 -12
- package/docs/reference/classes/Bip44.md +121 -21
- package/docs/reference/classes/Blake2b.md +35 -17
- package/docs/reference/classes/Blake3.md +28 -14
- package/docs/reference/classes/ChaCha20Poly1305.md +18 -8
- package/docs/reference/classes/Ed25519.md +65 -9
- package/docs/reference/classes/HmacSha1.md +17 -9
- package/docs/reference/classes/HmacSha256.md +26 -12
- package/docs/reference/classes/HmacSha512.md +38 -16
- package/docs/reference/classes/Hotp.md +9 -5
- package/docs/reference/classes/PasswordGenerator.md +6 -4
- package/docs/reference/classes/PasswordValidator.md +23 -11
- package/docs/reference/classes/Pbkdf2.md +27 -11
- package/docs/reference/classes/PemHelper.md +69 -0
- package/docs/reference/classes/Secp256k1.md +21 -9
- package/docs/reference/classes/Sha1.md +11 -7
- package/docs/reference/classes/Sha256.md +17 -9
- package/docs/reference/classes/Sha3.md +23 -11
- package/docs/reference/classes/Sha512.md +23 -11
- package/docs/reference/classes/Slip0010.md +27 -11
- package/docs/reference/classes/Totp.md +42 -16
- package/docs/reference/classes/X25519.md +9 -5
- package/docs/reference/classes/Zip215.md +12 -6
- package/docs/reference/index.md +1 -0
- package/docs/reference/type-aliases/KeyType.md +1 -1
- package/docs/reference/variables/KeyType.md +1 -1
- package/locales/en.json +4 -0
- package/package.json +14 -13
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,530 @@
|
|
|
1
1
|
# @twin.org/crypto - Changelog
|
|
2
2
|
|
|
3
|
-
## 0.0.
|
|
3
|
+
## [0.0.2-next.10](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.9...crypto-v0.0.2-next.10) (2025-09-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **crypto:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/core bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
16
|
+
* @twin.org/nameof bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
17
|
+
* devDependencies
|
|
18
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
19
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
20
|
+
|
|
21
|
+
## [0.0.2-next.9](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.8...crypto-v0.0.2-next.9) (2025-09-08)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* add mnemonic validation ([4b43491](https://github.com/twinfoundation/framework/commit/4b43491cf04bb626c27faea66e5c74b3971b111d))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
* The following workspace dependencies were updated
|
|
32
|
+
* dependencies
|
|
33
|
+
* @twin.org/core bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
34
|
+
* @twin.org/nameof bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
35
|
+
* devDependencies
|
|
36
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
37
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
38
|
+
|
|
39
|
+
## [0.0.2-next.8](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.7...crypto-v0.0.2-next.8) (2025-09-05)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Miscellaneous Chores
|
|
43
|
+
|
|
44
|
+
* **crypto:** Synchronize repo versions
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Dependencies
|
|
48
|
+
|
|
49
|
+
* The following workspace dependencies were updated
|
|
50
|
+
* dependencies
|
|
51
|
+
* @twin.org/core bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
52
|
+
* @twin.org/nameof bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
53
|
+
* devDependencies
|
|
54
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
55
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
56
|
+
|
|
57
|
+
## [0.0.2-next.7](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.6...crypto-v0.0.2-next.7) (2025-08-29)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Features
|
|
61
|
+
|
|
62
|
+
* eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Dependencies
|
|
66
|
+
|
|
67
|
+
* The following workspace dependencies were updated
|
|
68
|
+
* dependencies
|
|
69
|
+
* @twin.org/core bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
70
|
+
* @twin.org/nameof bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
71
|
+
* devDependencies
|
|
72
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
73
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
74
|
+
|
|
75
|
+
## [0.0.2-next.6](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.5...crypto-v0.0.2-next.6) (2025-08-27)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Miscellaneous Chores
|
|
79
|
+
|
|
80
|
+
* **crypto:** Synchronize repo versions
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Dependencies
|
|
84
|
+
|
|
85
|
+
* The following workspace dependencies were updated
|
|
86
|
+
* dependencies
|
|
87
|
+
* @twin.org/core bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
88
|
+
* @twin.org/nameof bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
89
|
+
* devDependencies
|
|
90
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
91
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
92
|
+
|
|
93
|
+
## [0.0.2-next.5](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.4...crypto-v0.0.2-next.5) (2025-08-19)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Features
|
|
97
|
+
|
|
98
|
+
* use cause instead of inner for errors ([1f4acc4](https://github.com/twinfoundation/framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Dependencies
|
|
102
|
+
|
|
103
|
+
* The following workspace dependencies were updated
|
|
104
|
+
* dependencies
|
|
105
|
+
* @twin.org/core bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
106
|
+
* @twin.org/nameof bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
107
|
+
* devDependencies
|
|
108
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
109
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
110
|
+
|
|
111
|
+
## [0.0.2-next.4](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.3...crypto-v0.0.2-next.4) (2025-08-15)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### Features
|
|
115
|
+
|
|
116
|
+
* additional RSA methods and async ([1fceee2](https://github.com/twinfoundation/framework/commit/1fceee2d1248a24a7620846025fcf906495c07f4))
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Dependencies
|
|
120
|
+
|
|
121
|
+
* The following workspace dependencies were updated
|
|
122
|
+
* dependencies
|
|
123
|
+
* @twin.org/core bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
124
|
+
* @twin.org/nameof bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
125
|
+
* devDependencies
|
|
126
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
127
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
128
|
+
|
|
129
|
+
## [0.0.2-next.3](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.2...crypto-v0.0.2-next.3) (2025-08-06)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Features
|
|
133
|
+
|
|
134
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
135
|
+
* add rsa cipher support ([7af6cc6](https://github.com/twinfoundation/framework/commit/7af6cc67512d3363bd4a2f2e87bd7733c2800147))
|
|
136
|
+
* add RSA support for public key components ([7126259](https://github.com/twinfoundation/framework/commit/7126259103b758c291e52a8a03818eb822d1aad1))
|
|
137
|
+
* change method accessibility ([c1b77fc](https://github.com/twinfoundation/framework/commit/c1b77fcfb61c092a01c97aebb2fe2dc2bbaa221b))
|
|
138
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
139
|
+
* update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
|
|
140
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
### Dependencies
|
|
144
|
+
|
|
145
|
+
* The following workspace dependencies were updated
|
|
146
|
+
* dependencies
|
|
147
|
+
* @twin.org/core bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
148
|
+
* @twin.org/nameof bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
149
|
+
* devDependencies
|
|
150
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
151
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
152
|
+
|
|
153
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.1...crypto-v0.0.2-next.2) (2025-08-06)
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
### Features
|
|
157
|
+
|
|
158
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
159
|
+
* add rsa cipher support ([7af6cc6](https://github.com/twinfoundation/framework/commit/7af6cc67512d3363bd4a2f2e87bd7733c2800147))
|
|
160
|
+
* change method accessibility ([c1b77fc](https://github.com/twinfoundation/framework/commit/c1b77fcfb61c092a01c97aebb2fe2dc2bbaa221b))
|
|
161
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
162
|
+
* update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
|
|
163
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
### Dependencies
|
|
167
|
+
|
|
168
|
+
* The following workspace dependencies were updated
|
|
169
|
+
* dependencies
|
|
170
|
+
* @twin.org/core bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
171
|
+
* @twin.org/nameof bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
172
|
+
* devDependencies
|
|
173
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
174
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
175
|
+
|
|
176
|
+
## [0.0.2-next.1](https://github.com/twinfoundation/framework/compare/crypto-v0.0.2-next.0...crypto-v0.0.2-next.1) (2025-08-06)
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
### Features
|
|
180
|
+
|
|
181
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
182
|
+
* add rsa cipher support ([7af6cc6](https://github.com/twinfoundation/framework/commit/7af6cc67512d3363bd4a2f2e87bd7733c2800147))
|
|
183
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
184
|
+
* update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
|
|
185
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Dependencies
|
|
189
|
+
|
|
190
|
+
* The following workspace dependencies were updated
|
|
191
|
+
* dependencies
|
|
192
|
+
* @twin.org/core bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
193
|
+
* @twin.org/nameof bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
194
|
+
* devDependencies
|
|
195
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
196
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
197
|
+
|
|
198
|
+
## 0.0.1 (2025-07-03)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
### Features
|
|
202
|
+
|
|
203
|
+
* release to production ([829d53d](https://github.com/twinfoundation/framework/commit/829d53d3953b1e1b40b0243c04cfdfd3842aac7b))
|
|
204
|
+
* release to production ([5cf3a76](https://github.com/twinfoundation/framework/commit/5cf3a76a09eff2e6414d0cba846c7c37400a11d6))
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
### Dependencies
|
|
208
|
+
|
|
209
|
+
* The following workspace dependencies were updated
|
|
210
|
+
* dependencies
|
|
211
|
+
* @twin.org/core bumped from ^0.0.0 to ^0.0.1
|
|
212
|
+
* @twin.org/nameof bumped from ^0.0.0 to ^0.0.1
|
|
213
|
+
* devDependencies
|
|
214
|
+
* @twin.org/nameof-transformer bumped from ^0.0.0 to ^0.0.1
|
|
215
|
+
* @twin.org/nameof-vitest-plugin bumped from ^0.0.0 to ^0.0.1
|
|
216
|
+
|
|
217
|
+
## [0.0.1-next.70](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.69...crypto-v0.0.1-next.70) (2025-07-02)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
### Features
|
|
221
|
+
|
|
222
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
223
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
224
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
### Dependencies
|
|
228
|
+
|
|
229
|
+
* The following workspace dependencies were updated
|
|
230
|
+
* dependencies
|
|
231
|
+
* @twin.org/core bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
232
|
+
* @twin.org/nameof bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
233
|
+
* devDependencies
|
|
234
|
+
* @twin.org/nameof-transformer bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
235
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
236
|
+
|
|
237
|
+
## [0.0.1-next.69](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.68...crypto-v0.0.1-next.69) (2025-07-02)
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
### Features
|
|
241
|
+
|
|
242
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
243
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
244
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
### Dependencies
|
|
248
|
+
|
|
249
|
+
* The following workspace dependencies were updated
|
|
250
|
+
* dependencies
|
|
251
|
+
* @twin.org/core bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
252
|
+
* @twin.org/nameof bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
253
|
+
* devDependencies
|
|
254
|
+
* @twin.org/nameof-transformer bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
255
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
256
|
+
|
|
257
|
+
## [0.0.1-next.68](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.67...crypto-v0.0.1-next.68) (2025-07-02)
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
### Features
|
|
261
|
+
|
|
262
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
### Dependencies
|
|
266
|
+
|
|
267
|
+
* The following workspace dependencies were updated
|
|
268
|
+
* dependencies
|
|
269
|
+
* @twin.org/core bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
270
|
+
* @twin.org/nameof bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
271
|
+
* devDependencies
|
|
272
|
+
* @twin.org/nameof-transformer bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
273
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
274
|
+
|
|
275
|
+
## [0.0.1-next.67](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.66...crypto-v0.0.1-next.67) (2025-06-26)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
### Miscellaneous Chores
|
|
279
|
+
|
|
280
|
+
* **crypto:** Synchronize repo versions
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
### Dependencies
|
|
284
|
+
|
|
285
|
+
* The following workspace dependencies were updated
|
|
286
|
+
* dependencies
|
|
287
|
+
* @twin.org/core bumped from 0.0.1-next.66 to 0.0.1-next.67
|
|
288
|
+
|
|
289
|
+
## [0.0.1-next.66](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.65...crypto-v0.0.1-next.66) (2025-06-26)
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
### Miscellaneous Chores
|
|
293
|
+
|
|
294
|
+
* **crypto:** Synchronize repo versions
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
### Dependencies
|
|
298
|
+
|
|
299
|
+
* The following workspace dependencies were updated
|
|
300
|
+
* dependencies
|
|
301
|
+
* @twin.org/core bumped from 0.0.1-next.65 to 0.0.1-next.66
|
|
302
|
+
|
|
303
|
+
## [0.0.1-next.65](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.64...crypto-v0.0.1-next.65) (2025-06-19)
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
### Miscellaneous Chores
|
|
307
|
+
|
|
308
|
+
* **crypto:** Synchronize repo versions
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
### Dependencies
|
|
312
|
+
|
|
313
|
+
* The following workspace dependencies were updated
|
|
314
|
+
* dependencies
|
|
315
|
+
* @twin.org/core bumped from 0.0.1-next.64 to 0.0.1-next.65
|
|
316
|
+
|
|
317
|
+
## [0.0.1-next.64](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.63...crypto-v0.0.1-next.64) (2025-06-19)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
### Miscellaneous Chores
|
|
321
|
+
|
|
322
|
+
* **crypto:** Synchronize repo versions
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
### Dependencies
|
|
326
|
+
|
|
327
|
+
* The following workspace dependencies were updated
|
|
328
|
+
* dependencies
|
|
329
|
+
* @twin.org/core bumped from 0.0.1-next.63 to 0.0.1-next.64
|
|
330
|
+
|
|
331
|
+
## [0.0.1-next.63](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.62...crypto-v0.0.1-next.63) (2025-06-18)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
### Miscellaneous Chores
|
|
335
|
+
|
|
336
|
+
* **crypto:** Synchronize repo versions
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
### Dependencies
|
|
340
|
+
|
|
341
|
+
* The following workspace dependencies were updated
|
|
342
|
+
* dependencies
|
|
343
|
+
* @twin.org/core bumped from 0.0.1-next.62 to 0.0.1-next.63
|
|
344
|
+
|
|
345
|
+
## [0.0.1-next.62](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.61...crypto-v0.0.1-next.62) (2025-06-17)
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
### Features
|
|
349
|
+
|
|
350
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
351
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
### Dependencies
|
|
355
|
+
|
|
356
|
+
* The following workspace dependencies were updated
|
|
357
|
+
* dependencies
|
|
358
|
+
* @twin.org/core bumped from 0.0.1-next.61 to 0.0.1-next.62
|
|
359
|
+
|
|
360
|
+
## [0.0.1-next.61](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.60...crypto-v0.0.1-next.61) (2025-06-17)
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
### Miscellaneous Chores
|
|
364
|
+
|
|
365
|
+
* **crypto:** Synchronize repo versions
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
### Dependencies
|
|
369
|
+
|
|
370
|
+
* The following workspace dependencies were updated
|
|
371
|
+
* dependencies
|
|
372
|
+
* @twin.org/core bumped from 0.0.1-next.60 to 0.0.1-next.61
|
|
373
|
+
|
|
374
|
+
## [0.0.1-next.60](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.59...crypto-v0.0.1-next.60) (2025-06-17)
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
### Miscellaneous Chores
|
|
378
|
+
|
|
379
|
+
* **crypto:** Synchronize repo versions
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
### Dependencies
|
|
383
|
+
|
|
384
|
+
* The following workspace dependencies were updated
|
|
385
|
+
* dependencies
|
|
386
|
+
* @twin.org/core bumped from 0.0.1-next.59 to 0.0.1-next.60
|
|
387
|
+
|
|
388
|
+
## [0.0.1-next.59](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.58...crypto-v0.0.1-next.59) (2025-06-17)
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
### Miscellaneous Chores
|
|
392
|
+
|
|
393
|
+
* **crypto:** Synchronize repo versions
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
### Dependencies
|
|
397
|
+
|
|
398
|
+
* The following workspace dependencies were updated
|
|
399
|
+
* dependencies
|
|
400
|
+
* @twin.org/core bumped from 0.0.1-next.58 to 0.0.1-next.59
|
|
401
|
+
|
|
402
|
+
## [0.0.1-next.58](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.57...crypto-v0.0.1-next.58) (2025-06-13)
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
### Miscellaneous Chores
|
|
406
|
+
|
|
407
|
+
* **crypto:** Synchronize repo versions
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
### Dependencies
|
|
411
|
+
|
|
412
|
+
* The following workspace dependencies were updated
|
|
413
|
+
* dependencies
|
|
414
|
+
* @twin.org/core bumped from 0.0.1-next.57 to 0.0.1-next.58
|
|
415
|
+
|
|
416
|
+
## [0.0.1-next.57](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.56...crypto-v0.0.1-next.57) (2025-06-10)
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
### Features
|
|
420
|
+
|
|
421
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
### Dependencies
|
|
425
|
+
|
|
426
|
+
* The following workspace dependencies were updated
|
|
427
|
+
* dependencies
|
|
428
|
+
* @twin.org/core bumped from 0.0.1-next.56 to 0.0.1-next.57
|
|
429
|
+
|
|
430
|
+
## [0.0.1-next.56](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.55...crypto-v0.0.1-next.56) (2025-05-08)
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
### Miscellaneous Chores
|
|
434
|
+
|
|
435
|
+
* **crypto:** Synchronize repo versions
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
### Dependencies
|
|
439
|
+
|
|
440
|
+
* The following workspace dependencies were updated
|
|
441
|
+
* dependencies
|
|
442
|
+
* @twin.org/core bumped from 0.0.1-next.55 to 0.0.1-next.56
|
|
443
|
+
|
|
444
|
+
## [0.0.1-next.55](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.54...crypto-v0.0.1-next.55) (2025-05-07)
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
### Miscellaneous Chores
|
|
448
|
+
|
|
449
|
+
* **crypto:** Synchronize repo versions
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
### Dependencies
|
|
453
|
+
|
|
454
|
+
* The following workspace dependencies were updated
|
|
455
|
+
* dependencies
|
|
456
|
+
* @twin.org/core bumped from 0.0.1-next.54 to 0.0.1-next.55
|
|
457
|
+
|
|
458
|
+
## [0.0.1-next.54](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.53...crypto-v0.0.1-next.54) (2025-05-06)
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
### Miscellaneous Chores
|
|
462
|
+
|
|
463
|
+
* **crypto:** Synchronize repo versions
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
### Dependencies
|
|
467
|
+
|
|
468
|
+
* The following workspace dependencies were updated
|
|
469
|
+
* dependencies
|
|
470
|
+
* @twin.org/core bumped from 0.0.1-next.53 to 0.0.1-next.54
|
|
471
|
+
|
|
472
|
+
## [0.0.1-next.53](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.52...crypto-v0.0.1-next.53) (2025-05-01)
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
### Miscellaneous Chores
|
|
476
|
+
|
|
477
|
+
* **crypto:** Synchronize repo versions
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
### Dependencies
|
|
481
|
+
|
|
482
|
+
* The following workspace dependencies were updated
|
|
483
|
+
* dependencies
|
|
484
|
+
* @twin.org/core bumped from 0.0.1-next.52 to 0.0.1-next.53
|
|
485
|
+
|
|
486
|
+
## [0.0.1-next.52](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.51...crypto-v0.0.1-next.52) (2025-04-17)
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
### Features
|
|
490
|
+
|
|
491
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
### Dependencies
|
|
495
|
+
|
|
496
|
+
* The following workspace dependencies were updated
|
|
497
|
+
* dependencies
|
|
498
|
+
* @twin.org/core bumped from 0.0.1-next.51 to 0.0.1-next.52
|
|
499
|
+
|
|
500
|
+
## [0.0.1-next.51](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.50...crypto-v0.0.1-next.51) (2025-03-27)
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
### Miscellaneous Chores
|
|
504
|
+
|
|
505
|
+
* **crypto:** Synchronize repo versions
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
### Dependencies
|
|
509
|
+
|
|
510
|
+
* The following workspace dependencies were updated
|
|
511
|
+
* dependencies
|
|
512
|
+
* @twin.org/core bumped from 0.0.1-next.50 to 0.0.1-next.51
|
|
513
|
+
|
|
514
|
+
## [0.0.1-next.50](https://github.com/twinfoundation/framework/compare/crypto-v0.0.1-next.49...crypto-v0.0.1-next.50) (2025-03-26)
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
### Miscellaneous Chores
|
|
518
|
+
|
|
519
|
+
* **crypto:** Synchronize repo versions
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
### Dependencies
|
|
523
|
+
|
|
524
|
+
* The following workspace dependencies were updated
|
|
525
|
+
* dependencies
|
|
526
|
+
* @twin.org/core bumped from 0.0.1-next.49 to 0.0.1-next.50
|
|
527
|
+
|
|
528
|
+
## 0.0.1-next.49
|
|
4
529
|
|
|
5
530
|
- Added: Bip44
|
|
@@ -4,13 +4,13 @@ Bech32 encoding and decoding.
|
|
|
4
4
|
|
|
5
5
|
## Constructors
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Constructor
|
|
8
8
|
|
|
9
|
-
> **new Bech32**():
|
|
9
|
+
> **new Bech32**(): `Bech32`
|
|
10
10
|
|
|
11
11
|
#### Returns
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`Bech32`
|
|
14
14
|
|
|
15
15
|
## Methods
|
|
16
16
|
|
|
@@ -22,11 +22,15 @@ Encode the buffer.
|
|
|
22
22
|
|
|
23
23
|
#### Parameters
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
##### humanReadablePart
|
|
26
|
+
|
|
27
|
+
`string`
|
|
26
28
|
|
|
27
29
|
The header.
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
##### data
|
|
32
|
+
|
|
33
|
+
`Uint8Array`
|
|
30
34
|
|
|
31
35
|
The data to encode.
|
|
32
36
|
|
|
@@ -46,7 +50,9 @@ Decode a bech32 string.
|
|
|
46
50
|
|
|
47
51
|
#### Parameters
|
|
48
52
|
|
|
49
|
-
|
|
53
|
+
##### bech
|
|
54
|
+
|
|
55
|
+
`string`
|
|
50
56
|
|
|
51
57
|
The text to decode.
|
|
52
58
|
|
|
@@ -78,7 +84,9 @@ Is the input a bech 32 address.
|
|
|
78
84
|
|
|
79
85
|
#### Parameters
|
|
80
86
|
|
|
81
|
-
|
|
87
|
+
##### bech
|
|
88
|
+
|
|
89
|
+
`unknown`
|
|
82
90
|
|
|
83
91
|
The value to test.
|
|
84
92
|
|
|
@@ -4,39 +4,43 @@ Class to help with bip32 paths.
|
|
|
4
4
|
|
|
5
5
|
## Constructors
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Constructor
|
|
8
8
|
|
|
9
|
-
> **new Bip32Path**(`initialPath
|
|
9
|
+
> **new Bip32Path**(`initialPath?`): `Bip32Path`
|
|
10
10
|
|
|
11
11
|
Create a new instance of Bip32Path.
|
|
12
12
|
|
|
13
13
|
#### Parameters
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
##### initialPath?
|
|
16
|
+
|
|
17
|
+
`string`
|
|
16
18
|
|
|
17
19
|
Initial path to create.
|
|
18
20
|
|
|
19
21
|
#### Returns
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
`Bip32Path`
|
|
22
24
|
|
|
23
25
|
## Methods
|
|
24
26
|
|
|
25
27
|
### fromPath()
|
|
26
28
|
|
|
27
|
-
> `static` **fromPath**(`bip32Path`):
|
|
29
|
+
> `static` **fromPath**(`bip32Path`): `Bip32Path`
|
|
28
30
|
|
|
29
31
|
Construct a new path by cloning an existing one.
|
|
30
32
|
|
|
31
33
|
#### Parameters
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
##### bip32Path
|
|
36
|
+
|
|
37
|
+
`Bip32Path`
|
|
34
38
|
|
|
35
39
|
The path to clone.
|
|
36
40
|
|
|
37
41
|
#### Returns
|
|
38
42
|
|
|
39
|
-
|
|
43
|
+
`Bip32Path`
|
|
40
44
|
|
|
41
45
|
A new instance of Bip32Path.
|
|
42
46
|
|
|
@@ -64,7 +68,9 @@ Push a new index on to the path.
|
|
|
64
68
|
|
|
65
69
|
#### Parameters
|
|
66
70
|
|
|
67
|
-
|
|
71
|
+
##### index
|
|
72
|
+
|
|
73
|
+
`number`
|
|
68
74
|
|
|
69
75
|
The index to add to the path.
|
|
70
76
|
|
|
@@ -82,7 +88,9 @@ Push a new hardened index on to the path.
|
|
|
82
88
|
|
|
83
89
|
#### Parameters
|
|
84
90
|
|
|
85
|
-
|
|
91
|
+
##### index
|
|
92
|
+
|
|
93
|
+
`number`
|
|
86
94
|
|
|
87
95
|
The index to add to the path.
|
|
88
96
|
|