expo-asset 10.0.9 → 10.0.10
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/PlatformUtils.web.d.ts +3 -3
- package/build/PlatformUtils.web.d.ts.map +1 -1
- package/build/PlatformUtils.web.js +4 -4
- package/build/PlatformUtils.web.js.map +1 -1
- package/package.json +2 -2
- package/src/PlatformUtils.web.ts +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 10.0.10 — 2024-06-20
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Fixed `PlatformUtils.ts` to have the correct export placeholders for react-native-web ([#29791](https://github.com/expo/expo/pull/29791) by [@Bram-dc](https://github.com/Bram-dc))
|
|
18
|
+
|
|
13
19
|
## 10.0.9 — 2024-06-13
|
|
14
20
|
|
|
15
21
|
### 💡 Others
|
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
2
|
|
|
3
3
|
group = 'expo.modules.asset'
|
|
4
|
-
version = '10.0.
|
|
4
|
+
version = '10.0.10'
|
|
5
5
|
|
|
6
6
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
7
7
|
apply from: expoModulesCorePlugin
|
|
@@ -14,6 +14,6 @@ android {
|
|
|
14
14
|
namespace "expo.modules.asset"
|
|
15
15
|
defaultConfig {
|
|
16
16
|
versionCode 1
|
|
17
|
-
versionName "10.0.
|
|
17
|
+
versionName "10.0.10"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare
|
|
3
|
-
export declare function getManifest(): {};
|
|
1
|
+
export declare const IS_ENV_WITH_LOCAL_ASSETS = false;
|
|
2
|
+
export declare function getLocalAssets(): Record<string, string>;
|
|
4
3
|
export declare function getManifest2(): {};
|
|
4
|
+
export declare const manifestBaseUrl: null;
|
|
5
5
|
//# sourceMappingURL=PlatformUtils.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformUtils.web.d.ts","sourceRoot":"","sources":["../src/PlatformUtils.web.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"PlatformUtils.web.d.ts","sourceRoot":"","sources":["../src/PlatformUtils.web.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAE9C,wBAAgB,cAAc,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAEvD;AAED,wBAAgB,YAAY,OAE3B;AAGD,eAAO,MAAM,eAAe,MAAO,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export const
|
|
2
|
-
|
|
3
|
-
export const manifestBaseUrl = null;
|
|
4
|
-
export function getManifest() {
|
|
1
|
+
export const IS_ENV_WITH_LOCAL_ASSETS = false;
|
|
2
|
+
export function getLocalAssets() {
|
|
5
3
|
return {};
|
|
6
4
|
}
|
|
7
5
|
export function getManifest2() {
|
|
8
6
|
return {};
|
|
9
7
|
}
|
|
8
|
+
// Compute manifest base URL if available
|
|
9
|
+
export const manifestBaseUrl = null;
|
|
10
10
|
//# sourceMappingURL=PlatformUtils.web.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformUtils.web.js","sourceRoot":"","sources":["../src/PlatformUtils.web.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"PlatformUtils.web.js","sourceRoot":"","sources":["../src/PlatformUtils.web.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,wBAAwB,GAAG,KAAK,CAAC;AAE9C,MAAM,UAAU,cAAc;IAC5B,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,MAAM,UAAU,YAAY;IAC1B,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,yCAAyC;AACzC,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC","sourcesContent":["export const IS_ENV_WITH_LOCAL_ASSETS = false;\n\nexport function getLocalAssets(): Record<string, string> {\n return {};\n}\n\nexport function getManifest2() {\n return {};\n}\n\n// Compute manifest base URL if available\nexport const manifestBaseUrl = null;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-asset",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.10",
|
|
4
4
|
"description": "An Expo universal module to download assets and pass them into other APIs",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"expo": "*"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "0d1a3567cb0fce9c54e1185654be88bd0c7842d4"
|
|
52
52
|
}
|
package/src/PlatformUtils.web.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const IS_ENV_WITH_LOCAL_ASSETS = false;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
export const manifestBaseUrl = null;
|
|
5
|
-
|
|
6
|
-
export function getManifest() {
|
|
3
|
+
export function getLocalAssets(): Record<string, string> {
|
|
7
4
|
return {};
|
|
8
5
|
}
|
|
9
6
|
|
|
10
7
|
export function getManifest2() {
|
|
11
8
|
return {};
|
|
12
9
|
}
|
|
10
|
+
|
|
11
|
+
// Compute manifest base URL if available
|
|
12
|
+
export const manifestBaseUrl = null;
|