@streamlayer/sdk-web-core 0.11.4 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +0 -3
  2. package/package.json +4 -4
package/lib/index.js CHANGED
@@ -14,7 +14,6 @@ import './auth';
14
14
  * Security: Implements authentication and authorization.
15
15
  */
16
16
  export const core = (instance, opts, done) => {
17
- console.log('core connected');
18
17
  instance.sdk = Object.create(null);
19
18
  /**
20
19
  * On initialize we subscribe to store and launch listeners
@@ -39,7 +38,6 @@ export const core = (instance, opts, done) => {
39
38
  return { err: `${err}` };
40
39
  }
41
40
  };
42
- console.log('sdk.initializeApp added');
43
41
  instance.sdk.disableApp = () => {
44
42
  instance.stores.enabled.setValue();
45
43
  instance.stores.status.setValue(CoreStatus.DISABLED);
@@ -50,7 +48,6 @@ export const core = (instance, opts, done) => {
50
48
  * trigger their logic in response to a new event.
51
49
  */
52
50
  instance.sdk.createEventSession = (providerStreamId) => {
53
- instance.stores.providerStreamId.setValue('');
54
51
  instance.stores.providerStreamId.setValue(providerStreamId);
55
52
  };
56
53
  done();
package/package.json CHANGED
@@ -7,10 +7,10 @@
7
7
  "@nanostores/query": "^0.2.8",
8
8
  "nanostores": "^0.9.4",
9
9
  "@streamlayer/sl-eslib": "^5.45.1",
10
- "@streamlayer/sdk-web-interfaces": "^0.17.3",
10
+ "@streamlayer/sdk-web-interfaces": "^0.18.0",
11
11
  "@streamlayer/sdk-web-storage": "^0.3.2",
12
- "@streamlayer/sdk-web-api": "^0.0.1",
13
- "@streamlayer/sdk-web-types": "^0.15.1"
12
+ "@streamlayer/sdk-web-api": "^0.0.2",
13
+ "@streamlayer/sdk-web-types": "^0.16.0"
14
14
  },
15
15
  "exports": {
16
16
  ".": {
@@ -39,7 +39,7 @@
39
39
  "default": "./lib/auth/index.js"
40
40
  }
41
41
  },
42
- "version": "0.11.4",
42
+ "version": "0.13.0",
43
43
  "type": "module",
44
44
  "main": "./lib/index.js",
45
45
  "module": "./lib/index.js",