Skip to content

Commit 1741f5d

Browse files
authored
chore(browser-sdk): bump version to 3.3.0 and update dependencies (#445)
- Updated the version of the browser SDK to 3.3.0 in package.json. - Adjusted yarn.lock to reflect the new version and its dependencies. - Added documentation for the new `offline` option in README.md to enhance testing capabilities.
1 parent be46e7c commit 1741f5d

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

packages/browser-sdk/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ type Configuration = {
109109
staleWhileRevalidate?: boolean; // Revalidate in the background when cached features turn stale to avoid latency in the UI (default: false)
110110
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
111111
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
112113
};
113114
```
114115

packages/browser-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bucketco/browser-sdk",
3-
"version": "3.2.0",
3+
"version": "3.3.0",
44
"packageManager": "[email protected]",
55
"license": "MIT",
66
"repository": {

yarn.lock

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,19 @@ __metadata:
683683
languageName: node
684684
linkType: hard
685685

686-
"@bucketco/browser-sdk@npm:3.2.0, @bucketco/browser-sdk@workspace:packages/browser-sdk":
686+
"@bucketco/browser-sdk@npm:3.2.0":
687+
version: 3.2.0
688+
resolution: "@bucketco/browser-sdk@npm:3.2.0"
689+
dependencies:
690+
"@floating-ui/dom": "npm:^1.6.8"
691+
canonical-json: "npm:^0.0.4"
692+
js-cookie: "npm:^3.0.5"
693+
preact: "npm:^10.22.1"
694+
checksum: 10c0/4663b213f24a1ba7f2878751606cd32752c477ca192fda5a264c6a27d4c6a2db9e4f3a5422bf45bb8ba6c24c2b5249def19f425243d3d754fde0d92231f35562
695+
languageName: node
696+
linkType: hard
697+
698+
"@bucketco/browser-sdk@workspace:packages/browser-sdk":
687699
version: 0.0.0-use.local
688700
resolution: "@bucketco/browser-sdk@workspace:packages/browser-sdk"
689701
dependencies:

0 commit comments

Comments
 (0)