@motopays/pay-form 2.6.4-rc.8 → 2.6.4

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/CHANGELOG.md CHANGED
@@ -1,13 +1,11 @@
1
1
  # Changelog
2
2
 
3
- ## 2.6.4-rc.8
3
+ ## 2.6.4
4
4
 
5
5
  ### Added
6
6
  - Divider between payment methods now supports custom ordering of elements:
7
7
  previously divider was above apm-list always, now if apm-list is above requisites, divider is placed between apm-list and requisites and vice-versa.
8
- And if apmsCollapse is enabled, requisites could be collapsed from now, if they placed after apm-list
9
- - New setting isPaymentMethodsCollapsible?:boolean added, which will later replace apmsCollapse?:boolean. More details in README.md
10
-
8
+ apmsCollapse flag remains unchanged, it will collapse only the APMs
11
9
 
12
10
 
13
11
 
package/README.md CHANGED
@@ -257,8 +257,7 @@ export class AppComponent {
257
257
  | events | IEvents | The events configuration |
258
258
  | events.analytics | { optional: boolean; required: boolean; } | The analytics events configuration. Optional is responsible for 'focus' events. Required is responsible for 'click' events. Read more about analytics events in the Analytics section |
259
259
  | events.error | boolean | The error events configuration. If true, the error events will be emitted; otherwise, they will not |
260
- | apmsCollapse | boolean | __Will be replaced with *isPaymentMethodsCollapsible*__. The apms collapse configuration. If true, the 'or use alternative methods' text will be clickable and will control whether the apms are shown or not. By default, if true, the apms will be collapsed. |
261
- | isPaymentMethodsCollapsible | boolean | The payment method collapse configuration. If true, the 'or use alternative methods' text will be clickable and will control whether the payment methods below the divider are shown or not. By default, if true, the payment methods below the divider will be collapsed.|
260
+ | apmsCollapse | boolean | The apms collapse configuration. If true, the 'or use alternative methods' text will be clickable and will control whether the apms are shown or not. By default, if true, the apms will be collapsed. |
262
261
  | paymentFlow | IPaymentFlowSettings | The payment flow configuration |
263
262
  | paymentFlow.tokenizeCard | boolean | If true, than for not 'default' paymentFlow.type card requisites will be tokenized (only for 'invoice-overridden' and 'payment-overridden' paymentFlow.type) |
264
263
  | paymentFlow.type | TPaymentFlow | If 'invoice-overridden' and createInvoice callback provided to the payment form, the createInvoice callback will be called with the invoice generated by the payment form. After receiving the invoice from the createInvoice callback, the payment process will proceed according to the default scenario. If 'payment-overridden' and makePayment callback provided to the payment form, the entire payment process will be handled through the makePayment callback with the invoice generated by the payment form |
package/index.d.ts CHANGED
@@ -151,7 +151,6 @@ export interface ISettings {
151
151
  requiredFieldsBehavior?: IRequiredFieldsBehavior;
152
152
  events?: IEvents;
153
153
  apmsCollapse?: boolean;
154
- isPaymentMethodsCollapsible?: boolean;
155
154
  paymentFlow?: IPaymentFlowSettings;
156
155
  googlePay?: IGooglePayIntegratorSettings;
157
156
  }