Skip to content

Commit 064337c

Browse files
authored
Release 23.3 (#60)
* Release 23.3 * Tests with Timeout added
1 parent 44329c9 commit 064337c

17 files changed

Lines changed: 12994 additions & 9958 deletions

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Node.js CI
55

66
on:
77
push:
8-
branches: [ master, main ]
8+
branches: [ main ]
99
pull_request:
10-
branches: [ master, main ]
10+
branches: [ main ]
1111

1212
jobs:
1313
build:

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.vs
22
/node_modules
3-
*.js
43
*.js.map
54
*.user
65
/test/configuration*.json
76
/coverage/
87
*.d.ts
98
demo/
109
env/
10+
dist/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ build:
2626
npm run prepare
2727

2828
.PHONY: npm-test
29-
npm-test: build
29+
npm-test:
3030
npm test
3131

3232
.PHONY: test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![npm](https://img.shields.io/npm/v/aspose-barcode-cloud-node)](https://www.npmjs.com/package/aspose-barcode-cloud-node)
66

77
+ API version: 3.0
8-
+ Package version: 23.2.0
8+
+ Package version: 23.3.0
99

1010
## Demo applications
1111

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Name | Type | Description | Notes
7878
**rectWidth** | **number**| Set Width of area for recognition. | [optional]
7979
**rectHeight** | **number**| Set Height of area for recognition. | [optional]
8080
**stripFNC** | **boolean**| Value indicating whether FNC symbol strip must be done. | [optional]
81-
**timeout** | **number**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
81+
**timeout** | **number**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
8282
**medianSmoothingWindowSize** | **number**| Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. | [optional]
8383
**allowMedianSmoothing** | **boolean**| Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. | [optional]
8484
**allowComplexBackground** | **boolean**| Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. | [optional]
@@ -134,7 +134,7 @@ Name | Type | Description | Notes
134134
**rectWidth** | **number**| Set Width of area for recognition. | [optional]
135135
**rectHeight** | **number**| Set Height of area for recognition. | [optional]
136136
**stripFNC** | **boolean**| Value indicating whether FNC symbol strip must be done. | [optional]
137-
**timeout** | **number**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
137+
**timeout** | **number**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
138138
**medianSmoothingWindowSize** | **number**| Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. | [optional]
139139
**allowMedianSmoothing** | **boolean**| Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. | [optional]
140140
**allowComplexBackground** | **boolean**| Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. | [optional]

docs/models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1765,7 +1765,7 @@ interface ReaderParams {
17651765
stripFNC?: boolean;
17661766

17671767
/**
1768-
* Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout.
1768+
* Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout.
17691769
*/
17701770
timeout?: number;
17711771

jest.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/** @type {import('ts-jest').JestConfigWithTsJest} */
2+
module.exports = {
3+
preset: 'ts-jest',
4+
testEnvironment: 'node',
5+
};

0 commit comments

Comments
 (0)