You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`secretKey`| string | The secret key used for authentication with Reflag's servers. | REFLAG_SECRET_KEY |
563
-
|`logLevel`| string | The log level for the SDK (e.g., `"DEBUG"`, `"INFO"`, `"WARN"`, `"ERROR"`). Default: `INFO`| REFLAG_LOG_LEVEL |
564
-
|`offline`| boolean | Operate in offline mode. Default: `false`, except in tests it will default to `true` based off of the `TEST` env. var. In offline mode the SDK does not fetch from Reflag and does not use `flagsFallbackProvider`. | REFLAG_OFFLINE |
565
-
|`apiBaseUrl`| string | The base API URL for the Reflag servers. | REFLAG_API_BASE_URL |
566
-
|`flagOverrides`| Record<string, boolean> | An object specifying flag overrides for testing or local development. See [examples/express/app.test.ts](https://github.com/reflagcom/javascript/tree/main/packages/node-sdk/examples/express/app.test.ts) for how to use `flagOverrides` in tests. | REFLAG_FLAGS_ENABLED, REFLAG_FLAGS_DISABLED |
567
-
|`flagsFallbackProvider`|`FlagsFallbackProvider`| Optional provider used to load and save raw flag definitions for fallback startup when the initial live fetch fails. Available only through the constructor. Ignored in offline mode. | - |
568
-
|`flagsSyncMode`|`"polling" \| "in-request" \| "push"`| Flag-definition sync mode. `polling` uses periodic background refresh, `in-request` refreshes stale flags during request handling, and `push` subscribes to live updates and refreshes with `waitForVersion`. Default: `"polling"`. | - |
569
-
|`flagsPushUrl`| string | Push endpoint used when `flagsSyncMode: "push"`. Default: `https://pubsub.reflag.com/sse`. | - |
570
-
|`configFile`| string | Load this config file from disk. Default: `reflag.config.json`| REFLAG_CONFIG_FILE |
|`secretKey`| string | The secret key used for authentication with Reflag's servers. | REFLAG_SECRET_KEY |
563
+
|`logLevel`| string | The log level for the SDK (e.g., `"DEBUG"`, `"INFO"`, `"WARN"`, `"ERROR"`). Default: `INFO`| REFLAG_LOG_LEVEL |
564
+
|`offline`| boolean | Operate in offline mode. Default: `false`, except in tests it will default to `true` based off of the `TEST` env. var. In offline mode the SDK does not fetch from Reflag and does not use `flagsFallbackProvider`. | REFLAG_OFFLINE |
565
+
|`apiBaseUrl`| string | The base API URL for the Reflag servers. | REFLAG_API_BASE_URL |
566
+
|`flagOverrides`| Record<string, boolean> | An object specifying flag overrides for testing or local development. See [examples/express/app.test.ts](https://github.com/reflagcom/javascript/tree/main/packages/node-sdk/examples/express/app.test.ts) for how to use `flagOverrides` in tests. | REFLAG_FLAGS_ENABLED, REFLAG_FLAGS_DISABLED |
567
+
|`flagsFallbackProvider`|`FlagsFallbackProvider`| Optional provider used to load and save raw flag definitions for fallback startup when the initial live fetch fails. Available only through the constructor. Ignored in offline mode. | - |
568
+
|`flagsSyncMode`|`"polling" \| "in-request" \| "push"`| Flag-definition sync mode. `polling` uses periodic background refresh, `in-request` refreshes stale flags during request handling, and `push` subscribes to live updates and refreshes with `waitForVersion`. Default: `"polling"`. | - |
569
+
|`flagsPushUrl`| string | Push endpoint used when `flagsSyncMode: "push"`. Default: `https://pubsub.reflag.com/sse`.| - |
570
+
|`configFile`| string | Load this config file from disk. Default: `reflag.config.json`| REFLAG_CONFIG_FILE |
0 commit comments