@borda/client
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@borda/client", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "packages", |
@@ -17,2 +17,3 @@ import { BordaServerAdditionalHeaders } from './Borda'; | ||
#private; | ||
get sessionToken(): string | null; | ||
constructor({ name, serverKey, serverSecret, serverURL, serverHeaderPrefix, serverAdditionalHeaders, }: { | ||
@@ -28,5 +29,4 @@ name: string; | ||
method?: string; | ||
token?: string; | ||
token?: string | null; | ||
}): any; | ||
getToken(): string; | ||
removeToken(): void; | ||
@@ -44,3 +44,3 @@ signIn({ email, password }: { | ||
signOut({ token }?: { | ||
token?: string; | ||
token?: string | null; | ||
}): Promise<import("./fetcher").FetchResponse<import("./types").Document>>; | ||
@@ -47,0 +47,0 @@ become({ token, validateSession, }: Pick<SignOptions, 'validateSession'> & { |
@@ -18,3 +18,3 @@ /** | ||
serverKey: string; | ||
token: string; | ||
token: string | null; | ||
secret?: string; | ||
@@ -21,0 +21,0 @@ }): (factory: WebSocketFactory) => void; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157600
4000