@ez4/storage 0.40.0 → 0.41.1

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.
@@ -73,4 +73,10 @@ export interface Client {
73
73
  * @returns Returns the corresponding object stats or undefined when the given object doesn't exists.
74
74
  */
75
75
  getStats(key: string): Promise<ObjectStats | undefined>;
76
+ /**
77
+ * Get an URL to retrieve stats (metadata) from the specified object in the bucket.
78
+ * @param key Object key.
79
+ * @param options Sign options.
80
+ */
81
+ getStatsUrl(key: string, options: SignReadOptions): Promise<string>;
76
82
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ez4/storage",
3
3
  "description": "EZ4: Components to build storage services",
4
- "version": "0.40.0",
4
+ "version": "0.41.1",
5
5
  "author": "Silas B.",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -46,9 +46,9 @@
46
46
  "live:publish": "npm run build && npm publish --access public"
47
47
  },
48
48
  "dependencies": {
49
- "@ez4/common": "^0.40.0",
50
- "@ez4/project": "^0.40.0",
51
- "@ez4/reflection": "^0.40.0",
52
- "@ez4/utils": "^0.40.0"
49
+ "@ez4/common": "^0.41.0",
50
+ "@ez4/project": "^0.41.0",
51
+ "@ez4/reflection": "^0.41.0",
52
+ "@ez4/utils": "^0.41.0"
53
53
  }
54
54
  }