react-native-moengage-cards 3.0.0 → 3.0.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.
@@ -20,7 +20,12 @@ Pod::Spec.new do |s|
20
20
  s.dependency 'React'
21
21
 
22
22
  s.dependency 'MoEngagePluginCards','>= 1.5.0','< 1.6.0'
23
- install_modules_dependencies(s)
24
23
 
24
+
25
+ if defined?(install_modules_dependencies()) != nil
26
+ install_modules_dependencies(s);
27
+ else
28
+ s.dependency "React-Core"
29
+ end
25
30
  end
26
31
 
@@ -44,6 +44,7 @@ class MoEngageCardsPackage : TurboReactPackage() {
44
44
  MoEngageCardsBridgeHandler.NAME,
45
45
  false, // canOverrideExistingModule
46
46
  false, // needsEagerInit
47
+ true, // hasConstants
47
48
  false, // isCxxModule
48
49
  isTurboModule // isTurboModule
49
50
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-moengage-cards",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Cards Module for the MoEngage Platform",
5
5
  "main": "src/index.ts",
6
6
  "keywords": [
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "license": "SEE LICENSE IN LICENSE.txt",
32
32
  "peerDependencies": {
33
- "react-native-moengage": "^10.0.0"
33
+ "react-native-moengage": "^10.0.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/jest": "^29.5.0",