Skip to content

Commit

Permalink
restore allow_fallback_to_local_storage
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitZugmeyer committed Jan 3, 2025
1 parent 32b8e92 commit c404a07
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/cjs/generated/telemetry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
* Whether a secure session cookie is used
*/
use_secure_session_cookie?: boolean;
/**
* Whether it is allowed to use LocalStorage when cookies are not available (deprecated in favor of session_storage)
*/
allow_fallback_to_local_storage?: boolean;
/**
* Configure the storage strategy for persisting sessions
*/
Expand Down
4 changes: 4 additions & 0 deletions lib/esm/generated/telemetry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
* Whether a secure session cookie is used
*/
use_secure_session_cookie?: boolean;
/**
* Whether it is allowed to use LocalStorage when cookies are not available (deprecated in favor of session_storage)
*/
allow_fallback_to_local_storage?: boolean;
/**
* Configure the storage strategy for persisting sessions
*/
Expand Down
4 changes: 4 additions & 0 deletions schemas/telemetry/configuration-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@
"type": "boolean",
"description": "Whether a secure session cookie is used"
},
"allow_fallback_to_local_storage": {
"type": "boolean",
"description": "Whether it is allowed to use LocalStorage when cookies are not available (deprecated in favor of session_storage)"
},
"session_storage": {
"type": "string",
"enum": ["local-storage", "cookie"],
Expand Down

0 comments on commit c404a07

Please sign in to comment.