expo 57.0.32 → 57.0.34

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.
@@ -10,7 +10,7 @@ buildscript {
10
10
  }
11
11
 
12
12
  group = 'host.exp.exponent'
13
- version = '57.0.32'
13
+ version = '57.0.34'
14
14
 
15
15
  expoModule {
16
16
  // We can't prebuild the module because it depends on the generated files.
@@ -21,7 +21,7 @@ android {
21
21
  namespace "expo.core"
22
22
  defaultConfig {
23
23
  versionCode 1
24
- versionName "57.0.32"
24
+ versionName "57.0.34"
25
25
  consumerProguardFiles("proguard-rules.pro")
26
26
  }
27
27
  testOptions {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "@expo/dom-webview": "~57.0.1",
3
- "@expo/fingerprint": "~0.20.15",
4
- "@expo/metro-runtime": "~57.0.18",
3
+ "@expo/fingerprint": "~0.20.17",
4
+ "@expo/metro-runtime": "~57.0.19",
5
5
  "@expo/vector-icons": "^15.0.2",
6
6
  "@expo/ui": "~57.0.26",
7
7
  "@react-native-async-storage/async-storage": "2.2.0",
@@ -17,81 +17,81 @@
17
17
  "expo-analytics-amplitude": "~11.3.0",
18
18
  "expo-app-auth": "~11.1.0",
19
19
  "expo-app-loader-provider": "~8.0.0",
20
- "expo-app-metrics": "~57.0.24",
20
+ "expo-app-metrics": "~57.0.25",
21
21
  "expo-apple-authentication": "~57.0.2",
22
22
  "expo-application": "~57.0.3",
23
- "expo-asset": "~57.0.21",
23
+ "expo-asset": "~57.0.22",
24
24
  "expo-audio": "~57.0.5",
25
- "expo-auth-session": "~57.0.16",
26
- "expo-background-fetch": "~57.0.22",
27
- "expo-background-task": "~57.0.22",
25
+ "expo-auth-session": "~57.0.17",
26
+ "expo-background-fetch": "~57.0.24",
27
+ "expo-background-task": "~57.0.24",
28
28
  "expo-battery": "~57.0.3",
29
29
  "expo-blur": "~57.0.3",
30
30
  "expo-brightness": "~57.0.2",
31
- "expo-brownfield": "~57.0.25",
32
- "expo-build-properties": "~57.0.23",
33
- "expo-calendar": "~57.0.6",
31
+ "expo-brownfield": "~57.0.26",
32
+ "expo-build-properties": "~57.0.24",
33
+ "expo-calendar": "~57.0.7",
34
34
  "expo-camera": "~57.0.6",
35
35
  "expo-cellular": "~57.0.2",
36
36
  "expo-checkbox": "~57.0.0",
37
37
  "expo-clipboard": "~57.0.2",
38
- "expo-constants": "~57.0.23",
39
- "expo-contacts": "~57.0.8",
38
+ "expo-constants": "~57.0.25",
39
+ "expo-contacts": "~57.0.9",
40
40
  "expo-crypto": "~57.0.4",
41
- "expo-dev-client": "~57.0.21",
41
+ "expo-dev-client": "~57.0.22",
42
42
  "expo-device": "~57.0.2",
43
43
  "expo-document-picker": "~57.0.3",
44
44
  "expo-eas-client": "~57.0.5",
45
45
  "expo-file-system": "~57.0.7",
46
46
  "expo-font": "~57.0.4",
47
- "expo-gl": "~57.0.3",
47
+ "expo-gl": "~57.0.4",
48
48
  "expo-glass-effect": "~57.0.5",
49
49
  "expo-google-app-auth": "~8.3.0",
50
50
  "expo-haptics": "~57.0.3",
51
51
  "expo-image": "~57.0.5",
52
52
  "expo-image-loader": "~57.0.1",
53
- "expo-image-manipulator": "~57.0.22",
54
- "expo-image-picker": "~57.0.21",
53
+ "expo-image-manipulator": "~57.0.23",
54
+ "expo-image-picker": "~57.0.22",
55
55
  "expo-intent-launcher": "~57.0.1",
56
- "expo-insights": "~57.0.22",
56
+ "expo-insights": "~57.0.23",
57
57
  "expo-keep-awake": "~57.0.2",
58
58
  "expo-linear-gradient": "~57.0.2",
59
- "expo-linking": "~57.0.13",
59
+ "expo-linking": "~57.0.14",
60
60
  "expo-local-authentication": "~57.0.3",
61
61
  "expo-localization": "~57.0.2",
62
- "expo-location": "~57.0.23",
62
+ "expo-location": "~57.0.24",
63
63
  "expo-mail-composer": "~57.0.2",
64
64
  "expo-manifests": "~57.0.2",
65
65
  "expo-maps": "~57.0.4",
66
66
  "expo-mcp": "~0.2.1",
67
67
  "expo-media-library": "~57.0.6",
68
68
  "expo-mesh-gradient": "~57.0.2",
69
- "expo-module-template": "~57.0.16",
70
- "expo-modules-core": "~57.0.25",
69
+ "expo-module-template": "~57.0.17",
70
+ "expo-modules-core": "~57.0.26",
71
71
  "expo-navigation-bar": "~57.0.3",
72
72
  "expo-network": "~57.0.3",
73
- "expo-notifications": "~57.0.25",
74
- "expo-observe": "~57.0.27",
73
+ "expo-notifications": "~57.0.26",
74
+ "expo-observe": "~57.0.29",
75
75
  "expo-print": "~57.0.2",
76
76
  "expo-live-photo": "~57.0.2",
77
- "expo-router": "~57.0.30",
77
+ "expo-router": "~57.0.32",
78
78
  "expo-screen-capture": "~57.0.4",
79
79
  "expo-screen-orientation": "~57.0.3",
80
80
  "expo-secure-store": "~57.0.4",
81
81
  "expo-sensors": "~57.0.3",
82
82
  "expo-server": "~57.0.3",
83
- "expo-sharing": "~57.0.25",
83
+ "expo-sharing": "~57.0.27",
84
84
  "expo-sms": "~57.0.2",
85
85
  "expo-speech": "~57.0.3",
86
- "expo-splash-screen": "~57.0.11",
87
- "expo-sqlite": "~57.0.4",
86
+ "expo-splash-screen": "~57.0.12",
87
+ "expo-sqlite": "~57.0.6",
88
88
  "expo-status-bar": "~57.0.1",
89
89
  "expo-store-review": "~57.0.3",
90
90
  "expo-symbols": "~57.0.3",
91
91
  "expo-system-ui": "~57.0.4",
92
- "expo-task-manager": "~57.0.22",
92
+ "expo-task-manager": "~57.0.24",
93
93
  "expo-tracking-transparency": "~57.0.2",
94
- "expo-updates": "~57.0.27",
94
+ "expo-updates": "~57.0.29",
95
95
  "expo-video-thumbnails": "~57.0.2",
96
96
  "expo-video": "~57.0.5",
97
97
  "expo-web-browser": "~57.0.3",
@@ -72,14 +72,22 @@ public final class ExpoFetchModule: Module {
72
72
  Property("redirected", \.redirected)
73
73
 
74
74
  AsyncFunction("arrayBuffer") { (response: NativeResponse, promise: Promise) in
75
- response.waitFor(states: [.bodyCompleted]) { _ in
75
+ response.waitFor(states: [.bodyCompleted, .errorReceived]) { state in
76
+ if state == .errorReceived {
77
+ promise.reject(response.error ?? FetchUnknownException())
78
+ return
79
+ }
76
80
  let data = response.sink.finalize()
77
81
  promise.resolve(NativeArrayBuffer.wrap(dataWithoutCopy: data))
78
82
  }
79
83
  }.runOnQueue(fetchRequestQueue)
80
84
 
81
85
  AsyncFunction("text") { (response: NativeResponse, promise: Promise) in
82
- response.waitFor(states: [.bodyCompleted]) { _ in
86
+ response.waitFor(states: [.bodyCompleted, .errorReceived]) { state in
87
+ if state == .errorReceived {
88
+ promise.reject(response.error ?? FetchUnknownException())
89
+ return
90
+ }
83
91
  let data = response.sink.finalize()
84
92
  let text = String(decoding: data, as: UTF8.self)
85
93
  promise.resolve(text)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo",
3
- "version": "57.0.32",
3
+ "version": "57.0.34",
4
4
  "description": "The Expo SDK",
5
5
  "main": "src/Expo.ts",
6
6
  "module": "src/Expo.ts",
@@ -68,25 +68,25 @@
68
68
  "homepage": "https://github.com/expo/expo/tree/main/packages/expo",
69
69
  "dependencies": {
70
70
  "@babel/runtime": "^7.20.0",
71
- "@expo/cli": "^57.0.33",
72
- "@expo/config": "~57.0.11",
73
- "@expo/config-plugins": "~57.0.12",
71
+ "@expo/cli": "^57.0.35",
72
+ "@expo/config": "~57.0.12",
73
+ "@expo/config-plugins": "~57.0.13",
74
74
  "@expo/devtools": "~57.0.1",
75
75
  "@expo/dom-webview": "~57.0.1",
76
- "@expo/fingerprint": "^0.20.15",
76
+ "@expo/fingerprint": "^0.20.17",
77
77
  "@expo/local-build-cache-provider": "^57.0.10",
78
78
  "@expo/log-box": "^57.0.5",
79
79
  "@expo/metro": "~56.0.2",
80
80
  "@expo/metro-config": "~57.0.14",
81
81
  "@ungap/structured-clone": "^1.3.0",
82
82
  "babel-preset-expo": "~57.0.17",
83
- "expo-asset": "~57.0.21",
84
- "expo-constants": "~57.0.23",
83
+ "expo-asset": "~57.0.22",
84
+ "expo-constants": "~57.0.25",
85
85
  "expo-file-system": "~57.0.7",
86
86
  "expo-font": "~57.0.4",
87
87
  "expo-keep-awake": "~57.0.2",
88
- "expo-modules-autolinking": "~57.0.17",
89
- "expo-modules-core": "~57.0.25",
88
+ "expo-modules-autolinking": "~57.0.18",
89
+ "expo-modules-core": "~57.0.26",
90
90
  "pretty-format": "^29.7.0",
91
91
  "react-refresh": "^0.14.2",
92
92
  "whatwg-url-minimum": "^0.1.2"
@@ -100,9 +100,9 @@
100
100
  "react-native": "0.86.3",
101
101
  "rimraf": "^6.1.2",
102
102
  "web-streams-polyfill": "^3.3.2",
103
- "@expo/metro-runtime": "57.0.18",
104
103
  "@expo/dom-webview": "57.0.1",
105
- "expo-updates": "57.0.27"
104
+ "expo-updates": "57.0.29",
105
+ "@expo/metro-runtime": "57.0.19"
106
106
  },
107
107
  "peerDependencies": {
108
108
  "@expo/dom-webview": "*",
@@ -139,7 +139,7 @@
139
139
  "scripts/resolveAppEntry.js"
140
140
  ]
141
141
  },
142
- "gitHead": "d525588681ae2ac2863deff25d35daa39ede8ac1",
142
+ "gitHead": "14616b4ffe6167019952be745310f563d15bf68a",
143
143
  "scripts": {
144
144
  "build": "tsc",
145
145
  "clean": "rimraf build",
package/template.tgz CHANGED
Binary file