payme-mini-app 1.1.0-beta.4 → 1.1.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.
- package/android/build.gradle +2 -9
- package/lib/commonjs/package.json +1 -0
- package/lib/module/package.json +1 -0
- package/package.json +14 -11
- package/payme-mini-app.podspec +1 -1
package/android/build.gradle
CHANGED
|
@@ -10,21 +10,14 @@ buildscript {
|
|
|
10
10
|
|
|
11
11
|
dependencies {
|
|
12
12
|
classpath "com.android.tools.build:gradle:8.7.2"
|
|
13
|
+
// noinspection DifferentKotlinGradleVersion
|
|
13
14
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion')}"
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
|
|
17
|
-
def isNewArchitectureEnabled() {
|
|
18
|
-
return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true"
|
|
19
|
-
}
|
|
20
|
-
|
|
21
18
|
apply plugin: "com.android.library"
|
|
22
19
|
apply plugin: "kotlin-android"
|
|
23
20
|
|
|
24
|
-
if (isNewArchitectureEnabled()) {
|
|
25
|
-
apply plugin: "com.facebook.react"
|
|
26
|
-
}
|
|
27
|
-
|
|
28
21
|
def getExtOrIntegerDefault(name) {
|
|
29
22
|
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["PaymeMiniApp_" + name]).toInteger()
|
|
30
23
|
}
|
|
@@ -83,6 +76,6 @@ def kotlin_version = getExtOrDefault("kotlinVersion")
|
|
|
83
76
|
dependencies {
|
|
84
77
|
implementation "com.facebook.react:react-android"
|
|
85
78
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
86
|
-
implementation 'com.github.PayME-Miniapp:native-android:0.5.0
|
|
79
|
+
implementation 'com.github.PayME-Miniapp:native-android:0.5.0'
|
|
87
80
|
}
|
|
88
81
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "payme-mini-app",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
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,22 +64,25 @@
|
|
|
64
64
|
"registry": "https://registry.npmjs.org/"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@commitlint/config-conventional": "^
|
|
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",
|
|
68
71
|
"@evilmartians/lefthook": "^1.5.0",
|
|
69
|
-
"@react-native/eslint-config": "^0.
|
|
72
|
+
"@react-native/eslint-config": "^0.78.0",
|
|
70
73
|
"@release-it/conventional-changelog": "^9.0.2",
|
|
71
74
|
"@types/jest": "^29.5.5",
|
|
72
|
-
"@types/react": "^
|
|
73
|
-
"commitlint": "^
|
|
75
|
+
"@types/react": "^19.0.0",
|
|
76
|
+
"commitlint": "^19.6.1",
|
|
74
77
|
"del-cli": "^5.1.0",
|
|
75
|
-
"eslint": "^
|
|
76
|
-
"eslint-config-prettier": "^
|
|
77
|
-
"eslint-plugin-prettier": "^5.
|
|
78
|
+
"eslint": "^9.22.0",
|
|
79
|
+
"eslint-config-prettier": "^10.1.1",
|
|
80
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
78
81
|
"jest": "^29.7.0",
|
|
79
82
|
"prettier": "^3.0.3",
|
|
80
83
|
"react": "19.0.0",
|
|
81
|
-
"react-native": "0.78.
|
|
82
|
-
"react-native-builder-bob": "^0.
|
|
84
|
+
"react-native": "0.78.1",
|
|
85
|
+
"react-native-builder-bob": "^0.39.0",
|
|
83
86
|
"release-it": "^17.10.0",
|
|
84
87
|
"turbo": "^1.10.7",
|
|
85
88
|
"typescript": "^5.2.2"
|
|
@@ -183,6 +186,6 @@
|
|
|
183
186
|
"create-react-native-library": {
|
|
184
187
|
"type": "legacy-module",
|
|
185
188
|
"languages": "kotlin-swift",
|
|
186
|
-
"version": "0.
|
|
189
|
+
"version": "0.49.0"
|
|
187
190
|
}
|
|
188
191
|
}
|
package/payme-mini-app.podspec
CHANGED
|
@@ -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.
|
|
18
|
+
s.dependency "PayME-Miniapp", "0.6.1"
|
|
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.
|