threefoldtech / tfgrid-sdk-ts

Apache License 2.0
4 stars 8 forks source link

Support node in graphql/gridproxy client #3209

Open MohamedElmdary opened 1 month ago

MohamedElmdary commented 1 month ago

Which package/s are you suggesting this feature for?

graphql_client

Is your feature request related to a problem? Please describe

yes when importing graphql_client in node (commonjs module) it throws an error

/...path/@threefold/graphql_client/dist/index.js:1
export * from "./types";
^^^^^^

SyntaxError: Unexpected token 'export'

Describe the solution you'd like

Support node in graphql client

AhmedHanafy725 commented 1 month ago

should be tested after the release