@zeroin.earth/appwrite-graphql 22.4.1 → 23.0.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.
package/package.json CHANGED
@@ -1,10 +1,28 @@
1
1
  {
2
2
  "name": "@zeroin.earth/appwrite-graphql",
3
- "version": "22.4.1",
4
- "description": "Appwrite Graphql library, utilizing @tanstack/react-query and inspired by react-appwrite",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.mjs",
3
+ "version": "23.0.0",
4
+ "description": "Appwrite Graphql library, utilizing @tanstack/react-query",
5
+ "main": "./dist/index.cjs",
6
+ "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": {
11
+ "types": "./dist/index.d.ts",
12
+ "default": "./dist/index.js"
13
+ },
14
+ "require": {
15
+ "types": "./dist/index.d.cts",
16
+ "default": "./dist/index.cjs"
17
+ }
18
+ },
19
+ "./react-native": {
20
+ "require": {
21
+ "types": "./react-native/index.d.cts",
22
+ "default": "./react-native/index.cjs"
23
+ }
24
+ }
25
+ },
8
26
  "files": [
9
27
  "dist",
10
28
  "react-native"
@@ -17,56 +35,67 @@
17
35
  "license": "MIT",
18
36
  "scripts": {
19
37
  "build": "tsup && tsup --config tsup.native.config.ts && node post-build.js",
20
- "codegen": "graphql-codegen --config codegen.ts",
21
- "prepublishOnly": "bun run tsc && bun run codegen && bun run build",
38
+ "prepublishOnly": "bun run tsc && bun run build",
22
39
  "tsc": "tsc --noEmit",
23
40
  "typecheck": "tsc --noEmit",
24
- "test": "bun test --timeout 30000 --only-failures",
41
+ "test": "bun test --timeout 30000",
25
42
  "test:setup": "bun run tests/setup/setup.ts",
26
43
  "test:teardown": "bun run tests/setup/teardown.ts"
27
44
  },
28
45
  "dependencies": {
29
46
  "@graphql-typed-document-node/core": "^3.2.0",
30
- "graphql": "^16.10.0",
47
+ "@tanstack/query-async-storage-persister": "^5.90.24",
48
+ "@tanstack/react-query-devtools": "^5.91.3",
49
+ "@tanstack/react-query-persist-client": "^5.90.24",
50
+ "gql.tada": "^1.9.0",
51
+ "graphql": "^16.13.1",
31
52
  "graphql-scalars": "^1.24.2",
32
53
  "immer": "^11.1.4"
33
54
  },
34
55
  "peerDependencies": {
56
+ "@react-native-async-storage/async-storage": "^3.0.1",
57
+ "@react-native-community/netinfo": "^12.0.1",
35
58
  "@tanstack/react-query": "^5.70.0",
36
- "appwrite": "^22.4.1",
37
- "jotai": "^2.12.2",
38
- "react-native-appwrite": "^0.24.1"
59
+ "appwrite": "^23.0.0",
60
+ "react": "19.1.0",
61
+ "react-native-appwrite": "^0.25.0"
39
62
  },
40
63
  "peerDependenciesMeta": {
41
64
  "react-native-appwrite": {
42
65
  "optional": true
66
+ },
67
+ "@react-native-async-storage/async-storage": {
68
+ "optional": true
69
+ },
70
+ "@react-native-community/netinfo": {
71
+ "optional": true
43
72
  }
44
73
  },
45
74
  "devDependencies": {
46
- "@apollo/client": "^4.1.6",
47
- "@graphql-codegen/cli": "^6.1.2",
48
- "@graphql-codegen/client-preset": "^5.2.3",
49
- "@happy-dom/global-registrator": "^20.7.0",
75
+ "@eslint/js": "^10.0.1",
76
+ "@happy-dom/global-registrator": "^20.8.4",
77
+ "@react-native-async-storage/async-storage": "^3.0.1",
78
+ "@react-native-community/netinfo": "^12.0.1",
50
79
  "@tanstack/react-query": "^5.70.0",
51
80
  "@testing-library/react": "^16.3.2",
52
81
  "@testing-library/react-hooks": "^8.0.1",
53
- "@types/bun": "latest",
82
+ "@types/bun": "1.3.10",
54
83
  "@types/identity-obj-proxy": "^3.0.2",
55
- "@types/jest": "^29.5.14",
56
84
  "@types/react": "^19.2.14",
57
- "appwrite": "^22.4.1",
58
- "happy-dom": "^20.7.0",
85
+ "appwrite": "^23.0.0",
86
+ "eslint": "^10.0.3",
87
+ "eslint-plugin-simple-import-sort": "^12.1.1",
88
+ "happy-dom": "^20.8.4",
59
89
  "identity-obj-proxy": "^3.0.0",
60
- "jest": "^29.7.0",
61
- "jotai": "^2.12.2",
62
- "node-appwrite": "^22.1.2",
90
+ "mailpit-api": "^1.7.2",
91
+ "node-appwrite": "^22.1.3",
63
92
  "otpauth": "^9.5.0",
64
- "react": "19.1.0",
65
- "react-dom": "19.1.0",
66
- "react-native-appwrite": "^0.24.1",
67
- "ts-jest": "^29.3.0",
93
+ "react": "19.2.4",
94
+ "react-dom": "19.2.4",
95
+ "react-native-appwrite": "^0.25.0",
68
96
  "tsup": "^8.4.0",
69
- "typescript": "^5.8.2"
97
+ "typescript": "^5.9.3",
98
+ "typescript-eslint": "^8.57.0"
70
99
  },
71
100
  "publishConfig": {
72
101
  "access": "public"