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
13
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.2.11 to 0.4.0

2

package.json

@@ -14,3 +14,3 @@ {

},
"version": "0.2.11",
"version": "0.4.0",
"type": "module",

@@ -17,0 +17,0 @@ "main": "./src/index.js",

@@ -12,3 +12,4 @@ import { BypassAuth } from './bypass';

await instance.auth.login(schema, userKey);
localStorage.setItem('sl-user-schema', schema);
// ToDo: implement right cache user keys
localStorage.setItem('sl-user-schema', 'streamlayer:streamlayer');
};

@@ -15,0 +16,0 @@ instance.sdk.logout = () => {

import { StreamLayerContext } from '@streamlayer/sdk-web-interfaces';
import { CoreStore, StoreObj, CoreStoreInstance } from './store';
import { CoreStore, CoreStores, StoreObj, CoreStoreInstance } from './store';
declare module '@streamlayer/sdk-web-interfaces' {
interface StreamLayerSDK {
sdkStore: CoreStoreInstance;
organizationStore: () => CoreStores['organizationSettings'];
}

@@ -7,0 +8,0 @@ interface StreamLayerContext {

@@ -10,2 +10,3 @@ import { FeatureSource } from '@streamlayer/sdk-web-interfaces';

instance.sdk.sdkStore = instance.store.getStore();
instance.sdk.organizationStore = () => instance.stores.organizationSettings.getStore();
/**

@@ -12,0 +13,0 @@ * Essentially, features and stores establish subscriptions to other stores

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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