@tender-cash/agent-sdk-react 0.0.2 → 0.1.0

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.
@@ -1,7 +1,7 @@
1
1
  "use strict";var Ka=Object.defineProperty;var Xa=(e,t,r)=>t in e?Ka(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Me=(e,t,r)=>Xa(e,typeof t!="symbol"?t+"":t,r);/**
2
2
  * agent-sdk-react.js
3
3
  * @summary
4
- * @version v0.0.2
4
+ * @version v0.1.0
5
5
  * @author Tender
6
6
  * @license Released under the MIT license.
7
7
  * @copyright Tender Cash
@@ -6,7 +6,7 @@ import xe, { useEffect as ae, useCallback as Ne, useState as J, useRef as se, fo
6
6
  /**
7
7
  * agent-sdk-react.js
8
8
  * @summary
9
- * @version v0.0.2
9
+ * @version v0.1.0
10
10
  * @author Tender
11
11
  * @license Released under the MIT license.
12
12
  * @copyright Tender Cash
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tender-cash/agent-sdk-react",
3
3
  "license": "MIT",
4
- "version": "0.0.2",
4
+ "version": "0.1.0",
5
5
  "repository": "git://github.com/tender-cash/agent-sdk-react.git",
6
6
  "description": "",
7
7
  "author": "Tender",
package/readme.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # @tender-cash/agent-sdk-react
2
2
 
3
+ [![npm version](https://badge.fury.io/js/%40tender-cash%2Fagent-sdk-react.svg)](https://badge.fury.io/js/%40tender-cash%2Fagent-sdk-react)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+
3
6
  React component library for integrating the Tender Cash payment flow into your application.
4
7
 
5
8
  ## Installation
@@ -38,7 +41,7 @@ function PaymentComponent() {
38
41
  // --- Configuration ---
39
42
  const accessId = 'YOUR_ACCESS_ID'; // Replace with your actual Access ID
40
43
  const accessSecret = 'YOUR_ACCESS_SECRET'; // Replace with your actual Access Secret
41
- const amount = 10.00; // Amount to charge
44
+ const amount = 150.00; // Amount to charge
42
45
  const fiatCurrency = 'USD'; // Currency code
43
46
  const environment = 'test'; // 'test' or 'live'
44
47