diff --git a/CHANGELOG.md b/CHANGELOG.md index d2bafc0..d440b7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ -## next +## 1.0.0-alpha.22 (June 29, 2022) -- Fixed a crash on UI init in sandbox when a bundle declares variables with a name as a readonly globals referring to a window object like `top`, `parent` etc. +- Fixed crash on UI init in a sandbox when a bundle declares variables with a name as a readonly globals referring to a window object like `top`, `parent` etc. - Changed `createPublisher()` to return a root namespace (`ns('*')`) instead of a `Publisher`'s instance - Changed `getSubscriber()` and `getSelfSubscriber()` to return a root namespace (`ns('*')`) instead of a `Subscriber`'s instance +- Improved TypeScript typings ## 1.0.0-alpha.21 (May 20, 2022) diff --git a/package-lock.json b/package-lock.json index b0635e8..73f5dde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rempl", - "version": "1.0.0-alpha.21", + "version": "1.0.0-alpha.22", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "rempl", - "version": "1.0.0-alpha.21", + "version": "1.0.0-alpha.22", "license": "MIT", "dependencies": { "chalk": "~4.1.2", diff --git a/package.json b/package.json index cc68269..b8cbd34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rempl", - "version": "1.0.0-alpha.21", + "version": "1.0.0-alpha.22", "description": "Framework for moderated access with custom UI to remote JavaScript runtime", "repository": "rempl/rempl", "license": "MIT", @@ -16,6 +16,7 @@ "browser": "./lib/browser.js", "exports": { ".": { + "types": "./lib/browser.d.ts", "node": { "types": "./lib/node.d.ts", "require": "./lib/node.cjs", @@ -37,7 +38,7 @@ "test": "npm run test:esm && npm run test:cjs", "test:esm": "mocha lib-test/*.js", "test:cjs": "mocha lib-test/*.cjs", - "build": "npm run build:transpile && npm run build:bundle", + "build": "npm run build:transpile && npm run build:bundle && npm run ts-emit-types", "build:clean": "node scripts/clean.cjs", "build:bundle": "node scripts/build.cjs", "build:server-assets": "node node_modules/basisjs-tools-build/bin/build -c server/client/build.config",