swimple 0.8.0 → 0.9.0

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/helpers.js CHANGED
@@ -5,7 +5,7 @@
5
5
  /// <reference no-default-lib="true"/>
6
6
  /// <reference lib="esnext" />
7
7
  /// <reference lib="webworker" />
8
- /// <reference path="./types.js" />
8
+ /// <reference path="./typedefs.js" />
9
9
 
10
10
  import {
11
11
  CACHE_TIMESTAMP_HEADER,
package/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  /// <reference no-default-lib="true"/>
6
6
  /// <reference lib="esnext" />
7
7
  /// <reference lib="webworker" />
8
- /// <reference path="./types.js" />
8
+ /// <reference path="./typedefs.js" />
9
9
 
10
10
  import {
11
11
  getHeader,
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "swimple",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "A simple service worker library for request caching",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
- "types": "./index.d.ts",
7
+ "types": "./types.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./index.d.ts",
10
+ "types": "./types.d.ts",
11
11
  "default": "./index.js"
12
12
  },
13
13
  "./headers": {
14
- "types": "./index.d.ts",
14
+ "types": "./types.d.ts",
15
15
  "default": "./headers.js"
16
16
  }
17
17
  },
@@ -22,7 +22,7 @@
22
22
  "test:ui": "playwright test",
23
23
  "format:check": "prettier --check .",
24
24
  "format:fix": "prettier --write .",
25
- "prepublishOnly": "tsc index.js headers.js helpers.js --declaration --allowJs --emitDeclarationOnly --outfile index.d.ts --target esnext"
25
+ "prepublishOnly": "tsc index.js headers.js helpers.js --declaration --allowJs --emitDeclarationOnly --outfile types.d.ts --target esnext"
26
26
  },
27
27
  "keywords": [
28
28
  "service-worker",
File without changes
File without changes