New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@streamlayer/sdk-web-core

Package Overview
Dependencies
Maintainers
14
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@streamlayer/sdk-web-core - npm Package Compare versions

Comparing version 0.13.2 to 0.14.0

6

lib/index.js

@@ -23,2 +23,5 @@ import { CoreStatus } from './store/store';

instance.sdk.initializeApp = async () => {
if (instance.stores.enabled.get() === 'on') {
return { enabled: true };
}
instance.storeSubscribe();

@@ -43,2 +46,5 @@ instance.stores.enabled.setValue('on');

instance.sdk.disableApp = () => {
if (instance.stores.enabled.get() !== 'on') {
return;
}
instance.stores.enabled.setValue();

@@ -45,0 +51,0 @@ instance.stores.status.setValue(CoreStatus.DISABLED);

2

lib/store/index.d.ts

@@ -6,2 +6,4 @@ import { StreamLayerContext } from '@streamlayer/sdk-web-interfaces';

sdkStore: CoreStoreInstance;
enabled: CoreStores['enabled'];
status: CoreStores['status'];
organizationStore: () => CoreStores['organizationSettings'];

@@ -8,0 +10,0 @@ }

@@ -8,2 +8,4 @@ import { CoreStore } from './store';

instance.stores = instance.store.getValues();
instance.sdk.enabled = instance.stores.enabled.getStore();
instance.sdk.status = instance.stores.status.getStore();
instance.sdk.sdkStore = instance.store.getStore();

@@ -10,0 +12,0 @@ instance.sdk.organizationStore = () => instance.stores.organizationSettings.getStore();

2

package.json

@@ -42,3 +42,3 @@ {

},
"version": "0.13.2",
"version": "0.14.0",
"type": "module",

@@ -45,0 +45,0 @@ "main": "./lib/index.js",

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