react-native-iap 8.0.8 → 8.0.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.
package/.yarnrc.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  nodeLinker: node-modules
2
2
 
3
- yarnPath: .yarn/releases/yarn-3.1.1.cjs
3
+ yarnPath: .yarn/releases/yarn-3.2.0.cjs
package/README.md CHANGED
@@ -20,6 +20,8 @@ Published in [website](https://react-native-iap.dooboolab.com).
20
20
 
21
21
  ## Announcement
22
22
 
23
+ - Current module is ported to [expo-iap](https://www.npmjs.com/package/expo-iap) which share the same codebase but different environment. This is currently experimental but you can use it in expo managed workflow. The source code is maintained in branch [expo](https://github.com/dooboolab/react-native-iap/tree/expo).
24
+
23
25
  - Version `8.0.0` has finally landed in Jan 28th. Since this is early release, please use it with caution 🚧. We recommend user to use `>=8.0.0` with react-native `>=0.65.1`. The `next` package is no longer updated until we organize the roadmap for `9.0.0`.
24
26
 
25
27
  - Version `8.0.0` is currently in release candidate. The module is completely rewritten with `Kotlin` and `Swift` for maintenenance issue by [andresesfm](https://github.com/andresesfm) 🔆. You may install this for early preview.
@@ -215,8 +215,8 @@ class RNIapIos: RCTEventEmitter, SKRequestDelegate, SKPaymentTransactionObserver
215
215
 
216
216
  @objc public func buyProductWithOffer(
217
217
  _ sku: String,
218
- usernameHash: String,
219
- discountOffer: Dictionary<String,String>,
218
+ forUser usernameHash: String,
219
+ withOffer discountOffer: Dictionary<String,String>,
220
220
  resolve: @escaping RCTPromiseResolveBlock = { _ in },
221
221
  reject: @escaping RCTPromiseRejectBlock = { _, _, _ in }
222
222
  ) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-iap",
3
- "version": "8.0.8",
4
- "packageManager": "yarn@3.1.1",
3
+ "version": "8.0.9",
4
+ "packageManager": "yarn@3.2.0",
5
5
  "description": "React Native In App Purchase Module.",
6
6
  "main": "index.js",
7
7
  "types": "index.d.ts",