@ouroboros/browser 0.1.6 → 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.
package/cookies.js CHANGED
@@ -50,7 +50,7 @@ function get(name, defaulReturn) {
50
50
  * @return {void}
51
51
  */
52
52
  function remove(name, domain, path) {
53
- set(name, '', -1, domain, path);
53
+ set(name, '', -86400, domain, path);
54
54
  }
55
55
  /**
56
56
  * Set
package/cookies.ts CHANGED
@@ -56,7 +56,7 @@ function get(name: string, defaulReturn: string | null | undefined): string | ob
56
56
  * @return {void}
57
57
  */
58
58
  function remove(name: string, domain?: string, path?: string): void {
59
- set(name, '', -1, domain, path);
59
+ set(name, '', -86400, domain, path);
60
60
  }
61
61
 
62
62
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouroboros/browser",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Package to handle common browser functionality.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/tsconfig.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "allowJs": true,
4
- "allowSyntheticDefaultImports": true,
5
- "declaration": true,
6
- "esModuleInterop": true,
7
- "isolatedModules": true,
8
- "lib": ["es2019", "dom", "dom.iterable"],
9
- "moduleResolution": "node",
10
- "noEmit": false,
11
- "strict": true,
12
- "target": "esnext"
13
- },
14
- "include": ["./"],
15
- "exclude": []
16
- }
package/tslint.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "extends": [
3
- "tslint:recommended",
4
- "tslint-config-prettier"
5
- ],
6
- "rules": {
7
- "comment-format": false,
8
- "no-console": false
9
- }
10
- }