Hey all. We are developing in a node environment and are having some incompatibility issues with the ESM packaging on the http client. We are seeing an
ERR_REQUIRE_ESM when attempting to import the http-client module:
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/varunp/Documents/protocol/node_modules/@ceramicnetwork/http-client/lib/ceramic-http-client.js from /Users/varunp/Documents/protocol/packages/persistence/src/cloud/CeramicCloudStorage.ts not supported. Instead change the require of ceramic-http-client.js in /Users/varunp/Documents/protocol/packages/persistence/src/cloud/CeramicCloudStorage.ts to a dynamic import() which is available in all CommonJS modules.
Is there a version of the http-client that is packaged with commonJS (for example an older version we can pin to)?