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

@cometh/checkout-sdk

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cometh/checkout-sdk - npm Package Compare versions

Comparing version

to
1.0.21

@@ -213,2 +213,16 @@ export declare const $LydiaSettings: {

};
readonly successUrl: {
readonly description: "URL to redirect the user after a successful purchase";
readonly type: "string";
readonly format: "uri";
readonly nullable: true;
readonly example: "https://example.com/success";
};
readonly failUrl: {
readonly description: "URL to redirect the user after a failed purchase";
readonly type: "string";
readonly format: "uri";
readonly nullable: true;
readonly example: "https://example.com/fail";
};
};

@@ -326,3 +340,3 @@ };

readonly type: "string";
readonly description: "Fees of the transaction in the currency";
readonly description: "Fees of the transaction in cents of the fiat currency.";
readonly pattern: "^[0-9]+$";

@@ -334,3 +348,3 @@ readonly example: "6";

readonly type: "string";
readonly description: "Full price of the transaction in the currency";
readonly description: "Full price of the transaction in cents of the fiat currency. Equal to the sum of the fiat price and the fees.";
readonly pattern: "^[0-9]+$";

@@ -337,0 +351,0 @@ readonly example: "1240";

@@ -219,2 +219,16 @@ // This file is auto-generated by @hey-api/openapi-ts

'$ref': '#/components/schemas/Currency'
},
successUrl: {
description: 'URL to redirect the user after a successful purchase',
type: 'string',
format: 'uri',
nullable: true,
example: 'https://example.com/success'
},
failUrl: {
description: 'URL to redirect the user after a failed purchase',
type: 'string',
format: 'uri',
nullable: true,
example: 'https://example.com/fail'
}

@@ -333,3 +347,3 @@ }

type: 'string',
description: 'Fees of the transaction in the currency',
description: 'Fees of the transaction in cents of the fiat currency.',
pattern: '^[0-9]+$',

@@ -341,3 +355,3 @@ example: '6',

type: 'string',
description: 'Full price of the transaction in the currency',
description: 'Full price of the transaction in cents of the fiat currency. Equal to the sum of the fiat price and the fees.',
pattern: '^[0-9]+$',

@@ -344,0 +358,0 @@ example: '1240',

@@ -140,2 +140,10 @@ export type LydiaSettings = {

currency: Currency;
/**
* URL to redirect the user after a successful purchase
*/
successUrl?: string | null;
/**
* URL to redirect the user after a failed purchase
*/
failUrl?: string | null;
};

@@ -200,7 +208,7 @@ /**

/**
* Fees of the transaction in the currency
* Fees of the transaction in cents of the fiat currency.
*/
readonly fees: string;
/**
* Full price of the transaction in the currency
* Full price of the transaction in cents of the fiat currency. Equal to the sum of the fiat price and the fees.
*/

@@ -207,0 +215,0 @@ readonly fullPrice: string;

{
"name": "@cometh/checkout-sdk",
"version": "1.0.20",
"version": "1.0.21",
"description": "SDK to use Cometh Checkout API",

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

@@ -234,2 +234,16 @@ // This file is auto-generated by @hey-api/openapi-ts

'$ref': '#/components/schemas/Currency'
},
successUrl: {
description: 'URL to redirect the user after a successful purchase',
type: 'string',
format: 'uri',
nullable: true,
example: 'https://example.com/success'
},
failUrl: {
description: 'URL to redirect the user after a failed purchase',
type: 'string',
format: 'uri',
nullable: true,
example: 'https://example.com/fail'
}

@@ -355,3 +369,3 @@ }

type: 'string',
description: 'Fees of the transaction in the currency',
description: 'Fees of the transaction in cents of the fiat currency.',
pattern: '^[0-9]+$',

@@ -363,3 +377,3 @@ example: '6',

type: 'string',
description: 'Full price of the transaction in the currency',
description: 'Full price of the transaction in cents of the fiat currency. Equal to the sum of the fiat price and the fees.',
pattern: '^[0-9]+$',

@@ -366,0 +380,0 @@ example: '1240',

@@ -160,2 +160,10 @@ // This file is auto-generated by @hey-api/openapi-ts

currency: Currency;
/**
* URL to redirect the user after a successful purchase
*/
successUrl?: string | null;
/**
* URL to redirect the user after a failed purchase
*/
failUrl?: string | null;
};

@@ -227,7 +235,7 @@

/**
* Fees of the transaction in the currency
* Fees of the transaction in cents of the fiat currency.
*/
readonly fees: string;
/**
* Full price of the transaction in the currency
* Full price of the transaction in cents of the fiat currency. Equal to the sum of the fiat price and the fees.
*/

@@ -234,0 +242,0 @@ readonly fullPrice: string;