paynl-pos-sdk-react-native 0.0.16 → 0.0.17

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.
@@ -38,7 +38,7 @@ class PayNlSdkModule(private val reactContext: ReactApplicationContext) : ReactC
38
38
  fun initSdk(params: ReadableMap, promise: Promise) {
39
39
  val integrationId = params.getString("integrationId")
40
40
  val licenseName = params.getString("licenseName")
41
- val paymentOverlayParams = PayNlUtils.getOverlayParams(params)
41
+ val paymentOverlayParams = PayNlUtils.getOverlayParams(params, reactContext)
42
42
  val enableSound = if (params.hasKey("enableSound")) params.getBoolean("enableSound") else true
43
43
  val useExternalDisplay = if (params.hasKey("useExternalDisplay")) params.getBoolean("useExternalDisplay") else true
44
44
  val enableLogging = if (params.hasKey("enableLogging")) params.getBoolean("enableLogging") else true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paynl-pos-sdk-react-native",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "A PayNL sdk to accept and process payments",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",