Skip to content

Commit 05ec3a6

Browse files
wtusfoAlisher
and
Alisher
authored
fix: import UI (#687)
* fix: rename ui-> prebuiltui to avoid import conflicts * update changelog * Revert "fix: rename ui-> prebuiltui to avoid import conflicts" This reverts commit c654d68. * rename output ui->ui-entry * update patch version * fix broken example app import --------- Co-authored-by: Alisher <[email protected]>
1 parent 2a9a2b6 commit 05ec3a6

18 files changed

+31
-28
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [0.32.2] - 2023-05-10
11+
1012
- Fixed with-thirdpartyemailpassword-passwordless apps overwritten button's width
13+
- Fixed supertokens-auth-react/ui import referencing .js file instead of .d.ts causing ts issue
1114

1215
## [0.32.1] - 2023-05-03
1316

examples/with-emailverification-then-password-thirdpartyemailpassword/src/SetPassword/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import { SignInAndUp } from "supertokens-auth-react/recipe/thirdpartyemailpassword";
2+
import { SignInAndUp } from "supertokens-auth-react/recipe/thirdpartyemailpassword/prebuiltui";
33

44
/*
55
You can build your own UI here to ask the user's password and then call the sign up API.

lib/build/emailpassword-shared5.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/emailverificationprebuiltui.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/passwordless-shared3.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/session-shared.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/thirdparty-shared2.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/thirdpartyemailpasswordprebuiltui.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/thirdpartypasswordlessprebuiltui.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/ui.js renamed to lib/build/ui-entry.js

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/ui-entry.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/ui.js.map

-1
This file was deleted.

lib/build/version.d.ts

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ts/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
* License for the specific language governing permissions and limitations
1313
* under the License.
1414
*/
15-
export const package_version = "0.32.1";
15+
export const package_version = "0.32.2";

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "supertokens-auth-react",
3-
"version": "0.32.1",
3+
"version": "0.32.2",
44
"description": "ReactJS SDK that provides login functionality with SuperTokens.",
55
"main": "./index.js",
66
"engines": {

rollup.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default [
1616
{
1717
input: {
1818
index: "lib/ts/index.ts",
19-
ui: "lib/ts/ui/index.tsx",
19+
"ui-entry": "lib/ts/ui/index.tsx",
2020
session: "lib/ts/recipe/session/index.ts",
2121
emailverification: "lib/ts/recipe/emailverification/index.tsx",
2222
emailverificationprebuiltui: "lib/ts/recipe/emailverification/prebuiltui.tsx",

ui/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ function __export(m) {
1818
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
1919
}
2020
exports.__esModule = true;
21-
__export(require("../lib/build/ui"));
21+
__export(require("../lib/build/ui-entry"));

0 commit comments

Comments
 (0)