@extscreen/es-core 2.3.6 → 2.3.7
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/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1941,7 +1941,11 @@ class ESLocalStorage {
|
|
1941
1941
|
if (ESManager$1.getESSDKVersionCode() >= ES_SDK_VERSION_22) {
|
1942
1942
|
return ESSharedPreferencesModule$1.initESSharedPreferences('local_storage');
|
1943
1943
|
} else {
|
1944
|
-
|
1944
|
+
let packageName = ESManager$1.getESPackageName();
|
1945
|
+
if (!packageName) {
|
1946
|
+
packageName = 'es';
|
1947
|
+
}
|
1948
|
+
return ESSharedPreferencesModule$1.initSharedPreferences(packageName + '_local_storage');
|
1945
1949
|
}
|
1946
1950
|
}
|
1947
1951
|
|