@pay-com/js 1.1.8 → 1.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -258,6 +258,7 @@ export interface CheckoutOpts {
258
258
  token?: string | (() => Promise<string>)
259
259
  clientSecret?: string | (() => Promise<string>)
260
260
  currency?: string
261
+ amount?: string
261
262
  onSuccess?: (payment: Record<string, unknown>) => void
262
263
  onFailure?: (error: FailureError) => void
263
264
  mode?: modeOpts
package/lib/index.d.ts CHANGED
@@ -263,6 +263,7 @@ interface CheckoutOpts {
263
263
  token?: string | (() => Promise<string>)
264
264
  clientSecret?: string | (() => Promise<string>)
265
265
  currency?: string
266
+ amount?: string
266
267
  onSuccess?: (payment: Record<string, unknown>) => void
267
268
  onFailure?: (error: FailureError) => void
268
269
  mode?: modeOpts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pay-com/js",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Pay.com JS loading utility",
5
5
  "keywords": [
6
6
  "Pay.com",