Skip to content

Commit 248b1b1

Browse files
Merge branch 'breaking_changes_baseline' into data_loader_for_ssr
2 parents 4168532 + e79229a commit 248b1b1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@splitsoftware/splitio-commons",
3-
"version": "2.0.0-rc.0",
3+
"version": "2.0.0-rc.1",
44
"description": "Split JavaScript SDK common components",
55
"main": "cjs/index.js",
66
"module": "esm/index.js",

src/sync/polling/updaters/segmentChangesUpdater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function segmentChangesUpdaterFactory(
3838
segmentChangesFetcher(since, segmentName, noCache, till).then((changes) => {
3939
return Promise.all(changes.map(x => {
4040
log.debug(`${LOG_PREFIX_SYNC_SEGMENTS}Processing ${segmentName} with till = ${x.till}. Added: ${x.added.length}. Removed: ${x.removed.length}`);
41-
return segments.update(x.name, x.added, x.removed, x.till);
41+
return segments.update(segmentName, x.added, x.removed, x.till);
4242
})).then((updates) => {
4343
return updates.some(update => update);
4444
});

0 commit comments

Comments
 (0)