@plitzi/sdk-shared 0.39.0 → 0.39.1
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/CHANGELOG.md +7 -0
- package/dist/schema/schemaSettings.d.ts +1 -1
- package/dist/schema/schemaSettings.mjs +1 -1
- package/dist/state/index.mjs +3 -3
- package/dist/state/paintedState.d.ts +20 -4
- package/dist/state/paintedState.mjs +13 -12
- package/dist/state/runtimeStatePersist.mjs +104 -51
- package/dist/store/storeHooks.d.ts +33 -33
- package/dist/types/SchemaTypes.d.ts +7 -0
- package/package.json +1 -1
|
@@ -247,6 +247,13 @@ export type Schema = {
|
|
|
247
247
|
* `keepState`; a key cannot be both painted and transient. Top-level keys, as `setState` writes them.
|
|
248
248
|
*/
|
|
249
249
|
paintedState?: string[];
|
|
250
|
+
/**
|
|
251
|
+
* Kept keys of `runtime.state` that are the browser's rather than whoever is signed in — the cookie consent, a choice
|
|
252
|
+
* made of the browser itself: kept in an entry of their own, and not taken away by signing in, out, or as somebody
|
|
253
|
+
* else, which forgets the rest of what the previous owner kept. Needs `keepState`; a key cannot be both the browser's
|
|
254
|
+
* and transient. Top-level keys, as `setState` writes them.
|
|
255
|
+
*/
|
|
256
|
+
browserState?: string[];
|
|
250
257
|
/**
|
|
251
258
|
* The space's `/robots.txt`, as search engines read it: what they may crawl, and where its sitemap is. Left out, the
|
|
252
259
|
* server answers that everything may be — `User-agent: *` then `Allow: /`. A page kept out of search says it on the
|