@capturebridge/sdk 0.18.3 → 0.19.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.
- package/CHANGELOG.md +6 -0
- package/Verifone.js +16 -0
- package/Version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.19.0] - 2023-11-13
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Added `Verifone.info()` method and device info SDK examples.
|
|
13
|
+
|
|
8
14
|
## [0.18.3] - 2023-10-25
|
|
9
15
|
|
|
10
16
|
### Fixed
|
package/Verifone.js
CHANGED
|
@@ -135,6 +135,22 @@ export class Verifone extends SignatureTablet {
|
|
|
135
135
|
throw new Error('stopFeed() is not implemented for the Verifone Plugin')
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
+
/**
|
|
139
|
+
* Get detailed information about a device
|
|
140
|
+
*
|
|
141
|
+
* @description Returns detailed information about a device.
|
|
142
|
+
*
|
|
143
|
+
* @async
|
|
144
|
+
* @method
|
|
145
|
+
* @returns {object} Device info
|
|
146
|
+
* @example
|
|
147
|
+
* const info = await device.info()
|
|
148
|
+
*/
|
|
149
|
+
async info (deviceOpt) {
|
|
150
|
+
const device = await this.setupDevice(deviceOpt)
|
|
151
|
+
return device.info()
|
|
152
|
+
}
|
|
153
|
+
|
|
138
154
|
/**
|
|
139
155
|
* Cancel a pending device operation
|
|
140
156
|
*
|
package/Version.js
CHANGED