CodeChain-io / CodeChain-io/codechain-sdk-js
Change all of the SDK functions to arrow function
Đang mở
enhancement
good first issue
- Ngôn ngữ chính
- TypeScript
- Star
- 26
- Fork
- 14
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.