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.1 to 1.0.2

2

dist/billing-agreements/index.js

@@ -6,3 +6,3 @@ "use strict";

async function createBillingAgreementToken(token, data = {}) {
const payload = data || constants_1.DEFAULT_CREATE_BILLING_AGREEMENT_TOKEN_PAYLOAD;
const payload = Object.keys(data).length > 0 ? data : constants_1.DEFAULT_CREATE_BILLING_AGREEMENT_TOKEN_PAYLOAD;
const options = {

@@ -9,0 +9,0 @@ method: "POST",

{
"name": "paypal-isomorphic-functions",
"version": "1.0.1",
"version": "1.0.2",
"description": "Library of helpful paypal functions that can be run in a browser or server",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -9,3 +9,3 @@ import { DEFAULT_CREATE_BILLING_AGREEMENT_TOKEN_PAYLOAD } from "./constants";

) {
const payload = data || DEFAULT_CREATE_BILLING_AGREEMENT_TOKEN_PAYLOAD;
const payload = Object.keys(data).length > 0 ? data : DEFAULT_CREATE_BILLING_AGREEMENT_TOKEN_PAYLOAD;

@@ -20,2 +20,3 @@ const options = {

};
return await fetch(

@@ -22,0 +23,0 @@ `${CONFIG.get(

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