What problem does this feature solve?
Well nobody can use this without building a custom version of the client to their own source, versioning becomes really hard and this approach is a really bad idea in general. Why don't you just make a single sdk, that takes the weclapp url and token and uses axios (or a similar wrapper but axios is industry standard) so it's cross-platform and doesn't require different builds for different targets?
What does the proposed API look like?
Make the api configurable instead of hardcoding it into the sdk. Publish the actual built sdk to npm, not the generator.
What problem does this feature solve?
Well nobody can use this without building a custom version of the client to their own source, versioning becomes really hard and this approach is a really bad idea in general. Why don't you just make a single sdk, that takes the weclapp url and token and uses axios (or a similar wrapper but axios is industry standard) so it's cross-platform and doesn't require different builds for different targets?
What does the proposed API look like?
Make the api configurable instead of hardcoding it into the sdk. Publish the actual built sdk to npm, not the generator.