@depay/widgets 9.0.4 → 9.1.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.
package/README.md CHANGED
@@ -209,32 +209,6 @@ alongside values for `start`, `min` and `step`.
209
209
 
210
210
  `step`: The number by wich to increment/decremten changes to the amount.
211
211
 
212
- #### receiver
213
-
214
- Payment receivers can either be wallet addresses, but also smart contracts.
215
-
216
- In order to have smart contracts receive the payments you will need to pass an object as receiver containing the following attributes.
217
-
218
- ```javascript
219
- DePayWidgets.Payment({
220
- accept: [
221
- receiver: {
222
- address: toAddress,
223
- signature: 'claim(address,uint256,bool)',
224
- params: ['true']
225
- }
226
- ]
227
- });
228
- ```
229
-
230
- `address`: The address of the smart contract.
231
-
232
- `signature`: The signature of the smart contract method you want to call as part of the payment.
233
-
234
- `params`: Additional params forwarded to the smart contract method.
235
-
236
- Checkout [DePay Web3 Payments](https://github.com/DePayFi/depay-web3-payments#pay-into-smart-contracts) and [DePay Router Smart Contract](https://github.com/DePayFi/depay-evm-router) for more details.
237
-
238
212
  #### fee
239
213
 
240
214
  You can configure a fee which will be applied to every payment with it's own dedicated fee receiver address.
@@ -1897,7 +1871,8 @@ let token = await DePayWidgets.Select({ what: 'token' })
1897
1871
  // decimals: 18
1898
1872
  // logo: "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb/logo.png"
1899
1873
  // name: "DePay"
1900
- // symbol: "DEPAY"
1874
+ // symbol: "DEPAY",
1875
+ // routable: true // information if token is routable through DePay Payment router
1901
1876
  // }
1902
1877
  ```
1903
1878