@smartpay/sdk-node
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -401,3 +401,3 @@ // src/smartpay.ts | ||
// src/smartpay.ts | ||
var API_PREFIX = "https://api.smartpay.co"; | ||
var API_PREFIX = "https://api.smartpay.co/v1"; | ||
var CHECKOUT_URL = "https://checkout.smartpay.co"; | ||
@@ -470,3 +470,3 @@ var POST = "POST"; | ||
const normalizedPayload = Smartpay.normalizeCheckoutSessionPayload(payload); | ||
const req = this.request("/checkout/sessions", POST, normalizedPayload); | ||
const req = this.request("/checkout-sessions", POST, normalizedPayload); | ||
return req.then((session) => { | ||
@@ -473,0 +473,0 @@ if (session) { |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Smartpay SDK NodeJS", | ||
@@ -10,0 +10,0 @@ "main": "./build/cjs/index.cjs", |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
60816
1