Skip to content

Commit f5aa1e5

Browse files
author
build
committed
updated logic for v1.3.48
1 parent c67c874 commit f5aa1e5

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CaptureJS
1+
# socketmobile-capturejs 1.3.48
22

33
This Javascript NPM package can be used to add CaptureJS to your Javascript application.
44

@@ -17,16 +17,15 @@ Using CaptureJS in the code:
1717
```sh
1818
import { Capture } from 'socketmobile-capturejs';
1919
import React from 'react';
20-
2120
```
2221
2322
# Devices compatibility and CaptureSDK versions
24-
| Devices | < 1.3 | 1.3 |
25-
| :----------------------------------------------------: | :--------------------: | :--------------------: |
26-
| **SocketCam C820** |||
27-
| **S720/D720/S820** |||
28-
| **D600, S550, and all other barcode scanners** |||
2923
24+
| Devices | < 1.3 | 1.3 |
25+
| :--------------------------------------------: | :---: | :-: |
26+
| **SocketCam C820** |||
27+
| **S720/D720/S820** |||
28+
| **D600, S550, and all other barcode scanners** |||
3029
3130
## Use with Next.js
3231
@@ -41,12 +40,12 @@ First, you need to install `next-transpile-modules` and you need to add the belo
4140
```
4241
const withTM = require("next-transpile-modules")(["socketmobile-capturejs"]);
4342
module.exports = withTM({
44-
webpack5: false,
43+
webpack5: false,
4544
//your other exports
4645
});
4746
```
4847
49-
After that, you will need to install the xhr2 package which will enable you to use XMLHttpRequest server side. Then you will need to add this code into your root file (ex: _app.js).
48+
After that, you will need to install the xhr2 package which will enable you to use XMLHttpRequest server side. Then you will need to add this code into your root file (ex: \_app.js).
5049
5150
```
5251
// hack for "next build"

lib/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ import { CaptureEventIds, CaptureEventTypes, CaptureEvent } from './captureEvent
88
import { CaptureDeviceType } from './gen/deviceTypes';
99
import { CaptureDataSourceID, CaptureDataSourceFlags, CaptureDataSourceStatus } from './gen/dataSources';
1010
import { Logger } from './logger';
11-
export { Capture, AppInfo, SktErrors, CapturePropertyIds, CapturePropertyTypes, CaptureProperty, CaptureEventIds, CaptureEventTypes, CaptureEvent, CaptureDeviceType, CaptureDataSourceID, CaptureDataSourceFlags, CaptureDataSourceStatus, DataConfirmationMode, DeviceDataAcknowledgment, SecurityMode, Trigger, DeletePairing, SoundActionType, SoundFrequency, RumbleActionType, LocalDecodeAction, DataConfirmationLed, DataConfirmationBeep, DataConfirmationRumble, Flash, SocketCam, PowerState, MonitorDbg, Counter, Disconnect, ProfileSelect, ProfileConfig, Notifications, Timer, DataFormat, TriggerMode, ConnectReason, StartUpRoleSpp, ConnectBeepConfig, StandConfig, Logger };
11+
import { JRpcError, JsonRpc, JRpcResponse } from './jsonRpc';
12+
import { DeviceInfo } from './deviceInfo';
13+
export { Capture, JRpcError, JRpcResponse, DeviceInfo, JsonRpc, AppInfo, SktErrors, CapturePropertyIds, CapturePropertyTypes, CaptureProperty, CaptureEventIds, CaptureEventTypes, CaptureEvent, CaptureDeviceType, CaptureDataSourceID, CaptureDataSourceFlags, CaptureDataSourceStatus, DataConfirmationMode, DeviceDataAcknowledgment, SecurityMode, Trigger, DeletePairing, SoundActionType, SoundFrequency, RumbleActionType, LocalDecodeAction, DataConfirmationLed, DataConfirmationBeep, DataConfirmationRumble, Flash, SocketCam, PowerState, MonitorDbg, Counter, Disconnect, ProfileSelect, ProfileConfig, Notifications, Timer, DataFormat, TriggerMode, ConnectReason, StartUpRoleSpp, ConnectBeepConfig, StandConfig, Logger };

lib/index.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "socketmobile-capturejs",
3-
"version": "1.3.41",
3+
"version": "1.3.48",
44
"type": "module",
55
"description": "Socket Mobile Capture JS NPM package for Socket Mobile barcode scanner and NFC Reader/Writer products",
66
"types": "lib/index.d.ts",

0 commit comments

Comments
 (0)