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
|`sdkKey`|`string`| Yes | SDK key for authentication |
185
+
|`context`|`Record<string, any>`| No | Default context for override evaluations |
186
+
|`defaults`|`Record<string, any>`| No | Default values if server is unavailable |
187
+
|`required`|`string[]` or `object`| No | Configs that must exist for initialization |
188
+
|`initializationTimeoutMs`|`number`| No | SDK initialization timeout (default: 5000) |
189
+
190
+
See [`@replanejs/sdk` documentation](https://github.com/replane-dev/replane-javascript/tree/main/packages/sdk#options) for the complete list of options.
|`sdkKey`|`string`| Yes | SDK key for authentication |
84
+
|`context`|`Record<string, any>`| No | Default context for override evaluations |
85
+
|`defaults`|`Record<string, any>`| No | Default values if server is unavailable |
86
+
|`required`|`string[]` or `object`| No | Configs that must exist for initialization |
87
+
|`initializationTimeoutMs`|`number`| No | SDK initialization timeout (default: 5000) |
88
+
89
+
See [`@replanejs/sdk` documentation](https://github.com/replane-dev/replane-javascript/tree/main/packages/sdk#options) for the complete list of options.
90
+
76
91
#### 2. With pre-created client
77
92
78
93
Use this when you need more control over client lifecycle:
|`sdkKey`|`string`| Yes | SDK key for authentication |
56
+
|`context`|`Record<string, any>`| No | Default context for override evaluations |
57
+
|`defaults`|`Record<string, any>`| No | Default values if server is unavailable |
58
+
|`required`|`string[]` or `object`| No | Configs that must exist for initialization |
59
+
|`initializationTimeoutMs`|`number`| No | SDK initialization timeout (default: 5000) |
60
+
61
+
See [`@replanejs/sdk` documentation](https://github.com/replane-dev/replane-javascript/tree/main/packages/sdk#options) for the complete list of options.
0 commit comments