CodeChain-io / CodeChain-io/codechain-sdk-js
Change all of the SDK functions to arrow function
Ouverte
enhancement
good first issue
- Langage dominant
- TypeScript
- Étoiles
- 26
- Forks
- 14
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Currently, the below example doesn't work
```
let sdk = new SDK(...);
let { getBlock, ... } = sdk.rpc.chain;
getBlock("0x123..").then(...)
```
Because of the function context.
Changing all the functions to the arrow function is one of the solutions.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.