paypal-isomorphic-functions
Advanced tools
Comparing version 1.0.19 to 1.0.20
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 |
{ | ||
"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
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
415806
99
2040