Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/browser-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Bucket supports feature toggling, tracking feature usage, [collecting feedback](

## Install

First find your `publishableKey` under [environment settings](https://app.bucket.co/envs/current/settings/app-environments) in Bucket.
First find your `publishableKey` under [environment settings](https://app.bucket.co/env-current/settings/app-environments) in Bucket.

The package can be imported or used directly in a HTML script tag:

Expand Down
2 changes: 1 addition & 1 deletion packages/browser-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bucketco/browser-sdk",
"version": "3.3.3",
"version": "3.3.4",
"packageManager": "[email protected]",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/browser-sdk/src/toolbar/Features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function FeatureRow({
<Feature class="feature-icon" />
<a
class="feature-link"
href={`${appBaseUrl}/envs/current/features/by-key/${feature.key}`}
href={`${appBaseUrl}/env-current/features/by-key/${feature.key}`}
rel="noreferrer"
tabIndex={index + 1}
target="_blank"
Expand Down
4 changes: 2 additions & 2 deletions packages/node-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ You can also [use the HTTP API directly](https://docs.bucket.co/api/http-api)

## Basic usage

To get started you need to obtain your secret key from the [environment settings](https://app.bucket.co/envs/current/settings/app-environments)
To get started you need to obtain your secret key from the [environment settings](https://app.bucket.co/env-current/settings/app-environments)
in Bucket.

> [!CAUTION]
Expand All @@ -65,7 +65,7 @@ in Bucket.

Bucket will load settings through the various environment variables automatically (see [Configuring](#configuring) below).

1. Find the Bucket secret key for your development environment under [environment settings](https://app.bucket.co/envs/current/settings/app-environments) in Bucket.
1. Find the Bucket secret key for your development environment under [environment settings](https://app.bucket.co/env-current/settings/app-environments) in Bucket.
2. Set `BUCKET_SECRET_KEY` in your `.env` file
3. Create a `bucket.ts` file containing the following:

Expand Down
4 changes: 2 additions & 2 deletions packages/openfeature-browser-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bucketco/openfeature-browser-provider",
"version": "0.6.2",
"version": "0.6.3",
"packageManager": "[email protected]",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -35,7 +35,7 @@
}
},
"dependencies": {
"@bucketco/browser-sdk": "3.3.3"
"@bucketco/browser-sdk": "3.3.4"
},
"devDependencies": {
"@bucketco/eslint-config": "0.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ generates a `check` event.

The `<BucketProvider>` initializes the Bucket SDK, fetches features and starts listening for automated feedback survey events. The component can be configured using a number of props:

- `publishableKey` is used to connect the provider to an _environment_ on Bucket. Find your `publishableKey` under [environment settings](https://app.bucket.co/envs/current/settings/app-environments) in Bucket,
- `publishableKey` is used to connect the provider to an _environment_ on Bucket. Find your `publishableKey` under [environment settings](https://app.bucket.co/env-current/settings/app-environments) in Bucket,
- `company`, `user` and `otherContext` make up the _context_ that is used to determine if a feature is enabled or not. `company` and `user` contexts are automatically transmitted to Bucket servers so the Bucket app can show you which companies have access to which features etc.
> [!Note]
> If you specify `company` and/or `user` they must have at least the `id` property, otherwise they will be ignored in their entirety. You should also supply anything additional you want to be able to evaluate feature targeting against,
Expand Down
4 changes: 2 additions & 2 deletions packages/react-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bucketco/react-sdk",
"version": "3.3.2",
"version": "3.3.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,7 +34,7 @@
}
},
"dependencies": {
"@bucketco/browser-sdk": "3.3.3",
"@bucketco/browser-sdk": "3.3.4",
"canonical-json": "^0.0.4",
"rollup": "^4.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ generates a `check` event.

The `<BucketProvider>` initializes the Bucket SDK, fetches features and starts listening for automated feedback survey events. The component can be configured using a number of props:

- `publishableKey` is used to connect the provider to an _environment_ on Bucket. Find your `publishableKey` under [environment settings](https://app.bucket.co/envs/current/settings/app-environments) in Bucket,
- `publishableKey` is used to connect the provider to an _environment_ on Bucket. Find your `publishableKey` under [environment settings](https://app.bucket.co/env-current/settings/app-environments) in Bucket,
- `company`, `user` and `otherContext` make up the _context_ that is used to determine if a feature is enabled or not. `company` and `user` contexts are automatically transmitted to Bucket servers so the Bucket app can show you which companies have access to which features etc.

> [!Note]
Expand Down
4 changes: 2 additions & 2 deletions packages/vue-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bucketco/vue-sdk",
"version": "0.2.1",
"version": "0.2.2",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,7 +34,7 @@
}
},
"dependencies": {
"@bucketco/browser-sdk": "3.3.3",
"@bucketco/browser-sdk": "3.3.4",
"canonical-json": "^0.2.0"
},
"peerDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ __metadata:
languageName: node
linkType: hard

"@bucketco/browser-sdk@npm:3.3.3, @bucketco/browser-sdk@workspace:packages/browser-sdk":
"@bucketco/browser-sdk@npm:3.3.4, @bucketco/browser-sdk@workspace:packages/browser-sdk":
version: 0.0.0-use.local
resolution: "@bucketco/browser-sdk@workspace:packages/browser-sdk"
dependencies:
Expand Down Expand Up @@ -800,7 +800,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@bucketco/openfeature-browser-provider@workspace:packages/openfeature-browser-provider"
dependencies:
"@bucketco/browser-sdk": "npm:3.3.3"
"@bucketco/browser-sdk": "npm:3.3.4"
"@bucketco/eslint-config": "npm:0.0.2"
"@bucketco/tsconfig": "npm:0.0.2"
"@openfeature/core": "npm:1.5.0"
Expand Down Expand Up @@ -846,7 +846,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@bucketco/react-sdk@workspace:packages/react-sdk"
dependencies:
"@bucketco/browser-sdk": "npm:3.3.3"
"@bucketco/browser-sdk": "npm:3.3.4"
"@bucketco/eslint-config": "workspace:^"
"@bucketco/tsconfig": "workspace:^"
"@testing-library/react": "npm:^15.0.7"
Expand Down Expand Up @@ -887,7 +887,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@bucketco/vue-sdk@workspace:packages/vue-sdk"
dependencies:
"@bucketco/browser-sdk": "npm:3.3.3"
"@bucketco/browser-sdk": "npm:3.3.4"
"@bucketco/eslint-config": "workspace:^"
"@bucketco/tsconfig": "workspace:^"
"@types/jsdom": "npm:^21.1.6"
Expand Down