@rebasepro/firebase 0.9.1-canary.fd3754b → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebasepro/firebase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.10.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"main": "./dist/index.
|
|
8
|
+
"main": "./dist/index.es.js",
|
|
9
9
|
"module": "./dist/index.es.js",
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
11
|
"source": "src/index.ts",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"fast-equals": "6.0.0",
|
|
14
14
|
"fuse.js": "^7.4.2",
|
|
15
15
|
"react-router-dom": "^7.17.0",
|
|
16
|
-
"@rebasepro/
|
|
17
|
-
"@rebasepro/
|
|
18
|
-
"@rebasepro/
|
|
19
|
-
"@rebasepro/ui": "0.
|
|
20
|
-
"@rebasepro/
|
|
21
|
-
"@rebasepro/
|
|
16
|
+
"@rebasepro/admin": "0.10.0",
|
|
17
|
+
"@rebasepro/app": "0.10.0",
|
|
18
|
+
"@rebasepro/types": "0.10.0",
|
|
19
|
+
"@rebasepro/ui": "0.10.0",
|
|
20
|
+
"@rebasepro/common": "0.10.0",
|
|
21
|
+
"@rebasepro/utils": "0.10.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"firebase": "^10.12.2 || ^11.0.0 || ^12.0.0",
|
|
@@ -35,8 +35,7 @@
|
|
|
35
35
|
".": {
|
|
36
36
|
"types": "./dist/index.d.ts",
|
|
37
37
|
"development": "./dist/index.es.js",
|
|
38
|
-
"import": "./dist/index.es.js"
|
|
39
|
-
"require": "./dist/index.umd.js"
|
|
38
|
+
"import": "./dist/index.es.js"
|
|
40
39
|
},
|
|
41
40
|
"./package.json": "./package.json"
|
|
42
41
|
},
|
|
@@ -48,6 +47,7 @@
|
|
|
48
47
|
"@firebase/firestore": "^4.16.0",
|
|
49
48
|
"@firebase/functions": "^0.13.5",
|
|
50
49
|
"@firebase/storage": "^0.14.3",
|
|
50
|
+
"@jest/globals": "^30.4.1",
|
|
51
51
|
"@types/jest": "^30.0.0",
|
|
52
52
|
"@types/node": "^25.9.3",
|
|
53
53
|
"@types/react": "^19.2.17",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"dev": "vite",
|
|
74
|
-
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json",
|
|
74
|
+
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/assert-build-output.mjs",
|
|
75
75
|
"clean": "rm -rf dist && find ./src -name '*.js' -type f | xargs rm -f"
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -26,13 +26,12 @@ import {
|
|
|
26
26
|
PhoneMultiFactorGenerator,
|
|
27
27
|
RecaptchaVerifier
|
|
28
28
|
} from "@firebase/auth";
|
|
29
|
-
import {
|
|
29
|
+
import type {
|
|
30
30
|
FirebaseAuthController,
|
|
31
31
|
FirebaseSignInOption,
|
|
32
|
-
FirebaseSignInProvider
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "../index";
|
|
32
|
+
FirebaseSignInProvider
|
|
33
|
+
} from "../types/auth";
|
|
34
|
+
import { RECAPTCHA_CONTAINER_ID, useRecaptcha } from "../hooks/useRecaptcha";
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* @category Firebase
|
|
@@ -306,7 +305,7 @@ export function FirebaseLoginView({
|
|
|
306
305
|
{resolvedSignInOptions.includes("phone") &&
|
|
307
306
|
<LoginButton
|
|
308
307
|
disabled={disabled}
|
|
309
|
-
text={"
|
|
308
|
+
text={"Phone number"}
|
|
310
309
|
icon={<PhoneIcon size={iconSize.medium}/>}
|
|
311
310
|
onClick={() => setPhoneLoginSelected(true)}/>}
|
|
312
311
|
|