Skip to content

Commit

Permalink
Add react-native to package.json (#1404)
Browse files Browse the repository at this point in the history
OKTA-592572 Add `react-native` to `package.json`
  • Loading branch information
denysoblohin-okta authored Apr 28, 2023
1 parent d76ea41 commit 940dc7a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# Changelog

## 7.2.1
## 7.3.0

### Fixes
### Features

- [#1404](https://github.com/okta/okta-auth-js/pull/1404) Adds `react-native` to `package.json`
- [#1395](https://github.com/okta/okta-auth-js/pull/1395) Changes resolve value of `closeSession()` and `signOut()` to boolean

### Fixes

- [#1398](https://github.com/okta/okta-auth-js/pull/1398) Fixes race condition in `LeaderElectionService` start

## 7.2.0

### Features
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "build/cjs/exports/default.js",
"module": "build/esm/node/exports/exports/default.js",
"browser": "build/umd/default.js",
"react-native": "build/esm/browser/exports/exports/default.js",
"types": "build/types/lib/exports/default.d.ts",
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/buildtools/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function removeBuildDir(val) {
}

// Remove "build/" from the entrypoint paths.
['main', 'module', 'browser', 'types', 'exports'].forEach(function(key) {
['main', 'module', 'browser', 'types', 'exports', 'react-native'].forEach(function(key) {
packageJSON[key] = removeBuildDir(packageJSON[key]);
});

Expand Down

0 comments on commit 940dc7a

Please sign in to comment.