@cooperation/vc-storage 1.0.21 → 1.0.22

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.
@@ -171,7 +171,7 @@ export class GoogleDriveStorage {
171
171
  const appDataFileMetadata = {
172
172
  name: 'file_ids.json',
173
173
  mimeType: 'application/json',
174
- spaces: ['appDataFolder'],
174
+ parents: ['appDataFolder'],
175
175
  };
176
176
  // Update or create file_ids.json
177
177
  const formDataForAppData = new FormData();
@@ -182,7 +182,7 @@ export class GoogleDriveStorage {
182
182
  method: 'PATCH',
183
183
  headers: {},
184
184
  body: formDataForAppData,
185
- url: `https://www.googleapis.com/upload/drive/v3/files/${existingFileId}?uploadType=multipart`,
185
+ url: `https://www.googleapis.com/upload/drive/v3/files/${existingFileId}?uploadType=multipart&fields=id`,
186
186
  });
187
187
  }
188
188
  else {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cooperation/vc-storage",
3
3
  "type": "module",
4
- "version": "1.0.21",
4
+ "version": "1.0.22",
5
5
  "description": "Sign and store your verifiable credentials.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/types/index.d.ts",