@toruslabs/base-controllers
Advanced tools
Comparing version 5.8.0 to 5.8.1
@@ -89,1 +89,4 @@ export declare const FEATURES_PROVIDER_CHANGE_WINDOW: { | ||
export type BROADCAST_CHANNELS_MSGS_TYPE = (typeof BROADCAST_CHANNELS_MSGS)[keyof typeof BROADCAST_CHANNELS_MSGS]; | ||
export declare enum ControllerEvents { | ||
UserUnauthorized = "user.unauthorized" | ||
} |
@@ -28,1 +28,2 @@ export * from "./Account/IAccountTrackerController"; | ||
export * from "./utils"; | ||
export { default as WSApiClient } from "./WSApiClient"; |
@@ -7,2 +7,3 @@ import type { OPENLOGIN_NETWORK_TYPE } from "@toruslabs/openlogin-utils"; | ||
import { TransactionStatus } from "../Transaction/ITransactionController"; | ||
import { AuthCredentials, IWSApiClient } from "../WSApiClient"; | ||
import { ACCOUNT_TYPE, AddressPreferences, BillboardEvent, ContactPayload, DiscoverDapp, PreferencesConfig, PreferencesState, THEME } from "./IPreferencesController"; | ||
@@ -19,2 +20,3 @@ export declare const DEFAULT_PREFERENCES: AddressPreferences; | ||
iframeOrigin: string; | ||
protected wsApiClient: IWSApiClient; | ||
private signAuthMessage; | ||
@@ -126,2 +128,3 @@ private validateSignMessage; | ||
protected updateState(preferences?: Partial<P>, address?: string): P; | ||
protected authCredentials(address?: string): AuthCredentials; | ||
protected headers(address?: string): { | ||
@@ -128,0 +131,0 @@ headers: { |
@@ -82,1 +82,2 @@ /// <reference types="node" /> | ||
export declare function sleep<T>(ms: number): Promise<T>; | ||
export declare const isUnauthorizedError: (error: unknown) => boolean; |
{ | ||
"name": "@toruslabs/base-controllers", | ||
"version": "5.8.0", | ||
"version": "5.8.1", | ||
"homepage": "https://github.com/torusresearch/controllers#readme", | ||
@@ -31,2 +31,3 @@ "license": "ISC", | ||
"bowser": "^2.11.0", | ||
"jwt-decode": "^4.0.0", | ||
"lodash": "^4.17.21", | ||
@@ -66,3 +67,3 @@ "loglevel": "^1.9.1" | ||
}, | ||
"gitHead": "54b1f3d2f84c85e5500e5f5d1c3c5fbff4fbeb18" | ||
"gitHead": "4d55093ffd3b209365466b30ebec0374dae3ea5d" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
837896
44
7220
13
+ Addedjwt-decode@^4.0.0
+ Addedjwt-decode@4.0.0(transitive)