@rebasepro/firebase 0.28.1 → 0.29.0-canary.g0e3a0e7

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.es.js CHANGED
@@ -5,7 +5,7 @@ import { deleteObject, getDownloadURL, getMetadata, getStorage, list, ref, uploa
5
5
  import { deleteApp, getApps, initializeApp } from "firebase/app";
6
6
  import { getToken, initializeAppCheck } from "firebase/app-check";
7
7
  import { DEFAULT_DATA_SOURCE_KEY, EntityReference, GeoPoint } from "@rebasepro/types";
8
- import { COLLECTION_PATH_SEPARATOR, buildRebaseData, normalizeDriverOrderBy, sortProperties, stripCollectionPath, toFilterTuples } from "@rebasepro/common";
8
+ import { COLLECTION_PATH_SEPARATOR, buildRebaseData, buildSdkData, normalizeDriverOrderBy, sortProperties, stripCollectionPath, toFilterTuples } from "@rebasepro/common";
9
9
  import { DocumentReference, GeoPoint as GeoPoint$1, Timestamp, VectorValue, and, collection, deleteDoc, deleteField, doc, getCountFromServer, getDoc, getDocs, getFirestore, limit, onSnapshot, or, orderBy, query, serverTimestamp, setDoc, startAfter, vector, where } from "firebase/firestore";
10
10
  import Fuse from "fuse.js";
11
11
  import { getFunctions, httpsCallable } from "firebase/functions";
@@ -2801,7 +2801,7 @@ function RebaseFirebaseApp({ name, logo, logoDark, accessGate, collections, view
2801
2801
  views,
2802
2802
  adminViews,
2803
2803
  authController,
2804
- data: buildRebaseData(firestoreDelegate),
2804
+ data: buildSdkData(firestoreDelegate),
2805
2805
  plugins,
2806
2806
  collectionRegistryController,
2807
2807
  urlController,
@@ -2831,7 +2831,7 @@ function RebaseFirebaseApp({ name, logo, logoDark, accessGate, collections, view
2831
2831
  driver: firestoreDelegate
2832
2832
  }],
2833
2833
  storageSource,
2834
- entityLinkBuilder: ({ entity }) => `https://console.firebase.google.com/project/${firebaseApp.options.projectId}/firestore/data/${entity.path}/${entity.id}`,
2834
+ entityLinkBuilder: ({ id, path }) => `https://console.firebase.google.com/project/${firebaseApp.options.projectId}/firestore/data/${path}/${id}`,
2835
2835
  locale,
2836
2836
  onAnalyticsEvent,
2837
2837
  plugins,