Skip to content

Commit 3779c42

Browse files
committed
3.10.0 bump
1 parent 7ff181b commit 3779c42

File tree

13 files changed

+16
-16
lines changed

13 files changed

+16
-16
lines changed

lib/flagsmith-es/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/flagsmith-es/isomorphic.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/flagsmith-es/next-middleware.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/flagsmith-es/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flagsmith-es",
3-
"version": "3.9.2",
3+
"version": "3.10.0",
44
"description": "Feature flagging to support continuous development. This is an esm equivalent of the standard flagsmith npm module.",
55
"main": "./index.js",
66
"type": "module",

lib/flagsmith-es/src/flagsmith-core.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const Flagsmith = class {
249249
enableDynatrace,
250250
enableAnalytics,
251251
realtime,
252-
eventSourceUrl= "http://sse-lb-eu-west-2-7ba834a-1075512661.eu-west-2.elb.amazonaws.com.global.prod.fastly.net/sse/environments/$ENVIRONMENT/stream",
252+
eventSourceUrl= "https://realtime.flagsmith.com/",
253253
AsyncStorage: _AsyncStorage,
254254
identity,
255255
traits,
@@ -283,7 +283,7 @@ const Flagsmith = class {
283283
this.initialised = true;
284284
this.ticks = 10000;
285285
if (realtime && typeof window !== 'undefined') {
286-
const connectionUrl = eventSourceUrl.replace("$ENVIRONMENT", environmentID);
286+
const connectionUrl = eventSourceUrl + "sse/environments/" + environmentID + "/stream";
287287
if(!eventSource) {
288288
this.log("Error, EventSource is undefined");
289289
} else if (!this.eventSource) {

lib/flagsmith/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/flagsmith/isomorphic.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/flagsmith/next-middleware.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/flagsmith/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flagsmith",
3-
"version": "3.9.2",
3+
"version": "3.10.0",
44
"description": "Feature flagging to support continuous development",
55
"main": "./index.js",
66
"repository": {

lib/flagsmith/src/flagsmith-core.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const Flagsmith = class {
249249
enableDynatrace,
250250
enableAnalytics,
251251
realtime,
252-
eventSourceUrl= "http://sse-lb-eu-west-2-7ba834a-1075512661.eu-west-2.elb.amazonaws.com.global.prod.fastly.net/sse/environments/$ENVIRONMENT/stream",
252+
eventSourceUrl= "https://realtime.flagsmith.com/",
253253
AsyncStorage: _AsyncStorage,
254254
identity,
255255
traits,
@@ -283,7 +283,7 @@ const Flagsmith = class {
283283
this.initialised = true;
284284
this.ticks = 10000;
285285
if (realtime && typeof window !== 'undefined') {
286-
const connectionUrl = eventSourceUrl.replace("$ENVIRONMENT", environmentID);
286+
const connectionUrl = eventSourceUrl + "sse/environments/" + environmentID + "/stream";
287287
if(!eventSource) {
288288
this.log("Error, EventSource is undefined");
289289
} else if (!this.eventSource) {

0 commit comments

Comments
 (0)