@quatrain/cloudwrapper-supabase 1.1.23 → 1.1.24
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/LICENSE.md +15 -0
- package/package.json +50 -51
- package/src/SupabaseCloudWrapper.ts +2 -1
package/LICENSE.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# LICENSE UPDATE NOTICE
|
|
2
|
+
|
|
3
|
+
As of 01/01/2026, Quatrain Core is licensed under the **GNU Affero General Public License v3.0 (AGPL v3)**.
|
|
4
|
+
Previous versions remain under the MIT License.
|
|
5
|
+
|
|
6
|
+
## Why AGPL?
|
|
7
|
+
|
|
8
|
+
We believe in open collaboration for the development ecosystem. The AGPL ensures that any modification or deployment of this BaaS stack, including over a network, benefits the entire community.
|
|
9
|
+
|
|
10
|
+
## Commercial Services & Enterprise Usage
|
|
11
|
+
|
|
12
|
+
We provide official deployment services, technical training, and certification for Quatrain Core.
|
|
13
|
+
For organizations requiring a non-copyleft license (commercial license) or custom proprietary integrations, please contact the copyright holder: **Quatrain Technologies**.
|
|
14
|
+
|
|
15
|
+
Copyright © 2024-2026 Quatrain Technologies. All Rights Reserved.
|
package/package.json
CHANGED
|
@@ -1,52 +1,51 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
2
|
+
"name": "@quatrain/cloudwrapper-supabase",
|
|
3
|
+
"version": "1.1.24",
|
|
4
|
+
"license": "AGPL-3.0-only",
|
|
5
|
+
"description": "Cloud Wrapper adapter for Supabase",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/quatrain/Core.git",
|
|
9
|
+
"directory": "packages/cloudwrapper-supabase"
|
|
10
|
+
},
|
|
11
|
+
"main": "lib/index.js",
|
|
12
|
+
"types": "lib/index.d.ts",
|
|
13
|
+
"bun": "src/index.ts",
|
|
14
|
+
"files": [
|
|
15
|
+
"LICENSE.md",
|
|
16
|
+
"src/",
|
|
17
|
+
"lib/",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"author": "Quatrain Développement SAS <developers@quatrain.com>",
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"@quatrain/core": "^1.1.42"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@quatrain/backend": "^1.1.26",
|
|
26
|
+
"@quatrain/cloudwrapper": "^1.1.15",
|
|
27
|
+
"@quatrain/core": "^1.1.42",
|
|
28
|
+
"@quatrain/storage": "^1.1.23",
|
|
29
|
+
"@supabase/supabase-js": "^2.87.3",
|
|
30
|
+
"ws": "^8.18.3"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@tsconfig/recommended": "^1.0.1",
|
|
34
|
+
"@types/jest": "^30.0.0",
|
|
35
|
+
"@types/node": "^22.10.1",
|
|
36
|
+
"@types/ws": "^8.18.1",
|
|
37
|
+
"jest": "^30.2.0",
|
|
38
|
+
"jest-node-exports-resolver": "^1.1.6",
|
|
39
|
+
"jest-serial-runner": "^1.2.2",
|
|
40
|
+
"trace-unhandled": "^2.0.1",
|
|
41
|
+
"ts-jest": "^29.4.1",
|
|
42
|
+
"ts-node": "^10.9.1",
|
|
43
|
+
"typescript": "^5.2.2"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"test-ci": "jest --runInBand",
|
|
47
|
+
"build": "tsc",
|
|
48
|
+
"wbuild": "tsc --watch",
|
|
49
|
+
"bump-to": "yarn version"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -7,10 +7,11 @@ import {
|
|
|
7
7
|
} from '@quatrain/cloudwrapper'
|
|
8
8
|
import { BackendAction } from '@quatrain/backend'
|
|
9
9
|
import { createClient, SupabaseClient } from '@supabase/supabase-js'
|
|
10
|
-
import { HeartbeatStatus } from '@supabase/realtime-js/dist/module/RealtimeClient'
|
|
11
10
|
import ws from 'ws'
|
|
12
11
|
import { FileType } from '@quatrain/storage'
|
|
13
12
|
|
|
13
|
+
type HeartbeatStatus = 'sent' | 'ok' | 'error' | 'timeout' | 'disconnected'
|
|
14
|
+
|
|
14
15
|
export type SupabaseParams = {
|
|
15
16
|
useEmulator?: boolean
|
|
16
17
|
url?: string
|