diff --git a/dist/index.js b/dist/index.js index f14a768..c3566da 100644 --- a/dist/index.js +++ b/dist/index.js @@ -12,7 +12,7 @@ const plugins = require("./smartupdate.plugins"); const smarttime_1 = require("smarttime"); class SmartUpdate { constructor() { - this.kvStore = new plugins.npmextra.KeyValueStore('custom', 'global:smartupdate'); + this.kvStore = new plugins.npmextra.KeyValueStore('custom', 'global_smartupdate'); } check(npmnameArg, compareVersion, changelogUrlArg) { return __awaiter(this, void 0, void 0, function* () { diff --git a/ts/index.ts b/ts/index.ts index 1a28dfd..6cc000d 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -11,7 +11,7 @@ interface ICacheStatus { import { KeyValueStore } from 'npmextra' export class SmartUpdate { - kvStore = new plugins.npmextra.KeyValueStore('custom', 'global:smartupdate') + kvStore = new plugins.npmextra.KeyValueStore('custom', 'global_smartupdate') async check (npmnameArg: string, compareVersion: string, changelogUrlArg?: string) { // the newData to write