Socket
Socket
Sign inDemoInstall

@elevated-libs/cuss2

Package Overview
Dependencies
17
Maintainers
2
Versions
129
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.82-RC-36 to 1.3.82-RC-37

1

dist/lib/cuss2.d.ts

@@ -161,2 +161,3 @@ import { LogMessage } from "./helper";

language?: string;
availablePending: boolean;
/**

@@ -163,0 +164,0 @@ * @typeof {StateChange.current} state Get the current application state from the CUSS 2 platform

5

dist/lib/cuss2.js

@@ -151,2 +151,3 @@ "use strict";

this.onAccessibleModeChange = new rxjs_1.Subject();
this.availablePending = false;
this.api = {

@@ -520,3 +521,4 @@ //

return; // initial value is an empty value
if (this.state === AppState.AVAILABLE && message.statusCode == statusCodes_1.StatusCodes.ALAPPLICATIONREQUEST && message.currentApplicationState === AppState.AVAILABLE) {
if (this.state === AppState.ACTIVE && this.availablePending && message.statusCode == statusCodes_1.StatusCodes.ALAPPLICATIONREQUEST) {
this.availablePending = false;
return;

@@ -620,2 +622,3 @@ }

this.stateChange.next(new stateChange_1.StateChange(this.state, AppState.AVAILABLE));
this.availablePending = true;
return this.api.staterequest(AppState.AVAILABLE);

@@ -622,0 +625,0 @@ }

{
"name": "@elevated-libs/cuss2",
"version": "1.3.82-RC-36",
"version": "1.3.82-RC-37",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -254,2 +254,3 @@

language?: string;
availablePending: boolean = false;

@@ -289,3 +290,4 @@ /**

if (this.state === AppState.AVAILABLE && message.statusCode == StatusCodes.ALAPPLICATIONREQUEST && message.currentApplicationState as any === AppState.AVAILABLE) {
if (this.state === AppState.ACTIVE && this.availablePending && message.statusCode == StatusCodes.ALAPPLICATIONREQUEST) {
this.availablePending = false;
return;

@@ -664,2 +666,3 @@ }

this.stateChange.next(new StateChange(this.state, AppState.AVAILABLE));
this.availablePending = true;
return this.api.staterequest(AppState.AVAILABLE);

@@ -666,0 +669,0 @@ } else {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc