@primer-io/react-native 2.34.0 → 2.34.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.
@@ -256,7 +256,7 @@ class PrimerRNHeadlessUniversalCheckoutKlarnaComponent(
256
256
  Json.encodeToString(paymentCategory.toHashMap() as Map<String, String>),
257
257
  )
258
258
 
259
- val activity = currentActivity
259
+ val activity = reactContext.currentActivity
260
260
 
261
261
  if (activity == null) {
262
262
  val exception = ErrorTypeRN.NativeBridgeFailed errorTo MISSING_ACTIVITY_ERROR
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer-io/react-native",
3
- "version": "2.34.0",
3
+ "version": "2.34.1",
4
4
  "description": "Primer SDK for RN",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",