Skip to content

Commit e72fd1b

Browse files
committed
Refactor: Remove unused storage management logic from StartIO ID module and set default storage expiration
1 parent 453a5e7 commit e72fd1b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

modules/startioIdSystem.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { ajax } from '../src/ajax.js';
1010
import { getUserSyncParams } from '../libraries/userSyncUtils/userSyncUtils.js';
1111

1212
const MODULE_NAME = 'startioId';
13+
const GVLID = 1216;
1314
const DEFAULT_ENDPOINT = 'https://cs.startappnetwork.com/get-uid-obj?p=m4b8b3y4';
1415

1516
function fetchIdFromServer(callback, consentData) {
@@ -46,6 +47,7 @@ function fetchIdFromServer(callback, consentData) {
4647

4748
export const startioIdSubmodule = {
4849
name: MODULE_NAME,
50+
gvlid: GVLID,
4951
decode(value) {
5052
return value && typeof value === 'string'
5153
? { 'startioId': value }

test/spec/modules/startioIdSystem_spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ describe('StartIO ID System', function () {
2727
expect(startioIdSubmodule.name).to.equal('startioId');
2828
});
2929

30+
it('should have gvlid', function () {
31+
expect(startioIdSubmodule.gvlid).to.equal(1216);
32+
});
33+
3034
it('should have eids configuration', function () {
3135
expect(startioIdSubmodule.eids).to.deep.equal({
3236
'startioId': {

0 commit comments

Comments
 (0)