@flittpayments/js-sdk 2.0.4 → 2.0.6

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
@@ -1,9 +1,9 @@
1
1
  ![Flitt](https://flitt.com/wp-content/uploads/2024/09/Group.svg)
2
2
  # Flitt JavaScript SDK
3
3
 
4
- [![NPM Version](https://img.shields.io/npm/v/flitt-js-sdk.svg)](https://www.npmjs.com/package/flitt-js-sdk)
5
- [![Downloads](https://img.shields.io/npm/dt/flitt-js-sdk.svg)](https://www.npmjs.com/package/flitt-js-sdk)
6
- [![Licence](https://img.shields.io/github/license/flittpayments/flitt-js-sdk.svg)](https://github.com/flittpayments/flitt-js-sdk)
4
+ [![NPM Version](https://img.shields.io/npm/v/@flittpayments/js-sdk.svg)](https://www.npmjs.com/package/@flittpayments/js-sdk)
5
+ [![Downloads](https://img.shields.io/npm/dt/@flittpayments/js-sdk.svg)](https://www.npmjs.com/package/@flittpayments/js-sdk)
6
+ [![Licence](https://img.shields.io/github/license/flittpayments/js-sdk.svg)](https://github.com/flittpayments/flitt-js-sdk)
7
7
 
8
8
  ## Installation
9
9
 
@@ -21,7 +21,7 @@ or add dependency manually:
21
21
  ```json
22
22
  {
23
23
  "dependency": {
24
- "@flittpayments/js-sdk":"^1.2"
24
+ "@flittpayments/js-sdk":"^2.0"
25
25
  }
26
26
  }
27
27
  ```
@@ -38,7 +38,7 @@ git clone git@github.com:flittpayments/js-sdk.git
38
38
  ## Quick start
39
39
 
40
40
  ```html
41
- <script src="https://unpkg.com/@flittpayments/js-sdk"></script>
41
+ <script src="https://cdn.jsdelivr.net/npm/@flittpayments/js-sdk"></script>
42
42
  ```
43
43
 
44
44
  ## Basic template
@@ -51,7 +51,7 @@ git clone git@github.com:flittpayments/js-sdk.git
51
51
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
52
52
  </head>
53
53
  <body>
54
- <script src="https://unpkg.com/@flittpayments/js-sdk"></script>
54
+ <script src="https://cdn.jsdelivr.net/npm/@flittpayments/js-sdk"></script>
55
55
  <script>
56
56
  $checkout('Api').scope(function(){
57
57
  this.request('api.checkout.form','request', { Parameters } ).done(function(model){
@@ -76,7 +76,7 @@ git clone git@github.com:flittpayments/js-sdk.git
76
76
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
77
77
  </head>
78
78
  <body>
79
- <script src="https://unpkg.com/@flittpayments/js-sdk"></script>
79
+ <script src="https://cdn.jsdelivr.net/npm/@flittpayments/js-sdk"></script>
80
80
  <div class="payment-button-container"></div>
81
81
  <script>
82
82
  $checkout.get('PaymentButton', {