New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-purchase

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-purchase - npm Package Compare versions

Comparing version 13.3.11 to 13.4.0

2

api/modules/CdvPurchase.md

@@ -156,3 +156,3 @@ # Namespace: CdvPurchase

• `Const` **PLUGIN\_VERSION**: ``"13.3.11"``
• `Const` **PLUGIN\_VERSION**: ``"13.4.0"``

@@ -159,0 +159,0 @@ Current release number of the plugin.

{
"name": "cordova-plugin-purchase",
"version": "13.3.11",
"version": "13.4.0",
"description": "Cordova Purchase plugin for iOS, Android, Windows (AppStore, Play, UWP)",

@@ -5,0 +5,0 @@ "cordova": {

# Release Notes - Cordova Plugin Purchase
## 13.4
### 13.4.0 - Product groups and Google Play
Products are now part of the `"default"` group when none is provided, as per the documentation. This is used on Google Play to automatically replace existing subscription by the newly ordered one.
This update can break your app if you have multiple **independent** subscription products on Google Play, as purchasing a subscription product will now cancel any existing one by default.
Use the `group` property in `store.register` to force legacy subscription products to be part of different groups.
## 13.3

@@ -4,0 +14,0 @@

@@ -89,3 +89,3 @@ namespace CdvPurchase {

this.id = p.id;
this.group = p.group;
this.group = p.group || 'default';
this.offers = [];

@@ -92,0 +92,0 @@ Object.defineProperty(this, 'pricing', { enumerable: false, get: () => this.offers[0]?.pricingPhases[0] });

@@ -27,3 +27,3 @@ /// <reference path="validator/validator.ts" />

*/
export const PLUGIN_VERSION = '13.3.11';
export const PLUGIN_VERSION = '13.4.0';

@@ -30,0 +30,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc