Skip to content

Commit 835f443

Browse files
committed
fix: update environment current urls
1 parent c84de68 commit 835f443

11 files changed

Lines changed: 15 additions & 15 deletions

File tree

packages/browser-sdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Bucket supports feature toggling, tracking feature usage, [collecting feedback](
66

77
## Install
88

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

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

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.3.3",
3+
"version": "3.3.4",
44
"packageManager": "yarn@4.1.1",
55
"license": "MIT",
66
"repository": {

packages/browser-sdk/src/toolbar/Features.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function FeatureRow({
111111
<Feature class="feature-icon" />
112112
<a
113113
class="feature-link"
114-
href={`${appBaseUrl}/envs/current/features/by-key/${feature.key}`}
114+
href={`${appBaseUrl}/env-current/features/by-key/${feature.key}`}
115115
rel="noreferrer"
116116
tabIndex={index + 1}
117117
target="_blank"

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bucketco/cli",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"packageManager": "yarn@4.1.1",
55
"description": "CLI for Bucket service",
66
"main": "./dist/index.js",

packages/cli/utils/urls.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const baseUrlSuffix = (baseUrl: string) => {
2222
};
2323

2424
export function environmentUrl(baseUrl: string, environment: UrlArgs): string {
25-
return `${baseUrl}/envs/${slug(environment)}`;
25+
return `${baseUrl}/env-current${slug(environment)}`;
2626
}
2727

2828
export function featureUrl(

packages/node-sdk/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ You can also [use the HTTP API directly](https://docs.bucket.co/api/http-api)
5656

5757
## Basic usage
5858

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

6262
> [!CAUTION]
@@ -65,7 +65,7 @@ in Bucket.
6565
6666
Bucket will load settings through the various environment variables automatically (see [Configuring](#configuring) below).
6767

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

packages/openfeature-browser-provider/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bucketco/openfeature-browser-provider",
3-
"version": "0.6.2",
3+
"version": "0.6.3",
44
"packageManager": "yarn@4.1.1",
55
"license": "MIT",
66
"repository": {
@@ -35,7 +35,7 @@
3535
}
3636
},
3737
"dependencies": {
38-
"@bucketco/browser-sdk": "3.3.3"
38+
"@bucketco/browser-sdk": "3.3.4"
3939
},
4040
"devDependencies": {
4141
"@bucketco/eslint-config": "0.0.2",

packages/react-sdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ generates a `check` event.
171171

172172
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:
173173

174-
- `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,
174+
- `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,
175175
- `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.
176176
> [!Note]
177177
> 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,

packages/react-sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bucketco/react-sdk",
3-
"version": "3.3.2",
3+
"version": "3.3.3",
44
"license": "MIT",
55
"repository": {
66
"type": "git",
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"dependencies": {
37-
"@bucketco/browser-sdk": "3.3.3",
37+
"@bucketco/browser-sdk": "3.3.4",
3838
"canonical-json": "^0.0.4",
3939
"rollup": "^4.2.0"
4040
},

packages/vue-sdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ generates a `check` event.
112112

113113
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:
114114

115-
- `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,
115+
- `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,
116116
- `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.
117117

118118
> [!Note]

0 commit comments

Comments
 (0)