Release OpenScript 1.0.2

This commit is contained in:
2026-09-11 14:56:19 -07:00
parent fc941ad9d2
commit cdaba68a59
7 changed files with 25 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
import { getScripts, saveScripts, getSecrets } from './storage.js';
import { normalizeMatch, parseMeta } from './parser.js';
import { VERSION } from '../version.js';
const STORAGE_MESSAGE = 'OPEN_SCRIPT_STORAGE';
@@ -33,7 +34,7 @@ ${code}
delete: key => call('delete', key).then(() => undefined),
list: () => call('list').then(result => result.keys),
});
const OpenScript = Object.freeze({ version: '1.0.0', env, storage });
const OpenScript = Object.freeze({ version: '${VERSION}', env, storage });
globalThis.OpenScript = OpenScript;
globalThis.env = env;
return [OpenScript, env];