@apiverve/barcodegenerator 1.2.4 → 1.2.6
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/README.md +4 -2
- package/index.d.ts +2 -0
- package/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Barcode Generator API
|
|
2
2
|
|
|
3
|
-
Barcode Generator creates downloadable barcode images from text or product codes in Code 128
|
|
3
|
+
Barcode Generator creates downloadable barcode images from text or product codes in Code 128, Code 39, EAN-13, EAN-8, UPC-A, UPC-E, ITF-14, Codabar, MSI and other linear formats, with bar width, height and margin adjustable on paid plans. Each response provides a temporary image download link, the image size in pixels, file format, and expiration timestamp.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@apiverve/barcodegenerator)
|
|
6
6
|
|
|
@@ -135,7 +135,9 @@ async function makeRequest() {
|
|
|
135
135
|
"format": ".png",
|
|
136
136
|
"type": "CODE128",
|
|
137
137
|
"expires": 1766010012598,
|
|
138
|
-
"downloadURL": "https://storage.googleapis.com/apiverve/APIData/barcodegenerator/cc85680f-a1d0-4627-89ff-7d7e53663a2b.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010012&Signature=cV6ANXGGaVDdl5SOFZt3xm2haHBnOklW1zXQICvJlGNlF4kwYVP9i%2F1RAN8NBGxSUiMk4Zcro%2FJUb3W%2Fwy8jA86pyEXTwIjNAiGW94ikpKSXs6%2FiV42Rwv6u2gX%2B2FH7XYyixlwJ%2B%2FHpfGcvka6u01FDk%2F2TUcR7%2FxsZ%2FmXPU2KTrzsI6XttCGBcHhex3LdTv%2F8tzMJbSshbZn%2BGcRTddwv6dC4lCcTtGE6Bl2zqY9s92KIr9X%2F4xj34q4XKBzywgXES57QaVhZeGPPOOUfLtI3pAN8fVSyM%2B9NBMU7R46xyqJ0J8PSVpQZhhAHn03T%2B40rcNp26GXqauM9K%2BLwZRw%3D%3D"
|
|
138
|
+
"downloadURL": "https://storage.googleapis.com/apiverve/APIData/barcodegenerator/cc85680f-a1d0-4627-89ff-7d7e53663a2b.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010012&Signature=cV6ANXGGaVDdl5SOFZt3xm2haHBnOklW1zXQICvJlGNlF4kwYVP9i%2F1RAN8NBGxSUiMk4Zcro%2FJUb3W%2Fwy8jA86pyEXTwIjNAiGW94ikpKSXs6%2FiV42Rwv6u2gX%2B2FH7XYyixlwJ%2B%2FHpfGcvka6u01FDk%2F2TUcR7%2FxsZ%2FmXPU2KTrzsI6XttCGBcHhex3LdTv%2F8tzMJbSshbZn%2BGcRTddwv6dC4lCcTtGE6Bl2zqY9s92KIr9X%2F4xj34q4XKBzywgXES57QaVhZeGPPOOUfLtI3pAN8fVSyM%2B9NBMU7R46xyqJ0J8PSVpQZhhAHn03T%2B40rcNp26GXqauM9K%2BLwZRw%3D%3D",
|
|
139
|
+
"imageWidth": 468,
|
|
140
|
+
"imageHeight": 82
|
|
139
141
|
}
|
|
140
142
|
}
|
|
141
143
|
```
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -30,7 +30,7 @@ class barcodegeneratorWrapper {
|
|
|
30
30
|
this.baseURL = 'https://api.apiverve.com/v1/barcodegenerator';
|
|
31
31
|
|
|
32
32
|
// Validation rules for parameters (generated from schema)
|
|
33
|
-
this.validationRules = {"data":{"type":"string","required":true},"type":{"type":"string","required":true},"lineColor":{"type":"string","required":false},"backgroundColor":{"type":"string","required":false},"displayValue":{"type":"boolean","required":false}};
|
|
33
|
+
this.validationRules = {"data":{"type":"string","required":true,"maxLength":256},"type":{"type":"string","required":true},"lineColor":{"type":"string","required":false},"backgroundColor":{"type":"string","required":false},"displayValue":{"type":"boolean","required":false},"barWidth":{"type":"integer","required":false,"min":1,"max":10,"default":4},"height":{"type":"integer","required":false,"min":10,"max":500,"default":40},"margin":{"type":"integer","required":false,"min":0,"max":100,"default":10},"fontSize":{"type":"integer","required":false,"min":8,"max":72,"default":20},"textMargin":{"type":"integer","required":false,"min":1,"max":50,"default":2}};
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apiverve/barcodegenerator",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "Barcode Generator creates downloadable barcode images from text or product codes in Code 128
|
|
3
|
+
"version": "1.2.6",
|
|
4
|
+
"description": "Barcode Generator creates downloadable barcode images from text or product codes in Code 128, Code 39, EAN-13, EAN-8, UPC-A, UPC-E, ITF-14, Codabar, MSI and other linear formats, with bar width, height and margin adjustable on paid plans. Each response provides a temporary image download link, the image size in pixels, file format, and expiration timestamp.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"sideEffects": false,
|