swpp-backends 2.0.0 → 2.0.1

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.
@@ -59,6 +59,7 @@ function analyzeVersion() {
59
59
  return (0, Variant_1.writeVariant)('swppAnalyze', (0, Utils_1.deepFreeze)(result));
60
60
  }
61
61
  exports.analyzeVersion = analyzeVersion;
62
+ (0, Variant_1.writeVariant)('refreshUrl', new Set());
62
63
  /** 手动添加一个要刷新的 URL */
63
64
  function refreshUrl(url) {
64
65
  (0, Variant_1.readEvent)('refreshUrl').add(url);
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ const VersionAnalyzer_1 = require("./VersionAnalyzer");
10
10
  const DomBuilder_1 = require("./DomBuilder");
11
11
  // noinspection JSUnusedGlobalSymbols
12
12
  exports.default = {
13
- version: '2.0.0',
13
+ version: '2.0.1',
14
14
  cache: {
15
15
  readEjectData: Utils_1.readEjectData, readUpdateJson: Variant_1.readUpdateJson,
16
16
  readRules: Variant_1.readRules, readMergeVersionMap: Variant_1.readMergeVersionMap,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swpp-backends",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "main": "dist/index.js",
5
5
  "typings": "types/index.d.ts",
6
6
  "description": "Generate a powerful ServiceWorker for your website.",