Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xcoobee-cookie-kit-core

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xcoobee-cookie-kit-core - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

dist/CookieManager.js

6

dist/configs.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.xcoobeeCookiesKey = exports.xbApiUrl = exports.tokenKey = exports.requiredFields = exports.positions = exports.locales = exports.links = exports.expirationTime = exports.euCountries = exports.defaultConfig = exports.cssHref = exports.cookieTypes = exports.cookieDefns = exports.consentStatuses = exports.consentsSources = exports.configFields = exports.animations = void 0;
exports.xcoobeeCookiesKey = exports.xbApiUrl = exports.tokenKey = exports.requiredFields = exports.positions = exports.locales = exports.localeKey = exports.links = exports.expirationTime = exports.euCountries = exports.defaultConfig = exports.cssHref = exports.countryCodeKey = exports.cookieTypes = exports.cookieDefns = exports.consentStatuses = exports.consentsSources = exports.configFields = exports.animations = void 0;
var xbApiUrl = process.env.XB_API_URL || "https://api.xcoobee.net";

@@ -61,2 +61,6 @@ exports.xbApiUrl = xbApiUrl;

exports.xcoobeeCookiesKey = xcoobeeCookiesKey;
var localeKey = "xcoobeeLocale";
exports.localeKey = localeKey;
var countryCodeKey = "xcoobeeCountryCode";
exports.countryCodeKey = countryCodeKey;
var links = {

@@ -63,0 +67,0 @@ poweredBy: "https://www.xcoobee.com",

2

package.json
{
"name": "xcoobee-cookie-kit-core",
"version": "1.0.8",
"version": "1.0.9",
"description": "Cookie Consent Management for Websites",

@@ -5,0 +5,0 @@ "keywords": [

@@ -17,2 +17,6 @@ # XcooBee Cookie Kit Core

## Video
[Cookie Kit Tutorial](https://www.youtube.com/watch?v=X2DNrckHLBI)
## What is the difference

@@ -19,0 +23,0 @@

@@ -55,2 +55,4 @@ const xbApiUrl = process.env.XB_API_URL || "https://api.xcoobee.net";

const xcoobeeCookiesKey = "xcoobeeCookies";
const localeKey = "xcoobeeLocale";
const countryCodeKey = "xcoobeeCountryCode";

@@ -125,2 +127,3 @@ const links = {

cookieTypes,
countryCodeKey,
cssHref,

@@ -131,2 +134,3 @@ defaultConfig,

links,
localeKey,
locales,

@@ -133,0 +137,0 @@ positions,

@@ -26,3 +26,3 @@ /**

function xckEraseCookie(name) {
document.cookie = name + '=; Max-Age=-99999999;';
document.cookie = name + "=; Max-Age=-99999999; path=/";
}

@@ -36,4 +36,4 @@

function xckGetCookieNames() {
let ca = document.cookie.split(';');
let ra = [];
const ca = document.cookie.split(";");
const ra = [];

@@ -256,3 +256,3 @@ for (let i = 0; i < ca.length; i++) {

// Set cookie
xckSetCookie(cookieName,cookieValue,cookieDays);
xckSetCookie(cookieName, cookieValue, cookieDays);
} else {

@@ -277,2 +277,2 @@ // Erase cookie

xckHandleXbeeCookieTags,
}
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc