From fc6eb5371a02c5dff2cbbf1b15d0dd24b41947b1 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 9 Oct 2021 17:17:38 -0600 Subject: [PATCH] bugfix: postinstall -> prepare --- README.md | 5 +++-- package-lock.json | 1 - package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 94d3db9..4f9d7e4 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,9 @@ PPC.init({ client_secret: "****", }); -PPC.Subscriptions.create({ -}) +PPC.Subscriptions.createRequest({ + // See https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions +}); ``` ![](https://i.imgur.com/brFTseM.png "PayPal Checkout API Flow") diff --git a/package-lock.json b/package-lock.json index b28b07a..7216992 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,6 @@ "": { "name": "@root/paypal-checkout", "version": "0.1.0", - "hasInstallScript": true, "license": "MPL-2.0", "dependencies": { "@root/request": "^1.7.0" diff --git a/package.json b/package.json index 803dcd1..ebb4974 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "paypal-checkout.js", "files": ["lib"], "scripts": { - "postinstall": "node utils/make-categories.js", + "prepare": "node utils/make-categories.js", "test": "node test.js" }, "repository": {