@capturebridge/sdk 0.18.2 → 0.18.3

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 CHANGED
@@ -5,6 +5,13 @@ 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.18.3] - 2023-10-25
9
+
10
+ ### Fixed
11
+
12
+ - Fixed some bugs in error handling for the Verifone SDK examples.
13
+ - Now checking for a valid API response when invoking `Device.clear()`
14
+
8
15
  ## [0.18.2] - 2024-10-23
9
16
 
10
17
  ### Added
package/Device.js CHANGED
@@ -342,6 +342,7 @@ class Device {
342
342
  url += `?backlight=${backlight}`
343
343
  }
344
344
  const response = await fetch(url, DELETE)
345
+ await checkResponse(response)
345
346
  return await response.json()
346
347
  }
347
348
 
package/Version.js CHANGED
@@ -4,5 +4,5 @@
4
4
  * @constant
5
5
  * @type {string}
6
6
  */
7
- const VERSION = '0.18.2'
7
+ const VERSION = '0.18.3'
8
8
  export default VERSION
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capturebridge/sdk",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "description": "Capture Bridge JavaScript SDK for web applications",
5
5
  "type": "module",
6
6
  "types": "types.d.ts",