@zeroin.earth/appwrite-graphql 0.16.4 → 22.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeroin.earth/appwrite-graphql",
3
- "version": "0.16.4",
3
+ "version": "22.4.1",
4
4
  "description": "Appwrite Graphql library, utilizing @tanstack/react-query and inspired by react-appwrite",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -18,42 +18,58 @@
18
18
  "scripts": {
19
19
  "build": "tsup && tsup --config tsup.native.config.ts && node post-build.js",
20
20
  "codegen": "graphql-codegen --config codegen.ts",
21
- "prepublishOnly": "yarn tsc && yarn codegen && yarn build",
21
+ "prepublishOnly": "bun run tsc && bun run codegen && bun run build",
22
22
  "tsc": "tsc --noEmit",
23
- "test": "jest"
23
+ "typecheck": "tsc --noEmit",
24
+ "test": "bun test --timeout 30000 --only-failures",
25
+ "test:setup": "bun run tests/setup/setup.ts",
26
+ "test:teardown": "bun run tests/setup/teardown.ts"
24
27
  },
25
28
  "dependencies": {
26
29
  "@graphql-typed-document-node/core": "^3.2.0",
27
- "@tanstack/react-query": "^5.40.1",
28
- "graphql": "^16.8.1",
29
- "graphql-scalars": "^1.23.0",
30
- "immer": "^10.1.1"
30
+ "graphql": "^16.10.0",
31
+ "graphql-scalars": "^1.24.2",
32
+ "immer": "^11.1.4"
31
33
  },
32
34
  "peerDependencies": {
33
- "appwrite": "^15.0.0",
34
- "jotai": "^2.8.3",
35
- "react": "^18.2.0",
36
- "react-native-appwrite": "^0.4.0"
35
+ "@tanstack/react-query": "^5.70.0",
36
+ "appwrite": "^22.4.1",
37
+ "jotai": "^2.12.2",
38
+ "react-native-appwrite": "^0.24.1"
39
+ },
40
+ "peerDependenciesMeta": {
41
+ "react-native-appwrite": {
42
+ "optional": true
43
+ }
37
44
  },
38
45
  "devDependencies": {
39
- "@apollo/client": "^3.10.4",
40
- "@graphql-codegen/cli": "^5.0.2",
41
- "@graphql-codegen/client-preset": "^4.2.6",
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",
50
+ "@tanstack/react-query": "^5.70.0",
51
+ "@testing-library/react": "^16.3.2",
42
52
  "@testing-library/react-hooks": "^8.0.1",
53
+ "@types/bun": "latest",
43
54
  "@types/identity-obj-proxy": "^3.0.2",
44
- "@types/jest": "^29.5.12",
45
- "@types/react": "^18.3.3",
46
- "appwrite": "^15.0.0",
55
+ "@types/jest": "^29.5.14",
56
+ "@types/react": "^19.2.14",
57
+ "appwrite": "^22.4.1",
58
+ "happy-dom": "^20.7.0",
47
59
  "identity-obj-proxy": "^3.0.0",
48
60
  "jest": "^29.7.0",
49
- "jotai": "^2.8.3",
50
- "react-native-appwrite": "^0.4.0",
51
- "ts-jest": "^29.1.4",
52
- "tsup": "^8.1.0",
53
- "typescript": "^5.4.5"
61
+ "jotai": "^2.12.2",
62
+ "node-appwrite": "^22.1.2",
63
+ "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",
68
+ "tsup": "^8.4.0",
69
+ "typescript": "^5.8.2"
54
70
  },
55
71
  "publishConfig": {
56
72
  "access": "public"
57
73
  },
58
- "packageManager": "yarn@4.1.1"
74
+ "type": "module"
59
75
  }