Changed Options Interface
In v0.6.x options were set like this:
import {WildcardClient} from 'wildcard-api/client';
const endpoints = new WildcardClient({
argumentsAlwaysInHttpBody: true,
});
callEndpoint();
async function callEndpoint() {
await endpoints.myEndpoint();
};In v0.7.x options are now set like this:
import wildcardClient, {endpoints} from 'wildcard-api/client';
wildcardClient.argumentsAlwaysInHttpBody = true;
callEndpoint();
async function callEndpoint() {
await endpoints.myEndpoint();
};