Skip to content

Commit 82dfd7f

Browse files
authored
Merge branch 'main' into feat/keystone-bk
2 parents 2a08df3 + dea4b5e commit 82dfd7f

File tree

5 files changed

+87
-4
lines changed

5 files changed

+87
-4
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
diff --git a/dist/esm/index.esm2017.js b/dist/esm/index.esm2017.js
2+
index 0ccacd0074ecd0e8c3d7aecff784035c976c3507..45b1bbdecd576496512cbeff1a3ae3360416e71c 100644
3+
--- a/dist/esm/index.esm2017.js
4+
+++ b/dist/esm/index.esm2017.js
5+
@@ -1072,8 +1072,6 @@ const version = "0.8.13";
6+
* See the License for the specific language governing permissions and
7+
* limitations under the License.
8+
*/
9+
-const RECAPTCHA_URL = 'https://www.google.com/recaptcha/api.js';
10+
-const RECAPTCHA_ENTERPRISE_URL = 'https://www.google.com/recaptcha/enterprise.js';
11+
function initializeV3(app, siteKey) {
12+
const initialized = new Deferred();
13+
const state = getStateReference(app);
14+
@@ -1178,18 +1176,8 @@ function renderInvisibleWidget(app, siteKey, grecaptcha, container) {
15+
state.reCAPTCHAState = Object.assign(Object.assign({}, state.reCAPTCHAState), { // state.reCAPTCHAState is set in the initialize()
16+
widgetId });
17+
}
18+
-function loadReCAPTCHAV3Script(onload) {
19+
- const script = document.createElement('script');
20+
- script.src = RECAPTCHA_URL;
21+
- script.onload = onload;
22+
- document.head.appendChild(script);
23+
-}
24+
-function loadReCAPTCHAEnterpriseScript(onload) {
25+
- const script = document.createElement('script');
26+
- script.src = RECAPTCHA_ENTERPRISE_URL;
27+
- script.onload = onload;
28+
- document.head.appendChild(script);
29+
-}
30+
+function loadReCAPTCHAV3Script(onload) {}
31+
+function loadReCAPTCHAEnterpriseScript(onload) {}
32+
33+
/**
34+
* @license
35+
diff --git a/dist/index.cjs.js b/dist/index.cjs.js
36+
index 0c2a517b474822b9546c2826f3d31b0d170380a5..91e54ea0cdcbd4f89d57d4e609eaf47a9f6bcd41 100644
37+
--- a/dist/index.cjs.js
38+
+++ b/dist/index.cjs.js
39+
@@ -1076,8 +1076,6 @@ const version = "0.8.13";
40+
* See the License for the specific language governing permissions and
41+
* limitations under the License.
42+
*/
43+
-const RECAPTCHA_URL = 'https://www.google.com/recaptcha/api.js';
44+
-const RECAPTCHA_ENTERPRISE_URL = 'https://www.google.com/recaptcha/enterprise.js';
45+
function initializeV3(app, siteKey) {
46+
const initialized = new util.Deferred();
47+
const state = getStateReference(app);
48+
@@ -1182,18 +1180,8 @@ function renderInvisibleWidget(app, siteKey, grecaptcha, container) {
49+
state.reCAPTCHAState = Object.assign(Object.assign({}, state.reCAPTCHAState), { // state.reCAPTCHAState is set in the initialize()
50+
widgetId });
51+
}
52+
-function loadReCAPTCHAV3Script(onload) {
53+
- const script = document.createElement('script');
54+
- script.src = RECAPTCHA_URL;
55+
- script.onload = onload;
56+
- document.head.appendChild(script);
57+
-}
58+
-function loadReCAPTCHAEnterpriseScript(onload) {
59+
- const script = document.createElement('script');
60+
- script.src = RECAPTCHA_ENTERPRISE_URL;
61+
- script.onload = onload;
62+
- document.head.appendChild(script);
63+
-}
64+
+function loadReCAPTCHAV3Script(onload) {}
65+
+function loadReCAPTCHAEnterpriseScript(onload) {}
66+
67+
/**
68+
* @license

apps/legacy/rsbuild.legacy.alpha.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { defineConfig, mergeRsbuildConfig } from '@rsbuild/core';
22
import { CopyRspackPlugin } from '@rspack/core';
3-
import commonConfig from './rsbuild.legacy.common.ts';
3+
import commonConfig from './rsbuild.legacy.common';
44
import { transformManifestFiles } from '../../build-scripts/manifestHelpers.js';
5-
import { getEnvVars } from '../../build-scripts/getEnvVars.ts';
5+
import { getEnvVars } from '../../build-scripts/getEnvVars';
66

77
const skipSourceMap = process.env.NO_SOURCE_MAPS === 'true';
88

apps/legacy/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
}
99
},
1010
"exclude": ["**/node_modules/*"],
11-
"include": ["./src", "../../packages/types/*.d.ts"]
11+
"include": ["./src", "../../packages/types/*.d.ts", "rsbuild*.ts"]
1212
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
"packageManager": "yarn@4.7.0+sha512.5a0afa1d4c1d844b3447ee3319633797bcd6385d9a44be07993ae52ff4facabccafb4af5dcd1c2f9a94ac113e5e9ff56f6130431905884414229e284e37bb7c9",
139139
"resolutions": {
140140
"@firebase/messaging@npm:0.12.17": "patch:@firebase/messaging@npm%3A0.12.17#~/.yarn/patches/@firebase-messaging-npm-0.12.17-b743d37abd.patch",
141-
"@mui/material@npm:^6.4.10": "patch:@mui/material@npm%3A6.4.11#~/.yarn/patches/@mui-material-npm-6.4.11-84c49ed24a.patch"
141+
"@mui/material@npm:^6.4.10": "patch:@mui/material@npm%3A6.4.11#~/.yarn/patches/@mui-material-npm-6.4.11-84c49ed24a.patch",
142+
"@firebase/app-check@npm:0.8.13": "patch:@firebase/app-check@npm%3A0.8.13#~/.yarn/patches/@firebase-app-check-npm-0.8.13-82152b436a.patch"
142143
}
143144
}

yarn.lock

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5914,6 +5914,20 @@ __metadata:
59145914
languageName: node
59155915
linkType: hard
59165916

5917+
"@firebase/app-check@patch:@firebase/app-check@npm%3A0.8.13#~/.yarn/patches/@firebase-app-check-npm-0.8.13-82152b436a.patch":
5918+
version: 0.8.13
5919+
resolution: "@firebase/app-check@patch:@firebase/app-check@npm%3A0.8.13#~/.yarn/patches/@firebase-app-check-npm-0.8.13-82152b436a.patch::version=0.8.13&hash=a5b584"
5920+
dependencies:
5921+
"@firebase/component": "npm:0.6.13"
5922+
"@firebase/logger": "npm:0.4.4"
5923+
"@firebase/util": "npm:1.11.0"
5924+
tslib: "npm:^2.1.0"
5925+
peerDependencies:
5926+
"@firebase/app": 0.x
5927+
checksum: 10c0/ff0c1df6d1596f233459d44cee36ea48a71103b69652a8d53a1434f284f5af41314b8cee81e8f20ef0a525ec57c14b6514e96257db27afbd1e290acd788339a4
5928+
languageName: node
5929+
linkType: hard
5930+
59175931
"@firebase/app-compat@npm:0.2.53":
59185932
version: 0.2.53
59195933
resolution: "@firebase/app-compat@npm:0.2.53"

0 commit comments

Comments
 (0)