@motherbase/client 1.2.8 → 1.4.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.
Files changed (57) hide show
  1. package/README.md +73 -9
  2. package/dist/auth.d.ts +172 -14
  3. package/dist/auth.d.ts.map +1 -1
  4. package/dist/auth.js +399 -14
  5. package/dist/auth.js.map +1 -1
  6. package/dist/channel.d.ts +15 -12
  7. package/dist/channel.d.ts.map +1 -1
  8. package/dist/channel.js.map +1 -1
  9. package/dist/compat.d.ts +40 -0
  10. package/dist/compat.d.ts.map +1 -0
  11. package/dist/compat.js +98 -0
  12. package/dist/compat.js.map +1 -0
  13. package/dist/cookie.d.ts +23 -2
  14. package/dist/cookie.d.ts.map +1 -1
  15. package/dist/cookie.js +71 -9
  16. package/dist/cookie.js.map +1 -1
  17. package/dist/database.d.ts +20 -1
  18. package/dist/database.d.ts.map +1 -1
  19. package/dist/functions.d.ts +36 -0
  20. package/dist/functions.d.ts.map +1 -1
  21. package/dist/functions.js +56 -5
  22. package/dist/functions.js.map +1 -1
  23. package/dist/http.d.ts +47 -7
  24. package/dist/http.d.ts.map +1 -1
  25. package/dist/http.js +73 -12
  26. package/dist/http.js.map +1 -1
  27. package/dist/index.d.ts +79 -6
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/index.js +183 -11
  30. package/dist/index.js.map +1 -1
  31. package/dist/postgrest.d.ts +94 -1
  32. package/dist/postgrest.d.ts.map +1 -1
  33. package/dist/postgrest.js +185 -17
  34. package/dist/postgrest.js.map +1 -1
  35. package/dist/query.d.ts +97 -0
  36. package/dist/query.d.ts.map +1 -0
  37. package/dist/query.js +94 -0
  38. package/dist/query.js.map +1 -0
  39. package/dist/session.d.ts +19 -1
  40. package/dist/session.d.ts.map +1 -1
  41. package/dist/session.js +57 -4
  42. package/dist/session.js.map +1 -1
  43. package/dist/storage.d.ts +172 -5
  44. package/dist/storage.d.ts.map +1 -1
  45. package/dist/storage.js +249 -6
  46. package/dist/storage.js.map +1 -1
  47. package/dist/testing.d.ts +38 -0
  48. package/dist/testing.d.ts.map +1 -0
  49. package/dist/testing.js +50 -0
  50. package/dist/testing.js.map +1 -0
  51. package/dist/types.d.ts +264 -20
  52. package/dist/types.d.ts.map +1 -1
  53. package/dist/warn.d.ts +4 -0
  54. package/dist/warn.d.ts.map +1 -0
  55. package/dist/warn.js +27 -0
  56. package/dist/warn.js.map +1 -0
  57. package/package.json +60 -52
package/package.json CHANGED
@@ -1,52 +1,60 @@
1
- {
2
- "name": "@motherbase/client",
3
- "version": "1.2.8",
4
- "description": "Typed client SDK for Motherbase, the open source self-hosted backend platform.",
5
- "type": "module",
6
- "main": "./dist/index.js",
7
- "module": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
9
- "publishConfig": {
10
- "access": "public"
11
- },
12
- "exports": {
13
- ".": {
14
- "types": "./dist/index.d.ts",
15
- "import": "./dist/index.js"
16
- }
17
- },
18
- "files": [
19
- "dist",
20
- "README.md"
21
- ],
22
- "scripts": {
23
- "build": "tsc -p tsconfig.json",
24
- "clean": "rm -rf dist",
25
- "test": "vitest run --typecheck",
26
- "lint": "eslint ."
27
- },
28
- "keywords": [
29
- "sdk",
30
- "client",
31
- "auth",
32
- "backend",
33
- "motherbase",
34
- "self-hosted"
35
- ],
36
- "license": "MIT",
37
- "dependencies": {
38
- "@motherbase/contracts": "^1.0.0"
39
- },
40
- "peerDependencies": {
41
- "socket.io-client": "^4.0.0"
42
- },
43
- "peerDependenciesMeta": {
44
- "socket.io-client": {
45
- "optional": true
46
- }
47
- },
48
- "devDependencies": {
49
- "typescript": "^5.4.2",
50
- "vitest": "^2.0.5"
51
- }
52
- }
1
+ {
2
+ "name": "@motherbase/client",
3
+ "version": "1.4.0",
4
+ "description": "Typed client SDK for Motherbase, the open source self-hosted backend platform.",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js"
16
+ },
17
+ "./query": {
18
+ "types": "./dist/query.d.ts",
19
+ "import": "./dist/query.js"
20
+ },
21
+ "./testing": {
22
+ "types": "./dist/testing.d.ts",
23
+ "import": "./dist/testing.js"
24
+ }
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "README.md"
29
+ ],
30
+ "scripts": {
31
+ "build": "tsc -p tsconfig.json",
32
+ "clean": "rm -rf dist",
33
+ "test": "vitest run --typecheck",
34
+ "lint": "eslint ."
35
+ },
36
+ "keywords": [
37
+ "sdk",
38
+ "client",
39
+ "auth",
40
+ "backend",
41
+ "motherbase",
42
+ "self-hosted"
43
+ ],
44
+ "license": "MIT",
45
+ "dependencies": {
46
+ "@motherbase/contracts": "^1.0.0"
47
+ },
48
+ "peerDependencies": {
49
+ "socket.io-client": "^4.0.0"
50
+ },
51
+ "peerDependenciesMeta": {
52
+ "socket.io-client": {
53
+ "optional": true
54
+ }
55
+ },
56
+ "devDependencies": {
57
+ "typescript": "^5.4.2",
58
+ "vitest": "^5.0.0"
59
+ }
60
+ }