@jimrising/easymerchantsdk-react-native 2.6.3 → 2.6.5

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.
Binary file
@@ -1,10 +1,7 @@
1
- // Load config.properties for GitHub Packages credentials (GITHUB_USERNAME, GITHUB_PASSWORD)
2
- def configFile = file("config.properties")
3
- if (configFile.exists()) {
4
- def config = new Properties()
5
- configFile.withInputStream { config.load(it) }
6
- config.each { key, value -> project.ext.set(key, value) }
7
- }
1
+ // GitHub Maven: read creds from system env (GITHUB_READ_ACTOR, GITHUB_READ_TOKEN)
2
+ def githubMavenUrl = System.getenv("GITHUB_MAVEN_URL") ?: "https://maven.pkg.github.com/EasyMerchant/em-MobileCheckoutSDK-Android"
3
+ def githubReadActor = System.getenv("GITHUB_READ_ACTOR") ?: ""
4
+ def githubReadToken = System.getenv("GITHUB_READ_TOKEN") ?: ""
8
5
 
9
6
  buildscript {
10
7
  // Align with expeditermobile (2.0.21) to avoid Kotlin metadata mismatch
@@ -71,10 +68,10 @@ repositories {
71
68
  mavenCentral()
72
69
  maven { url 'https://jitpack.io' }
73
70
  maven {
74
- url = uri("https://maven.pkg.github.com/EasyMerchant/em-MobileCheckoutSDK-Android")
71
+ url = uri(githubMavenUrl)
75
72
  credentials {
76
- username = project.findProperty("GITHUB_USERNAME") ?: System.getenv("GITHUB_USERNAME") ?: ""
77
- password = project.findProperty("GITHUB_PASSWORD") ?: System.getenv("GITHUB_PASSWORD") ?: ""
73
+ username = githubReadActor
74
+ password = githubReadToken
78
75
  }
79
76
  }
80
77
  }
@@ -97,7 +94,7 @@ dependencies {
97
94
  implementation 'com.google.android.material:material:1.13.0'
98
95
 
99
96
  // Third-party libs
100
- implementation 'com.app:paysdk:1.8.0'
97
+ implementation 'com.app:paysdk:1.8.5'
101
98
  implementation 'com.hbb20:ccp:2.7.3'
102
99
  implementation 'com.github.bumptech.glide:glide:5.0.4'
103
100
  implementation 'com.github.androidmads:QRGenerator:1.0.5'
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'easymerchantsdk'
3
- s.version = '2.6.3'
3
+ s.version = '2.6.5'
4
4
  s.summary = 'A React Native SDK for Easy Merchant.'
5
5
  s.description = <<-DESC
6
6
  A React Native SDK to enable Easy Merchant functionality in mobile applications.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimrising/easymerchantsdk-react-native",
3
- "version": "2.6.3",
3
+ "version": "2.6.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {