@cooperation/vc-storage 1.0.15 → 1.0.16

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.
@@ -22,10 +22,10 @@ export class GoogleDriveStorage {
22
22
  try {
23
23
  const res = await fetch(url, {
24
24
  method,
25
- headers: new Headers({
25
+ headers: {
26
26
  Authorization: `Bearer ${this.accessToken}`,
27
27
  ...headers,
28
- }),
28
+ },
29
29
  body,
30
30
  });
31
31
  // Check the Content-Type to ensure it's JSON before parsing
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cooperation/vc-storage",
3
3
  "type": "module",
4
- "version": "1.0.15",
4
+ "version": "1.0.16",
5
5
  "description": "Sign and store your verifiable credentials.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/types/index.d.ts",