@twin.org/qr 0.0.1-next.9 → 0.0.2-next.3

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/docs/changelog.md CHANGED
@@ -1,5 +1,423 @@
1
1
  # @twin.org/qr - Changelog
2
2
 
3
- ## 0.0.1-next.9
3
+ ## [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)
4
+
5
+
6
+ ### Features
7
+
8
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
9
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
10
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
11
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
12
+
13
+
14
+ ### Dependencies
15
+
16
+ * The following workspace dependencies were updated
17
+ * dependencies
18
+ * @twin.org/core bumped from 0.0.2-next.2 to 0.0.2-next.3
19
+ * @twin.org/image bumped from 0.0.2-next.2 to 0.0.2-next.3
20
+ * @twin.org/nameof bumped from 0.0.2-next.2 to 0.0.2-next.3
21
+ * devDependencies
22
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.2 to 0.0.2-next.3
23
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.2 to 0.0.2-next.3
24
+
25
+ ## [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)
26
+
27
+
28
+ ### Features
29
+
30
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
31
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
32
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
33
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
34
+
35
+
36
+ ### Dependencies
37
+
38
+ * The following workspace dependencies were updated
39
+ * dependencies
40
+ * @twin.org/core bumped from 0.0.2-next.1 to 0.0.2-next.2
41
+ * @twin.org/image bumped from 0.0.2-next.1 to 0.0.2-next.2
42
+ * @twin.org/nameof bumped from 0.0.2-next.1 to 0.0.2-next.2
43
+ * devDependencies
44
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.1 to 0.0.2-next.2
45
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.1 to 0.0.2-next.2
46
+
47
+ ## [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)
48
+
49
+
50
+ ### Features
51
+
52
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
53
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
54
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
55
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
56
+
57
+
58
+ ### Dependencies
59
+
60
+ * The following workspace dependencies were updated
61
+ * dependencies
62
+ * @twin.org/core bumped from 0.0.2-next.0 to 0.0.2-next.1
63
+ * @twin.org/image bumped from 0.0.2-next.0 to 0.0.2-next.1
64
+ * @twin.org/nameof bumped from 0.0.2-next.0 to 0.0.2-next.1
65
+ * devDependencies
66
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.0 to 0.0.2-next.1
67
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.0 to 0.0.2-next.1
68
+
69
+ ## 0.0.1 (2025-07-03)
70
+
71
+
72
+ ### Features
73
+
74
+ * release to production ([829d53d](https://github.com/twinfoundation/framework/commit/829d53d3953b1e1b40b0243c04cfdfd3842aac7b))
75
+ * release to production ([5cf3a76](https://github.com/twinfoundation/framework/commit/5cf3a76a09eff2e6414d0cba846c7c37400a11d6))
76
+
77
+
78
+ ### Dependencies
79
+
80
+ * The following workspace dependencies were updated
81
+ * dependencies
82
+ * @twin.org/core bumped from ^0.0.0 to ^0.0.1
83
+ * @twin.org/image bumped from ^0.0.0 to ^0.0.1
84
+ * @twin.org/nameof bumped from ^0.0.0 to ^0.0.1
85
+ * devDependencies
86
+ * @twin.org/nameof-transformer bumped from ^0.0.0 to ^0.0.1
87
+ * @twin.org/nameof-vitest-plugin bumped from ^0.0.0 to ^0.0.1
88
+
89
+ ## [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)
90
+
91
+
92
+ ### Features
93
+
94
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
95
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
96
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
97
+
98
+
99
+ ### Dependencies
100
+
101
+ * The following workspace dependencies were updated
102
+ * dependencies
103
+ * @twin.org/core bumped from 0.0.1-next.69 to 0.0.1-next.70
104
+ * @twin.org/image bumped from 0.0.1-next.69 to 0.0.1-next.70
105
+ * @twin.org/nameof bumped from 0.0.1-next.69 to 0.0.1-next.70
106
+ * devDependencies
107
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.69 to 0.0.1-next.70
108
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.69 to 0.0.1-next.70
109
+
110
+ ## [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)
111
+
112
+
113
+ ### Features
114
+
115
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
116
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
117
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
118
+
119
+
120
+ ### Dependencies
121
+
122
+ * The following workspace dependencies were updated
123
+ * dependencies
124
+ * @twin.org/core bumped from 0.0.1-next.68 to 0.0.1-next.69
125
+ * @twin.org/image bumped from 0.0.1-next.68 to 0.0.1-next.69
126
+ * @twin.org/nameof bumped from 0.0.1-next.68 to 0.0.1-next.69
127
+ * devDependencies
128
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.68 to 0.0.1-next.69
129
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.68 to 0.0.1-next.69
130
+
131
+ ## [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)
132
+
133
+
134
+ ### Features
135
+
136
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
137
+
138
+
139
+ ### Dependencies
140
+
141
+ * The following workspace dependencies were updated
142
+ * dependencies
143
+ * @twin.org/core bumped from 0.0.1-next.67 to 0.0.1-next.68
144
+ * @twin.org/image bumped from 0.0.1-next.67 to 0.0.1-next.68
145
+ * @twin.org/nameof bumped from 0.0.1-next.67 to 0.0.1-next.68
146
+ * devDependencies
147
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.67 to 0.0.1-next.68
148
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.67 to 0.0.1-next.68
149
+
150
+ ## [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)
151
+
152
+
153
+ ### Miscellaneous Chores
154
+
155
+ * **qr:** Synchronize repo versions
156
+
157
+
158
+ ### Dependencies
159
+
160
+ * The following workspace dependencies were updated
161
+ * dependencies
162
+ * @twin.org/core bumped from 0.0.1-next.66 to 0.0.1-next.67
163
+ * @twin.org/image bumped from 0.0.1-next.66 to 0.0.1-next.67
164
+
165
+ ## [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)
166
+
167
+
168
+ ### Miscellaneous Chores
169
+
170
+ * **qr:** Synchronize repo versions
171
+
172
+
173
+ ### Dependencies
174
+
175
+ * The following workspace dependencies were updated
176
+ * dependencies
177
+ * @twin.org/core bumped from 0.0.1-next.65 to 0.0.1-next.66
178
+ * @twin.org/image bumped from 0.0.1-next.65 to 0.0.1-next.66
179
+
180
+ ## [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)
181
+
182
+
183
+ ### Miscellaneous Chores
184
+
185
+ * **qr:** Synchronize repo versions
186
+
187
+
188
+ ### Dependencies
189
+
190
+ * The following workspace dependencies were updated
191
+ * dependencies
192
+ * @twin.org/core bumped from 0.0.1-next.64 to 0.0.1-next.65
193
+ * @twin.org/image bumped from 0.0.1-next.64 to 0.0.1-next.65
194
+
195
+ ## [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)
196
+
197
+
198
+ ### Miscellaneous Chores
199
+
200
+ * **qr:** Synchronize repo versions
201
+
202
+
203
+ ### Dependencies
204
+
205
+ * The following workspace dependencies were updated
206
+ * dependencies
207
+ * @twin.org/core bumped from 0.0.1-next.63 to 0.0.1-next.64
208
+ * @twin.org/image bumped from 0.0.1-next.63 to 0.0.1-next.64
209
+
210
+ ## [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)
211
+
212
+
213
+ ### Miscellaneous Chores
214
+
215
+ * **qr:** Synchronize repo versions
216
+
217
+
218
+ ### Dependencies
219
+
220
+ * The following workspace dependencies were updated
221
+ * dependencies
222
+ * @twin.org/core bumped from 0.0.1-next.62 to 0.0.1-next.63
223
+ * @twin.org/image bumped from 0.0.1-next.62 to 0.0.1-next.63
224
+
225
+ ## [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)
226
+
227
+
228
+ ### Features
229
+
230
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
231
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
232
+
233
+
234
+ ### Dependencies
235
+
236
+ * The following workspace dependencies were updated
237
+ * dependencies
238
+ * @twin.org/core bumped from 0.0.1-next.61 to 0.0.1-next.62
239
+ * @twin.org/image bumped from 0.0.1-next.61 to 0.0.1-next.62
240
+
241
+ ## [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)
242
+
243
+
244
+ ### Miscellaneous Chores
245
+
246
+ * **qr:** Synchronize repo versions
247
+
248
+
249
+ ### Dependencies
250
+
251
+ * The following workspace dependencies were updated
252
+ * dependencies
253
+ * @twin.org/core bumped from 0.0.1-next.60 to 0.0.1-next.61
254
+ * @twin.org/image bumped from 0.0.1-next.60 to 0.0.1-next.61
255
+
256
+ ## [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)
257
+
258
+
259
+ ### Miscellaneous Chores
260
+
261
+ * **qr:** Synchronize repo versions
262
+
263
+
264
+ ### Dependencies
265
+
266
+ * The following workspace dependencies were updated
267
+ * dependencies
268
+ * @twin.org/core bumped from 0.0.1-next.59 to 0.0.1-next.60
269
+ * @twin.org/image bumped from 0.0.1-next.59 to 0.0.1-next.60
270
+
271
+ ## [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)
272
+
273
+
274
+ ### Miscellaneous Chores
275
+
276
+ * **qr:** Synchronize repo versions
277
+
278
+
279
+ ### Dependencies
280
+
281
+ * The following workspace dependencies were updated
282
+ * dependencies
283
+ * @twin.org/core bumped from 0.0.1-next.58 to 0.0.1-next.59
284
+ * @twin.org/image bumped from 0.0.1-next.58 to 0.0.1-next.59
285
+
286
+ ## [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)
287
+
288
+
289
+ ### Miscellaneous Chores
290
+
291
+ * **qr:** Synchronize repo versions
292
+
293
+
294
+ ### Dependencies
295
+
296
+ * The following workspace dependencies were updated
297
+ * dependencies
298
+ * @twin.org/core bumped from 0.0.1-next.57 to 0.0.1-next.58
299
+ * @twin.org/image bumped from 0.0.1-next.57 to 0.0.1-next.58
300
+
301
+ ## [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)
302
+
303
+
304
+ ### Features
305
+
306
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
307
+
308
+
309
+ ### Dependencies
310
+
311
+ * The following workspace dependencies were updated
312
+ * dependencies
313
+ * @twin.org/core bumped from 0.0.1-next.56 to 0.0.1-next.57
314
+ * @twin.org/image bumped from 0.0.1-next.56 to 0.0.1-next.57
315
+
316
+ ## [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)
317
+
318
+
319
+ ### Miscellaneous Chores
320
+
321
+ * **qr:** Synchronize repo versions
322
+
323
+
324
+ ### Dependencies
325
+
326
+ * The following workspace dependencies were updated
327
+ * dependencies
328
+ * @twin.org/core bumped from 0.0.1-next.55 to 0.0.1-next.56
329
+ * @twin.org/image bumped from 0.0.1-next.55 to 0.0.1-next.56
330
+
331
+ ## [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)
332
+
333
+
334
+ ### Miscellaneous Chores
335
+
336
+ * **qr:** 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.54 to 0.0.1-next.55
344
+ * @twin.org/image bumped from 0.0.1-next.54 to 0.0.1-next.55
345
+
346
+ ## [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)
347
+
348
+
349
+ ### Miscellaneous Chores
350
+
351
+ * **qr:** Synchronize repo versions
352
+
353
+
354
+ ### Dependencies
355
+
356
+ * The following workspace dependencies were updated
357
+ * dependencies
358
+ * @twin.org/core bumped from 0.0.1-next.53 to 0.0.1-next.54
359
+ * @twin.org/image bumped from 0.0.1-next.53 to 0.0.1-next.54
360
+
361
+ ## [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)
362
+
363
+
364
+ ### Miscellaneous Chores
365
+
366
+ * **qr:** Synchronize repo versions
367
+
368
+
369
+ ### Dependencies
370
+
371
+ * The following workspace dependencies were updated
372
+ * dependencies
373
+ * @twin.org/core bumped from 0.0.1-next.52 to 0.0.1-next.53
374
+ * @twin.org/image bumped from 0.0.1-next.52 to 0.0.1-next.53
375
+
376
+ ## [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)
377
+
378
+
379
+ ### Features
380
+
381
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
382
+
383
+
384
+ ### Dependencies
385
+
386
+ * The following workspace dependencies were updated
387
+ * dependencies
388
+ * @twin.org/core bumped from 0.0.1-next.51 to 0.0.1-next.52
389
+ * @twin.org/image bumped from 0.0.1-next.51 to 0.0.1-next.52
390
+
391
+ ## [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)
392
+
393
+
394
+ ### Miscellaneous Chores
395
+
396
+ * **qr:** Synchronize repo versions
397
+
398
+
399
+ ### Dependencies
400
+
401
+ * The following workspace dependencies were updated
402
+ * dependencies
403
+ * @twin.org/core bumped from 0.0.1-next.50 to 0.0.1-next.51
404
+ * @twin.org/image bumped from 0.0.1-next.50 to 0.0.1-next.51
405
+
406
+ ## [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)
407
+
408
+
409
+ ### Miscellaneous Chores
410
+
411
+ * **qr:** Synchronize repo versions
412
+
413
+
414
+ ### Dependencies
415
+
416
+ * The following workspace dependencies were updated
417
+ * dependencies
418
+ * @twin.org/core bumped from 0.0.1-next.49 to 0.0.1-next.50
419
+ * @twin.org/image bumped from 0.0.1-next.49 to 0.0.1-next.50
420
+
421
+ ## 0.0.1-next.49
4
422
 
5
423
  - 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.
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.3",
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.3",
18
+ "@twin.org/image": "0.0.2-next.3",
19
+ "@twin.org/nameof": "0.0.2-next.3"
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": [