Skip to content

Commit dc9fce8

Browse files
committed
chore: use old URL for live messaging for now
1 parent 9d6d6dc commit dc9fce8

File tree

11 files changed

+15
-31
lines changed

11 files changed

+15
-31
lines changed

packages/browser-sdk/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Supply these to the constructor call:
9999
type Configuration = {
100100
logger: console; // by default only logs warn/error, by passing `console` you'll log everything
101101
apiBaseUrl?: "https://front.reflag.com";
102-
sseBaseUrl?: "https://livemessaging.reflag.com";
102+
sseBaseUrl?: "https://livemessaging.bucket.co";
103103
feedback?: undefined; // See FEEDBACK.md
104104
enableTracking?: true; // set to `false` to stop sending track events and user/company updates to Reflag servers. Useful when you're impersonating a user
105105
fallbackFlags?:
@@ -135,7 +135,6 @@ To ease in transition to Reflag SDK, some of the old methods have been preserved
135135
If you are running with strict Content Security Policies active on your website, you will need change them as follows:
136136

137137
- `connect-src https://front.bucket.co` to `connect-src https://front.reflag.com`
138-
- `connect-src https://livemessaging.bucket.co` to `connect-src https://livemessaging.reflag.com`
139138

140139
Finally, if you have customized the look & feel of the Feedback component, update `--bucket-feedback-*` CSS classes to `--reflag-feedback-*`
141140

@@ -391,7 +390,7 @@ If you are running with strict Content Security Policies active on your website,
391390
| Directive | Values | Reason |
392391
| ----------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
393392
| connect-src | [https://front.reflag.com](https://front.reflag.com) | Basic functionality` |
394-
| connect-src | [https://livemessaging.reflag.com](https://livemessaging.reflag.com) | Server sent events for use in automated feedback surveys, which allows for automatically collecting feedback when a user used a flag. |
393+
| connect-src | [https://livemessaging.bucket.co](https://livemessaging.bucket.co) | Server sent events for use in automated feedback surveys, which allows for automatically collecting feedback when a user used a flag. |
395394
| style-src | 'unsafe-inline' | The feedback UI is styled with inline styles. Not having this directive results unstyled HTML elements. |
396395

397396
If you are including the Reflag tracking SDK with a `<script>`-tag from `jsdelivr.net` you will also need:

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": "@reflag/browser-sdk",
3-
"version": "1.0.0-alpha.3",
3+
"version": "1.0.0-alpha.4",
44
"packageManager": "yarn@4.1.1",
55
"license": "MIT",
66
"repository": {

packages/browser-sdk/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { version } from "../package.json";
22

33
export const API_BASE_URL = "https://front.reflag.com";
44
export const APP_BASE_URL = "https://app.reflag.com";
5-
export const SSE_REALTIME_BASE_URL = "https://livemessaging.reflag.com";
5+
export const SSE_REALTIME_BASE_URL = "https://livemessaging.bucket.co";
66

77
export const SDK_VERSION_HEADER_NAME = "reflag-sdk-version";
88

packages/browser-sdk/test/mocks/handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export const handlers = [
172172
},
173173
),
174174
http.post(
175-
"https://livemessaging.reflag.com/keys/keyName/requestToken",
175+
"https://livemessaging.bucket.co/keys/keyName/requestToken",
176176
async ({ request }) => {
177177
const data = await request.json();
178178
if (typeof data !== "object") {

packages/openfeature-browser-provider/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ If you have been using the Bucket SDKs, the following list will help you migrate
3232
If you are running with strict Content Security Policies active on your website, you will need change them as follows:
3333

3434
- `connect-src https://front.bucket.co` to `connect-src https://front.reflag.com`
35-
- `connect-src https://livemessaging.bucket.co` to `connect-src https://livemessaging.reflag.com`
3635

3736
Finally, if you have customized the look & feel of the Feedback component, update `--bucket-feedback-*` CSS classes to `--reflag-feedback-*`
3837

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": "@reflag/openfeature-browser-provider",
3-
"version": "1.0.0-alpha.3",
3+
"version": "1.0.0-alpha.4",
44
"packageManager": "yarn@4.1.1",
55
"license": "MIT",
66
"repository": {
@@ -35,7 +35,7 @@
3535
}
3636
},
3737
"dependencies": {
38-
"@reflag/browser-sdk": "1.0.0-alpha.3"
38+
"@reflag/browser-sdk": "1.0.0-alpha.4"
3939
},
4040
"devDependencies": {
4141
"@openfeature/core": "1.5.0",

packages/react-sdk/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ To ease in transition to Reflag SDK, some of the old methods have been preserved
3939
If you are running with strict Content Security Policies active on your website, you will need change them as follows:
4040

4141
- `connect-src https://front.bucket.co` to `connect-src https://front.reflag.com`
42-
- `connect-src https://livemessaging.bucket.co` to `connect-src https://livemessaging.reflag.com`
4342

4443
## Get started
4544

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": "@reflag/react-sdk",
3-
"version": "1.0.0-alpha.3",
3+
"version": "1.0.0-alpha.4",
44
"license": "MIT",
55
"repository": {
66
"type": "git",
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"dependencies": {
37-
"@reflag/browser-sdk": "1.0.0-alpha.3",
37+
"@reflag/browser-sdk": "1.0.0-alpha.4",
3838
"canonical-json": "^0.0.4",
3939
"rollup": "^4.2.0"
4040
},

packages/vue-sdk/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ To ease in transition to Reflag SDK, some of the old methods have been preserved
3737
If you are running with strict Content Security Policies active on your website, you will need change them as follows:
3838

3939
- `connect-src https://front.bucket.co` to `connect-src https://front.reflag.com`
40-
- `connect-src https://livemessaging.bucket.co` to `connect-src https://livemessaging.reflag.com`
4140

4241
Finally, if you have customized the look & feel of the Feedback component, update `--bucket-feedback-*` CSS classes to `--reflag-feedback-*`
4342

packages/vue-sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reflag/vue-sdk",
3-
"version": "1.0.0-alpha.3",
3+
"version": "1.0.0-alpha.4",
44
"license": "MIT",
55
"repository": {
66
"type": "git",
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"dependencies": {
37-
"@reflag/browser-sdk": "1.0.0-alpha.3",
37+
"@reflag/browser-sdk": "1.0.0-alpha.4",
3838
"canonical-json": "^0.2.0"
3939
},
4040
"peerDependencies": {

0 commit comments

Comments
 (0)