npm package diff
Package: @forge/bridge
Versions: 5.8.0-next.18 - 5.8.0
File: package/out/object-store/download.js
Index: package/out/object-store/download.js
===================================================================
--- package/out/object-store/download.js
+++ package/out/object-store/download.js
@@ -7,13 +7,9 @@
const bridge_1 = require("../bridge");
const callBridge = (0, bridge_1.getCallBridge)();
const download = async ({ functionKey, keys }) => {
await (0, utils_1.checkRestrictedEnvironment)();
- try {
- await callBridge('trackObjectStoreAction', { action: 'download' });
- }
- catch (error) {
- }
+ void callBridge('trackObjectStoreAction', { action: 'download' });
if (!functionKey || functionKey.length === 0) {
throw new errors_1.BridgeAPIError('functionKey is required to filter and generate download URLs');
}
if (!Array.isArray(keys) || keys.length === 0) {