@twin.org/qr 0.0.2-next.9 → 0.0.3-next.1

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 (66) hide show
  1. package/dist/es/data/qrAlphaNumeric.js +79 -0
  2. package/dist/es/data/qrAlphaNumeric.js.map +1 -0
  3. package/dist/es/data/qrByte8.js +63 -0
  4. package/dist/es/data/qrByte8.js.map +1 -0
  5. package/dist/es/data/qrDataBase.js +102 -0
  6. package/dist/es/data/qrDataBase.js.map +1 -0
  7. package/dist/es/data/qrNumber.js +73 -0
  8. package/dist/es/data/qrNumber.js.map +1 -0
  9. package/dist/es/helpers/bitBuffer.js +79 -0
  10. package/dist/es/helpers/bitBuffer.js.map +1 -0
  11. package/dist/es/helpers/mathHelper.js +71 -0
  12. package/dist/es/helpers/mathHelper.js.map +1 -0
  13. package/dist/es/helpers/polynomial.js +117 -0
  14. package/dist/es/helpers/polynomial.js.map +1 -0
  15. package/dist/es/helpers/qrHelper.js +269 -0
  16. package/dist/es/helpers/qrHelper.js.map +1 -0
  17. package/dist/es/helpers/rsBlock.js +293 -0
  18. package/dist/es/helpers/rsBlock.js.map +1 -0
  19. package/dist/es/index.js +12 -0
  20. package/dist/es/index.js.map +1 -0
  21. package/dist/es/models/IBitmapRendererOptions.js +2 -0
  22. package/dist/es/models/IBitmapRendererOptions.js.map +1 -0
  23. package/dist/es/models/IRendererOptions.js +4 -0
  24. package/dist/es/models/IRendererOptions.js.map +1 -0
  25. package/dist/es/models/ITextRendererOptions.js +2 -0
  26. package/dist/es/models/ITextRendererOptions.js.map +1 -0
  27. package/dist/es/models/errorCorrectLevel.js +26 -0
  28. package/dist/es/models/errorCorrectLevel.js.map +1 -0
  29. package/dist/es/models/maskPattern.js +42 -0
  30. package/dist/es/models/maskPattern.js.map +1 -0
  31. package/dist/es/models/qrCellData.js +2 -0
  32. package/dist/es/models/qrCellData.js.map +1 -0
  33. package/dist/es/models/qrDataMode.js +22 -0
  34. package/dist/es/models/qrDataMode.js.map +1 -0
  35. package/dist/es/qr.js +551 -0
  36. package/dist/es/qr.js.map +1 -0
  37. package/dist/es/renderers/jpegRenderer.js +80 -0
  38. package/dist/es/renderers/jpegRenderer.js.map +1 -0
  39. package/dist/es/renderers/pngRenderer.js +80 -0
  40. package/dist/es/renderers/pngRenderer.js.map +1 -0
  41. package/dist/es/renderers/textRenderer.js +65 -0
  42. package/dist/es/renderers/textRenderer.js.map +1 -0
  43. package/dist/types/data/qrAlphaNumeric.d.ts +6 -2
  44. package/dist/types/data/qrByte8.d.ts +2 -2
  45. package/dist/types/{models → data}/qrDataBase.d.ts +7 -4
  46. package/dist/types/data/qrNumber.d.ts +6 -2
  47. package/dist/types/helpers/mathHelper.d.ts +4 -0
  48. package/dist/types/helpers/polynomial.d.ts +1 -1
  49. package/dist/types/helpers/qrHelper.d.ts +7 -3
  50. package/dist/types/helpers/rsBlock.d.ts +5 -1
  51. package/dist/types/index.d.ts +9 -9
  52. package/dist/types/models/IBitmapRendererOptions.d.ts +1 -1
  53. package/dist/types/models/ITextRendererOptions.d.ts +1 -1
  54. package/dist/types/qr.d.ts +6 -2
  55. package/dist/types/renderers/jpegRenderer.d.ts +6 -2
  56. package/dist/types/renderers/pngRenderer.d.ts +6 -2
  57. package/dist/types/renderers/textRenderer.d.ts +6 -2
  58. package/docs/changelog.md +276 -0
  59. package/docs/reference/classes/JpegRenderer.md +8 -0
  60. package/docs/reference/classes/PngRenderer.md +8 -0
  61. package/docs/reference/classes/QR.md +8 -0
  62. package/docs/reference/classes/TextRenderer.md +8 -0
  63. package/locales/en.json +9 -9
  64. package/package.json +20 -11
  65. package/dist/cjs/index.cjs +0 -1999
  66. package/dist/esm/index.mjs +0 -1993
package/docs/changelog.md CHANGED
@@ -1,5 +1,281 @@
1
1
  # @twin.org/qr - Changelog
2
2
 
3
+ ## [0.0.3-next.1](https://github.com/twinfoundation/framework/compare/qr-v0.0.3-next.0...qr-v0.0.3-next.1) (2025-11-10)
4
+
5
+
6
+ ### Features
7
+
8
+ * add context id features ([#206](https://github.com/twinfoundation/framework/issues/206)) ([ef0d4ee](https://github.com/twinfoundation/framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
9
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
10
+ * eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
11
+ * locales validation ([#197](https://github.com/twinfoundation/framework/issues/197)) ([55fdadb](https://github.com/twinfoundation/framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
12
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
13
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
14
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/twinfoundation/framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
15
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
16
+
17
+
18
+ ### Dependencies
19
+
20
+ * The following workspace dependencies were updated
21
+ * dependencies
22
+ * @twin.org/core bumped from 0.0.3-next.0 to 0.0.3-next.1
23
+ * @twin.org/image bumped from 0.0.3-next.0 to 0.0.3-next.1
24
+ * @twin.org/nameof bumped from 0.0.3-next.0 to 0.0.3-next.1
25
+ * devDependencies
26
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.0 to 0.0.3-next.1
27
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.0 to 0.0.3-next.1
28
+ * @twin.org/validate-locales bumped from 0.0.3-next.0 to 0.0.3-next.1
29
+
30
+ ## [0.0.2-next.22](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.21...qr-v0.0.2-next.22) (2025-10-10)
31
+
32
+
33
+ ### Miscellaneous Chores
34
+
35
+ * **qr:** Synchronize repo versions
36
+
37
+
38
+ ### Dependencies
39
+
40
+ * The following workspace dependencies were updated
41
+ * dependencies
42
+ * @twin.org/core bumped from 0.0.2-next.21 to 0.0.2-next.22
43
+ * @twin.org/image bumped from 0.0.2-next.21 to 0.0.2-next.22
44
+ * @twin.org/nameof bumped from 0.0.2-next.21 to 0.0.2-next.22
45
+ * devDependencies
46
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.21 to 0.0.2-next.22
47
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.21 to 0.0.2-next.22
48
+ * @twin.org/validate-locales bumped from 0.0.2-next.21 to 0.0.2-next.22
49
+
50
+ ## [0.0.2-next.21](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.20...qr-v0.0.2-next.21) (2025-10-09)
51
+
52
+
53
+ ### Features
54
+
55
+ * locales validation ([#197](https://github.com/twinfoundation/framework/issues/197)) ([55fdadb](https://github.com/twinfoundation/framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
56
+
57
+
58
+ ### Dependencies
59
+
60
+ * The following workspace dependencies were updated
61
+ * dependencies
62
+ * @twin.org/core bumped from 0.0.2-next.20 to 0.0.2-next.21
63
+ * @twin.org/image bumped from 0.0.2-next.20 to 0.0.2-next.21
64
+ * @twin.org/nameof bumped from 0.0.2-next.20 to 0.0.2-next.21
65
+ * devDependencies
66
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.20 to 0.0.2-next.21
67
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.20 to 0.0.2-next.21
68
+ * @twin.org/validate-locales bumped from 0.0.2-next.20 to 0.0.2-next.21
69
+
70
+ ## [0.0.2-next.20](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.19...qr-v0.0.2-next.20) (2025-10-02)
71
+
72
+
73
+ ### Miscellaneous Chores
74
+
75
+ * **qr:** Synchronize repo versions
76
+
77
+
78
+ ### Dependencies
79
+
80
+ * The following workspace dependencies were updated
81
+ * dependencies
82
+ * @twin.org/core bumped from 0.0.2-next.19 to 0.0.2-next.20
83
+ * @twin.org/image bumped from 0.0.2-next.19 to 0.0.2-next.20
84
+ * @twin.org/nameof bumped from 0.0.2-next.19 to 0.0.2-next.20
85
+ * devDependencies
86
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.19 to 0.0.2-next.20
87
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.19 to 0.0.2-next.20
88
+
89
+ ## [0.0.2-next.19](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.18...qr-v0.0.2-next.19) (2025-09-30)
90
+
91
+
92
+ ### Miscellaneous Chores
93
+
94
+ * **qr:** Synchronize repo versions
95
+
96
+
97
+ ### Dependencies
98
+
99
+ * The following workspace dependencies were updated
100
+ * dependencies
101
+ * @twin.org/core bumped from 0.0.2-next.18 to 0.0.2-next.19
102
+ * @twin.org/image bumped from 0.0.2-next.18 to 0.0.2-next.19
103
+ * @twin.org/nameof bumped from 0.0.2-next.18 to 0.0.2-next.19
104
+ * devDependencies
105
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.18 to 0.0.2-next.19
106
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.18 to 0.0.2-next.19
107
+
108
+ ## [0.0.2-next.18](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.17...qr-v0.0.2-next.18) (2025-09-29)
109
+
110
+
111
+ ### Miscellaneous Chores
112
+
113
+ * **qr:** Synchronize repo versions
114
+
115
+
116
+ ### Dependencies
117
+
118
+ * The following workspace dependencies were updated
119
+ * dependencies
120
+ * @twin.org/core bumped from 0.0.2-next.17 to 0.0.2-next.18
121
+ * @twin.org/image bumped from 0.0.2-next.17 to 0.0.2-next.18
122
+ * @twin.org/nameof bumped from 0.0.2-next.17 to 0.0.2-next.18
123
+ * devDependencies
124
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.17 to 0.0.2-next.18
125
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.17 to 0.0.2-next.18
126
+
127
+ ## [0.0.2-next.17](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.16...qr-v0.0.2-next.17) (2025-09-29)
128
+
129
+
130
+ ### Miscellaneous Chores
131
+
132
+ * **qr:** Synchronize repo versions
133
+
134
+
135
+ ### Dependencies
136
+
137
+ * The following workspace dependencies were updated
138
+ * dependencies
139
+ * @twin.org/core bumped from 0.0.2-next.16 to 0.0.2-next.17
140
+ * @twin.org/image bumped from 0.0.2-next.16 to 0.0.2-next.17
141
+ * @twin.org/nameof bumped from 0.0.2-next.16 to 0.0.2-next.17
142
+ * devDependencies
143
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.16 to 0.0.2-next.17
144
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.16 to 0.0.2-next.17
145
+
146
+ ## [0.0.2-next.16](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.15...qr-v0.0.2-next.16) (2025-09-28)
147
+
148
+
149
+ ### Miscellaneous Chores
150
+
151
+ * **qr:** Synchronize repo versions
152
+
153
+
154
+ ### Dependencies
155
+
156
+ * The following workspace dependencies were updated
157
+ * dependencies
158
+ * @twin.org/core bumped from 0.0.2-next.15 to 0.0.2-next.16
159
+ * @twin.org/image bumped from 0.0.2-next.15 to 0.0.2-next.16
160
+ * @twin.org/nameof bumped from 0.0.2-next.15 to 0.0.2-next.16
161
+ * devDependencies
162
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.15 to 0.0.2-next.16
163
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.15 to 0.0.2-next.16
164
+
165
+ ## [0.0.2-next.15](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.14...qr-v0.0.2-next.15) (2025-09-22)
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.2-next.14 to 0.0.2-next.15
178
+ * @twin.org/image bumped from 0.0.2-next.14 to 0.0.2-next.15
179
+ * @twin.org/nameof bumped from 0.0.2-next.14 to 0.0.2-next.15
180
+ * devDependencies
181
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.14 to 0.0.2-next.15
182
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.14 to 0.0.2-next.15
183
+
184
+ ## [0.0.2-next.14](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.13...qr-v0.0.2-next.14) (2025-09-22)
185
+
186
+
187
+ ### Miscellaneous Chores
188
+
189
+ * **qr:** Synchronize repo versions
190
+
191
+
192
+ ### Dependencies
193
+
194
+ * The following workspace dependencies were updated
195
+ * dependencies
196
+ * @twin.org/core bumped from 0.0.2-next.13 to 0.0.2-next.14
197
+ * @twin.org/image bumped from 0.0.2-next.13 to 0.0.2-next.14
198
+ * @twin.org/nameof bumped from 0.0.2-next.13 to 0.0.2-next.14
199
+ * devDependencies
200
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.13 to 0.0.2-next.14
201
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.13 to 0.0.2-next.14
202
+
203
+ ## [0.0.2-next.13](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.12...qr-v0.0.2-next.13) (2025-09-22)
204
+
205
+
206
+ ### Miscellaneous Chores
207
+
208
+ * **qr:** Synchronize repo versions
209
+
210
+
211
+ ### Dependencies
212
+
213
+ * The following workspace dependencies were updated
214
+ * dependencies
215
+ * @twin.org/core bumped from 0.0.2-next.12 to 0.0.2-next.13
216
+ * @twin.org/image bumped from 0.0.2-next.12 to 0.0.2-next.13
217
+ * @twin.org/nameof bumped from 0.0.2-next.12 to 0.0.2-next.13
218
+ * devDependencies
219
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.12 to 0.0.2-next.13
220
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.12 to 0.0.2-next.13
221
+
222
+ ## [0.0.2-next.12](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.11...qr-v0.0.2-next.12) (2025-09-15)
223
+
224
+
225
+ ### Miscellaneous Chores
226
+
227
+ * **qr:** Synchronize repo versions
228
+
229
+
230
+ ### Dependencies
231
+
232
+ * The following workspace dependencies were updated
233
+ * dependencies
234
+ * @twin.org/core bumped from 0.0.2-next.11 to 0.0.2-next.12
235
+ * @twin.org/image bumped from 0.0.2-next.11 to 0.0.2-next.12
236
+ * @twin.org/nameof bumped from 0.0.2-next.11 to 0.0.2-next.12
237
+ * devDependencies
238
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.11 to 0.0.2-next.12
239
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.11 to 0.0.2-next.12
240
+
241
+ ## [0.0.2-next.11](https://github.com/twinfoundation/framework/compare/qr-v0.0.2-next.10...qr-v0.0.2-next.11) (2025-09-15)
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.2-next.10 to 0.0.2-next.11
254
+ * @twin.org/image bumped from 0.0.2-next.10 to 0.0.2-next.11
255
+ * @twin.org/nameof bumped from 0.0.2-next.10 to 0.0.2-next.11
256
+ * devDependencies
257
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.10 to 0.0.2-next.11
258
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.10 to 0.0.2-next.11
259
+
260
+ ## [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)
261
+
262
+
263
+ ### Miscellaneous Chores
264
+
265
+ * **qr:** Synchronize repo versions
266
+
267
+
268
+ ### Dependencies
269
+
270
+ * The following workspace dependencies were updated
271
+ * dependencies
272
+ * @twin.org/core bumped from 0.0.2-next.9 to 0.0.2-next.10
273
+ * @twin.org/image bumped from 0.0.2-next.9 to 0.0.2-next.10
274
+ * @twin.org/nameof bumped from 0.0.2-next.9 to 0.0.2-next.10
275
+ * devDependencies
276
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.9 to 0.0.2-next.10
277
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.9 to 0.0.2-next.10
278
+
3
279
  ## [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)
4
280
 
5
281
 
@@ -12,6 +12,14 @@ Class to render qr data as jpeg.
12
12
 
13
13
  `JpegRenderer`
14
14
 
15
+ ## Properties
16
+
17
+ ### CLASS\_NAME
18
+
19
+ > `readonly` `static` **CLASS\_NAME**: `string`
20
+
21
+ Runtime name for the class.
22
+
15
23
  ## Methods
16
24
 
17
25
  ### render()
@@ -12,6 +12,14 @@ Class to render qr data as png.
12
12
 
13
13
  `PngRenderer`
14
14
 
15
+ ## Properties
16
+
17
+ ### CLASS\_NAME
18
+
19
+ > `readonly` `static` **CLASS\_NAME**: `string`
20
+
21
+ Runtime name for the class.
22
+
15
23
  ## Methods
16
24
 
17
25
  ### render()
@@ -33,6 +33,14 @@ Create a new instance of QR.
33
33
 
34
34
  Error if the typeNumber is invalid.
35
35
 
36
+ ## Properties
37
+
38
+ ### CLASS\_NAME
39
+
40
+ > `readonly` `static` **CLASS\_NAME**: `string`
41
+
42
+ Runtime name for the class.
43
+
36
44
  ## Methods
37
45
 
38
46
  ### addText()
@@ -12,6 +12,14 @@ Class to render qr data as text.
12
12
 
13
13
  `TextRenderer`
14
14
 
15
+ ## Properties
16
+
17
+ ### CLASS\_NAME
18
+
19
+ > `readonly` `static` **CLASS\_NAME**: `string`
20
+
21
+ Runtime name for the class.
22
+
15
23
  ## Methods
16
24
 
17
25
  ### render()
package/locales/en.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "error": {
3
- "qr": {
3
+ "qR": {
4
4
  "typeNumberRange": "The typeNumber parameter should be a number >= 0 and <= 40, it is {typeNumber}",
5
5
  "dataOverflow": "There is not enough space in the QR code to store the data, {lengthInBits} > {totalDataCount}, try increasing the typeNumber from {typeNumber}, or use 0 for auto detect",
6
6
  "typeNumberOverflow": "There is not enough space in the QR code to store the data, {lengthInBits} > {totalDataCount}, typeNumber cannot be greater than 40"
@@ -10,21 +10,21 @@
10
10
  "marginSizeZero": "The marginSize must be a number >= 0, it is \"{marginSize}\""
11
11
  },
12
12
  "qRAlphaNumeric": {
13
- "illegalCharacter ": "Illegal character in string \"{value}\""
13
+ "illegalCharacter": "Illegal character in string \"{value}\""
14
14
  },
15
15
  "qRNumber": {
16
- "illegalCharacter ": "Illegal character in string \"{value}\""
16
+ "illegalCharacter": "Illegal character in string \"{value}\""
17
17
  },
18
18
  "mathHelper": {
19
- "lessThanOne ": "The value can not be less than 1, it is \"{value}\""
19
+ "lessThanOne": "The value can not be less than 1, it is \"{value}\""
20
20
  },
21
- "qrHelper": {
22
- "correctionLevelRange ": "The errorCorrectLevel parameter should be one of the following: \"L\", \"M\", \"Q\", \"H\", it is \"{errorCorrectLevel}\"",
23
- "modeRange ": "The mode parameter should be one of the following: \"Byte\", \"Numeric\", \"Alphanumeric\", it is \"{mode}\"",
24
- "maskPatternRange ": "The maskPattern parameter should be a number >= 0 and <= 7, it is \"{maskPattern}\""
21
+ "qRHelper": {
22
+ "correctionLevelRange": "The errorCorrectLevel parameter should be one of the following: \"L\", \"M\", \"Q\", \"H\", it is \"{errorCorrectLevel}\"",
23
+ "modeRange": "The mode parameter should be one of the following: \"Byte\", \"Numeric\", \"Alphanumeric\", it is \"{mode}\"",
24
+ "maskPatternRange": "The maskPattern parameter should be a number >= 0 and <= 7, it is \"{maskPattern}\""
25
25
  },
26
26
  "rSBlock": {
27
- "correctionLevelRange ": "The errorCorrectLevel parameter should be one of the following: \"L\", \"M\", \"Q\", \"H\", it is \"{errorCorrectLevel}\""
27
+ "correctionLevelRange": "The errorCorrectLevel parameter should be one of the following: \"L\", \"M\", \"Q\", \"H\", it is \"{errorCorrectLevel}\""
28
28
  },
29
29
  "qRDataBase": {
30
30
  "invalidMode": "Invalid mode {mode} for typeNumber {typeNumber}",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/qr",
3
- "version": "0.0.2-next.9",
3
+ "version": "0.0.3-next.1",
4
4
  "description": "Package for creating QR codes",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,25 +14,34 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "0.0.2-next.9",
18
- "@twin.org/image": "0.0.2-next.9",
19
- "@twin.org/nameof": "0.0.2-next.9"
17
+ "@twin.org/core": "0.0.3-next.1",
18
+ "@twin.org/image": "0.0.3-next.1",
19
+ "@twin.org/nameof": "0.0.3-next.1"
20
20
  },
21
- "main": "./dist/cjs/index.cjs",
22
- "module": "./dist/esm/index.mjs",
21
+ "main": "./dist/es/index.js",
23
22
  "types": "./dist/types/index.d.ts",
24
23
  "exports": {
25
24
  ".": {
26
25
  "types": "./dist/types/index.d.ts",
27
- "require": "./dist/cjs/index.cjs",
28
- "import": "./dist/esm/index.mjs"
26
+ "import": "./dist/es/index.js",
27
+ "default": "./dist/es/index.js"
29
28
  }
30
29
  },
31
30
  "files": [
32
- "dist/cjs",
33
- "dist/esm",
31
+ "dist/es",
34
32
  "dist/types",
35
33
  "locales",
36
34
  "docs"
37
- ]
35
+ ],
36
+ "keywords": [
37
+ "twin",
38
+ "trade",
39
+ "iota",
40
+ "framework",
41
+ "blockchain"
42
+ ],
43
+ "bugs": {
44
+ "url": "git+https://github.com/twinfoundation/framework/issues"
45
+ },
46
+ "homepage": "https://twindev.org"
38
47
  }