@alien_org/contract 0.2.0 → 0.2.1
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.
- package/dist/index.d.cts +5 -4
- package/dist/index.d.mts +5 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -269,8 +269,9 @@ interface Methods {
|
|
|
269
269
|
* Optional display fields (`title`, `caption`, `iconUrl`, `quantity`)
|
|
270
270
|
* are shown on the payment approval screen.
|
|
271
271
|
*
|
|
272
|
-
* Set `test
|
|
273
|
-
*
|
|
272
|
+
* Set `test` to a scenario string (e.g. `'paid'`, `'error:insufficient_balance'`)
|
|
273
|
+
* for test mode - no real payment is made, but the specified scenario is
|
|
274
|
+
* simulated. Use for development and testing.
|
|
274
275
|
*
|
|
275
276
|
* @since 0.1.1
|
|
276
277
|
* @schema
|
|
@@ -336,7 +337,7 @@ interface Methods {
|
|
|
336
337
|
*
|
|
337
338
|
* | Scenario | Client | Webhook |
|
|
338
339
|
* |----------|--------|---------|
|
|
339
|
-
* | `
|
|
340
|
+
* | `'paid'` | `paid` | `finalized` |
|
|
340
341
|
* | `'paid:failed'` | `paid` | `failed` |
|
|
341
342
|
* | `'cancelled'` | `cancelled` | none |
|
|
342
343
|
* | `'error:*'` | `failed` | none |
|
|
@@ -362,7 +363,7 @@ interface Methods {
|
|
|
362
363
|
* @since 0.1.1
|
|
363
364
|
* @schema
|
|
364
365
|
*/
|
|
365
|
-
test?:
|
|
366
|
+
test?: PaymentTestScenario;
|
|
366
367
|
}>>;
|
|
367
368
|
/**
|
|
368
369
|
* Write text to the system clipboard.
|
package/dist/index.d.mts
CHANGED
|
@@ -269,8 +269,9 @@ interface Methods {
|
|
|
269
269
|
* Optional display fields (`title`, `caption`, `iconUrl`, `quantity`)
|
|
270
270
|
* are shown on the payment approval screen.
|
|
271
271
|
*
|
|
272
|
-
* Set `test
|
|
273
|
-
*
|
|
272
|
+
* Set `test` to a scenario string (e.g. `'paid'`, `'error:insufficient_balance'`)
|
|
273
|
+
* for test mode - no real payment is made, but the specified scenario is
|
|
274
|
+
* simulated. Use for development and testing.
|
|
274
275
|
*
|
|
275
276
|
* @since 0.1.1
|
|
276
277
|
* @schema
|
|
@@ -336,7 +337,7 @@ interface Methods {
|
|
|
336
337
|
*
|
|
337
338
|
* | Scenario | Client | Webhook |
|
|
338
339
|
* |----------|--------|---------|
|
|
339
|
-
* | `
|
|
340
|
+
* | `'paid'` | `paid` | `finalized` |
|
|
340
341
|
* | `'paid:failed'` | `paid` | `failed` |
|
|
341
342
|
* | `'cancelled'` | `cancelled` | none |
|
|
342
343
|
* | `'error:*'` | `failed` | none |
|
|
@@ -362,7 +363,7 @@ interface Methods {
|
|
|
362
363
|
* @since 0.1.1
|
|
363
364
|
* @schema
|
|
364
365
|
*/
|
|
365
|
-
test?:
|
|
366
|
+
test?: PaymentTestScenario;
|
|
366
367
|
}>>;
|
|
367
368
|
/**
|
|
368
369
|
* Write text to the system clipboard.
|