@edgedev/firebase 2.1.73 → 2.1.75

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.
Files changed (2) hide show
  1. package/edgeFirebase.ts +2 -1
  2. package/package.json +1 -1
package/edgeFirebase.ts CHANGED
@@ -223,6 +223,7 @@ export const EdgeFirebase = class {
223
223
  },
224
224
  isPersistant: false,
225
225
  enablePopupRedirect: false,
226
+ functionsRegion: "us-central1",
226
227
  ) {
227
228
  this.firebaseConfig = firebaseConfig;
228
229
  this.app = initializeApp(this.firebaseConfig);
@@ -251,7 +252,7 @@ export const EdgeFirebase = class {
251
252
  if (this.firebaseConfig.storageBucket) {
252
253
  this.storage = getStorage(this.app);
253
254
  }
254
- this.functions = getFunctions(this.app);
255
+ this.functions = getFunctions(this.app, functionsRegion);
255
256
  if (this.firebaseConfig.emulatorFunctions) {
256
257
  connectFunctionsEmulator(this.functions, "127.0.0.1", this.firebaseConfig.emulatorFunctions)
257
258
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedev/firebase",
3
- "version": "2.1.73",
3
+ "version": "2.1.75",
4
4
  "description": "Vue 3 / Nuxt 3 Plugin or Nuxt 3 plugin for firebase authentication and firestore.",
5
5
  "main": "index.ts",
6
6
  "scripts": {