@prmichaelsen/firebase-admin-sdk-v8 2.1.0 → 2.2.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/dist/index.d.mts CHANGED
@@ -264,7 +264,7 @@ interface CustomTokenSignInResponse {
264
264
  idToken: string;
265
265
  refreshToken: string;
266
266
  expiresIn: string;
267
- localId: string;
267
+ isNewUser?: boolean;
268
268
  }
269
269
  /**
270
270
  * Verify a Firebase ID token
package/dist/index.d.ts CHANGED
@@ -264,7 +264,7 @@ interface CustomTokenSignInResponse {
264
264
  idToken: string;
265
265
  refreshToken: string;
266
266
  expiresIn: string;
267
- localId: string;
267
+ isNewUser?: boolean;
268
268
  }
269
269
  /**
270
270
  * Verify a Firebase ID token
package/dist/index.js CHANGED
@@ -444,7 +444,7 @@ async function signInWithCustomToken(customToken) {
444
444
  idToken: result.idToken,
445
445
  refreshToken: result.refreshToken,
446
446
  expiresIn: result.expiresIn,
447
- localId: result.localId
447
+ isNewUser: result.isNewUser
448
448
  };
449
449
  }
450
450
  function getAuth() {
package/dist/index.mjs CHANGED
@@ -392,7 +392,7 @@ async function signInWithCustomToken(customToken) {
392
392
  idToken: result.idToken,
393
393
  refreshToken: result.refreshToken,
394
394
  expiresIn: result.expiresIn,
395
- localId: result.localId
395
+ isNewUser: result.isNewUser
396
396
  };
397
397
  }
398
398
  function getAuth() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prmichaelsen/firebase-admin-sdk-v8",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Firebase Admin SDK for Cloudflare Workers and edge runtimes using REST APIs",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",