@cooperation/vc-storage 1.0.15 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -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",