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

cc.fovea.cordova.purchase

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cc.fovea.cordova.purchase - npm Package Compare versions

Comparing version 3.11.0 to 3.11.1

2

doc/api.md

@@ -381,3 +381,3 @@ # API Documentation

- called whether verification failed or succeeded.
- `expiredCb(function(product){})`
- `expired(function(product){})`
- called if the purchase expired.

@@ -384,0 +384,0 @@ - `success(function(product, purchaseData){})`

@@ -1,29 +0,2 @@

store.registerProducts([{
id: "com.example.app.inappid1",
alias: "100 coins",
type: store.CONSUMABLE
}, {
id: "com.example.app.inappid2",
alias: "full version",
type: store.NON_CONSUMABLE
}, {
id: "com.example.app.inappid3",
type: store.PAID_SUBSCRIPTION
}, {
id: "com.example.app.inappid3",
type: store.FREE_SUBSCRIPTION
}]);
// Request more information about a product
store.ask("100 coins")
.then(function(data) {
console.log('Price: ' + data.price);
console.log('Description: ' + data.description);
})
.error(function(err) {
// Invalid product / no connection.
console.log('ERROR: ' + err.code);
console.log('ERROR: ' + err.message);
});
store.when("order").approved(function(order) {

@@ -30,0 +3,0 @@ // Log all approved orders

{
"name": "cc.fovea.cordova.purchase",
"version": "3.11.0",
"version": "3.11.1",
"description": "Cordova Purchase plugin for iOS and Android (AppStore and PlayStore)",

@@ -39,3 +39,2 @@ "cordova": {

"homepage": "https://github.com/j3k0/PhoneGap-InAppPurchase-iOS",
"author": "Jean-Christophe Hoelt <hoelt@fovea.cc>",
"devDependencies": {

@@ -42,0 +41,0 @@ "cordova": "^3.6.3-0.2.13",

@@ -15,3 +15,3 @@ # Cordova Purchase Plugin

### Install the plugin
### Install the plugin (cordova)

@@ -30,2 +30,16 @@ ```sh

### Install the plugin (PhoneGap Build)
```xml
<gap:plugin name="cc.fovea.cordova.purchase" source="npm" version="3.11.0" />
```
For Android:
```xml
<gap:plugin name="cc.fovea.cordova.purchase" source="npm" version="3.11.0">
<param name="BILLING_KEY" value="MIIB...."/>
</gap:plugin>
```
### Setup your Application

@@ -32,0 +46,0 @@

@@ -42,2 +42,3 @@ (function() {

function(err) {
initialized = false;
store.error({

@@ -44,0 +45,0 @@ code: store.ERR_SETUP,

@@ -222,3 +222,3 @@ (function() {

done: function(cb) { doneCb = cb; return this; },
/// - `expiredCb(function(product){})`
/// - `expired(function(product){})`
/// - called if the purchase expired.

@@ -225,0 +225,0 @@ expired: function(cb) { expiredCb = cb; return this; },

@@ -862,2 +862,3 @@ var store = {};

store.android.init(iabReady, function(err) {
initialized = false;
store.error({

@@ -864,0 +865,0 @@ code: store.ERR_SETUP,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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