CartoDB / carto-api-client

Client library for CARTO APIs and framework-agnostic CARTO + deck.gl applications.
MIT License
0 stars 0 forks source link

fix(deps): Avoid conflict between with version constants #23

Closed donmccurdy closed 1 month ago

donmccurdy commented 1 month ago

The "VERSION" constant injected in our build has a naming conflict with init.js from @deck.gl/core here:

https://github.com/visgl/deck.gl/blob/master/modules/core/src/lib/init.ts

To avoid the conflict, I've renamed the injected API client version as __CARTO_API_CLIENT_VERSION. It will be exported from the API client package separately.