capacitor-plugin-cdv-purchase 13.17.1 → 13.17.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.
package/README.md CHANGED
@@ -42,6 +42,18 @@ If you're using `cordova-plugin-purchase` in a Capacitor app:
42
42
  3. `npx cap sync`
43
43
  4. Update your import to `import { store, ProductType, Platform } from 'capacitor-plugin-cdv-purchase'` — the API is identical
44
44
 
45
+ ## Device info for receipt validation
46
+
47
+ When validating receipts, the plugin sends device information (OS, model, manufacturer) to the validator to support fraud detection and support requests. In Capacitor apps, this information is collected automatically via `@capacitor/device` through the Capacitor plugin proxy — no additional plugin installation is required.
48
+
49
+ Customize what is sent with `store.validator_privacy_policy`:
50
+
51
+ ```typescript
52
+ store.validator_privacy_policy = ['fraud', 'support', 'analytics'];
53
+ ```
54
+
55
+ See the [privacy policy documentation](https://github.com/j3k0/cordova-plugin-purchase/blob/master/api/classes/CdvPurchase.Store.md#validator_privacy_policy) for details.
56
+
45
57
  ## Platform Support
46
58
 
47
59
  | Platform | Native API | Minimum OS |
package/dist/index.js CHANGED
@@ -1704,7 +1704,7 @@ var CdvPurchase;
1704
1704
  /**
1705
1705
  * Current release number of the plugin.
1706
1706
  */
1707
- CdvPurchase.PLUGIN_VERSION = '13.17.1';
1707
+ CdvPurchase.PLUGIN_VERSION = '13.17.2';
1708
1708
  /**
1709
1709
  * Entry class of the plugin.
1710
1710
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-plugin-cdv-purchase",
3
- "version": "13.17.1",
3
+ "version": "13.17.2",
4
4
  "description": "In-App Purchases for Capacitor — iOS (StoreKit 2) and Android (Google Play Billing)",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
package/www/store.d.ts CHANGED
@@ -911,7 +911,7 @@ declare namespace CdvPurchase {
911
911
  /**
912
912
  * Current release number of the plugin.
913
913
  */
914
- const PLUGIN_VERSION = "13.17.1";
914
+ const PLUGIN_VERSION = "13.17.2";
915
915
  /**
916
916
  * Entry class of the plugin.
917
917
  */
package/www/store.js CHANGED
@@ -1722,7 +1722,7 @@ var CdvPurchase;
1722
1722
  /**
1723
1723
  * Current release number of the plugin.
1724
1724
  */
1725
- CdvPurchase.PLUGIN_VERSION = '13.17.1';
1725
+ CdvPurchase.PLUGIN_VERSION = '13.17.2';
1726
1726
  /**
1727
1727
  * Entry class of the plugin.
1728
1728
  */