herald-exchange-onramp_offramp-widget 1.0.1 → 1.0.3
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 +10 -4
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/css/style.module.css +144 -0
- package/src/components/NewBuyField.tsx +29 -15
- package/src/components/SellAdminCryptoAccount.tsx +7 -5
- package/src/components/sandbox/CardForm.tsx +211 -0
- package/src/components/sandbox/Overview.tsx +121 -0
- package/src/components/sandbox/SandBox.tsx +35 -0
- package/src/components/sandbox/SandboxTransactionDetails.tsx +75 -0
package/Readme.md
CHANGED
@@ -43,10 +43,16 @@ Initialize the widget:
|
|
43
43
|
|
44
44
|
---
|
45
45
|
|
46
|
-
> **Note:**
|
47
|
-
>
|
48
|
-
> In
|
49
|
-
>
|
46
|
+
> **Note:**
|
47
|
+
>
|
48
|
+
> - In development mode, the widget operates on **testnet** and runs in a sandbox environment.
|
49
|
+
> - Transactions are simulated based on the fromAmount value:
|
50
|
+
> - 100 → Success
|
51
|
+
> - 200 → Failure
|
52
|
+
> - Any other value → Initiated
|
53
|
+
> - In development mode, when you'll be manually entering a transaction hash, ensure the hash is valid, and that the amount and currency match the transaction. If they don’t, the simulation will fail.
|
54
|
+
> - In production mode, the widget uses **mainnet** to process real transactions.
|
55
|
+
> - ⚠️ Ensure your application is deployed in a **production environment** when going live to enable accurate transaction tracking and wallet interactions.
|
50
56
|
|
51
57
|
## 🔧 Props
|
52
58
|
|