@primer-io/react-native 2.12.0 → 2.12.2

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.
@@ -137,5 +137,5 @@ dependencies {
137
137
  api 'com.facebook.react:react-native:+'
138
138
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
139
139
  implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3"
140
- implementation 'io.primer:android:2.12.0'
140
+ implementation 'io.primer:android:2.12.1'
141
141
  }
@@ -6,17 +6,17 @@ import kotlinx.serialization.Serializable
6
6
  @Serializable
7
7
  internal data class PrimerRNRawCardData(
8
8
  val cardNumber: String? = null,
9
- val cvv: String? = null,
10
9
  val expiryMonth: String? = null,
11
10
  val expiryYear: String? = null,
11
+ val cvv: String? = null,
12
12
  val cardholderName: String? = null
13
13
  ) {
14
14
  fun toPrimerCardData() =
15
15
  PrimerRawCardData(
16
16
  cardNumber.orEmpty(),
17
- cvv.orEmpty(),
18
17
  expiryMonth.orEmpty(),
19
18
  expiryYear.orEmpty(),
19
+ cvv.orEmpty(),
20
20
  cardholderName
21
21
  )
22
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer-io/react-native",
3
- "version": "2.12.0",
3
+ "version": "2.12.2",
4
4
  "description": "Primer SDK for RN",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -17,5 +17,5 @@ Pod::Spec.new do |s|
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
18
 
19
19
  s.dependency "React-Core"
20
- s.dependency "PrimerSDK", "2.12.0"
20
+ s.dependency "PrimerSDK", "2.12.2"
21
21
  end