Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 2db3e2f

Browse files
authored
Prepare v0.7.2 for release, further increasing downstream JS compatibility. (#96)
* Make babel config 'global' so that node_modules can get transpiled
1 parent 23ce044 commit 2db3e2f

4 files changed

+11
-10
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ A breaking change should be clearly marked in this log.
88
## Unreleased
99

1010

11+
## v0.7.2
12+
13+
### Fixed
14+
* Downstream dependencies are transpiled to target the same older JS environments as the main library ([#96](https://github.com/stellar/js-soroban-client/pull/96)).
15+
16+
1117
## v0.7.1
1218

1319
### Fixed

.babelrc babel.config.json

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
11
{
2-
"comments": false,
2+
"comments": true, // for debugging & jsdocs
33
"presets": [
44
"@babel/preset-env",
55
"@babel/typescript"
66
],
77
"targets": {
8-
"node": 14,
98
"browsers": [ "> 2%" ] // target modern browsers and ES6
109
},
1110
"env": {
1211
"development": {
13-
"comments": true, // for debugging
1412
"plugins": [ "istanbul" ] // for code coverage
1513
},
16-
"docs": {
17-
"comments": true // for jsdocs
18-
},
1914
"production": {
20-
// stricter target for final browser bundle (more compatibility)
15+
"comments": false,
2116
"targets": {
2217
"node": 14,
2318
"browsers": [

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "soroban-client",
3-
"version": "0.7.1",
3+
"version": "0.7.2",
44
"description": "A library for working with Stellar's Soroban RPC servers.",
55
"author": "Stellar Development Foundation <[email protected]>",
66
"homepage": "https://github.com/stellar/js-soroban-client",

webpack.config.browser.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ const config = {
3535
rules: [
3636
{
3737
test: /\.m?(ts|js)$/,
38-
exclude: /node_modules/,
38+
exclude: /node_modules\/(?!(stellar-base|js-xdr))/,
3939
use: {
4040
loader: "babel-loader",
4141
options: {
42-
cacheDirectory: true,
42+
cacheDirectory: true
4343
},
4444
},
4545
},

0 commit comments

Comments
 (0)