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

paypal-v2-sdk

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paypal-v2-sdk - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

5

package.json

@@ -6,3 +6,3 @@ {

"name": "paypal-v2-sdk",
"version": "2.3.0",
"version": "2.3.1",
"description": "Unofficial promise-based PayPal API v2 SDK for node.js",

@@ -34,3 +34,4 @@ "main": "./dist/index.js",

"api",
"invoice"
"invoice",
"wrapper"
],

@@ -37,0 +38,0 @@ "devDependencies": {

10

README.md

@@ -16,3 +16,3 @@ # Installation

```ts
import PayPal from "paypal-v2-sdk.js";
import PayPal from "paypal-v2-sdk";
```

@@ -44,3 +44,3 @@

```ts
import { default as PayPal, Invoice } from "paypal-v2-sdk.js";
import { default as PayPal, Invoice } from "paypal-v2-sdk";
// Specifying Invoice as the type is not necessary as #get() returns Invoice as the type, it

@@ -54,3 +54,3 @@ // is displayed here for information purposes only

```ts
import { default as PayPal, Invoice } from "paypal-v2-sdk.js";
import { default as PayPal, Invoice } from "paypal-v2-sdk";

@@ -65,3 +65,3 @@ const invoice: Invoice = await PayPal.Invoicing.get("id of invoice");

```ts
import { default as PayPal, Invoice } from "./index.js";
import { default as PayPal, Invoice } from "paypal-v2-sdk";
let invoice: Invoice = new Invoice(PayPal)

@@ -173,3 +173,3 @@ .setAdditionalRecipients(

```js
import { default as PayPal, Invoice } from "paypal-v2-sdk.js";
import { default as PayPal, Invoice } from "paypal-v2-sdk";

@@ -176,0 +176,0 @@ let invoice: Invoice = Invoice.fromObject({

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