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
Copy file name to clipboardExpand all lines: packages/browser-sdk/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,7 @@ type Configuration = {
109
109
staleWhileRevalidate?:boolean; // Revalidate in the background when cached features turn stale to avoid latency in the UI (default: false)
110
110
staleTimeMs?:number; // at initialization time features are loaded from the cache unless they have gone stale. Defaults to 0 which means the cache is disabled. Increase this in the case of a non-SPA
111
111
expireTimeMs?:number; // In case we're unable to fetch features from Bucket, cached/stale features will be used instead until they expire after `expireTimeMs`. Default is 30 days
112
+
offline?:boolean; // Use the SDK in offline mode. Offline mode is useful during testing and local development
112
113
};
113
114
```
114
115
@@ -282,7 +283,7 @@ Feedback can be submitted to Bucket using the SDK:
282
283
283
284
```ts
284
285
bucketClient.feedback({
285
-
featureId: "my_feature_id", // String (required), copy from Feature feedback tab
286
+
featureKey: "my-feature-key", // String (required), copy from Feature feedback tab
0 commit comments