@serwist/core 8.3.0 → 8.4.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.
@@ -1,2 +0,0 @@
1
- declare const getFriendlyURL: (url: URL | string) => string;
2
- export { getFriendlyURL };
@@ -1,11 +0,0 @@
1
- /**
2
- * Returns a promise that resolves to a window client matching the passed
3
- * `resultingClientId`. For browsers that don't support `resultingClientId`
4
- * or if waiting for the resulting client to apper takes too long, resolve to
5
- * `undefined`.
6
- *
7
- * @param resultingClientId
8
- * @returns
9
- * @private
10
- */
11
- export declare function resultingClientExists(resultingClientId?: string): Promise<Client | undefined>;
@@ -1,9 +0,0 @@
1
- /**
2
- * Returns a promise that resolves and the passed number of milliseconds.
3
- * This utility is an async/await-friendly version of `setTimeout`.
4
- *
5
- * @param ms
6
- * @returns
7
- * @private
8
- */
9
- export declare function timeout(ms: number): Promise<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/core",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "type": "module",
5
5
  "description": "This module is used by a number of the other Serwist modules to share common code.",
6
6
  "files": [
@@ -17,7 +17,7 @@
17
17
  "license": "MIT",
18
18
  "repository": "serwist/serwist",
19
19
  "bugs": "https://github.com/serwist/serwist/issues",
20
- "homepage": "https://serwist.vercel.app",
20
+ "homepage": "https://serwist.pages.dev",
21
21
  "main": "./dist/index.js",
22
22
  "module": "./dist/index.js",
23
23
  "types": "./dist/index.d.ts",
@@ -52,10 +52,11 @@
52
52
  },
53
53
  "devDependencies": {
54
54
  "rollup": "4.9.1",
55
- "@serwist/constants": "8.3.0"
55
+ "@serwist/constants": "8.4.0"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "rimraf dist && cross-env NODE_ENV=production rollup --config rollup.config.js",
59
+ "dev": "rollup --config rollup.config.js --watch",
59
60
  "lint": "eslint src --ext ts,tsx,js,jsx,cjs,mjs",
60
61
  "typecheck": "tsc"
61
62
  }