payme-mini-app 1.1.7 → 1.1.9

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.
@@ -72,7 +72,7 @@ class PaymeMiniAppModule(reactContext: ReactApplicationContext) :
72
72
  env: String,
73
73
  mode: String
74
74
  ) {
75
- val fragmentActivity: Activity? = currentActivity
75
+ val fragmentActivity: Activity? = reactApplicationContext.currentActivity
76
76
 
77
77
  payMEMiniApp = fragmentActivity?.let {
78
78
  PayMEMiniApp(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payme-mini-app",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "Thư viện tích hợp PayME Miniapp",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -64,31 +64,30 @@
64
64
  "registry": "https://registry.npmjs.org/"
65
65
  },
66
66
  "devDependencies": {
67
- "@commitlint/config-conventional": "^19.6.0",
68
- "@eslint/compat": "^1.2.7",
69
- "@eslint/eslintrc": "^3.3.0",
70
- "@eslint/js": "^9.22.0",
71
- "@evilmartians/lefthook": "^1.5.0",
72
- "@react-native/eslint-config": "^0.78.0",
73
- "@release-it/conventional-changelog": "^9.0.2",
74
- "@types/jest": "^29.5.5",
75
- "@types/react": "^19.0.0",
76
- "commitlint": "^19.6.1",
77
- "del-cli": "^5.1.0",
78
- "eslint": "^9.22.0",
79
- "eslint-config-prettier": "^10.1.1",
80
- "eslint-plugin-prettier": "^5.2.3",
67
+ "@commitlint/config-conventional": "^19.8.1",
68
+ "@eslint/compat": "^1.3.2",
69
+ "@eslint/eslintrc": "^3.3.1",
70
+ "@eslint/js": "^9.35.0",
71
+ "@evilmartians/lefthook": "^1.12.3",
72
+ "@react-native-community/cli": "20.0.1",
73
+ "@react-native/babel-preset": "0.81.1",
74
+ "@react-native/eslint-config": "^0.81.1",
75
+ "@release-it/conventional-changelog": "^10.0.1",
76
+ "@types/jest": "^29.5.14",
77
+ "@types/react": "^19.1.0",
78
+ "commitlint": "^19.8.1",
79
+ "del-cli": "^6.0.0",
80
+ "eslint": "^9.35.0",
81
+ "eslint-config-prettier": "^10.1.8",
82
+ "eslint-plugin-prettier": "^5.5.4",
81
83
  "jest": "^29.7.0",
82
- "prettier": "^3.0.3",
83
- "react": "19.0.0",
84
- "react-native": "0.78.1",
84
+ "prettier": "^3.6.2",
85
+ "react": "19.1.0",
86
+ "react-native": "0.81.1",
85
87
  "react-native-builder-bob": "^0.39.0",
86
- "release-it": "^17.10.0",
87
- "turbo": "^1.10.7",
88
- "typescript": "^5.2.2"
89
- },
90
- "resolutions": {
91
- "@types/react": "^18.2.44"
88
+ "release-it": "^19.0.4",
89
+ "turbo": "^2.5.6",
90
+ "typescript": "^5.9.2"
92
91
  },
93
92
  "peerDependencies": {
94
93
  "react": "*",
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
15
15
  s.source = { :git => "http://git.mecorp.vn/paymeproject/payme-miniapp-reactnative.git", :tag => "#{s.version}" }
16
16
  s.source_files = "ios/**/*.{h,m,mm,swift}"
17
17
  s.resource_bundles = {'payme-mini-app_PrivacyInfo' => ['ios/PrivacyInfo.xcprivacy'] }
18
- s.dependency "PayME-Miniapp", "0.6.6"
18
+ s.dependency "PayME-Miniapp", "0.6.7"
19
19
  s.pod_target_xcconfig = { 'BUILD_LIBRARY_FOR_DISTRIBUTION' => 'YES' }
20
20
 
21
21
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.