@devicecloud.dev/dcd 3.0.0 → 3.0.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.
package/dist/methods.js CHANGED
@@ -231,8 +231,13 @@ const uploadBinary = async (filePath, apiUrl, apiKey) => {
231
231
  });
232
232
  file = new file_1.File([binaryBlob], filePath);
233
233
  }
234
- const sha = await getFileHash(filePath);
235
- console.log(`File hash (SHA-256): ${sha}`);
234
+ let sha = undefined;
235
+ try {
236
+ sha = await getFileHash(filePath);
237
+ }
238
+ catch {
239
+ // do nothing
240
+ }
236
241
  let metadata;
237
242
  try {
238
243
  metadata = filePath?.endsWith('.apk')
@@ -302,5 +302,5 @@
302
302
  ]
303
303
  }
304
304
  },
305
- "version": "3.0.0"
305
+ "version": "3.0.1"
306
306
  }
package/package.json CHANGED
@@ -80,7 +80,7 @@
80
80
  "test": "mocha --forbid-only \"test/**/*.test.ts\"",
81
81
  "version": "oclif readme && git add README.md"
82
82
  },
83
- "version": "3.0.0",
83
+ "version": "3.0.1",
84
84
  "bugs": {
85
85
  "url": "https://discord.gg/gm3mJwcNw8"
86
86
  },