@easyflow/javascript-sdk 2.2.0 → 2.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.
Files changed (2) hide show
  1. package/README.md +2 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Enterprise-grade JavaScript SDK for Easyflow payment processing platform - Documentation and TypeScript definitions only
4
4
 
5
- ## What's New in v2.2.0
5
+ ## What's New in v2.2.1
6
6
 
7
7
  ### 🆕 New Features
8
8
 
@@ -189,7 +189,7 @@ const creditCard = await window.easyflowSDK.addCreditCard(
189
189
  encryptedCard
190
190
  )
191
191
 
192
- const charge = await window.easyflowSDK.charge({
192
+ const orderId = await window.easyflowSDK.charge({
193
193
  buyer: { customerId: customer.id, ...customerData },
194
194
  payments: [
195
195
  {
@@ -359,12 +359,6 @@ functional interface!** 🚀✨
359
359
 
360
360
  ## Installation
361
361
 
362
- ### Via NPM (Recommended)
363
-
364
- ```bash
365
- npm install @easyflow/javascript-sdk
366
- ```
367
-
368
362
  ### Via CDN
369
363
 
370
364
  ```html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyflow/javascript-sdk",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Enterprise-grade JavaScript SDK for Easyflow payment processing platform - Documentation and TypeScript definitions only",
5
5
  "main": "./dist/easyflow-sdk.min.js",
6
6
  "module": "./dist/easyflow-sdk.min.js",