paypal-v2-sdk
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -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": { |
@@ -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({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
399105