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
+2 -1
View File
@@ -4,6 +4,7 @@ import {
import { parseMeta, getBoilerplate } from './utils/parser.js';
import { isUserScriptsAvailable } from './utils/userScripts.js';
import { renderIcons, icon } from './utils/icons.js';
import { VERSION } from './version.js';
// Application State
const state = {
@@ -137,7 +138,7 @@ const renderHeader = () => `
<img src="/icons/icon-16.png" class="w-4 h-4 rounded-sm" />
<span class="font-bold text-sm tracking-tight text-slate-900 flex items-center gap-1.5">
OpenScript
<span class="text-[10px] font-mono px-1 py-0.2 rounded bg-slate-100 text-sky-700 border border-slate-200">1.0</span>
<span class="text-[10px] font-mono px-1 py-0.2 rounded bg-slate-100 text-sky-700 border border-slate-200">${VERSION}</span>
</span>
</div>
<nav class="flex items-center gap-1.5 text-xs font-medium">
+2 -1
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];
+1
View File
@@ -0,0 +1 @@
export const VERSION = '1.0.2';