@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.
|
|
1
|
+
export declare const version = "1.30.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/main/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "1.30.
|
|
1
|
+
export declare const version = "1.30.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
package/src/lib/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// generated by genversion
|
|
2
|
-
export const version = '1.30.
|
|
2
|
+
export const version = '1.30.1'
|