@twin.org/qr 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.
@@ -367,7 +367,6 @@ class QRNumber extends QRDataBase {
367
367
  // Copyright 2024 IOTA Stiftung.
368
368
  // SPDX-License-Identifier: Apache-2.0.
369
369
  /* eslint-disable no-bitwise */
370
- /* eslint-disable unicorn/prefer-math-trunc */
371
370
  /**
372
371
  * Class for maintaining data bits.
373
372
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -676,7 +675,6 @@ const MaskPattern = {
676
675
  // Copyright 2024 IOTA Stiftung.
677
676
  // SPDX-License-Identifier: Apache-2.0.
678
677
  /* eslint-disable no-bitwise */
679
- /* eslint-disable unicorn/prefer-math-trunc */
680
678
  /**
681
679
  * Helper methods for QR generation.
682
680
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -800,14 +798,11 @@ class QRHelper {
800
798
  /**
801
799
  * @internal
802
800
  */
803
- // eslint-disable-next-line unicorn/prefer-math-trunc
804
801
  static _G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0);
805
802
  /**
806
803
  * @internal
807
804
  */
808
- static _G18 =
809
- // eslint-disable-next-line unicorn/prefer-math-trunc
810
- (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0);
805
+ static _G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0);
811
806
  /**
812
807
  * @internal
813
808
  */
@@ -1237,7 +1232,6 @@ class RSBlock {
1237
1232
  /* eslint-disable no-bitwise */
1238
1233
  /* eslint-disable no-continue */
1239
1234
  /* eslint-disable no-mixed-operators */
1240
- /* eslint-disable unicorn/prefer-math-trunc */
1241
1235
  /**
1242
1236
  * Class to generates QR codes from data.
1243
1237
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -1935,7 +1929,6 @@ class PngRenderer {
1935
1929
 
1936
1930
  // Copyright 2024 IOTA Stiftung.
1937
1931
  // SPDX-License-Identifier: Apache-2.0.
1938
- /* eslint-disable no-mixed-operators */
1939
1932
  /**
1940
1933
  * Class to render qr data as text.
1941
1934
  */
@@ -365,7 +365,6 @@ class QRNumber extends QRDataBase {
365
365
  // Copyright 2024 IOTA Stiftung.
366
366
  // SPDX-License-Identifier: Apache-2.0.
367
367
  /* eslint-disable no-bitwise */
368
- /* eslint-disable unicorn/prefer-math-trunc */
369
368
  /**
370
369
  * Class for maintaining data bits.
371
370
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -674,7 +673,6 @@ const MaskPattern = {
674
673
  // Copyright 2024 IOTA Stiftung.
675
674
  // SPDX-License-Identifier: Apache-2.0.
676
675
  /* eslint-disable no-bitwise */
677
- /* eslint-disable unicorn/prefer-math-trunc */
678
676
  /**
679
677
  * Helper methods for QR generation.
680
678
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -798,14 +796,11 @@ class QRHelper {
798
796
  /**
799
797
  * @internal
800
798
  */
801
- // eslint-disable-next-line unicorn/prefer-math-trunc
802
799
  static _G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0);
803
800
  /**
804
801
  * @internal
805
802
  */
806
- static _G18 =
807
- // eslint-disable-next-line unicorn/prefer-math-trunc
808
- (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0);
803
+ static _G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0);
809
804
  /**
810
805
  * @internal
811
806
  */
@@ -1235,7 +1230,6 @@ class RSBlock {
1235
1230
  /* eslint-disable no-bitwise */
1236
1231
  /* eslint-disable no-continue */
1237
1232
  /* eslint-disable no-mixed-operators */
1238
- /* eslint-disable unicorn/prefer-math-trunc */
1239
1233
  /**
1240
1234
  * Class to generates QR codes from data.
1241
1235
  * Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -1933,7 +1927,6 @@ class PngRenderer {
1933
1927
 
1934
1928
  // Copyright 2024 IOTA Stiftung.
1935
1929
  // SPDX-License-Identifier: Apache-2.0.
1936
- /* eslint-disable no-mixed-operators */
1937
1930
  /**
1938
1931
  * Class to render qr data as text.
1939
1932
  */
package/docs/changelog.md CHANGED
@@ -1,5 +1,556 @@
1
1
  # @twin.org/qr - Changelog
2
2
 
3
- ## 0.0.1-next.9
3
+ ## [0.0.2-next.10](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.9...qr-v0.0.2-next.10) (2025-09-11)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **qr:** 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/image bumped from 0.0.2-next.9 to 0.0.2-next.10
17
+ * @twin.org/nameof bumped from 0.0.2-next.9 to 0.0.2-next.10
18
+ * devDependencies
19
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.9 to 0.0.2-next.10
20
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.9 to 0.0.2-next.10
21
+
22
+ ## [0.0.2-next.9](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.8...qr-v0.0.2-next.9) (2025-09-08)
23
+
24
+
25
+ ### Miscellaneous Chores
26
+
27
+ * **qr:** Synchronize repo versions
28
+
29
+
30
+ ### Dependencies
31
+
32
+ * The following workspace dependencies were updated
33
+ * dependencies
34
+ * @twin.org/core bumped from 0.0.2-next.8 to 0.0.2-next.9
35
+ * @twin.org/image bumped from 0.0.2-next.8 to 0.0.2-next.9
36
+ * @twin.org/nameof bumped from 0.0.2-next.8 to 0.0.2-next.9
37
+ * devDependencies
38
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.8 to 0.0.2-next.9
39
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.8 to 0.0.2-next.9
40
+
41
+ ## [0.0.2-next.8](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.7...qr-v0.0.2-next.8) (2025-09-05)
42
+
43
+
44
+ ### Miscellaneous Chores
45
+
46
+ * **qr:** Synchronize repo versions
47
+
48
+
49
+ ### Dependencies
50
+
51
+ * The following workspace dependencies were updated
52
+ * dependencies
53
+ * @twin.org/core bumped from 0.0.2-next.7 to 0.0.2-next.8
54
+ * @twin.org/image bumped from 0.0.2-next.7 to 0.0.2-next.8
55
+ * @twin.org/nameof bumped from 0.0.2-next.7 to 0.0.2-next.8
56
+ * devDependencies
57
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.7 to 0.0.2-next.8
58
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.7 to 0.0.2-next.8
59
+
60
+ ## [0.0.2-next.7](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.6...qr-v0.0.2-next.7) (2025-08-29)
61
+
62
+
63
+ ### Features
64
+
65
+ * eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
66
+
67
+
68
+ ### Dependencies
69
+
70
+ * The following workspace dependencies were updated
71
+ * dependencies
72
+ * @twin.org/core bumped from 0.0.2-next.6 to 0.0.2-next.7
73
+ * @twin.org/image bumped from 0.0.2-next.6 to 0.0.2-next.7
74
+ * @twin.org/nameof bumped from 0.0.2-next.6 to 0.0.2-next.7
75
+ * devDependencies
76
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.6 to 0.0.2-next.7
77
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.6 to 0.0.2-next.7
78
+
79
+ ## [0.0.2-next.6](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.5...qr-v0.0.2-next.6) (2025-08-27)
80
+
81
+
82
+ ### Miscellaneous Chores
83
+
84
+ * **qr:** Synchronize repo versions
85
+
86
+
87
+ ### Dependencies
88
+
89
+ * The following workspace dependencies were updated
90
+ * dependencies
91
+ * @twin.org/core bumped from 0.0.2-next.5 to 0.0.2-next.6
92
+ * @twin.org/image bumped from 0.0.2-next.5 to 0.0.2-next.6
93
+ * @twin.org/nameof bumped from 0.0.2-next.5 to 0.0.2-next.6
94
+ * devDependencies
95
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.5 to 0.0.2-next.6
96
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.5 to 0.0.2-next.6
97
+
98
+ ## [0.0.2-next.5](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.4...qr-v0.0.2-next.5) (2025-08-19)
99
+
100
+
101
+ ### Features
102
+
103
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/twinfoundation/framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
104
+
105
+
106
+ ### Dependencies
107
+
108
+ * The following workspace dependencies were updated
109
+ * dependencies
110
+ * @twin.org/core bumped from 0.0.2-next.4 to 0.0.2-next.5
111
+ * @twin.org/image bumped from 0.0.2-next.4 to 0.0.2-next.5
112
+ * @twin.org/nameof bumped from 0.0.2-next.4 to 0.0.2-next.5
113
+ * devDependencies
114
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.4 to 0.0.2-next.5
115
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.4 to 0.0.2-next.5
116
+
117
+ ## [0.0.2-next.4](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.3...qr-v0.0.2-next.4) (2025-08-15)
118
+
119
+
120
+ ### Miscellaneous Chores
121
+
122
+ * **qr:** Synchronize repo versions
123
+
124
+
125
+ ### Dependencies
126
+
127
+ * The following workspace dependencies were updated
128
+ * dependencies
129
+ * @twin.org/core bumped from 0.0.2-next.3 to 0.0.2-next.4
130
+ * @twin.org/image bumped from 0.0.2-next.3 to 0.0.2-next.4
131
+ * @twin.org/nameof bumped from 0.0.2-next.3 to 0.0.2-next.4
132
+ * devDependencies
133
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.3 to 0.0.2-next.4
134
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.3 to 0.0.2-next.4
135
+
136
+ ## [0.0.2-next.3](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.2...qr-v0.0.2-next.3) (2025-08-06)
137
+
138
+
139
+ ### Features
140
+
141
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
142
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
143
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
144
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
145
+
146
+
147
+ ### Dependencies
148
+
149
+ * The following workspace dependencies were updated
150
+ * dependencies
151
+ * @twin.org/core bumped from 0.0.2-next.2 to 0.0.2-next.3
152
+ * @twin.org/image bumped from 0.0.2-next.2 to 0.0.2-next.3
153
+ * @twin.org/nameof bumped from 0.0.2-next.2 to 0.0.2-next.3
154
+ * devDependencies
155
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.2 to 0.0.2-next.3
156
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.2 to 0.0.2-next.3
157
+
158
+ ## [0.0.2-next.2](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.1...qr-v0.0.2-next.2) (2025-08-06)
159
+
160
+
161
+ ### Features
162
+
163
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
164
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
165
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
166
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
167
+
168
+
169
+ ### Dependencies
170
+
171
+ * The following workspace dependencies were updated
172
+ * dependencies
173
+ * @twin.org/core bumped from 0.0.2-next.1 to 0.0.2-next.2
174
+ * @twin.org/image bumped from 0.0.2-next.1 to 0.0.2-next.2
175
+ * @twin.org/nameof bumped from 0.0.2-next.1 to 0.0.2-next.2
176
+ * devDependencies
177
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.1 to 0.0.2-next.2
178
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.1 to 0.0.2-next.2
179
+
180
+ ## [0.0.2-next.1](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.0...qr-v0.0.2-next.1) (2025-08-06)
181
+
182
+
183
+ ### Features
184
+
185
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
186
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
187
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
188
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
189
+
190
+
191
+ ### Dependencies
192
+
193
+ * The following workspace dependencies were updated
194
+ * dependencies
195
+ * @twin.org/core bumped from 0.0.2-next.0 to 0.0.2-next.1
196
+ * @twin.org/image bumped from 0.0.2-next.0 to 0.0.2-next.1
197
+ * @twin.org/nameof bumped from 0.0.2-next.0 to 0.0.2-next.1
198
+ * devDependencies
199
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.0 to 0.0.2-next.1
200
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.0 to 0.0.2-next.1
201
+
202
+ ## 0.0.1 (2025-07-03)
203
+
204
+
205
+ ### Features
206
+
207
+ * release to production ([829d53d](https://github.com/twinfoundation/framework/commit/829d53d3953b1e1b40b0243c04cfdfd3842aac7b))
208
+ * release to production ([5cf3a76](https://github.com/twinfoundation/framework/commit/5cf3a76a09eff2e6414d0cba846c7c37400a11d6))
209
+
210
+
211
+ ### Dependencies
212
+
213
+ * The following workspace dependencies were updated
214
+ * dependencies
215
+ * @twin.org/core bumped from ^0.0.0 to ^0.0.1
216
+ * @twin.org/image bumped from ^0.0.0 to ^0.0.1
217
+ * @twin.org/nameof bumped from ^0.0.0 to ^0.0.1
218
+ * devDependencies
219
+ * @twin.org/nameof-transformer bumped from ^0.0.0 to ^0.0.1
220
+ * @twin.org/nameof-vitest-plugin bumped from ^0.0.0 to ^0.0.1
221
+
222
+ ## [0.0.1-next.70](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.69...qr-v0.0.1-next.70) (2025-07-02)
223
+
224
+
225
+ ### Features
226
+
227
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
228
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
229
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
230
+
231
+
232
+ ### Dependencies
233
+
234
+ * The following workspace dependencies were updated
235
+ * dependencies
236
+ * @twin.org/core bumped from 0.0.1-next.69 to 0.0.1-next.70
237
+ * @twin.org/image bumped from 0.0.1-next.69 to 0.0.1-next.70
238
+ * @twin.org/nameof bumped from 0.0.1-next.69 to 0.0.1-next.70
239
+ * devDependencies
240
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.69 to 0.0.1-next.70
241
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.69 to 0.0.1-next.70
242
+
243
+ ## [0.0.1-next.69](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.68...qr-v0.0.1-next.69) (2025-07-02)
244
+
245
+
246
+ ### Features
247
+
248
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
249
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
250
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
251
+
252
+
253
+ ### Dependencies
254
+
255
+ * The following workspace dependencies were updated
256
+ * dependencies
257
+ * @twin.org/core bumped from 0.0.1-next.68 to 0.0.1-next.69
258
+ * @twin.org/image bumped from 0.0.1-next.68 to 0.0.1-next.69
259
+ * @twin.org/nameof bumped from 0.0.1-next.68 to 0.0.1-next.69
260
+ * devDependencies
261
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.68 to 0.0.1-next.69
262
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.68 to 0.0.1-next.69
263
+
264
+ ## [0.0.1-next.68](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.67...qr-v0.0.1-next.68) (2025-07-02)
265
+
266
+
267
+ ### Features
268
+
269
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
270
+
271
+
272
+ ### Dependencies
273
+
274
+ * The following workspace dependencies were updated
275
+ * dependencies
276
+ * @twin.org/core bumped from 0.0.1-next.67 to 0.0.1-next.68
277
+ * @twin.org/image bumped from 0.0.1-next.67 to 0.0.1-next.68
278
+ * @twin.org/nameof bumped from 0.0.1-next.67 to 0.0.1-next.68
279
+ * devDependencies
280
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.67 to 0.0.1-next.68
281
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.67 to 0.0.1-next.68
282
+
283
+ ## [0.0.1-next.67](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.66...qr-v0.0.1-next.67) (2025-06-26)
284
+
285
+
286
+ ### Miscellaneous Chores
287
+
288
+ * **qr:** Synchronize repo versions
289
+
290
+
291
+ ### Dependencies
292
+
293
+ * The following workspace dependencies were updated
294
+ * dependencies
295
+ * @twin.org/core bumped from 0.0.1-next.66 to 0.0.1-next.67
296
+ * @twin.org/image bumped from 0.0.1-next.66 to 0.0.1-next.67
297
+
298
+ ## [0.0.1-next.66](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.65...qr-v0.0.1-next.66) (2025-06-26)
299
+
300
+
301
+ ### Miscellaneous Chores
302
+
303
+ * **qr:** Synchronize repo versions
304
+
305
+
306
+ ### Dependencies
307
+
308
+ * The following workspace dependencies were updated
309
+ * dependencies
310
+ * @twin.org/core bumped from 0.0.1-next.65 to 0.0.1-next.66
311
+ * @twin.org/image bumped from 0.0.1-next.65 to 0.0.1-next.66
312
+
313
+ ## [0.0.1-next.65](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.64...qr-v0.0.1-next.65) (2025-06-19)
314
+
315
+
316
+ ### Miscellaneous Chores
317
+
318
+ * **qr:** Synchronize repo versions
319
+
320
+
321
+ ### Dependencies
322
+
323
+ * The following workspace dependencies were updated
324
+ * dependencies
325
+ * @twin.org/core bumped from 0.0.1-next.64 to 0.0.1-next.65
326
+ * @twin.org/image bumped from 0.0.1-next.64 to 0.0.1-next.65
327
+
328
+ ## [0.0.1-next.64](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.63...qr-v0.0.1-next.64) (2025-06-19)
329
+
330
+
331
+ ### Miscellaneous Chores
332
+
333
+ * **qr:** Synchronize repo versions
334
+
335
+
336
+ ### Dependencies
337
+
338
+ * The following workspace dependencies were updated
339
+ * dependencies
340
+ * @twin.org/core bumped from 0.0.1-next.63 to 0.0.1-next.64
341
+ * @twin.org/image bumped from 0.0.1-next.63 to 0.0.1-next.64
342
+
343
+ ## [0.0.1-next.63](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.62...qr-v0.0.1-next.63) (2025-06-18)
344
+
345
+
346
+ ### Miscellaneous Chores
347
+
348
+ * **qr:** Synchronize repo versions
349
+
350
+
351
+ ### Dependencies
352
+
353
+ * The following workspace dependencies were updated
354
+ * dependencies
355
+ * @twin.org/core bumped from 0.0.1-next.62 to 0.0.1-next.63
356
+ * @twin.org/image bumped from 0.0.1-next.62 to 0.0.1-next.63
357
+
358
+ ## [0.0.1-next.62](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.61...qr-v0.0.1-next.62) (2025-06-17)
359
+
360
+
361
+ ### Features
362
+
363
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
364
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
365
+
366
+
367
+ ### Dependencies
368
+
369
+ * The following workspace dependencies were updated
370
+ * dependencies
371
+ * @twin.org/core bumped from 0.0.1-next.61 to 0.0.1-next.62
372
+ * @twin.org/image bumped from 0.0.1-next.61 to 0.0.1-next.62
373
+
374
+ ## [0.0.1-next.61](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.60...qr-v0.0.1-next.61) (2025-06-17)
375
+
376
+
377
+ ### Miscellaneous Chores
378
+
379
+ * **qr:** 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.60 to 0.0.1-next.61
387
+ * @twin.org/image bumped from 0.0.1-next.60 to 0.0.1-next.61
388
+
389
+ ## [0.0.1-next.60](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.59...qr-v0.0.1-next.60) (2025-06-17)
390
+
391
+
392
+ ### Miscellaneous Chores
393
+
394
+ * **qr:** Synchronize repo versions
395
+
396
+
397
+ ### Dependencies
398
+
399
+ * The following workspace dependencies were updated
400
+ * dependencies
401
+ * @twin.org/core bumped from 0.0.1-next.59 to 0.0.1-next.60
402
+ * @twin.org/image bumped from 0.0.1-next.59 to 0.0.1-next.60
403
+
404
+ ## [0.0.1-next.59](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.58...qr-v0.0.1-next.59) (2025-06-17)
405
+
406
+
407
+ ### Miscellaneous Chores
408
+
409
+ * **qr:** Synchronize repo versions
410
+
411
+
412
+ ### Dependencies
413
+
414
+ * The following workspace dependencies were updated
415
+ * dependencies
416
+ * @twin.org/core bumped from 0.0.1-next.58 to 0.0.1-next.59
417
+ * @twin.org/image bumped from 0.0.1-next.58 to 0.0.1-next.59
418
+
419
+ ## [0.0.1-next.58](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.57...qr-v0.0.1-next.58) (2025-06-13)
420
+
421
+
422
+ ### Miscellaneous Chores
423
+
424
+ * **qr:** Synchronize repo versions
425
+
426
+
427
+ ### Dependencies
428
+
429
+ * The following workspace dependencies were updated
430
+ * dependencies
431
+ * @twin.org/core bumped from 0.0.1-next.57 to 0.0.1-next.58
432
+ * @twin.org/image bumped from 0.0.1-next.57 to 0.0.1-next.58
433
+
434
+ ## [0.0.1-next.57](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.56...qr-v0.0.1-next.57) (2025-06-10)
435
+
436
+
437
+ ### Features
438
+
439
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
440
+
441
+
442
+ ### Dependencies
443
+
444
+ * The following workspace dependencies were updated
445
+ * dependencies
446
+ * @twin.org/core bumped from 0.0.1-next.56 to 0.0.1-next.57
447
+ * @twin.org/image bumped from 0.0.1-next.56 to 0.0.1-next.57
448
+
449
+ ## [0.0.1-next.56](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.55...qr-v0.0.1-next.56) (2025-05-08)
450
+
451
+
452
+ ### Miscellaneous Chores
453
+
454
+ * **qr:** Synchronize repo versions
455
+
456
+
457
+ ### Dependencies
458
+
459
+ * The following workspace dependencies were updated
460
+ * dependencies
461
+ * @twin.org/core bumped from 0.0.1-next.55 to 0.0.1-next.56
462
+ * @twin.org/image bumped from 0.0.1-next.55 to 0.0.1-next.56
463
+
464
+ ## [0.0.1-next.55](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.54...qr-v0.0.1-next.55) (2025-05-07)
465
+
466
+
467
+ ### Miscellaneous Chores
468
+
469
+ * **qr:** Synchronize repo versions
470
+
471
+
472
+ ### Dependencies
473
+
474
+ * The following workspace dependencies were updated
475
+ * dependencies
476
+ * @twin.org/core bumped from 0.0.1-next.54 to 0.0.1-next.55
477
+ * @twin.org/image bumped from 0.0.1-next.54 to 0.0.1-next.55
478
+
479
+ ## [0.0.1-next.54](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.53...qr-v0.0.1-next.54) (2025-05-06)
480
+
481
+
482
+ ### Miscellaneous Chores
483
+
484
+ * **qr:** Synchronize repo versions
485
+
486
+
487
+ ### Dependencies
488
+
489
+ * The following workspace dependencies were updated
490
+ * dependencies
491
+ * @twin.org/core bumped from 0.0.1-next.53 to 0.0.1-next.54
492
+ * @twin.org/image bumped from 0.0.1-next.53 to 0.0.1-next.54
493
+
494
+ ## [0.0.1-next.53](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.52...qr-v0.0.1-next.53) (2025-05-01)
495
+
496
+
497
+ ### Miscellaneous Chores
498
+
499
+ * **qr:** Synchronize repo versions
500
+
501
+
502
+ ### Dependencies
503
+
504
+ * The following workspace dependencies were updated
505
+ * dependencies
506
+ * @twin.org/core bumped from 0.0.1-next.52 to 0.0.1-next.53
507
+ * @twin.org/image bumped from 0.0.1-next.52 to 0.0.1-next.53
508
+
509
+ ## [0.0.1-next.52](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.51...qr-v0.0.1-next.52) (2025-04-17)
510
+
511
+
512
+ ### Features
513
+
514
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
515
+
516
+
517
+ ### Dependencies
518
+
519
+ * The following workspace dependencies were updated
520
+ * dependencies
521
+ * @twin.org/core bumped from 0.0.1-next.51 to 0.0.1-next.52
522
+ * @twin.org/image bumped from 0.0.1-next.51 to 0.0.1-next.52
523
+
524
+ ## [0.0.1-next.51](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.50...qr-v0.0.1-next.51) (2025-03-27)
525
+
526
+
527
+ ### Miscellaneous Chores
528
+
529
+ * **qr:** Synchronize repo versions
530
+
531
+
532
+ ### Dependencies
533
+
534
+ * The following workspace dependencies were updated
535
+ * dependencies
536
+ * @twin.org/core bumped from 0.0.1-next.50 to 0.0.1-next.51
537
+ * @twin.org/image bumped from 0.0.1-next.50 to 0.0.1-next.51
538
+
539
+ ## [0.0.1-next.50](https://github.com/twinfoundation/framework/compare/qr-v0.0.1-next.49...qr-v0.0.1-next.50) (2025-03-26)
540
+
541
+
542
+ ### Miscellaneous Chores
543
+
544
+ * **qr:** Synchronize repo versions
545
+
546
+
547
+ ### Dependencies
548
+
549
+ * The following workspace dependencies were updated
550
+ * dependencies
551
+ * @twin.org/core bumped from 0.0.1-next.49 to 0.0.1-next.50
552
+ * @twin.org/image bumped from 0.0.1-next.49 to 0.0.1-next.50
553
+
554
+ ## 0.0.1-next.49
4
555
 
5
556
  - Initial Release
@@ -4,34 +4,38 @@ Class to render qr data as jpeg.
4
4
 
5
5
  ## Constructors
6
6
 
7
- ### new JpegRenderer()
7
+ ### Constructor
8
8
 
9
- > **new JpegRenderer**(): [`JpegRenderer`](JpegRenderer.md)
9
+ > **new JpegRenderer**(): `JpegRenderer`
10
10
 
11
11
  #### Returns
12
12
 
13
- [`JpegRenderer`](JpegRenderer.md)
13
+ `JpegRenderer`
14
14
 
15
15
  ## Methods
16
16
 
17
17
  ### render()
18
18
 
19
- > `static` **render**(`cellData`, `options`?): `Promise`\<`Uint8Array`\>
19
+ > `static` **render**(`cellData`, `options?`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
20
20
 
21
21
  Render the QR code data as a bitmap.
22
22
 
23
23
  #### Parameters
24
24
 
25
- **cellData**: [`QRCellData`](../type-aliases/QRCellData.md)
25
+ ##### cellData
26
+
27
+ [`QRCellData`](../type-aliases/QRCellData.md)
26
28
 
27
29
  The cell data for the QR code.
28
30
 
29
- **options?**: [`IBitmapRendererOptions`](../interfaces/IBitmapRendererOptions.md)
31
+ ##### options?
32
+
33
+ [`IBitmapRendererOptions`](../interfaces/IBitmapRendererOptions.md)
30
34
 
31
35
  The options for rendering.
32
36
 
33
37
  #### Returns
34
38
 
35
- `Promise`\<`Uint8Array`\>
39
+ `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
36
40
 
37
41
  The bitmap content.
@@ -4,34 +4,38 @@ Class to render qr data as png.
4
4
 
5
5
  ## Constructors
6
6
 
7
- ### new PngRenderer()
7
+ ### Constructor
8
8
 
9
- > **new PngRenderer**(): [`PngRenderer`](PngRenderer.md)
9
+ > **new PngRenderer**(): `PngRenderer`
10
10
 
11
11
  #### Returns
12
12
 
13
- [`PngRenderer`](PngRenderer.md)
13
+ `PngRenderer`
14
14
 
15
15
  ## Methods
16
16
 
17
17
  ### render()
18
18
 
19
- > `static` **render**(`cellData`, `options`?): `Promise`\<`Uint8Array`\>
19
+ > `static` **render**(`cellData`, `options?`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
20
20
 
21
21
  Render the QR code data as a bitmap.
22
22
 
23
23
  #### Parameters
24
24
 
25
- **cellData**: [`QRCellData`](../type-aliases/QRCellData.md)
25
+ ##### cellData
26
+
27
+ [`QRCellData`](../type-aliases/QRCellData.md)
26
28
 
27
29
  The cell data for the QR code.
28
30
 
29
- **options?**: [`IBitmapRendererOptions`](../interfaces/IBitmapRendererOptions.md)
31
+ ##### options?
32
+
33
+ [`IBitmapRendererOptions`](../interfaces/IBitmapRendererOptions.md)
30
34
 
31
35
  The options for rendering.
32
36
 
33
37
  #### Returns
34
38
 
35
- `Promise`\<`Uint8Array`\>
39
+ `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
36
40
 
37
41
  The bitmap content.
@@ -5,25 +5,29 @@ Based on https://github.com/kazuhikoarase/qrcode-generator/ .
5
5
 
6
6
  ## Constructors
7
7
 
8
- ### new QR()
8
+ ### Constructor
9
9
 
10
- > **new QR**(`typeNumber`, `errorCorrectLevel`): [`QR`](QR.md)
10
+ > **new QR**(`typeNumber`, `errorCorrectLevel`): `QR`
11
11
 
12
12
  Create a new instance of QR.
13
13
 
14
14
  #### Parameters
15
15
 
16
- **typeNumber**: `number` = `6`
16
+ ##### typeNumber
17
+
18
+ `number` = `6`
17
19
 
18
20
  0 to 40, 0 means autodetect.
19
21
 
20
- **errorCorrectLevel**: [`ErrorCorrectLevel`](../type-aliases/ErrorCorrectLevel.md) = `ErrorCorrectLevel.L`
22
+ ##### errorCorrectLevel
23
+
24
+ [`ErrorCorrectLevel`](../type-aliases/ErrorCorrectLevel.md) = `ErrorCorrectLevel.L`
21
25
 
22
26
  'L','M','Q','H'.
23
27
 
24
28
  #### Returns
25
29
 
26
- [`QR`](QR.md)
30
+ `QR`
27
31
 
28
32
  #### Throws
29
33
 
@@ -39,7 +43,9 @@ Add text data to the QR Code.
39
43
 
40
44
  #### Parameters
41
45
 
42
- **qrData**: `string`
46
+ ##### qrData
47
+
48
+ `string`
43
49
 
44
50
  The data to add.
45
51
 
@@ -57,7 +63,9 @@ Add number to the QR Code.
57
63
 
58
64
  #### Parameters
59
65
 
60
- **qrData**: `string`
66
+ ##### qrData
67
+
68
+ `string`
61
69
 
62
70
  The data to add.
63
71
 
@@ -75,7 +83,9 @@ Add alpha numeric to the QR Code.
75
83
 
76
84
  #### Parameters
77
85
 
78
- **qrData**: `string`
86
+ ##### qrData
87
+
88
+ `string`
79
89
 
80
90
  The data to add.
81
91
 
@@ -4,29 +4,33 @@ Class to render qr data as text.
4
4
 
5
5
  ## Constructors
6
6
 
7
- ### new TextRenderer()
7
+ ### Constructor
8
8
 
9
- > **new TextRenderer**(): [`TextRenderer`](TextRenderer.md)
9
+ > **new TextRenderer**(): `TextRenderer`
10
10
 
11
11
  #### Returns
12
12
 
13
- [`TextRenderer`](TextRenderer.md)
13
+ `TextRenderer`
14
14
 
15
15
  ## Methods
16
16
 
17
17
  ### render()
18
18
 
19
- > `static` **render**(`cellData`, `options`?): `Promise`\<`string`\>
19
+ > `static` **render**(`cellData`, `options?`): `Promise`\<`string`\>
20
20
 
21
21
  Render the QR code data as text.
22
22
 
23
23
  #### Parameters
24
24
 
25
- **cellData**: [`QRCellData`](../type-aliases/QRCellData.md)
25
+ ##### cellData
26
+
27
+ [`QRCellData`](../type-aliases/QRCellData.md)
26
28
 
27
29
  The cell data for the QR code.
28
30
 
29
- **options?**: [`ITextRendererOptions`](../interfaces/ITextRendererOptions.md)
31
+ ##### options?
32
+
33
+ [`ITextRendererOptions`](../interfaces/ITextRendererOptions.md)
30
34
 
31
35
  The options for rendering.
32
36
 
@@ -1,6 +1,6 @@
1
1
  # Type Alias: ErrorCorrectLevel
2
2
 
3
- > **ErrorCorrectLevel**: *typeof* [`ErrorCorrectLevel`](../variables/ErrorCorrectLevel.md)\[keyof *typeof* [`ErrorCorrectLevel`](../variables/ErrorCorrectLevel.md)\]
3
+ > **ErrorCorrectLevel** = *typeof* [`ErrorCorrectLevel`](../variables/ErrorCorrectLevel.md)\[keyof *typeof* [`ErrorCorrectLevel`](../variables/ErrorCorrectLevel.md)\]
4
4
 
5
5
  Error correction level to use for the QR Code.
6
6
  Based on https://github.com/kazuhikoarase/qrcode-generator/ .
@@ -1,5 +1,5 @@
1
1
  # Type Alias: QRCellData
2
2
 
3
- > **QRCellData**: (`boolean` \| `null`)[][]
3
+ > **QRCellData** = (`boolean` \| `null`)[][]
4
4
 
5
5
  Definition of type for QR Code Cell data.
@@ -5,7 +5,7 @@
5
5
  Error correction level to use for the QR Code.
6
6
  Based on https://github.com/kazuhikoarase/qrcode-generator/ .
7
7
 
8
- ## Type declaration
8
+ ## Type Declaration
9
9
 
10
10
  ### L
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/qr",
3
- "version": "0.0.1-next.9",
3
+ "version": "0.0.2-next.10",
4
4
  "description": "Package for creating QR codes",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,18 +14,18 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "0.0.1-next.9",
18
- "@twin.org/image": "0.0.1-next.9",
19
- "@twin.org/nameof": "next"
17
+ "@twin.org/core": "0.0.2-next.10",
18
+ "@twin.org/image": "0.0.2-next.10",
19
+ "@twin.org/nameof": "0.0.2-next.10"
20
20
  },
21
21
  "main": "./dist/cjs/index.cjs",
22
22
  "module": "./dist/esm/index.mjs",
23
23
  "types": "./dist/types/index.d.ts",
24
24
  "exports": {
25
25
  ".": {
26
+ "types": "./dist/types/index.d.ts",
26
27
  "require": "./dist/cjs/index.cjs",
27
- "import": "./dist/esm/index.mjs",
28
- "types": "./dist/types/index.d.ts"
28
+ "import": "./dist/esm/index.mjs"
29
29
  }
30
30
  },
31
31
  "files": [