Major Changes
-
3775bf3: Fix: Using the environment's global
fetch
API instead ofundici
.This change makes this library more compatible with JavaScript runtimes that do not support
Node.js
modules. If you want to useundici
again, use the Custom Fetcher feature. -
f922ba9: BREAKING: The responses of commands are wrapped in a record with type of
SafeReturn<T, VaultError>
.This record contains two properties:
data
: Thedata
property for successful responses. The value depends on the command.error
: Theerror
property for error responses. The type isVaultError
, which is a subclass ofError
.
Read Migration guide for more details on how to use it.
-
e2f73e7: Fix: Switched license from
GPL-3.0
toMIT
, to make the project more open and permissive.