@cometh/checkout-sdk
Advanced tools
Comparing version 2.2.0 to 2.2.1
{ | ||
"name": "@cometh/checkout-sdk", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "SDK to use Cometh Checkout API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -361,2 +361,12 @@ // This file is auto-generated by @hey-api/openapi-ts | ||
}, | ||
price: { | ||
description: `An optional price overriding the product one, only for this transaction, that can only be specified <strong>when using the secret key</strong>.<br /><br /> A positive integer representing how much to charge in the smallest currency.<br /> For example: <ul> | ||
<li>$12.34 would be <code>1234</code></li> | ||
<li>12.34 USDC (6 decimals) would be <code>12340000</code></li> | ||
<li>ETH amounts (18 decimals) would be stored in wei</li> | ||
</ul>`, | ||
type: 'string', | ||
pattern: '^[0-9]+$', | ||
example: '1234' | ||
}, | ||
crypto: { | ||
@@ -410,5 +420,5 @@ description: 'Instead of using a fiat PSP, use crypto for payments', | ||
}, | ||
clientSecret: { | ||
session: { | ||
type: 'string', | ||
description: 'Stripe client secret used for embedded checkout. Only present when using Stripe in embedded mode.', | ||
description: 'Stripe payment intent session used for embedded checkout. Only present when using Stripe in embedded mode.', | ||
example: 'some-secret' | ||
@@ -415,0 +425,0 @@ } |
@@ -238,2 +238,10 @@ // This file is auto-generated by @hey-api/openapi-ts | ||
/** | ||
* An optional price overriding the product one, only for this transaction, that can only be specified <strong>when using the secret key</strong>.<br /><br /> A positive integer representing how much to charge in the smallest currency.<br /> For example: <ul> | ||
* <li>$12.34 would be <code>1234</code></li> | ||
* <li>12.34 USDC (6 decimals) would be <code>12340000</code></li> | ||
* <li>ETH amounts (18 decimals) would be stored in wei</li> | ||
* </ul> | ||
*/ | ||
price?: string; | ||
/** | ||
* Instead of using a fiat PSP, use crypto for payments | ||
@@ -271,5 +279,5 @@ */ | ||
/** | ||
* Stripe client secret used for embedded checkout. Only present when using Stripe in embedded mode. | ||
* Stripe payment intent session used for embedded checkout. Only present when using Stripe in embedded mode. | ||
*/ | ||
clientSecret?: string; | ||
session?: string; | ||
}; | ||
@@ -276,0 +284,0 @@ |
Network access
Supply chain riskThis module accesses the network.
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
0
122425
16
3889