byt-ui 0.1.5 → 0.1.7

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.
@@ -94431,7 +94431,7 @@ var website = __webpack_require__(17021);
94431
94431
  * @Description:
94432
94432
  * @Author: 王国火
94433
94433
  * @Date: 2022-10-18 12:37:03
94434
- * @LastEditTime: 2024-04-22 14:40:35
94434
+ * @LastEditTime: 2024-04-22 19:23:05
94435
94435
  * @LastEditors: 王国火
94436
94436
  */
94437
94437
 
@@ -94439,22 +94439,22 @@ var website = __webpack_require__(17021);
94439
94439
  const getCookie = key => {
94440
94440
  const fullKey = `${website["default"].key}-${key}`;
94441
94441
  return api.get(fullKey, {
94442
- domain: window.location.hostname
94442
+ // domain: window.location.hostname
94443
94443
  }) || '';
94444
94444
  };
94445
94445
  const setCookie = (key, value, expires = 7, path = '/') => {
94446
94446
  const fullKey = `${website["default"].key}-${key}`;
94447
94447
  return api.set(fullKey, value, {
94448
94448
  expires,
94449
- path,
94450
- domain: window.location.hostname
94449
+ path
94450
+ // domain: window.location.hostname
94451
94451
  });
94452
94452
  };
94453
94453
  const removeCookie = (key, path = '/') => {
94454
94454
  const fullKey = `${website["default"].key}-${key}`;
94455
94455
  return api.remove(fullKey, {
94456
- path,
94457
- domain: window.location.hostname
94456
+ path
94457
+ // domain: window.location.hostname
94458
94458
  });
94459
94459
  };
94460
94460
 
package/lib/byt-ui.umd.js CHANGED
@@ -94441,7 +94441,7 @@ var website = __webpack_require__(4522);
94441
94441
  * @Description:
94442
94442
  * @Author: 王国火
94443
94443
  * @Date: 2022-10-18 12:37:03
94444
- * @LastEditTime: 2024-04-22 14:40:35
94444
+ * @LastEditTime: 2024-04-22 19:23:05
94445
94445
  * @LastEditors: 王国火
94446
94446
  */
94447
94447
 
@@ -94449,22 +94449,22 @@ var website = __webpack_require__(4522);
94449
94449
  const getCookie = key => {
94450
94450
  const fullKey = `${website["default"].key}-${key}`;
94451
94451
  return api.get(fullKey, {
94452
- domain: window.location.hostname
94452
+ // domain: window.location.hostname
94453
94453
  }) || '';
94454
94454
  };
94455
94455
  const setCookie = (key, value, expires = 7, path = '/') => {
94456
94456
  const fullKey = `${website["default"].key}-${key}`;
94457
94457
  return api.set(fullKey, value, {
94458
94458
  expires,
94459
- path,
94460
- domain: window.location.hostname
94459
+ path
94460
+ // domain: window.location.hostname
94461
94461
  });
94462
94462
  };
94463
94463
  const removeCookie = (key, path = '/') => {
94464
94464
  const fullKey = `${website["default"].key}-${key}`;
94465
94465
  return api.remove(fullKey, {
94466
- path,
94467
- domain: window.location.hostname
94466
+ path
94467
+ // domain: window.location.hostname
94468
94468
  });
94469
94469
  };
94470
94470