@quatrain/storage-supabase 1.1.17 → 1.1.18

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.
@@ -26,7 +26,7 @@ class SupabaseStorageAdapter extends storage_1.AbstractStorageAdapter {
26
26
  apikey: params.config.secret,
27
27
  Authorization: `Bearer ${params.config.secret}`,
28
28
  });
29
- storage_1.Storage.log(`[SSA] Supabase Storage Adapter initialized`);
29
+ storage_1.Storage.info(`[SSA] Supabase Storage Adapter initialized`);
30
30
  }
31
31
  getDriver() {
32
32
  return this._client;
@@ -80,7 +80,7 @@ class SupabaseStorageAdapter extends storage_1.AbstractStorageAdapter {
80
80
  contentType: file.contentType,
81
81
  });
82
82
  if (error !== null) {
83
- console.log(error);
83
+ storage_1.Storage.error(error);
84
84
  storage_1.Storage.error(`Unable to upload ${file.ref} to ${file.bucket}`);
85
85
  throw new Error(`Unable to upload ${file.ref} to ${file.bucket}`);
86
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quatrain/storage-supabase",
3
- "version": "1.1.17",
3
+ "version": "1.1.18",
4
4
  "description": "Storage adapter for Supabase Storage",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",