@stoker-platform/node-client 0.5.68 → 0.5.70

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/bundle.js CHANGED
@@ -9433,12 +9433,12 @@ const Mc = (n, e) => {
9433
9433
  `), e.length > 5e6)
9434
9434
  throw new Error("Email body is too long");
9435
9435
  return e;
9436
- }, Uc = (n = "enterprise", e) => n === "enterprise" ? e : "(default)", ce = (n) => {
9437
- const e = n || Ls(), t = process.env.STOKER_FB_WEB_APP_CONFIG;
9438
- if (!t)
9436
+ }, Uc = (n = "enterprise", e) => n === "enterprise" ? e : "(default)", ce = () => {
9437
+ const n = Ls(), e = process.env.STOKER_FB_WEB_APP_CONFIG;
9438
+ if (!e)
9439
9439
  throw new Error("STOKER_FB_WEB_APP_CONFIG not set.");
9440
- const s = JSON.parse(t), r = Uc(process.env.FB_FIRESTORE_EDITION, s.projectId);
9441
- return qo(e, r);
9440
+ const t = JSON.parse(e), s = Uc(process.env.FB_FIRESTORE_EDITION, t.projectId);
9441
+ return qo(n, s);
9442
9442
  }, Wc = async (n, e) => {
9443
9443
  const t = {};
9444
9444
  for (const s of e) {
@@ -9480,7 +9480,8 @@ const xt = {
9480
9480
  },
9481
9481
  getMaintenanceInfo() {
9482
9482
  return Sn;
9483
- }
9483
+ },
9484
+ getStokerFirestore: ce
9484
9485
  }, fu = async (n, e, t, s, r) => {
9485
9486
  const i = !!ei;
9486
9487
  if (ei = !0, e && (bn = e), ko = n, ms && !r)
@@ -1,3 +1,2 @@
1
- import { App } from "firebase-admin/app";
2
1
  import { Firestore } from "firebase-admin/firestore";
3
- export declare const getStokerFirestore: (app?: App) => Firestore;
2
+ export declare const getStokerFirestore: () => Firestore;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/node-client",
3
- "version": "0.5.68",
3
+ "version": "0.5.70",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "files": [
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@google-cloud/storage": "^7.19.0",
27
- "@stoker-platform/types": "0.5.47",
28
- "@stoker-platform/utils": "0.5.59",
27
+ "@stoker-platform/types": "0.5.49",
28
+ "@stoker-platform/utils": "0.5.61",
29
29
  "@types/luxon": "^3.7.1",
30
30
  "cross-spawn": "^7.0.6",
31
31
  "firebase-admin": "^13.10.0",