@supabase/supabase-js 1.30.0 → 1.30.1

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
@@ -47,6 +47,20 @@ Then you can use it from a global `supabase` variable:
47
47
  </script>
48
48
  ```
49
49
 
50
+ ### ESM
51
+
52
+ You can now use type="module" `<script>`s to import supabase-js from CDNs, like:
53
+
54
+ ```html
55
+ <script type="module">
56
+ import { createClient } from "https://cdn.jsdelivr.net/npm/@supabase/supabase-js/+esm"
57
+ const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')
58
+
59
+ console.log('Supabase Instance: ', supabase)
60
+ // ...
61
+ </script>
62
+ ```
63
+
50
64
  ### Custom `fetch` implementation
51
65
 
52
66
  `supabase-js` uses the [`cross-fetch`](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests, but an alternative `fetch` implementation can be provided as an option. This is most useful in environments where `cross-fetch` is not compatible, for instance Cloudflare Workers:
@@ -1,2 +1,2 @@
1
- export declare const version = "1.30.0";
1
+ export declare const version = "1.30.1";
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 = '1.30.0';
5
+ exports.version = '1.30.1';
6
6
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const version = "1.30.0";
1
+ export declare const version = "1.30.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
1
  // generated by genversion
2
- export const version = '1.30.0';
2
+ export const version = '1.30.1';
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supabase/supabase-js",
3
- "version": "1.30.0",
3
+ "version": "1.30.1",
4
4
  "description": "Isomorphic Javascript client for Supabase.",
5
5
  "keywords": [
6
6
  "javascript",
@@ -1,2 +1,2 @@
1
1
  // generated by genversion
2
- export const version = '1.30.0'
2
+ export const version = '1.30.1'