Skip to content

Commit 2bf8b37

Browse files
pragatimodilahirumarambaXiaoshouzi-ghdependabot[bot]
authored
Sync with master (#1950)
* [chore] Release 11.1.0 (#1914) * feat(auth): Support sms region config change on Tenant and Project level (#1921) * api proposal sms draft * support SMS regions config update for project and tenant * fix lint issues * remove reCAPTCHA related docs and variable names * Address PR feedbacks * removed the unnecessary optional tag * updated the validation parameter type * update the doc * Fixing some problems that failed build 14.x and 16.x * Undoing package-lock.json changes * Reverting package-lock.json changes Co-authored-by: Liubin Jiang <[email protected]> Co-authored-by: Liubin Jiang <[email protected]> * build(deps-dev): bump yargs from 17.5.1 to 17.6.0 (#1917) Bumps [yargs](https://github.com/yargs/yargs) from 17.5.1 to 17.6.0. - [Release notes](https://github.com/yargs/yargs/releases) - [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md) - [Commits](yargs/yargs@v17.5.1...v17.6.0) --- updated-dependencies: - dependency-name: yargs dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump @types/mocha from 9.1.1 to 10.0.0 (#1919) * build(deps-dev): bump @typescript-eslint/parser from 5.38.1 to 5.40.0 (#1926) * build(deps-dev): bump @typescript-eslint/eslint-plugin (#1927) * build(deps): bump @firebase/database-compat from 0.2.6 to 0.2.7 (#1928) Bumps [@firebase/database-compat](https://github.com/firebase/firebase-js-sdk/tree/HEAD/packages/database-compat) from 0.2.6 to 0.2.7. - [Release notes](https://github.com/firebase/firebase-js-sdk/releases) - [Changelog](https://github.com/firebase/firebase-js-sdk/blob/master/packages/database-compat/CHANGELOG.md) - [Commits](https://github.com/firebase/firebase-js-sdk/commits/@firebase/[email protected]/packages/database-compat) --- updated-dependencies: - dependency-name: "@firebase/database-compat" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump minimist from 1.2.6 to 1.2.7 (#1930) * build(deps): bump jwks-rsa from 2.1.4 to 2.1.5 (#1931) * build(deps-dev): bump @microsoft/api-extractor from 7.31.2 to 7.33.1 (#1935) * build(deps-dev): bump bcrypt from 5.0.1 to 5.1.0 (#1934) * build(deps): bump @firebase/database-types from 0.9.13 to 0.9.16 (#1932) * build(deps-dev): bump @firebase/app-compat from 0.1.34 to 0.1.37 (#1937) Bumps [@firebase/app-compat](https://github.com/firebase/firebase-js-sdk/tree/HEAD/packages/app-compat) from 0.1.34 to 0.1.37. - [Release notes](https://github.com/firebase/firebase-js-sdk/releases) - [Changelog](https://github.com/firebase/firebase-js-sdk/blob/master/packages/app-compat/CHANGELOG.md) - [Commits](https://github.com/firebase/firebase-js-sdk/commits/@firebase/[email protected]/packages/app-compat) --- updated-dependencies: - dependency-name: "@firebase/app-compat" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump @firebase/database-compat from 0.2.7 to 0.2.9 (#1940) * build(deps-dev): bump @microsoft/api-extractor from 7.33.1 to 7.33.2 (#1939) * build(deps-dev): bump sinon from 14.0.0 to 14.0.1 (#1938) * chore(fs): Upgrade firestore dependency (#1941) Upgrade @google-cloud/firestore dependency to v6.4.0 * [chore] Release 11.2.0 (#1942) * build(deps-dev): bump @typescript-eslint/eslint-plugin (#1943) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.40.0 to 5.40.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.40.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump mocha from 10.0.0 to 10.1.0 (#1944) * build(deps-dev): bump @microsoft/api-extractor from 7.33.2 to 7.33.4 (#1946) Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor) from 7.33.2 to 7.33.4. - [Release notes](https://github.com/microsoft/rushstack/releases) - [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-extractor/CHANGELOG.md) - [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-extractor_v7.33.4/apps/api-extractor) --- updated-dependencies: - dependency-name: "@microsoft/api-extractor" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(fcm): Increase FCM timeout to 15s (#1947) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Lahiru Maramba <[email protected]> Co-authored-by: Liubin Jiang <[email protected]> Co-authored-by: Liubin Jiang <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 62ef3ce commit 2bf8b37

16 files changed

+1460
-216
lines changed

etc/firebase-admin.auth.api.md

+47
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,35 @@ export interface ActionCodeSettings {
2323
url: string;
2424
}
2525

26+
// @public
27+
export interface AllowByDefault {
28+
disallowedRegions: string[];
29+
}
30+
31+
// @public
32+
export interface AllowByDefaultWrap {
33+
allowByDefault: AllowByDefault;
34+
// @alpha (undocumented)
35+
allowlistOnly?: never;
36+
}
37+
38+
// @public
39+
export interface AllowlistOnly {
40+
allowedRegions: string[];
41+
}
42+
43+
// @public
44+
export interface AllowlistOnlyWrap {
45+
// @alpha (undocumented)
46+
allowByDefault?: never;
47+
allowlistOnly: AllowlistOnly;
48+
}
49+
2650
// @public
2751
export class Auth extends BaseAuth {
2852
// Warning: (ae-forgotten-export) The symbol "App" needs to be exported by the entry point index.d.ts
2953
get app(): App;
54+
projectConfigManager(): ProjectConfigManager;
3055
tenantManager(): TenantManager;
3156
}
3257

@@ -309,6 +334,18 @@ export class PhoneMultiFactorInfo extends MultiFactorInfo {
309334
toJSON(): object;
310335
}
311336

337+
// @public
338+
export class ProjectConfig {
339+
readonly smsRegionConfig?: SmsRegionConfig;
340+
toJSON(): object;
341+
}
342+
343+
// @public
344+
export class ProjectConfigManager {
345+
getProjectConfig(): Promise<ProjectConfig>;
346+
updateProjectConfig(projectConfigOptions: UpdateProjectConfigRequest): Promise<ProjectConfig>;
347+
}
348+
312349
// @public
313350
export interface ProviderIdentifier {
314351
// (undocumented)
@@ -342,13 +379,17 @@ export interface SessionCookieOptions {
342379
expiresIn: number;
343380
}
344381

382+
// @public
383+
export type SmsRegionConfig = AllowByDefaultWrap | AllowlistOnlyWrap;
384+
345385
// @public
346386
export class Tenant {
347387
// (undocumented)
348388
readonly anonymousSignInEnabled: boolean;
349389
readonly displayName?: string;
350390
get emailSignInConfig(): EmailSignInProviderConfig | undefined;
351391
get multiFactorConfig(): MultiFactorConfig | undefined;
392+
readonly smsRegionConfig?: SmsRegionConfig;
352393
readonly tenantId: string;
353394
readonly testPhoneNumbers?: {
354395
[phoneNumber: string]: string;
@@ -391,6 +432,11 @@ export interface UpdatePhoneMultiFactorInfoRequest extends BaseUpdateMultiFactor
391432
phoneNumber: string;
392433
}
393434

435+
// @public
436+
export interface UpdateProjectConfigRequest {
437+
smsRegionConfig?: SmsRegionConfig;
438+
}
439+
394440
// @public
395441
export interface UpdateRequest {
396442
disabled?: boolean;
@@ -411,6 +457,7 @@ export interface UpdateTenantRequest {
411457
displayName?: string;
412458
emailSignInConfig?: EmailSignInProviderConfig;
413459
multiFactorConfig?: MultiFactorConfig;
460+
smsRegionConfig?: SmsRegionConfig;
414461
testPhoneNumbers?: {
415462
[phoneNumber: string]: string;
416463
} | null;

0 commit comments

Comments
 (0)