SetProtocol / set.js

Javascript library for the Set Protocol V2
Apache License 2.0
33 stars 14 forks source link

Consider renaming Set to avoid name collision #69

Closed rootulp closed 3 years ago

rootulp commented 3 years ago

https://github.com/SetProtocol/set.js/blob/7aeac752c4b92eb5e6678e80c8f0bc8cb9481751/src/Set.ts#L44

have we considered naming this something like SetClient to avoid name collision with Set

rootulp commented 3 years ago

Disregard, I suppose this can be worked around on the consumer side by importing the default export with an alias (e.g. SetClient):

import SetClient, { SetJSConfig } from "set.js"

const set = new SetClient(config);