New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cometh/checkout-sdk

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cometh/checkout-sdk - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

package.json
{
"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 @@

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