firebase 9.6.2 → 9.6.3
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/CHANGELOG.md +12 -0
- package/app/dist/index.cjs.js +1 -1
- package/app/dist/index.esm.js +1 -1
- package/app/dist/index.mjs +1 -1
- package/compat/app/dist/index.cjs.js +1 -1
- package/compat/app/dist/index.esm.js +1 -1
- package/compat/app/dist/index.mjs +1 -1
- package/compat/dist/index.esm.js +2 -2
- package/compat/dist/index.node.cjs +2 -2
- package/compat/dist/index.rn.cjs.js +2 -2
- package/firebase-analytics-compat.js.map +1 -1
- package/firebase-analytics.js +3 -3
- package/firebase-analytics.js.map +1 -1
- package/firebase-app-check-compat.js.map +1 -1
- package/firebase-app-check.js +4 -4
- package/firebase-app-check.js.map +1 -1
- package/firebase-app-compat.js +2 -2
- package/firebase-app-compat.js.map +1 -1
- package/firebase-app.js +9 -9
- package/firebase-app.js.map +1 -1
- package/firebase-auth-compat.js.map +1 -1
- package/firebase-auth.js +4 -4
- package/firebase-auth.js.map +1 -1
- package/firebase-compat.js +3 -3
- package/firebase-compat.js.map +1 -1
- package/firebase-database.js +4 -4
- package/firebase-firestore-compat.js +1 -1
- package/firebase-firestore-compat.js.map +1 -1
- package/firebase-firestore-lite.js +1141 -1141
- package/firebase-firestore-lite.js.map +1 -1
- package/firebase-firestore.js +874 -874
- package/firebase-firestore.js.map +1 -1
- package/firebase-functions-compat.js.map +1 -1
- package/firebase-functions.js +2 -2
- package/firebase-functions.js.map +1 -1
- package/firebase-messaging-compat.js +1 -1
- package/firebase-messaging-compat.js.map +1 -1
- package/firebase-messaging-sw.js +4 -4
- package/firebase-messaging-sw.js.map +1 -1
- package/firebase-messaging.js +3 -3
- package/firebase-messaging.js.map +1 -1
- package/firebase-performance-compat.js.map +1 -1
- package/firebase-performance-standalone-compat.es2017.js +5 -5
- package/firebase-performance-standalone-compat.es2017.js.map +1 -1
- package/firebase-performance-standalone-compat.js +1 -1
- package/firebase-performance-standalone-compat.js.map +1 -1
- package/firebase-performance.js +3 -3
- package/firebase-performance.js.map +1 -1
- package/firebase-remote-config-compat.js.map +1 -1
- package/firebase-remote-config.js +2 -2
- package/firebase-remote-config.js.map +1 -1
- package/firebase-storage-compat.js.map +1 -1
- package/firebase-storage.js +1 -1
- package/firebase-storage.js.map +1 -1
- package/package.json +7 -7
|
@@ -144,7 +144,7 @@ class t{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Pr
|
|
|
144
144
|
* See the License for the specific language governing permissions and
|
|
145
145
|
* limitations under the License.
|
|
146
146
|
*/
|
|
147
|
-
class _{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map((e=>{if(function(e){const t=e.getComponent();return"VERSION"===(null==t?void 0:t.type)}(e)){const t=e.getImmediate();return`${t.library}/${t.version}`}return null})).filter((e=>e)).join(" ")}}const w="@firebase/app",y="0.7.
|
|
147
|
+
class _{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map((e=>{if(function(e){const t=e.getComponent();return"VERSION"===(null==t?void 0:t.type)}(e)){const t=e.getImmediate();return`${t.library}/${t.version}`}return null})).filter((e=>e)).join(" ")}}const w="@firebase/app",y="0.7.13",I=new v("@firebase/app"),E="[DEFAULT]",T={[w]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","fire-js":"fire-js",firebase:"fire-js-all"},S=new Map,A=new Map;function C(e,t){try{e.container.addComponent(t)}catch(n){I.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,n)}}function N(e){const t=e.name;if(A.has(t))return I.debug(`There were multiple attempts to register component ${t}.`),!1;A.set(t,e);for(const t of S.values())C(t,e);return!0}function O(e,t){return e.container.getProvider(t)}
|
|
148
148
|
/**
|
|
149
149
|
* @license
|
|
150
150
|
* Copyright 2019 Google LLC
|
|
@@ -194,7 +194,7 @@ class D{constructor(e,t,n){this._isDeleted=!1,this._options=Object.assign({},e),
|
|
|
194
194
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
195
195
|
* See the License for the specific language governing permissions and
|
|
196
196
|
* limitations under the License.
|
|
197
|
-
*/const P="9.6.
|
|
197
|
+
*/const P="9.6.3";function L(e,t={}){if("object"!=typeof t){t={name:t}}const n=Object.assign({name:E,automaticDataCollectionEnabled:!1},t),r=n.name;if("string"!=typeof r||!r)throw k.create("bad-app-name",{appName:String(r)});const i=S.get(r);if(i){if(a(e,i.options)&&a(n,i.config))return i;throw k.create("duplicate-app",{appName:r})}const o=new p(r);for(const e of A.values())o.addComponent(e);const s=new D(e,n,o);return S.set(r,s),s}async function R(e){const t=e.name;S.has(t)&&(S.delete(t),await Promise.all(e.container.getProviders().map((e=>e.delete()))),e.isDeleted=!0)}function j(e,t,n){var r;let i=null!==(r=T[e])&&void 0!==r?r:e;n&&(i+=`-${n}`);const o=i.match(/\s|\//),a=t.match(/\s|\//);if(o||a){const e=[`Unable to register library "${i}" with version "${t}":`];return o&&e.push(`library name "${i}" contains illegal characters (whitespace or "/")`),o&&a&&e.push("and"),a&&e.push(`version name "${t}" contains illegal characters (whitespace or "/")`),void I.warn(e.join(" "))}N(new c(`${i}-version`,(()=>({library:i,version:t})),"VERSION"))}function M(e,t){if(null!==e&&"function"!=typeof e)throw k.create("invalid-log-argument");!function(e,t){for(const n of f){let r=null;t&&t.level&&(r=h[t.level]),n.userLogHandler=null===e?null:(t,n,...i)=>{const o=i.map((e=>{if(null==e)return null;if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return e.toString();if(e instanceof Error)return e.message;try{return JSON.stringify(e)}catch(e){return null}})).filter((e=>e)).join(" ");n>=(null!=r?r:t.logLevel)&&e({level:d[n].toLowerCase(),message:o,args:i,type:t.name})}}}(e,t)}function $(e){var t;t=e,f.forEach((e=>{e.setLogLevel(t)}))}
|
|
198
198
|
/**
|
|
199
199
|
* @license
|
|
200
200
|
* Copyright 2019 Google LLC
|
|
@@ -309,7 +309,7 @@ const z=function(){const e=q(U);e.SDK_VERSION=`${e.SDK_VERSION}_LITE`;const t=e.
|
|
|
309
309
|
* See the License for the specific language governing permissions and
|
|
310
310
|
* limitations under the License.
|
|
311
311
|
*/
|
|
312
|
-
function(e){j("@firebase/app-compat","0.1.
|
|
312
|
+
function(e){j("@firebase/app-compat","0.1.14",e)}("lite");function V(e){return Array.prototype.slice.call(e)}function H(e){return new Promise((function(t,n){e.onsuccess=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function K(e,t,n){var r,i=new Promise((function(i,o){H(r=e[t].apply(e,n)).then(i,o)}));return i.request=r,i}function W(e,t,n){var r=K(e,t,n);return r.then((function(e){if(e)return new Q(e,r.request)}))}function G(e,t,n){n.forEach((function(n){Object.defineProperty(e.prototype,n,{get:function(){return this[t][n]},set:function(e){this[t][n]=e}})}))}function J(e,t,n,r){r.forEach((function(r){r in n.prototype&&(e.prototype[r]=function(){return K(this[t],r,arguments)})}))}function Y(e,t,n,r){r.forEach((function(r){r in n.prototype&&(e.prototype[r]=function(){return this[t][r].apply(this[t],arguments)})}))}function X(e,t,n,r){r.forEach((function(r){r in n.prototype&&(e.prototype[r]=function(){return W(this[t],r,arguments)})}))}function Z(e){this._index=e}function Q(e,t){this._cursor=e,this._request=t}function ee(e){this._store=e}function te(e){this._tx=e,this.complete=new Promise((function(t,n){e.oncomplete=function(){t()},e.onerror=function(){n(e.error)},e.onabort=function(){n(e.error)}}))}function ne(e,t,n){this._db=e,this.oldVersion=t,this.transaction=new te(n)}function re(e){this._db=e}
|
|
313
313
|
/**
|
|
314
314
|
* @license
|
|
315
315
|
* Copyright 2020 Google LLC
|
|
@@ -326,7 +326,7 @@ function(e){j("@firebase/app-compat","0.1.13",e)}("lite");function V(e){return A
|
|
|
326
326
|
* See the License for the specific language governing permissions and
|
|
327
327
|
* limitations under the License.
|
|
328
328
|
*/
|
|
329
|
-
z.registerVersion("firebase","9.6.
|
|
329
|
+
z.registerVersion("firebase","9.6.3","app-compat"),G(Z,"_index",["name","keyPath","multiEntry","unique"]),J(Z,"_index",IDBIndex,["get","getKey","getAll","getAllKeys","count"]),X(Z,"_index",IDBIndex,["openCursor","openKeyCursor"]),G(Q,"_cursor",["direction","key","primaryKey","value"]),J(Q,"_cursor",IDBCursor,["update","delete"]),["advance","continue","continuePrimaryKey"].forEach((function(e){e in IDBCursor.prototype&&(Q.prototype[e]=function(){var t=this,n=arguments;return Promise.resolve().then((function(){return t._cursor[e].apply(t._cursor,n),H(t._request).then((function(e){if(e)return new Q(e,t._request)}))}))})})),ee.prototype.createIndex=function(){return new Z(this._store.createIndex.apply(this._store,arguments))},ee.prototype.index=function(){return new Z(this._store.index.apply(this._store,arguments))},G(ee,"_store",["name","keyPath","indexNames","autoIncrement"]),J(ee,"_store",IDBObjectStore,["put","add","delete","clear","get","getAll","getKey","getAllKeys","count"]),X(ee,"_store",IDBObjectStore,["openCursor","openKeyCursor"]),Y(ee,"_store",IDBObjectStore,["deleteIndex"]),te.prototype.objectStore=function(){return new ee(this._tx.objectStore.apply(this._tx,arguments))},G(te,"_tx",["objectStoreNames","mode"]),Y(te,"_tx",IDBTransaction,["abort"]),ne.prototype.createObjectStore=function(){return new ee(this._db.createObjectStore.apply(this._db,arguments))},G(ne,"_db",["name","version","objectStoreNames"]),Y(ne,"_db",IDBDatabase,["deleteObjectStore","close"]),re.prototype.transaction=function(){return new te(this._db.transaction.apply(this._db,arguments))},G(re,"_db",["name","version","objectStoreNames"]),Y(re,"_db",IDBDatabase,["close"]),["openCursor","openKeyCursor"].forEach((function(e){[ee,Z].forEach((function(t){e in t.prototype&&(t.prototype[e.replace("open","iterate")]=function(){var t=V(arguments),n=t[t.length-1],r=this._store||this._index,i=r[e].apply(r,t.slice(0,-1));i.onsuccess=function(){n(i.result)}})}))})),[Z,ee].forEach((function(e){e.prototype.getAll||(e.prototype.getAll=function(e,t){var n=this,r=[];return new Promise((function(i){n.iterateCursor(e,(function(e){e?(r.push(e.value),void 0===t||r.length!=t?e.continue():i(r)):i(r)}))}))})}));const ie="@firebase/installations",oe="0.5.5",ae=1e4,se="w:0.5.5",ce="FIS_v2",le=36e5,ue=new r("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function pe(e){return e instanceof n&&e.code.includes("request-failed")}
|
|
330
330
|
/**
|
|
331
331
|
* @license
|
|
332
332
|
* Copyright 2019 Google LLC
|
|
@@ -866,5 +866,5 @@ var Gt;(Gt=z).INTERNAL.registerComponent(new c("performance-compat",Wt,"PUBLIC")
|
|
|
866
866
|
* See the License for the specific language governing permissions and
|
|
867
867
|
* limitations under the License.
|
|
868
868
|
*/
|
|
869
|
-
return z.registerVersion("firebase","9.6.
|
|
869
|
+
return z.registerVersion("firebase","9.6.3","compat-lite"),z}));
|
|
870
870
|
//# sourceMappingURL=firebase-performance-standalone-compat.es2017.js.map
|