@spot-flow/checkout-inline-js 0.0.5 → 0.0.7

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/README.md CHANGED
@@ -3,13 +3,20 @@
3
3
 
4
4
  This project is an inline library that enables users to make payments seamlessly. It integrates smoothly into your application, providing a streamlined checkout experience.
5
5
 
6
+ For React components and usage, [link](https://github.com/Spotflow-One/react-spotflow-checkout)
7
+
8
+ For Vue.js components and usage, [link](https://github.com/Spotflow-One/vue-spotflow-checkout)
9
+
10
+ For Angular components and usage, [link](https://github.com/Spotflow-One/angular-spotflow-checkout)
11
+
12
+
6
13
  ## Demo
7
14
  <img width="808" alt="Screenshot 2024-07-26 at 16 05 52" src="https://github.com/user-attachments/assets/4dbb0b2e-2142-4f04-994a-5c352de7d30e">
8
15
 
9
16
 
10
17
  ## Installation
11
18
  ```sh
12
- npm install @spotflow/inline-js-checkout
19
+ npm install @spot-flow/checkout-inline-js
13
20
  ```
14
21
 
15
22
  ## Usage
@@ -80,4 +87,4 @@ To build the project, run:
80
87
  npm run build
81
88
  ```
82
89
 
83
- This will compile the source files and generate the output in the `dist` directory.
90
+ This will compile the source files and generate the output in the `dist` directory.
@@ -18,13 +18,13 @@ declare class CheckoutForm {
18
18
  attachInputListeners(): void;
19
19
  displayTabLayout(): void;
20
20
  private updatePaymentMethodView;
21
- renderPaymentMethodContent(): void | "";
22
- setCurrentPaymentMethod(index: number): void;
23
- private cleanup;
24
- closeModal(): void;
21
+ private renderPaymentMethodContent;
22
+ private setCurrentPaymentMethod;
23
+ switchTab(tabIndex: number): void;
25
24
  setup(): void;
26
25
  private mobileContainerContent;
27
26
  private viewMobileOptions;
28
- private displayPaymentWarningText;
27
+ private cleanup;
28
+ closeModal(): void;
29
29
  }
30
30
  export { CheckoutForm };