@supabase/storage-js 2.1.0-next.4 → 2.1.0

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.
package/README.md CHANGED
@@ -15,12 +15,12 @@ npm install @supabase/storage-js
15
15
  ### Connecting to the storage backend
16
16
 
17
17
  ```js
18
- import { SupabaseStorageClient } from '@supabase/storage-js'
18
+ import { StorageClient } from '@supabase/storage-js'
19
19
 
20
20
  const STORAGE_URL = 'https://<project_ref>.supabase.co/storage/v1'
21
21
  const SERVICE_KEY = '<service_role>' //! service key, not anon key
22
22
 
23
- const storageClient = new SupabaseStorageClient(STORAGE_URL, {
23
+ const storageClient = new StorageClient(STORAGE_URL, {
24
24
  apikey: SERVICE_KEY,
25
25
  Authorization: `Bearer ${SERVICE_KEY}`,
26
26
  })
@@ -1,2 +1,2 @@
1
- export declare const version = "2.1.0-next.4";
1
+ export declare const version = "2.1.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  // generated by genversion
5
- exports.version = '2.1.0-next.4';
5
+ exports.version = '2.1.0';
6
6
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const version = "2.1.0-next.4";
1
+ export declare const version = "2.1.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
1
  // generated by genversion
2
- export const version = '2.1.0-next.4';
2
+ export const version = '2.1.0';
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supabase/storage-js",
3
- "version": "2.1.0-next.4",
3
+ "version": "2.1.0",
4
4
  "description": "Isomorphic storage client for Supabase.",
5
5
  "keywords": [
6
6
  "javascript",
@@ -1,2 +1,2 @@
1
1
  // generated by genversion
2
- export const version = '2.1.0-next.4'
2
+ export const version = '2.1.0'