@depay/widgets 5.0.0 → 5.0.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 +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  You can either load the `@depay/widgets` package via CDN:
4
4
 
5
5
  ```
6
- <script src="https://integrate.depay.fi/widgets/v3.js"></script>
6
+ <script src="https://integrate.depay.fi/widgets/v5.js"></script>
7
7
  ```
8
8
 
9
9
  or you install `@depay/widgets` via the package manager of your choice and ship it as part of your application bundle:
@@ -58,7 +58,7 @@ In order to receive decentralized payments on any blockchain you need to have yo
58
58
  ### Quick start
59
59
 
60
60
  ```
61
- <script src="https://integrate.depay.fi/widgets/v3.js"/>
61
+ <script src="https://integrate.depay.fi/widgets/v5.js"/>
62
62
  ```
63
63
 
64
64
  ```
@@ -205,7 +205,7 @@ BODY:
205
205
 
206
206
  Your endpoint needs to make sure to forward this to the [payment tracking api](https://depay.fi/documentation/api#payments).
207
207
 
208
- Also make sure that you need to add `token`, `amount` and `confirmations` when forwarding the request to the payments api.
208
+ Also make sure to add `token`, `amount` and `confirmations` when forwarding the request to the payments api.
209
209
  Those values are supposed to be set by your backend not the widget nor the fronted because any user could set these values to their liking otherwise, having you confirm payment amounts and tokens that you didn't intend to receive!
210
210
 
211
211
  Make sure you read the [Payment Tracking API](https://depay.fi/documentation/api#payments) for further details on how to integrate payment tracking.
@@ -539,7 +539,7 @@ In order to sell tokens in a decentralized way, that token needs to have a liqui
539
539
  ### Quick start
540
540
 
541
541
  ```
542
- <script src="https://integrate.depay.fi/widgets/v3.js"/>
542
+ <script src="https://integrate.depay.fi/widgets/v5.js"/>
543
543
  ```
544
544
 
545
545
  ```javascript
@@ -901,7 +901,7 @@ In order to receive decentralized donation payments on any blockchain you need t
901
901
  ### Quick start
902
902
 
903
903
  ```
904
- <script src="https://integrate.depay.fi/widgets/v3.js"/>
904
+ <script src="https://integrate.depay.fi/widgets/v5.js"/>
905
905
  ```
906
906
 
907
907
  ```javascript
@@ -1255,7 +1255,7 @@ DePay Connect allows you to have your users connect their crypto wallet to your
1255
1255
  Returns connected `account`, `accounts` and `wallet` in return.
1256
1256
 
1257
1257
  ```
1258
- <script src="https://integrate.depay.fi/widgets/v3.js"/>
1258
+ <script src="https://integrate.depay.fi/widgets/v5.js"/>
1259
1259
  ```
1260
1260
 
1261
1261
  ```javascript
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depay/widgets",
3
3
  "moduleName": "DePayWidgets",
4
- "version": "5.0.0",
4
+ "version": "5.0.1",
5
5
  "description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
6
6
  "main": "./dist/cjs/index.js",
7
7
  "files": [