posthog-js 1.27.0-alpha2 → 1.27.0-alpha5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/array.js +3 -3
- package/dist/array.js.map +1 -1
- package/dist/es.js +6 -6
- package/dist/es.js.map +1 -1
- package/dist/module.d.ts +20 -3
- package/dist/module.js +16 -16
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -881,7 +881,7 @@ var LZString = {
|
|
|
881
881
|
}
|
|
882
882
|
};
|
|
883
883
|
|
|
884
|
-
var version = "1.27.0-
|
|
884
|
+
var version = "1.27.0-alpha5";
|
|
885
885
|
|
|
886
886
|
// e.g. Config.DEBUG = Config.DEBUG || instance.get_config('debug')
|
|
887
887
|
|
|
@@ -2509,23 +2509,23 @@ var localPlusCookieStore = _objectSpread2(_objectSpread2({}, localStore), {}, {
|
|
|
2509
2509
|
|
|
2510
2510
|
return null;
|
|
2511
2511
|
},
|
|
2512
|
-
set: function set(name, value) {
|
|
2512
|
+
set: function set(name, value, days, cross_subdomain, is_secure) {
|
|
2513
2513
|
try {
|
|
2514
2514
|
localStore.set(name, value);
|
|
2515
2515
|
|
|
2516
2516
|
if (value.distinct_id) {
|
|
2517
2517
|
cookieStore.set(name, {
|
|
2518
2518
|
distinct_id: value.distinct_id
|
|
2519
|
-
});
|
|
2519
|
+
}, days, cross_subdomain, is_secure);
|
|
2520
2520
|
}
|
|
2521
2521
|
} catch (err) {
|
|
2522
2522
|
localStore.error(err);
|
|
2523
2523
|
}
|
|
2524
2524
|
},
|
|
2525
|
-
remove: function remove(name) {
|
|
2525
|
+
remove: function remove(name, cross_subdomain) {
|
|
2526
2526
|
try {
|
|
2527
2527
|
window.localStorage.removeItem(name);
|
|
2528
|
-
cookieStore.remove(name);
|
|
2528
|
+
cookieStore.remove(name, cross_subdomain);
|
|
2529
2529
|
} catch (err) {
|
|
2530
2530
|
localStore.error(err);
|
|
2531
2531
|
}
|
|
@@ -7560,5 +7560,5 @@ function init_as_module() {
|
|
|
7560
7560
|
|
|
7561
7561
|
var posthog = init_as_module();
|
|
7562
7562
|
|
|
7563
|
-
export { PostHog, posthog as default, posthog };
|
|
7563
|
+
export { Compression, PostHog, posthog as default, posthog };
|
|
7564
7564
|
//# sourceMappingURL=es.js.map
|