@walletconnect/react-native-compat 2.24.0 → 2.25.0

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.
@@ -112,7 +112,7 @@ dependencies {
112
112
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
113
113
 
114
114
  // Yttrium - WalletConnect Pay uniffi bindings
115
- implementation("com.github.reown-com.yttrium:yttrium-wcpay:0.10.58") {
115
+ implementation("com.github.reown-com.yttrium:yttrium-wcpay:0.10.60") {
116
116
  // Exclude JNA jar, we'll use the AAR version for Android
117
117
  exclude group: 'net.java.dev.jna', module: 'jna'
118
118
  }
@@ -90,12 +90,12 @@ class RNWalletConnectPayModule internal constructor(context: ReactApplicationCon
90
90
  }
91
91
 
92
92
  /**
93
- * Confirm a payment with signatures
93
+ * Confirm a payment with wallet RPC results
94
94
  * @param requestJson JSON string:
95
95
  * {
96
96
  * "paymentId": string,
97
97
  * "optionId": string,
98
- * "signatures": string[],
98
+ * "data": (string | object)[], // "signatures" accepted as legacy alias
99
99
  * "collectedData"?: [{ "id": string, "value": string }]
100
100
  * }
101
101
  * @param promise Resolves with JSON string of ConfirmPaymentResponse
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@walletconnect/react-native-compat",
3
3
  "description": "Native modules and shims for WalletConnect Protocol in React Native Projects",
4
- "version": "2.24.0",
4
+ "version": "2.25.0",
5
5
  "author": "WalletConnect, Inc. <walletconnect.com>",
6
6
  "homepage": "https://github.com/walletconnect/walletconnect-monorepo/",
7
7
  "license": "SEE LICENSE IN LICENSE.md",
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
18
18
  s.swift_version = "5.0"
19
19
 
20
20
  # Yttrium - WalletConnect Pay uniffi bindings
21
- s.dependency "YttriumWrapper", "0.10.54"
21
+ s.dependency "YttriumWrapper", "0.10.59"
22
22
 
23
23
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
24
24
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.