@secrecy/lib 1.62.0-feat-storage-providers.1 → 1.62.0-feat-storage-providers.2

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.
@@ -137,7 +137,7 @@ export class SecrecyCloudClient {
137
137
  sizeEncrypted: undefined,
138
138
  ...filetype,
139
139
  };
140
- const uploadDataCaller = storage.protocol === 's3'
140
+ const uploadDataCaller = storage.mode === 'standard'
141
141
  ? this.#apiClient.cloud.uploadData
142
142
  : this.#apiClient.cloud.uploadColdData;
143
143
  const uploadData = await uploadDataCaller.mutate(uploadDataArgs, {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@secrecy/lib",
3
3
  "author": "Anonymize <anonymize@gmail.com>",
4
4
  "description": "Anonymize Secrecy Library",
5
- "version": "1.62.0-feat-storage-providers.1",
5
+ "version": "1.62.0-feat-storage-providers.2",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/anonymize-org/lib.git"