@stoker-platform/web-client 0.5.68 → 0.5.69

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.
@@ -8,6 +8,7 @@ import { getVersionInfo } from "./read/getVersionInfo.js";
8
8
  import { getMaintenanceInfo } from "./read/getMaintenanceInfo.js";
9
9
  import { getLoadingState } from "./read/cache/preloadCache.js";
10
10
  import { getConnectionStatus, getNetworkStatus } from "./connectionStatus.js";
11
+ import { getStokerFirestore } from "./utils/getStokerFirestore.js";
11
12
  declare global {
12
13
  var FIREBASE_APPCHECK_DEBUG_TOKEN: boolean | string | undefined;
13
14
  }
@@ -19,4 +20,4 @@ export declare const getTenant: () => string, getEnv: () => Record<string, strin
19
20
  claims: ParsedToken;
20
21
  };
21
22
  }, getCurrentUserRoleGroups: () => Record<StokerCollection, RoleGroup>, getAllRoleGroups: () => Record<StokerCollection, Set<RoleGroup>>, getGlobalConfigModule: () => GlobalConfig, getCollectionConfigModule: (collection: string) => CollectionCustomization, getAppCheck: () => AppCheck, getAppCheckFirestoreWrite: () => AppCheck, getFirestoreWriteAuth: () => Auth, getFirestoreWrite: () => Firestore, getFirestoreMaintenance: () => Firestore;
22
- export { getConnectionStatus, getNetworkStatus, getVersionInfo, getMaintenanceInfo, getCurrentUserPermissions, getLoadingState, getUnsubscribes, clearUnsubscribes, };
23
+ export { getConnectionStatus, getNetworkStatus, getVersionInfo, getMaintenanceInfo, getCurrentUserPermissions, getStokerFirestore, getLoadingState, getUnsubscribes, clearUnsubscribes, };
@@ -0,0 +1,4 @@
1
+ import { Firestore } from "firebase/firestore";
2
+ export declare const configureStokerFirestore: (edition: string | undefined, projectId: string) => void;
3
+ export declare const getStokerFirestoreDatabaseId: () => string | undefined;
4
+ export declare const getStokerFirestore: () => Firestore;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/web-client",
3
- "version": "0.5.68",
3
+ "version": "0.5.69",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "files": [
@@ -24,8 +24,8 @@
24
24
  "test": "echo \"Error: no test specified\""
25
25
  },
26
26
  "dependencies": {
27
- "@stoker-platform/types": "0.5.46",
28
- "@stoker-platform/utils": "0.5.58",
27
+ "@stoker-platform/types": "0.5.47",
28
+ "@stoker-platform/utils": "0.5.59",
29
29
  "@types/lodash": "^4.17.24",
30
30
  "@types/luxon": "^3.7.1",
31
31
  "firebase": "^12.14.0",