@gokiteam/goki-dev-client 0.2.3 → 0.2.4

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/client.js CHANGED
@@ -325,6 +325,9 @@ class FirestoreClient {
325
325
  documentId: params.documentId,
326
326
  traceId: params.traceId
327
327
  });
328
+ if (result.data.status === 'error') {
329
+ throw new Error(result.data.message || 'Firestore error');
330
+ }
328
331
  const rawDocument = result.data.document;
329
332
  return { document: this.parseRawDocument(rawDocument) };
330
333
  }
package/dist/types.d.ts CHANGED
@@ -359,6 +359,8 @@ export interface HttpTrafficWaitFilter {
359
359
  statusCode?: number;
360
360
  traceId?: string;
361
361
  pathContains?: string;
362
+ since?: string;
363
+ until?: string;
362
364
  }
363
365
  export interface HttpTrafficStats {
364
366
  total: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gokiteam/goki-dev-client",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Client SDK for Goki Developer Tools platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",