mirror of
https://github.com/primedigitaltech/azon_seeker.git
synced 2026-10-05 15:22:59 +08:00
chore: release extension v0.7.13
This commit is contained in:
parent
d98b672b2e
commit
0b99643100
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "azon-seeker",
|
"name": "azon-seeker",
|
||||||
"displayName": "Azon Seeker v0.7.1.12-beta",
|
"displayName": "Azon Seeker v0.7.13",
|
||||||
"version": "0.7.2",
|
"version": "0.7.13",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Starter modify by honestfox101 and PetrichorFun",
|
"description": "Starter modify by honestfox101 and PetrichorFun",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -50,7 +50,7 @@ if (evaluation.exceptionDetails) {
|
|||||||
throw new Error(evaluation.exceptionDetails.text || 'Extension evaluation failed.');
|
throw new Error(evaluation.exceptionDetails.text || 'Extension evaluation failed.');
|
||||||
}
|
}
|
||||||
const runtime = evaluation.result.value;
|
const runtime = evaluation.result.value;
|
||||||
if (runtime.manifest.version !== '0.7.2') throw new Error('Unexpected extension version.');
|
if (runtime.manifest.version !== '0.7.13') throw new Error('Unexpected extension version.');
|
||||||
if (!runtime.manifest.permissions.includes('alarms')) throw new Error('Missing alarms permission.');
|
if (!runtime.manifest.permissions.includes('alarms')) throw new Error('Missing alarms permission.');
|
||||||
if (runtime.alarm?.name !== 'amazon-sync-retry') throw new Error('Retry alarm was not created.');
|
if (runtime.alarm?.name !== 'amazon-sync-retry') throw new Error('Retry alarm was not created.');
|
||||||
const state = JSON.parse(runtime.storage['amazon-sync-state-v1']);
|
const state = JSON.parse(runtime.storage['amazon-sync-state-v1']);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user