Socket
Socket
Sign inDemoInstall

@toruslabs/base-controllers

Package Overview
Dependencies
Maintainers
5
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toruslabs/base-controllers - npm Package Compare versions

Comparing version 5.8.0 to 5.8.1

dist/types/WSApiClient.d.ts

3

dist/types/enums.d.ts

@@ -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;

5

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc