@ossy/sdk 1.40.3 → 3.0.2

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/README.md +1 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -155,4 +155,4 @@ unsubscribe()
155
155
 
156
156
  Requires `workspaceId` on the SDK config, or a workspace cookie on the same origin. Returns a no-op unsubscribe when `EventSource` is unavailable (SSR/tests).
157
157
 
158
- With React, `WorkspaceProvider` from `@ossy/sdk-react` wires this automatically via `usePushInvalidation`.
158
+ With React, mount `PushInvalidationSubscriber` from `@ossy/sdk-react` on pages that need live invalidation, or set `enablePushInvalidation: true` in app config (off by default).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ossy/sdk",
3
3
  "description": "Software Development Kit for interacting with our services",
4
- "version": "1.40.3",
4
+ "version": "3.0.2",
5
5
  "url": "git://github.com/ossy-se/packages/sdk",
6
6
  "source": "src/public.index.ts",
7
7
  "main": "build/public.index.js",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@ossy/types": "^1.40.3"
24
+ "@ossy/types": "^3.0.2"
25
25
  },
26
26
  "scripts": {
27
27
  "start": "",
@@ -36,5 +36,5 @@
36
36
  "/build",
37
37
  "README.md"
38
38
  ],
39
- "gitHead": "a0d89185a17f8de8ce328c3a648c108ff1d61d8f"
39
+ "gitHead": "f0a8af3c370bbaffe4f7388c14f9345a5c6c56e5"
40
40
  }