1
2
3
4
5
6
7
8
9
10
import { BWellSDK } from "npm:@icanbwell/bwell-sdk-ts@next";
const BAD_KEY = "nogoodkeythatdoesntwork";
// should produce an InvalidClientKeyError
try {
const sdk = new BWellSDK({ clientKey: BAD_KEY });
} catch (e) {
console.log(e);
}
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
May 29, 2024