@adadapted/react-native-sdk 3.5.6 → 4.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.
@@ -4,16 +4,30 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
4
 
5
5
  Pod::Spec.new do |s|
6
6
  s.name = "adadapted-react-native-sdk"
7
- s.version = package["version"]
7
+ # Strip any prerelease suffix (e.g. the semantic-release placeholder
8
+ # "0.0.0-development"). CocoaPods' default ">= 0" requirement does not match
9
+ # prerelease versions, which breaks local `:path` installs of this pod.
10
+ # NOTE: this also flattens genuine prerelease tags (e.g. "3.6.0-beta.1" ->
11
+ # "3.6.0"), which would then not match the `:tag` in s.source below. This
12
+ # SDK does not publish CocoaPods prereleases, so that tradeoff is acceptable.
13
+ s.version = package["version"].split("-").first
8
14
  s.summary = package["description"]
9
15
  s.homepage = package["homepage"]
10
16
  s.license = package["license"]
11
17
  s.authors = package["author"]
12
18
 
13
- s.platforms = { :ios => "9.0" }
19
+ s.platforms = { :ios => "15.1" }
14
20
  s.source = { :git => "https://github.com/adadaptedinc/adadapted-react-native-sdk.git", :tag => "#{s.version}" }
15
21
 
16
22
  s.source_files = "ios/**/*.{h,m}"
17
23
 
18
- s.dependency "React"
24
+ # React Native 0.82+ builds with the New Architecture. Use the standard
25
+ # helper (available inside a RN project's Podfile context) to wire up the
26
+ # correct React dependencies; fall back to React-Core for older setups or
27
+ # standalone spec linting.
28
+ if defined?(install_modules_dependencies)
29
+ install_modules_dependencies(s)
30
+ else
31
+ s.dependency "React-Core"
32
+ end
19
33
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adadapted/react-native-sdk",
3
- "version": "3.5.6",
3
+ "version": "4.0.1",
4
4
  "description": "The AdAdapted react-native SDK.",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -65,10 +65,6 @@
65
65
  },
66
66
  "devDependencies": {
67
67
  "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
68
- "@babel/plugin-transform-typescript": "^7.28.6",
69
- "@babel/preset-env": "^7.29.2",
70
- "@babel/preset-react": "^7.28.5",
71
- "@babel/preset-typescript": "^7.28.5",
72
68
  "@eslint/eslintrc": "^3.0.0",
73
69
  "@eslint/js": "^9.0.0",
74
70
  "@react-native/jest-preset": "^0.86.0",
@@ -81,7 +77,7 @@
81
77
  "eslint": "^9.0.0",
82
78
  "eslint-plugin-import": "^2.32.0",
83
79
  "eslint-plugin-jest": "^29.15.0",
84
- "eslint-plugin-jsdoc": "^62.9.0",
80
+ "eslint-plugin-jsdoc": "^63.0.0",
85
81
  "eslint-plugin-n": "^17.24.0",
86
82
  "eslint-plugin-prefer-arrow": "1.2.3",
87
83
  "eslint-plugin-promise": "^7.3.0",