@streamlayer/sdk-web-anonymous-auth 1.1.4 → 1.1.6

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.
package/lib/cjs/index.js CHANGED
@@ -773,6 +773,7 @@ const anonymousAuth = async (instance, opts = {}) => {
773
773
  issuer: "sdk-web",
774
774
  ...opts
775
775
  };
776
+ instance.sdk.withAuth = true;
776
777
  const organization = await instance.stores.organizationSettings.getValue();
777
778
  if (!organization) {
778
779
  throw new Error("unknown organization");
package/lib/es/index.js CHANGED
@@ -771,6 +771,7 @@ const anonymousAuth = async (instance, opts = {}) => {
771
771
  issuer: "sdk-web",
772
772
  ...opts
773
773
  };
774
+ instance.sdk.withAuth = true;
774
775
  const organization = await instance.stores.organizationSettings.getValue();
775
776
  if (!organization) {
776
777
  throw new Error("unknown organization");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/sdk-web-anonymous-auth",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "author": "StreamLayer, Inc (https://streamlayer.io)",
5
5
  "maintainers": [
6
6
  {
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "peerDependencies": {
26
26
  "jose": "^5.9.3",
27
- "@streamlayer/sdk-web": "^1.5.3"
27
+ "@streamlayer/sdk-web": "^1.5.5"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@nx/devkit": "20.1.0",
@@ -39,8 +39,8 @@
39
39
  "vite-plugin-node-polyfills": "^0.22.0",
40
40
  "vite-tsconfig-paths": "^5.0.1",
41
41
  "webpack": "^5.95.0",
42
- "@streamlayer/sdk-web-api": "^1.6.4",
43
- "@streamlayer/sdk-web-core": "^1.6.3",
44
- "@streamlayer/sdk-web-interfaces": "^1.2.4"
42
+ "@streamlayer/sdk-web-api": "^1.6.6",
43
+ "@streamlayer/sdk-web-core": "^1.6.5",
44
+ "@streamlayer/sdk-web-interfaces": "^1.2.6"
45
45
  }
46
46
  }