Skip to content

Commit

Permalink
[data-tables] add react-native mapping to ESM entry point (#21611)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremymeng authored Apr 27, 2022
1 parent 08c8789 commit 90a4e1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk/tables/data-tables/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

### Bugs Fixed

- fix react native bundling issue by adding a `react-native` mapping to ESM
entry point so that dependencies can be loaded asynchronously.

### Other Changes

## 13.1.1 (2022-04-14)
Expand Down
3 changes: 3 additions & 0 deletions sdk/tables/data-tables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"./dist-esm/src/utils/transactionHeaders.js": "./dist-esm/src/utils/transactionHeaders.browser.js",
"./dist-esm/test/public/utils/env.js": "./dist-esm/test/public/utils/env.browser.js"
},
"react-native": {
"./dist/index.js": "./dist-esm/src/index.js"
},
"types": "types/latest/data-tables.d.ts",
"typesVersions": {
"<3.6": {
Expand Down

0 comments on commit 90a4e1c

Please sign in to comment.