You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cookieNameV2: 'mprtcl-v2',// v2 Name of the cookie stored on the user's machine. Removed keys with no values, moved cartProducts and productBags to localStorage.
112
109
cookieNameV3: 'mprtcl-v3',// v3 Name of the cookie stored on the user's machine. Base64 encoded keys in Base64CookieKeys object, final version on SDKv1
113
110
localStorageNameV4: 'mprtcl-v4',// v4 Name of the mP localstorage, Current Version
114
-
localStorageProductsV4: 'mprtcl-prodv4',// The name for mP localstorage that contains products for cartProducs and productBags
115
111
cookieNameV4: 'mprtcl-v4',// v4 Name of the cookie stored on the user's machine. Base64 encoded keys in Base64CookieKeys object, current version on SDK v2
116
112
currentStorageName: 'mprtcl-v4',
117
-
currentStorageProductsName: 'mprtcl-prodv4',
118
113
},
119
114
DefaultConfig: {
120
115
cookieDomain: null,// If null, defaults to current location.host
121
116
cookieExpiration: 365,// Cookie expiration time in days
122
117
logLevel: null,// What logging will be provided in the console
123
118
timeout: 300,// timeout in milliseconds for logging functions
124
119
sessionTimeout: 30,// Session timeout in minutes
125
-
maxProducts: 20,// Number of products persisted in cartProducts and productBags
126
120
forwarderStatsTimeout: 5000,// Milliseconds for forwarderStats timeout
127
121
integrationDelayTimeout: 5000,// Milliseconds for forcing the integration delay to un-suspend event queueing due to integration partner errors
128
122
maxCookieSize: 3000,// Number of bytes for cookie size to not exceed
// Cart is Deprecated and private to mParticle user in @mparticle/web-sdk
9
-
// but we need to expose it here for type safety in some of our tests
10
-
interfaceICart{
11
-
/**
12
-
* @deprecated Cart persistence in mParticle has been deprecated. Please use mParticle.eCommerce.logProductAction(mParticle.ProductActionType.AddToCart, [products])
* @deprecated Cart persistence in mParticle has been deprecated. Please use mParticle.eCommerce.logProductAction(mParticle.ProductActionType.RemoveFromCart, [products])
0 commit comments