@edgedev/firebase 2.1.54 → 2.1.55

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.
Files changed (2) hide show
  1. package/edgeFirebase.ts +2 -1
  2. package/package.json +1 -1
package/edgeFirebase.ts CHANGED
@@ -2142,6 +2142,7 @@ export const EdgeFirebase = class {
2142
2142
  isPublic: isPublic,
2143
2143
  toR2: toR2,
2144
2144
  uploadCompleted: false,
2145
+ uploadTime: new Date().getTime(),
2145
2146
  };
2146
2147
 
2147
2148
  const result: any = await this.runFunction("edgeFirebase-addUpdateFileDoc", fileDoc);
@@ -2162,7 +2163,7 @@ export const EdgeFirebase = class {
2162
2163
  contentType: file.type,
2163
2164
  fileName: file.name,
2164
2165
  name: file.name,
2165
- fileSize: file.size,
2166
+ fileSize: file.size.toString(),
2166
2167
  directory: filePath,
2167
2168
  fileDocId: fileDocId,
2168
2169
  filePath: tempFilePath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedev/firebase",
3
- "version": "2.1.54",
3
+ "version": "2.1.55",
4
4
  "description": "Vue 3 / Nuxt 3 Plugin or Nuxt 3 plugin for firebase authentication and firestore.",
5
5
  "main": "index.ts",
6
6
  "scripts": {