bwellSDK
Script
v13
Fork
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
)
;
}