v1.0.0
Major Changes
-
3775bf3: Fix: Using the environment's global
fetchAPI instead ofundici.This change makes this library more compatible with JavaScript runtimes that do not support
Node.jsmodules. If you want to useundiciagain, 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: Thedataproperty for successful responses. The value depends on the command.error: Theerrorproperty 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.0toMIT, to make the project more open and permissive.