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.4.2 to 13.4.3

2

api/modules/CdvPurchase.md

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

• `Const` **PLUGIN\_VERSION**: ``"13.4.2"``
• `Const` **PLUGIN\_VERSION**: ``"13.4.3"``

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

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

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

@@ -5,2 +5,14 @@ # Release Notes - Cordova Plugin Purchase

### 13.4.3 - Add HTTP status to receipt validation error payload
Let the app know the HTTP status for a failed receipt validation call, in "response.payload.status".
```ts
CdvPurchase.store.when().unverified(response => {
if (response.payload.code === CdvPurchase.ErrorCode.COMMUNICATION) {
console.log("HTTP ERROR: " + response.payload.status);
}
});
```
### 13.4.2 - Fix "owned" status when validator returns "isExpired"

@@ -7,0 +19,0 @@

@@ -40,3 +40,8 @@ //

.receiptUpdated(r => updatePurchases(r))
.productUpdated(p => updateUI(p));
.productUpdated(p => updateUI(p))
.unverified(r => {
if (r.payload.code === CdvPurchase.ErrorCode.COMMUNICATION) {
console.log("HTTP ERROR: " + r.payload.status);
}
})

@@ -43,0 +48,0 @@ const iaptic = new CdvPurchase.Iaptic({

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

*/
export const PLUGIN_VERSION = '13.4.2';
export const PLUGIN_VERSION = '13.4.3';

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

@@ -255,2 +255,4 @@ namespace CdvPurchase {

message: fullMessage,
code: ErrorCode.COMMUNICATION,
status: status,
data: {},

@@ -257,0 +259,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