@regulaforensics/idv 3.4.74-beta → 3.4.84-beta

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.
@@ -8,7 +8,7 @@
8
8
  "start": "expo start"
9
9
  },
10
10
  "dependencies": {
11
- "@regulaforensics/idv": "3.4.74-beta",
11
+ "@regulaforensics/idv": "3.4.84-beta",
12
12
  "@regulaforensics/document-reader": "9.2.621",
13
13
  "@regulaforensics/face-sdk": "8.1.796",
14
14
  "@regulaforensics/document-reader-core-fullauthrfid": "9.2.1513",
package/ios/CDVIDV.swift CHANGED
@@ -2,14 +2,14 @@ var eventCallbackIds: [String: String] = [:]
2
2
  private var args: [Any?] = []
3
3
  private var this: CDVIDV?
4
4
 
5
- func sendEvent(_ event: String, _ data: Any? = nil) {
5
+ func sendEvent(_ event: String, _ data: Any? = "") {
6
6
  var callbackId = event
7
7
  let eventId = eventCallbackIds[event]
8
8
  if eventId != nil { callbackId = eventId! }
9
9
 
10
- var sendable = data.toSendable() as Any?
11
- if sendable is NSNull { sendable = nil }
12
- let result = CDVPluginResult(status: CDVCommandStatus_OK, messageAs: sendable as! String?)!
10
+ var sendable = data.toSendable()
11
+ if sendable is NSNull { sendable = "" }
12
+ let result = CDVPluginResult(status: CDVCommandStatus.ok, messageAs: sendable as! String)
13
13
  result.setKeepCallbackAs(true)
14
14
 
15
15
  this!.commandDelegate.send(result, callbackId: callbackId)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/idv",
3
- "version": "3.4.74-beta",
3
+ "version": "3.4.84-beta",
4
4
  "description": "This is an npm module for Regula IDV, which unifies access to all Regula products. This plugin makes possible to use it with react-native, cordova and capacitor applications. Supports Android and iOS.",
5
5
  "main": "www/react-native/index.js",
6
6
  "module": "www/capacitor/index.js",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@regulaforensics/idv" version="3.4.74-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/idv" version="3.4.84-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
3
  <name>IDV</name>
4
4
  <description>Cordova plugin for Regula IDV</description>
5
5
  <license>commercial</license>
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "..": {
15
15
  "name": "@regulaforensics/idv",
16
- "version": "3.4.74-beta",
16
+ "version": "3.4.84-beta",
17
17
  "dev": true,
18
18
  "license": "commercial"
19
19
  },