Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

paypal-isomorphic-functions

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paypal-isomorphic-functions - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

dist/middleware/index.d.ts

3

dist/index.d.ts

@@ -7,2 +7,3 @@ import "./polyfills";

import * as Webhooks from './webhooks';
export { Orders, Oauth, BillingAgreements, Payments, Webhooks };
import * as Middleware from './middleware';
export { Orders, Oauth, BillingAgreements, Payments, Webhooks, Middleware, };

@@ -21,2 +21,4 @@ "use strict";

exports.Webhooks = Webhooks;
const Middleware = __importStar(require("./middleware"));
exports.Middleware = Middleware;
//# sourceMappingURL=index.js.map
{
"name": "paypal-isomorphic-functions",
"version": "1.0.6",
"version": "1.0.7",
"description": "Library of helpful paypal functions that can be run in a browser or server",

@@ -17,2 +17,3 @@ "main": "./dist/index.js",

"@types/btoa": "^1.2.3",
"@types/express": "^4.17.2",
"@types/node": "^13.1.7",

@@ -19,0 +20,0 @@ "ts-loader": "^6.2.1",

@@ -11,4 +11,15 @@ ## Intro

### Usage
```
import { Oauth, Orders } from 'paypal-isomorphic-functions';
let accessToken;
Oauth.createAccessToken()
.then(token => accessToken = token)
.then(token => Orders.createOrder(accessToken))
.then(res => res.json())
.then(data => Orders.updateOrder(accessToken, data.id))
.then(data => document.getElementById('result').innerHTML = JSON.stringify(data));
# Client

@@ -15,0 +26,0 @@

@@ -8,2 +8,3 @@ import "./polyfills";

import * as Webhooks from './webhooks';
import * as Middleware from './middleware';

@@ -15,3 +16,4 @@ export {

Payments,
Webhooks
Webhooks,
Middleware,
}

Sorry, the diff of this file is not supported yet

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