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.19 to 1.0.20

dist/interfaces.d.ts

1

dist/index.d.ts
import "./polyfills";
import "./interfaces";
import * as Orders from "./orders";

@@ -3,0 +4,0 @@ import * as BillingAgreements from "./billing-agreements";

@@ -11,2 +11,3 @@ "use strict";

require("./polyfills");
require("./interfaces");
const Orders = __importStar(require("./orders"));

@@ -13,0 +14,0 @@ exports.Orders = Orders;

export declare function randomString(): string;
export declare function randomAmount(): number;
export declare function randomAmountasString(): string;

@@ -7,2 +7,10 @@ "use strict";

exports.randomString = randomString;
function randomAmount() {
return Math.floor(Math.random() * 100) + 1;
}
exports.randomAmount = randomAmount;
function randomAmountasString() {
return `${Math.floor(Math.random() * 100) + 1}.00`;
}
exports.randomAmountasString = randomAmountasString;
//# sourceMappingURL=util.js.map

2

package.json
{
"name": "paypal-isomorphic-functions",
"version": "1.0.19",
"version": "1.0.20",
"description": "Library of helpful paypal functions that can be run in a browser or server",

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

import "./polyfills";
import "./interfaces";

@@ -3,0 +4,0 @@ import * as Orders from "./orders";

export function randomString() {
return (Math.random() * 1e18).toString(36);
}
export function randomAmount() {
return Math.floor(Math.random() * 100) + 1;
}
export function randomAmountasString() {
return `${Math.floor(Math.random() * 100) + 1}.00`;
}

Sorry, the diff of this file is not supported yet

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