@capgo/cli 2.3.2 → 2.3.6
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/CHANGELOG.md +28 -0
- package/dist/index.js +1 -1
- package/package.json +5 -4
- package/src/api/app.ts +2 -1
- package/src/api/channels.ts +11 -6
- package/src/api/devices_override.ts +11 -7
- package/src/api/versions.ts +6 -5
- package/src/bin/add.ts +7 -7
- package/src/bin/cleanup.ts +11 -7
- package/src/bin/delete.ts +6 -5
- package/src/bin/set.ts +4 -3
- package/src/bin/upload.ts +13 -5
- package/src/bin/utils.ts +38 -21
- package/src/types/supabase.types.ts +1031 -0
- package/test/test_headers_rls.ts +4 -2
- package/src/types/types_supabase.ts +0 -4607
package/test/test_headers_rls.ts
CHANGED
|
@@ -5,8 +5,10 @@ const apikey = '***'
|
|
|
5
5
|
const anonKey = '***'
|
|
6
6
|
const init = async () => {
|
|
7
7
|
const supabase = createClient(supaUrl, anonKey, {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
global: {
|
|
9
|
+
headers: {
|
|
10
|
+
capgkey: '***',
|
|
11
|
+
}
|
|
10
12
|
}
|
|
11
13
|
})
|
|
12
14
|
const { data: userId } = await supabase
|