cordova-plugin-purchase
Advanced tools
Comparing version 13.1.5 to 13.1.6
@@ -155,3 +155,3 @@ # Namespace: CdvPurchase | ||
• `Const` **PLUGIN\_VERSION**: ``"13.1.5"`` | ||
• `Const` **PLUGIN\_VERSION**: ``"13.1.6"`` | ||
@@ -158,0 +158,0 @@ Current release number of the plugin. |
{ | ||
"name": "cordova-plugin-purchase", | ||
"version": "13.1.5", | ||
"version": "13.1.6", | ||
"description": "Cordova Purchase plugin for iOS, Android, Windows (AppStore, Play, UWP)", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -334,4 +334,6 @@ /// <reference path="../../types.ts" /> | ||
return new Promise(resolve => { | ||
this.log.debug('using cached appstore receipt'); | ||
if (this.bridge.appStoreReceipt) return resolve(this.bridge.appStoreReceipt); | ||
if (this.bridge.appStoreReceipt?.appStoreReceipt) { | ||
this.log.debug('using cached appstore receipt'); | ||
return resolve(this.bridge.appStoreReceipt); | ||
} | ||
this.log.debug('loading appstore receipt...'); | ||
@@ -338,0 +340,0 @@ this.bridge.loadReceipts(receipt => { |
@@ -27,3 +27,3 @@ /// <reference path="validator/validator.ts" /> | ||
*/ | ||
export const PLUGIN_VERSION = '13.1.5'; | ||
export const PLUGIN_VERSION = '13.1.6'; | ||
@@ -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
1869604
24074