expo-file-system 19.0.3 → 19.0.4

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 (40) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/android/build.gradle +2 -2
  3. package/build/ExpoFileSystem.types.d.ts +24 -11
  4. package/build/ExpoFileSystem.types.d.ts.map +1 -1
  5. package/expo-module.config.json +1 -1
  6. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3.module → 19.0.4/expo.modules.filesystem-19.0.4.module} +7 -7
  7. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.module.md5 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.module.sha1 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.module.sha256 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.module.sha512 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3.pom → 19.0.4/expo.modules.filesystem-19.0.4.pom} +1 -1
  12. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.pom.md5 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.pom.sha1 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.pom.sha256 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.pom.sha512 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml +4 -4
  17. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.md5 +1 -1
  18. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha1 +1 -1
  19. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha256 +1 -1
  20. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha512 +1 -1
  21. package/package.json +3 -3
  22. package/src/ExpoFileSystem.types.ts +24 -11
  23. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.3/expo.modules.filesystem-19.0.3.module.md5 +0 -1
  24. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.3/expo.modules.filesystem-19.0.3.module.sha1 +0 -1
  25. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.3/expo.modules.filesystem-19.0.3.module.sha256 +0 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.3/expo.modules.filesystem-19.0.3.module.sha512 +0 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.3/expo.modules.filesystem-19.0.3.pom.md5 +0 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.3/expo.modules.filesystem-19.0.3.pom.sha1 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.3/expo.modules.filesystem-19.0.3.pom.sha256 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.3/expo.modules.filesystem-19.0.3.pom.sha512 +0 -1
  31. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3-sources.jar → 19.0.4/expo.modules.filesystem-19.0.4-sources.jar} +0 -0
  32. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3-sources.jar.md5 → 19.0.4/expo.modules.filesystem-19.0.4-sources.jar.md5} +0 -0
  33. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3-sources.jar.sha1 → 19.0.4/expo.modules.filesystem-19.0.4-sources.jar.sha1} +0 -0
  34. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3-sources.jar.sha256 → 19.0.4/expo.modules.filesystem-19.0.4-sources.jar.sha256} +0 -0
  35. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3-sources.jar.sha512 → 19.0.4/expo.modules.filesystem-19.0.4-sources.jar.sha512} +0 -0
  36. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3.aar → 19.0.4/expo.modules.filesystem-19.0.4.aar} +0 -0
  37. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3.aar.md5 → 19.0.4/expo.modules.filesystem-19.0.4.aar.md5} +0 -0
  38. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3.aar.sha1 → 19.0.4/expo.modules.filesystem-19.0.4.aar.sha1} +0 -0
  39. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3.aar.sha256 → 19.0.4/expo.modules.filesystem-19.0.4.aar.sha256} +0 -0
  40. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.3/expo.modules.filesystem-19.0.3.aar.sha512 → 19.0.4/expo.modules.filesystem-19.0.4.aar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 19.0.4 — 2025-08-21
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 19.0.3 — 2025-08-18
14
18
 
15
19
  ### 🐛 Bug fixes
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '19.0.3'
7
+ version = '19.0.4'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.filesystem"
11
11
  defaultConfig {
12
12
  versionCode 30
13
- versionName "19.0.3"
13
+ versionName "19.0.4"
14
14
  }
15
15
  }
16
16
 
@@ -69,9 +69,11 @@ export declare class Directory {
69
69
  */
70
70
  list(): (Directory | File)[];
71
71
  /**
72
- * Retrieves an object containing properties of a directory
72
+ * Retrieves an object containing properties of a directory.
73
+ *
73
74
  * @throws Error If the application does not have read access to the directory, or if the path does not point to a directory (e.g., it points to a file).
74
- * @returns An object with directory metadata (e.g., size, creation date, etc.).
75
+ *
76
+ * @returns An object with directory metadata (for example, size, creation date, and so on).
75
77
  */
76
78
  info(): DirectoryInfo;
77
79
  /**
@@ -79,10 +81,14 @@ export declare class Directory {
79
81
  */
80
82
  size: number | null;
81
83
  /**
82
- * @platform android
84
+ *
83
85
  * A static method that opens a file picker to select a directory.
84
- * @param initialUri An optional uri pointing to an initial folder on which the directory picker is opened.
85
- * @returns a `Directory` instance. The underlying uri will be a content uri on Android.
86
+ *
87
+ * @platform android
88
+ *
89
+ * @param initialUri An optional URI pointing to an initial folder on which the directory picker is opened.
90
+ *
91
+ * @returns A `Directory` instance. The underlying URI will be a content URI on Android.
86
92
  */
87
93
  static pickDirectoryAsync(initialUri?: string): Promise<Directory>;
88
94
  }
@@ -156,8 +162,8 @@ export declare class File {
156
162
  delete(): void;
157
163
  /**
158
164
  * Retrieves an object containing properties of a file
159
- * @throws Error If the application does not have read access to the file, or if the path does not point to a file (e.g., it points to a directory).
160
- * @returns An object with file metadata (e.g., size, creation date, etc.).
165
+ * @throws Error If the application does not have read access to the file, or if the path does not point to a file (for example, it points to a directory).
166
+ * @returns An object with file metadata (for example, size, creation date, and so on).
161
167
  */
162
168
  info(options?: InfoOptions): FileInfo;
163
169
  /**
@@ -180,15 +186,18 @@ export declare class File {
180
186
  */
181
187
  move(destination: Directory | File): void;
182
188
  /**
183
- * Returns a FileHandle object that can be used to read and write data to the file.
189
+ * Returns A `FileHandle` object that can be used to read and write data to the file.
184
190
  * @throws Error if the file does not exist or cannot be opened.
185
191
  */
186
192
  open(): FileHandle;
187
193
  /**
188
194
  * A static method that downloads a file from the network.
195
+ *
189
196
  * @param url - The URL of the file to download.
190
197
  * @param destination - The destination directory or file. If a directory is provided, the resulting filename will be determined based on the response headers.
198
+ *
191
199
  * @returns A promise that resolves to the downloaded file.
200
+ *
192
201
  * @example
193
202
  * ```ts
194
203
  * const file = await File.downloadFileAsync("https://example.com/image.png", new Directory(Paths.document));
@@ -196,11 +205,14 @@ export declare class File {
196
205
  */
197
206
  static downloadFileAsync(url: string, destination: Directory | File, options?: DownloadOptions): Promise<File>;
198
207
  /**
199
- * @platform android
200
208
  * A static method that opens a file picker to select a single file of specified type.
201
- * @param initialUri An optional uri pointing to an initial folder on which the file picker is opened.
209
+ *
210
+ * @platform android
211
+ *
212
+ * @param initialUri An optional URI pointing to an initial folder on which the file picker is opened.
202
213
  * @param mimeType A mime type that is used to filter out files that can be picked out.
203
- * @returns a `File` instance.
214
+ *
215
+ * @returns A `File` instance.
204
216
  */
205
217
  static pickFileAsync(initialUri?: string, mimeType?: string): Promise<File>;
206
218
  /**
@@ -260,6 +272,7 @@ export type FileInfo = {
260
272
  export type InfoOptions = {
261
273
  /**
262
274
  * Whether to return the MD5 hash of the file.
275
+ *
263
276
  * @default false
264
277
  */
265
278
  md5?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoFileSystem.types.d.ts","sourceRoot":"","sources":["../src/ExpoFileSystem.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,SAAS;IAC5B;;;;;;;OAOG;gBACS,GAAG,IAAI,EAAE,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE;IAElD;;OAE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AAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC"}
@@ -12,7 +12,7 @@
12
12
  "publication": {
13
13
  "groupId": "host.exp.exponent",
14
14
  "artifactId": "expo.modules.filesystem",
15
- "version": "19.0.3",
15
+ "version": "19.0.4",
16
16
  "repository": "local-maven-repo"
17
17
  }
18
18
  }
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.filesystem",
6
- "version": "19.0.3",
6
+ "version": "19.0.4",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -75,8 +75,8 @@
75
75
  ],
76
76
  "files": [
77
77
  {
78
- "name": "expo.modules.filesystem-19.0.3.aar",
79
- "url": "expo.modules.filesystem-19.0.3.aar",
78
+ "name": "expo.modules.filesystem-19.0.4.aar",
79
+ "url": "expo.modules.filesystem-19.0.4.aar",
80
80
  "size": 373316,
81
81
  "sha512": "36dc7ab692103570111d72588e7674ae1c7cf2c0665a351738f87dc0af98dbccb34aef221f34b5630403f2d6fd46a13cd22e4b3fb75a90f6b8b0bc2a41dd49cf",
82
82
  "sha256": "977ef17ccaa7a6f8c09c70d2f2f2f0c1002f07df8b3756ce3905a37a7288b41b",
@@ -153,8 +153,8 @@
153
153
  ],
154
154
  "files": [
155
155
  {
156
- "name": "expo.modules.filesystem-19.0.3.aar",
157
- "url": "expo.modules.filesystem-19.0.3.aar",
156
+ "name": "expo.modules.filesystem-19.0.4.aar",
157
+ "url": "expo.modules.filesystem-19.0.4.aar",
158
158
  "size": 373316,
159
159
  "sha512": "36dc7ab692103570111d72588e7674ae1c7cf2c0665a351738f87dc0af98dbccb34aef221f34b5630403f2d6fd46a13cd22e4b3fb75a90f6b8b0bc2a41dd49cf",
160
160
  "sha256": "977ef17ccaa7a6f8c09c70d2f2f2f0c1002f07df8b3756ce3905a37a7288b41b",
@@ -173,8 +173,8 @@
173
173
  },
174
174
  "files": [
175
175
  {
176
- "name": "expo.modules.filesystem-19.0.3-sources.jar",
177
- "url": "expo.modules.filesystem-19.0.3-sources.jar",
176
+ "name": "expo.modules.filesystem-19.0.4-sources.jar",
177
+ "url": "expo.modules.filesystem-19.0.4-sources.jar",
178
178
  "size": 28421,
179
179
  "sha512": "c91977ae610fa808ea0765cd14182ad1d8961f59cbdf2df2396e7f77fe8cadbcd152018902a4f09474177b5ea77f78c107d6016c127d0546c4e9b0ebbf2b13fe",
180
180
  "sha256": "9cf826cfa827700e415e780bc1b4a49477ea31486d465154824b7331c89e9dc7",
@@ -0,0 +1 @@
1
+ 8d14b91bf91010176f93304ee132f413213fc8eba873cdaa8c225f8ae6b751a7
@@ -0,0 +1 @@
1
+ d14c2b6ff242dec3839e5524b1265c382514fd6abf43c8c18d52bea0bf4c161c7a7ef71cd4a4df5fe306b83f473aaf69ddfe0a18b655004727d7a36360385746
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.filesystem</artifactId>
12
- <version>19.0.3</version>
12
+ <version>19.0.4</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.filesystem</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ 515f67b27724a19f4a5a1e1a63e86bc64952c878e92f48da64add7ad2a8f9d1b
@@ -0,0 +1 @@
1
+ 7b59851c1649da0b73ac95cb71f1029147391dcb237ebec967b6c741f2e32d5b745a100af94084f02adbe22f929fa06b28db22e3c59dd1c5c0b4e87ccb3685b9
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.filesystem</artifactId>
5
5
  <versioning>
6
- <latest>19.0.3</latest>
7
- <release>19.0.3</release>
6
+ <latest>19.0.4</latest>
7
+ <release>19.0.4</release>
8
8
  <versions>
9
- <version>19.0.3</version>
9
+ <version>19.0.4</version>
10
10
  </versions>
11
- <lastUpdated>20250818203955</lastUpdated>
11
+ <lastUpdated>20250821040950</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- bf814914808c5cde6a874f5314c5c03c
1
+ 2d4234bd82278fa383aa7b86c4889564
@@ -1 +1 @@
1
- a6a0d0e61b39cdf7af63bdade461ea017c77ee7f
1
+ 412c3275b163960bb95d50e5774871cad923000a
@@ -1 +1 @@
1
- 7d7c0cb2bef2183a4840f8b5af5032596df0279a3db9935719845c5b38d16fe6
1
+ 8e923335464a3b7e7f0d582ed90f59292713b9c6c8c1d871bde0084397eb3d84
@@ -1 +1 @@
1
- 94088dcb40367cbe08c959ce13e74789a467191884f402298b4ee4982db73bbb8138fc7bfeb9af43d37f74a8f608b357353b20a8b020a4d76064318458554c67
1
+ 697118aab70c0975e4e8736ba5b168fa47fde7764f7b7205eb23e0b073a8ab777cbc7d12c3cdde69d35b681a1467752b9e927c8ce400693c18de48c78d7f8b6d
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-file-system",
3
- "version": "19.0.3",
3
+ "version": "19.0.4",
4
4
  "description": "Provides access to the local file system on the device.",
5
5
  "main": "src/index.ts",
6
6
  "types": "build/index.d.ts",
@@ -36,11 +36,11 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "expo-module-scripts": "^5.0.2",
39
- "jest-expo": "~54.0.1"
39
+ "jest-expo": "~54.0.2"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "expo": "*",
43
43
  "react-native": "*"
44
44
  },
45
- "gitHead": "475cdabd3faad56f0e8c4abcaaf21140c01c094f"
45
+ "gitHead": "3275774c9286477adba9bc226d3923a996217ee4"
46
46
  }
@@ -79,9 +79,11 @@ export declare class Directory {
79
79
  list(): (Directory | File)[];
80
80
 
81
81
  /**
82
- * Retrieves an object containing properties of a directory
82
+ * Retrieves an object containing properties of a directory.
83
+ *
83
84
  * @throws Error If the application does not have read access to the directory, or if the path does not point to a directory (e.g., it points to a file).
84
- * @returns An object with directory metadata (e.g., size, creation date, etc.).
85
+ *
86
+ * @returns An object with directory metadata (for example, size, creation date, and so on).
85
87
  */
86
88
  info(): DirectoryInfo;
87
89
 
@@ -91,10 +93,14 @@ export declare class Directory {
91
93
  size: number | null;
92
94
 
93
95
  /**
94
- * @platform android
96
+ *
95
97
  * A static method that opens a file picker to select a directory.
96
- * @param initialUri An optional uri pointing to an initial folder on which the directory picker is opened.
97
- * @returns a `Directory` instance. The underlying uri will be a content uri on Android.
98
+ *
99
+ * @platform android
100
+ *
101
+ * @param initialUri An optional URI pointing to an initial folder on which the directory picker is opened.
102
+ *
103
+ * @returns A `Directory` instance. The underlying URI will be a content URI on Android.
98
104
  */
99
105
  static pickDirectoryAsync(initialUri?: string): Promise<Directory>;
100
106
  }
@@ -181,8 +187,8 @@ export declare class File {
181
187
 
182
188
  /**
183
189
  * Retrieves an object containing properties of a file
184
- * @throws Error If the application does not have read access to the file, or if the path does not point to a file (e.g., it points to a directory).
185
- * @returns An object with file metadata (e.g., size, creation date, etc.).
190
+ * @throws Error If the application does not have read access to the file, or if the path does not point to a file (for example, it points to a directory).
191
+ * @returns An object with file metadata (for example, size, creation date, and so on).
186
192
  */
187
193
  info(options?: InfoOptions): FileInfo;
188
194
 
@@ -210,16 +216,19 @@ export declare class File {
210
216
  move(destination: Directory | File): void;
211
217
 
212
218
  /**
213
- * Returns a FileHandle object that can be used to read and write data to the file.
219
+ * Returns A `FileHandle` object that can be used to read and write data to the file.
214
220
  * @throws Error if the file does not exist or cannot be opened.
215
221
  */
216
222
  open(): FileHandle;
217
223
 
218
224
  /**
219
225
  * A static method that downloads a file from the network.
226
+ *
220
227
  * @param url - The URL of the file to download.
221
228
  * @param destination - The destination directory or file. If a directory is provided, the resulting filename will be determined based on the response headers.
229
+ *
222
230
  * @returns A promise that resolves to the downloaded file.
231
+ *
223
232
  * @example
224
233
  * ```ts
225
234
  * const file = await File.downloadFileAsync("https://example.com/image.png", new Directory(Paths.document));
@@ -232,11 +241,14 @@ export declare class File {
232
241
  ): Promise<File>;
233
242
 
234
243
  /**
235
- * @platform android
236
244
  * A static method that opens a file picker to select a single file of specified type.
237
- * @param initialUri An optional uri pointing to an initial folder on which the file picker is opened.
245
+ *
246
+ * @platform android
247
+ *
248
+ * @param initialUri An optional URI pointing to an initial folder on which the file picker is opened.
238
249
  * @param mimeType A mime type that is used to filter out files that can be picked out.
239
- * @returns a `File` instance.
250
+ *
251
+ * @returns A `File` instance.
240
252
  */
241
253
  static pickFileAsync(initialUri?: string, mimeType?: string): Promise<File>;
242
254
 
@@ -323,6 +335,7 @@ export type FileInfo = {
323
335
  export type InfoOptions = {
324
336
  /**
325
337
  * Whether to return the MD5 hash of the file.
338
+ *
326
339
  * @default false
327
340
  */
328
341
  md5?: boolean;
@@ -1 +0,0 @@
1
- 150872c129c64983be7ab2056d944f25320d581de315845c19d76eaa1c0980f7
@@ -1 +0,0 @@
1
- 855720b3802de8a9b796433f6d8e05d5c3b456737b0f6f4f629015a5cd04667216e93f6ab85ddd074864405ef689ee5ea446463c9bef1f54d8525123e852d1e0
@@ -1 +0,0 @@
1
- 236607b1436c81d824e4ef0676fbabc20af5c3c4fa7fc377ae96635a450a10e8
@@ -1 +0,0 @@
1
- 93c9c7905bf9a196739eefc98d7f0722ec9a2be6f237e7ac7413279b3b6e9684cc3e62d386d4490c95e1d752b37be2e911e23974f41d661564ee44226320557f