From 21089c0c5711a2d7da3a54759d37c7de50a01e32 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Wed, 21 Jun 2023 11:52:18 +0200 Subject: [PATCH] build: redo global polyfill (#361) --- CHANGELOG.md | 15 ++++++++++++++- package-lock.json | 4 ++-- package.json | 2 +- scripts/esbuild.mjs | 1 + 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 806e0a18..4c40e8e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.18.0 (wip) +# 0.17.1 (2023-06-21) ## Release @@ -11,6 +11,19 @@ - utils `v0.0.17` - nns-proto `v0.0.3` +## Fix + +- redo `global` polyfill for the browser +- expose more types in new library `ic-management-js` + +## Build + +- fix `ic-management-js` next dependencies and version + +## Docs + +- various improvements in READMEs + # 0.17.0 (2023-06-20) ## Release diff --git a/package-lock.json b/package-lock.json index f4552769..e489c206 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dfinity/ic-js", - "version": "0.18.0", + "version": "0.17.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dfinity/ic-js", - "version": "0.18.0", + "version": "0.17.1", "license": "Apache-2.0", "workspaces": [ "packages/utils", diff --git a/package.json b/package.json index e4ddd096..322007f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/ic-js", - "version": "0.18.0", + "version": "0.17.1", "description": "A collection of library for interfacing with the Internet Computer.", "license": "Apache-2.0", "workspaces": [ diff --git a/scripts/esbuild.mjs b/scripts/esbuild.mjs index 90055b28..3b275c60 100644 --- a/scripts/esbuild.mjs +++ b/scripts/esbuild.mjs @@ -58,6 +58,7 @@ const buildEsmCjs = () => { minify: true, splitting: true, format: "esm", + define: { global: "window" }, target: ["esnext"], platform: "browser", conditions: ["worker", "browser"],