* Gets the last seen version from storage, and returns undefined if there is none in storage
()
| 177 | * Gets the last seen version from storage, and returns undefined if there is none in storage |
| 178 | */ |
| 179 | protected getLastSeenVersion(): Version { |
| 180 | let lastSeenVersionStr = this.clipperData.getValue(ClipperStorageKeys.lastSeenVersion); |
| 181 | return lastSeenVersionStr ? new Version(lastSeenVersionStr) : undefined; |
| 182 | } |
| 183 | |
| 184 | protected getNewUpdates(lastSeenVersion: Version, currentVersion: Version): Promise<ChangeLog.Update[]> { |
| 185 | return new Promise<ChangeLog.Update[]>((resolve, reject) => { |