From 2e689994da4f522b2786625c787dfafaa78a648f Mon Sep 17 00:00:00 2001 From: George Date: Mon, 18 Sep 2023 17:58:31 -0700 Subject: [PATCH] Prepare beta.3 with a browser hotfix (#862) --- CHANGELOG.md | 6 ++++++ config/webpack.config.browser.js | 7 +++++-- package.json | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f1d1fd88..166cc0ca2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ A breaking change will get clearly marked in this log. ## Unreleased +## [v11.0.0-beta.3](https://github.com/stellar/js-stellar-sdk/compare/v11.0.0-beta.2...v11.0.0-beta.3) + +### Fixed +- Fix a webpack error preventing correct exports of the SDK for browsers ([TODO]()). + + ## [v11.0.0-beta.2](https://github.com/stellar/js-stellar-sdk/compare/v11.0.0-beta.1...v11.0.0-beta.2) ### Breaking Changes diff --git a/config/webpack.config.browser.js b/config/webpack.config.browser.js index b7c704dd0..bcb8f1c62 100644 --- a/config/webpack.config.browser.js +++ b/config/webpack.config.browser.js @@ -22,8 +22,11 @@ const config = { }, output: { clean: true, - library: 'StellarSdk', - compareBeforeEmit: true, + library: { + name: 'StellarSdk', + type: 'umd', + umdNamedDefine: true + }, path: path.resolve(__dirname, '../dist') }, mode: process.env.NODE_ENV ?? 'development', diff --git a/package.json b/package.json index 8bb1a5d3e..e0e2247bd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stellar-sdk", - "version": "11.0.0-beta.2", + "version": "11.0.0-beta.3", "description": "A library for working with the Stellar Horizon server.", "keywords": [ "stellar"