v0.6.0
Breaking changes
The ability to pass an API Key as a positional argument to client instantiation, which was previous deprecated, has been removed.
Where previously you could do this:
const lithic = new Lithic('my api key'); // this won't work anymore!
You must now do either this:
const lithic = new Lithic({ apiKey: 'my api key' });
Or add an environment variable called LITHIC_API_KEY
, and instantiate with no required arguments, eg;
const lithic = new Lithic();
For more, see the commit: [breaking] Remove deprecated apiKey positional argument to client instantiation
Headline changes
Add client.cards.getEmbedURL()
and client.cards.getEmbedHTML()
.