aepp-sdk-js icon indicating copy to clipboard operation
aepp-sdk-js copied to clipboard

Use code generation to build AeSdkMethods

Open davidyuk opened this issue 4 months ago • 1 comments

In a similar way to TxUnpacked. The thing is that the current definition of AeSdkMethods is very complicated. It works, but the API reference looks poor.

https://sdk.aeternity.io/v14.1.0/api/interfaces/internal.AeSdkMethodsTransformed.html

Alternatively, we can drop these classes altogether to improve tree-shaking https://github.com/aeternity/aepp-sdk-js/issues/2111

davidyuk avatar Aug 12 '25 05:08 davidyuk

The problem with the API reference is that the argument names get lost https://stackoverflow.com/questions/61423959/replace-the-type-of-the-last-parameter-in-a-function-typescript https://stackoverflow.com/questions/56499774/typescript-how-does-parametersf-keep-arguments-names

davidyuk avatar Aug 16 '25 00:08 davidyuk