expo-asset 58.0.16 → 58.0.17
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/CHANGELOG.md +6 -0
- package/android/build.gradle +2 -2
- package/build/Asset.d.ts +5 -1
- package/build/Asset.js.map +1 -1
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16.module → 58.0.17/expo.modules.asset-58.0.17.module} +7 -7
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.17/expo.modules.asset-58.0.17.module.md5 +1 -0
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.17/expo.modules.asset-58.0.17.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.17/expo.modules.asset-58.0.17.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.17/expo.modules.asset-58.0.17.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16.pom → 58.0.17/expo.modules.asset-58.0.17.pom} +1 -1
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.17/expo.modules.asset-58.0.17.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.17/expo.modules.asset-58.0.17.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.17/expo.modules.asset-58.0.17.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.17/expo.modules.asset-58.0.17.pom.sha512 +1 -0
- package/package.json +1 -1
- package/src/Asset.ts +5 -2
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.16/expo.modules.asset-58.0.16.module.md5 +0 -1
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.16/expo.modules.asset-58.0.16.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.16/expo.modules.asset-58.0.16.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.16/expo.modules.asset-58.0.16.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.16/expo.modules.asset-58.0.16.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.16/expo.modules.asset-58.0.16.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.16/expo.modules.asset-58.0.16.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/asset/expo.modules.asset/58.0.16/expo.modules.asset-58.0.16.pom.sha512 +0 -1
- /package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16-sources.jar → 58.0.17/expo.modules.asset-58.0.17-sources.jar} +0 -0
- /package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16-sources.jar.md5 → 58.0.17/expo.modules.asset-58.0.17-sources.jar.md5} +0 -0
- /package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16-sources.jar.sha1 → 58.0.17/expo.modules.asset-58.0.17-sources.jar.sha1} +0 -0
- /package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16-sources.jar.sha256 → 58.0.17/expo.modules.asset-58.0.17-sources.jar.sha256} +0 -0
- /package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16-sources.jar.sha512 → 58.0.17/expo.modules.asset-58.0.17-sources.jar.sha512} +0 -0
- /package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16.aar → 58.0.17/expo.modules.asset-58.0.17.aar} +0 -0
- /package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16.aar.md5 → 58.0.17/expo.modules.asset-58.0.17.aar.md5} +0 -0
- /package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16.aar.sha1 → 58.0.17/expo.modules.asset-58.0.17.aar.sha1} +0 -0
- /package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16.aar.sha256 → 58.0.17/expo.modules.asset-58.0.17.aar.sha256} +0 -0
- /package/local-maven-repo/expo/modules/asset/expo.modules.asset/{58.0.16/expo.modules.asset-58.0.16.aar.sha512 → 58.0.17/expo.modules.asset-58.0.17.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 58.0.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Export the `VirtualAssetModule` type that `Asset.fromModule` accepts. ([#51797](https://github.com/expo/expo/pull/51797) by [@amandeepmittal](https://github.com/amandeepmittal))
|
|
8
|
+
|
|
3
9
|
## 58.0.16
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/android/build.gradle
CHANGED
package/build/Asset.d.ts
CHANGED
|
@@ -7,7 +7,11 @@ export type AssetDescriptor = {
|
|
|
7
7
|
width?: number | null;
|
|
8
8
|
height?: number | null;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
/**
|
|
11
|
+
* The value of `require('path/to/file')` for an image on web and in server environments, when
|
|
12
|
+
* Metro can read the image dimensions.
|
|
13
|
+
*/
|
|
14
|
+
export interface VirtualAssetModule {
|
|
11
15
|
uri: string;
|
|
12
16
|
width: number;
|
|
13
17
|
height: number;
|
package/build/Asset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Asset.ts"],"sourcesContent":[null],"names":["Platform","AssetRegistry","selectAssetSource","AssetUris","downloadAsync","ImageAssets","getLocalAssetUri","IS_ENV_WITH_LOCAL_ASSETS","resolveAssetSource","isVirtualAsset","assetModule","uri","ANDROID_EMBEDDED_URL_BASE_RESOURCE","Asset","byHash","byUri","name","type","hash","localUri","width","height","downloading","downloaded","_downloadCallbacks","startsWith","OS","getFilename","getFileExtension","loadAsync","moduleId","moduleIds","Array","isArray","Promise","all","map","fromModule","fromURI","extension","substring","meta","getAssetByID","Error","asset","includes","fromMetadata","metaHash","assetByHash","indexOf","split","resolve","reject","push","isImageType","getImageInfoAsync","forEach","e"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,aAAa,QAAQ,eAAe;AAE7C,SAA6BC,iBAAiB,QAAQ,iBAAiB;AACvE,YAAYC,eAAe,cAAc;AACzC,SAASC,aAAa,QAAQ,cAAc;AAC5C,YAAYC,iBAAiB,gBAAgB;AAC7C,SAASC,gBAAgB,QAAQ,gBAAgB;AACjD,SAASC,wBAAwB,QAAQ,kBAAkB;AAC3D,OAAOC,wBAAwB,uBAAuB;
|
|
1
|
+
{"version":3,"sources":["Asset.ts"],"sourcesContent":[null],"names":["Platform","AssetRegistry","selectAssetSource","AssetUris","downloadAsync","ImageAssets","getLocalAssetUri","IS_ENV_WITH_LOCAL_ASSETS","resolveAssetSource","isVirtualAsset","assetModule","uri","ANDROID_EMBEDDED_URL_BASE_RESOURCE","Asset","byHash","byUri","name","type","hash","localUri","width","height","downloading","downloaded","_downloadCallbacks","startsWith","OS","getFilename","getFileExtension","loadAsync","moduleId","moduleIds","Array","isArray","Promise","all","map","fromModule","fromURI","extension","substring","meta","getAssetByID","Error","asset","includes","fromMetadata","metaHash","assetByHash","indexOf","split","resolve","reject","push","isImageType","getImageInfoAsync","forEach","e"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,aAAa,QAAQ,eAAe;AAE7C,SAA6BC,iBAAiB,QAAQ,iBAAiB;AACvE,YAAYC,eAAe,cAAc;AACzC,SAASC,aAAa,QAAQ,cAAc;AAC5C,YAAYC,iBAAiB,gBAAgB;AAC7C,SAASC,gBAAgB,QAAQ,gBAAgB;AACjD,SAASC,wBAAwB,QAAQ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YACA,IAAI,CAACQ,QAAQ,GAAG,MAAMf,cAAc,IAAI,CAACO,GAAG,EAAE,IAAI,CAACO,IAAI,EAAE,IAAI,CAACD,IAAI;YAElE,IAAI,CAACM,UAAU,GAAG;YAClB,IAAI,CAACC,kBAAkB,CAACgC,OAAO,CAAC,CAAC,EAAEL,OAAO,EAAE,GAAKA;QACnD,EAAE,OAAOM,GAAQ;YACf,IAAI,CAACjC,kBAAkB,CAACgC,OAAO,CAAC,CAAC,EAAEJ,MAAM,EAAE,GAAKA,OAAOK;YACvD,MAAMA;QACR,SAAU;YACR,IAAI,CAACnC,WAAW,GAAG;YACnB,IAAI,CAACE,kBAAkB,GAAG,EAAE;QAC9B;QACA,OAAO,IAAI;IACb;AACF"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "expo.modules.asset",
|
|
5
5
|
"module": "expo.modules.asset",
|
|
6
|
-
"version": "58.0.
|
|
6
|
+
"version": "58.0.17",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.asset-58.0.
|
|
28
|
-
"url": "expo.modules.asset-58.0.
|
|
27
|
+
"name": "expo.modules.asset-58.0.17.aar",
|
|
28
|
+
"url": "expo.modules.asset-58.0.17.aar",
|
|
29
29
|
"size": 30506,
|
|
30
30
|
"sha512": "488b36ee63485a81f93ea026c034315250fc970aa635148fc231019b4123ba5718bfe342a019e2d492224857da29bbbbbd1c74490113e2992f3ec155d5d2b7aa",
|
|
31
31
|
"sha256": "6638572bc255e7dd1653db31deff0bc5150b52a04b0fc4e9d9db5ac63e7cbbf8",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
],
|
|
79
79
|
"files": [
|
|
80
80
|
{
|
|
81
|
-
"name": "expo.modules.asset-58.0.
|
|
82
|
-
"url": "expo.modules.asset-58.0.
|
|
81
|
+
"name": "expo.modules.asset-58.0.17.aar",
|
|
82
|
+
"url": "expo.modules.asset-58.0.17.aar",
|
|
83
83
|
"size": 30506,
|
|
84
84
|
"sha512": "488b36ee63485a81f93ea026c034315250fc970aa635148fc231019b4123ba5718bfe342a019e2d492224857da29bbbbbd1c74490113e2992f3ec155d5d2b7aa",
|
|
85
85
|
"sha256": "6638572bc255e7dd1653db31deff0bc5150b52a04b0fc4e9d9db5ac63e7cbbf8",
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
},
|
|
99
99
|
"files": [
|
|
100
100
|
{
|
|
101
|
-
"name": "expo.modules.asset-58.0.
|
|
102
|
-
"url": "expo.modules.asset-58.0.
|
|
101
|
+
"name": "expo.modules.asset-58.0.17-sources.jar",
|
|
102
|
+
"url": "expo.modules.asset-58.0.17-sources.jar",
|
|
103
103
|
"size": 4034,
|
|
104
104
|
"sha512": "9a481faff8f2de1bf629dd0f4a66db1685a5dd4455cc881deb2adbc04471ee8dd096b8c65d2b0ff1460c39011cb9ee9f24eb4273a08496a8ae5e683a8da0b099",
|
|
105
105
|
"sha256": "7088014d29ebd4efb4c3911b5d21ea193a7b935c494abf052ada90f00e914f55",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7b8b5e822f20994a144087fa88261e8f
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d7db106879d6e3fd58060323dd56ce9c47d70743
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cf8c704aad49f05a482fb4cb1de0e8960db3acbcb923b0b5962a088d80967b57
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0096830d267ab1fb1059747fe48652706178404cce64596ad42fc2dc26a2197f4679d9e37c07734d8aecb43930fc8b5739e5cbf0bfc142c9afc5e35d18367b3c
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>expo.modules.asset</groupId>
|
|
11
11
|
<artifactId>expo.modules.asset</artifactId>
|
|
12
|
-
<version>58.0.
|
|
12
|
+
<version>58.0.17</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.asset</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
58e9395000d6d9080d25e60b0a8b9ab4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
89c1aca4d23aa77a3eea1d5189e22b35576938b0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
647019fa1ad7673366e84a120b987d1d18a66dc7bf42ca1381e91a6649df4ed9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
53d0416c13c8eb8809b417a791c7a935df80292f2bb28ae41ede7f2a1d4bd23dc2fdd061e434522284dc5115a107022e535b2a2605fb61f1e07cb9b7efc139e3
|
package/package.json
CHANGED
package/src/Asset.ts
CHANGED
|
@@ -24,8 +24,11 @@ type DownloadPromiseCallbacks = {
|
|
|
24
24
|
reject: (error: Error) => void;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
/**
|
|
28
|
+
* The value of `require('path/to/file')` for an image on web and in server environments, when
|
|
29
|
+
* Metro can read the image dimensions.
|
|
30
|
+
*/
|
|
31
|
+
export interface VirtualAssetModule {
|
|
29
32
|
uri: string;
|
|
30
33
|
width: number;
|
|
31
34
|
height: number;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c1fe35b65a8a1692aef4a7333a7b24d6
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e36bdf40154ed3179ada3cbae6b4c3f8a7ada691
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
9978c4bee56f5dd4e4b88e9bb8954aa23892f81c9b982cf146f11d23ddf396e4
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
8b105fe1f8f092f830baa8e8303ed81c0fc7cafb92ece01ee12fca06ab38c02432e26d53aa221840e58ae2fe44b3bf48a07fc1a3fd64b715801e4d7f588f6f77
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c5ca6d04ef53c6372758da71316892ee
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
28ba741ed443af2424bac51dd5367ff561c9cf74
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ad3df8a7f54fa144131e2b907baae6be3e233162a20319285aeedefbd493668d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ca2cdb9c3a1dda522b9a9f0736442526e8eb93a6e680eb2160b2f716e49354c1856f1c733db9d4183f6aa694faf3c509a4f9cd8d8c415e250bb10faa7b991ec5
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|