Skip to content

Commit 288ab79

Browse files
Polishing
1 parent 7f440d5 commit 288ab79

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

package-lock.json

Lines changed: 7 additions & 7 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
@@ -38,7 +38,7 @@
3838
"node": ">=14.0.0"
3939
},
4040
"dependencies": {
41-
"@splitsoftware/splitio-commons": "2.4.1",
41+
"@splitsoftware/splitio-commons": "2.4.2-rc.2",
4242
"bloom-filters": "^3.0.4",
4343
"ioredis": "^4.28.0",
4444
"js-yaml": "^3.13.1",

src/settings/storage/browser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function validateStorage(settings) {
1313
prefix,
1414
expirationDays,
1515
clearOnInit,
16-
storage
16+
wrapper
1717
} = { type: STORAGE_MEMORY },
1818
} = settings;
1919
let __originalType;
@@ -43,7 +43,7 @@ export function validateStorage(settings) {
4343
prefix,
4444
expirationDays,
4545
clearOnInit,
46-
storage,
46+
wrapper,
4747
__originalType
4848
};
4949
}

ts-tests/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,8 @@ let fullBrowserSettings: SplitIO.IBrowserSettings = {
566566
type: 'LOCALSTORAGE',
567567
prefix: 'PREFIX',
568568
expirationDays: 1,
569-
clearOnInit: true
569+
clearOnInit: true,
570+
wrapper: window.sessionStorage
570571
},
571572
impressionListener: impressionListener,
572573
debug: true,

0 commit comments

Comments
 (0)