Skip to content

Commit de7cfa0

Browse files
authored
Merge pull request #52 from appwrite/dev
fix: build errors and upgrade dependencies
2 parents f591b09 + 62a28a2 commit de7cfa0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
"rollup": "2.75.4",
3131
"serve-handler": "6.1.0",
3232
"tslib": "2.4.0",
33-
"typescript": "4.7.2"
33+
"typescript": "^5.3.3"
3434
},
3535
"dependencies": {
36-
"expo-file-system": "16.0.8",
37-
"react-native": "^0.73.6"
36+
"expo-file-system": "~18.0.11",
37+
"react-native": "0.76.7"
3838
},
3939
"peerDependencies": {
4040
"expo": "*",

src/client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ class Client {
470470

471471
if (400 <= response.status) {
472472
let responseText = '';
473-
if (response.headers.get('content-type')?.includes('application/json') || responseType === 'arrayBuffer') {
473+
if (response.headers.get('content-type')?.includes('application/json')) {
474474
responseText = JSON.stringify(data);
475475
} else {
476476
responseText = data?.message;

0 commit comments

Comments
 (0)