@memori.ai/memori-react
Version:
[](https://www.npmjs.com/package/@memori.ai/memori-react)   => {
if (!userID && !userName) {
throw new Error('Either userID or userName must be provided');
}
const resp = await fetch(`${baseUrl}/api/verify-tokens`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
operation,
userID,
userName,
tenant,
}),
});
if (!resp.ok) {
throw new Error('Failed to fetch credits');
}
return resp.json();
};
//# sourceMappingURL=credits.js.map