@digiotech/react-native 1.0.15 → 1.0.16

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.
@@ -83,7 +83,7 @@ class DigioReactNative: RCTEventEmitter, DigioKycResponseDelegate,DigioEsignDele
83
83
  return DigioBuilder()
84
84
  .withController(viewController: rootViewController)
85
85
  .setDocumentId(documentId: documentId)
86
- // .setDelegate(delegate: self)
86
+ .setDelegate(delegate: self)
87
87
  .setIdentifier(identifier: identifier)
88
88
  .setEnvironment(environment: environment.elementsEqual("sandbox") ? DigioEnvironment.SANDBOX : DigioEnvironment.PRODUCTION)
89
89
  .setPrimaryColor(hexColor: primaryColor ?? "")
@@ -162,10 +162,10 @@ class DigioReactNative: RCTEventEmitter, DigioKycResponseDelegate,DigioEsignDele
162
162
  }
163
163
  }
164
164
 
165
- func onGatewayEvent(event: String) {
166
- print("onGatewayEvent esign \(event)")
167
- self.sendEvent(withName: "gatewayEvent", body: convertToDictionary(text: event))
168
- }
165
+ func onGatewayEvent(event: String) {
166
+ print("onGatewayEvent esign \(event)")
167
+ self.sendEvent(withName: "gatewayEvent", body: convertToDictionary(text: event))
168
+ }
169
169
 
170
170
 
171
171
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digiotech/react-native",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "SDK for invoking client side journey for any of Digio request",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",