v0.0.14
Breaking Changes
-
internetcomputer.org
is now used as the default domain for II sign-in. If you wish to continue to useic0.app
, the newsignIn
function offers adomain
option (see documentation) -
authSubscribe
used to provide a user object containg a principal. This information has been removed as replaced by the newowner
information (see below).
Features
- support for NFID (see documentation)
- documents and assets (
get
orlist
) are now returned with a textual information about theowner
e.g.
export interface Doc<D> {
key: string;
data: D;
owner?: string;
created_at?: bigint;
updated_at?: bigint;
}
-
the
user
provided by theauthSubscribe
feature contains aprovider
information which can be either Internet Identity, NFID orundefined
. This is supported for edge cases where the user closes, reopen or refreshes the browser between the brief moment where the authentication is granted by the third party and the call to create the user in the satellite does not happens instantly - i.e. when the information about the selected provider sign-in method get lost. We can improve this in the future if needed. -
add
timestamps
to listed assets