catalyst-core 0.0.3-canary.2 → 0.0.3-canary.3

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 (107) hide show
  1. package/babel.config.js +32 -0
  2. package/changelog.md +9 -27
  3. package/dist/native/androidProject/.idea/deploymentTargetSelector.xml +8 -0
  4. package/dist/native/androidProject/app/build/generated/source/buildConfig/debug/com/example/androidProject/BuildConfig.java +2 -2
  5. package/dist/native/androidProject/app/build/intermediates/apk/debug/app-debug.apk +0 -0
  6. package/dist/native/androidProject/app/build/intermediates/apk/debug/baselineProfiles/0/app-debug.dm +0 -0
  7. package/dist/native/androidProject/app/build/intermediates/apk/debug/baselineProfiles/1/app-debug.dm +0 -0
  8. package/dist/native/androidProject/app/build/intermediates/apk/debug/output-metadata.json +16 -0
  9. package/dist/native/androidProject/app/build/intermediates/assets/debug/mergeDebugAssets/webview_config.properties +2 -2
  10. package/dist/native/androidProject/app/build/intermediates/binary_art_profile/debug/compileDebugArtProfile/baseline.prof +0 -0
  11. package/dist/native/androidProject/app/build/intermediates/binary_art_profile_metadata/debug/compileDebugArtProfile/baseline.profm +0 -0
  12. package/dist/native/androidProject/app/build/intermediates/combined_art_profile/debug/compileDebugArtProfile/baseline-prof.txt +1342 -0
  13. package/dist/native/androidProject/app/build/intermediates/compressed_assets/debug/compressDebugAssets/out/assets/webview_config.properties.jar +0 -0
  14. package/dist/native/androidProject/app/build/intermediates/d8_metadata/debug/mergeDexDebug/out.jar +1 -0
  15. package/dist/native/androidProject/app/build/intermediates/dex/debug/mergeDexDebug/classes.dex +0 -0
  16. package/dist/native/androidProject/app/build/intermediates/dex_metadata_directory/debug/compileDebugArtProfile/0/.dm +0 -0
  17. package/dist/native/androidProject/app/build/intermediates/dex_metadata_directory/debug/compileDebugArtProfile/1/.dm +0 -0
  18. package/dist/native/androidProject/app/build/intermediates/dex_metadata_directory/debug/compileDebugArtProfile/dex-metadata-map.properties +5 -0
  19. package/dist/native/androidProject/app/build/intermediates/external_libs_dex/debug/mergeExtDexDebug/classes.dex +0 -0
  20. package/dist/native/androidProject/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt +2 -14
  21. package/dist/native/androidProject/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/androidResources +0 -0
  22. package/dist/native/androidProject/app/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/example/androidProject/BuildConfig.class +0 -0
  23. package/dist/native/androidProject/app/build/intermediates/linked_resources_binary_format/debug/processDebugResources/linked-resources-binary-format-debug.ap_ +0 -0
  24. package/dist/native/androidProject/app/build/intermediates/manifest_merge_blame_file/debug/processDebugMainManifest/manifest-merger-blame-debug-report.txt +98 -95
  25. package/dist/native/androidProject/app/build/intermediates/merged_art_profile/debug/mergeDebugArtProfile/baseline-prof.txt +1342 -0
  26. package/dist/native/androidProject/app/build/intermediates/merged_manifest/debug/processDebugMainManifest/AndroidManifest.xml +4 -1
  27. package/dist/native/androidProject/app/build/intermediates/merged_manifests/debug/processDebugManifest/AndroidManifest.xml +4 -1
  28. package/dist/native/androidProject/app/build/intermediates/metadata_library_dependencies_report/debug/collectDebugDependencies/dependencies.pb +0 -0
  29. package/dist/native/androidProject/app/build/intermediates/optimized_processed_res/debug/optimizeDebugResources/output-metadata.json +20 -0
  30. package/dist/native/androidProject/app/build/intermediates/optimized_processed_res/debug/optimizeDebugResources/resources-debug-optimize.ap_ +0 -0
  31. package/dist/native/androidProject/app/build/intermediates/packaged_manifests/debug/processDebugManifestForPackage/AndroidManifest.xml +4 -1
  32. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/bdb298b9df351e4ff2e214ec7e399c1c1170e7b31e799763dc6ad8e5b79a36d3_0.jar +0 -0
  33. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/bdb298b9df351e4ff2e214ec7e399c1c1170e7b31e799763dc6ad8e5b79a36d3_1.jar +0 -0
  34. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/bdb298b9df351e4ff2e214ec7e399c1c1170e7b31e799763dc6ad8e5b79a36d3_2.jar +0 -0
  35. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/bdb298b9df351e4ff2e214ec7e399c1c1170e7b31e799763dc6ad8e5b79a36d3_3.jar +0 -0
  36. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/bdb298b9df351e4ff2e214ec7e399c1c1170e7b31e799763dc6ad8e5b79a36d3_4.jar +0 -0
  37. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/BuildConfig.dex +0 -0
  38. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity$AndroidConfig.dex +0 -0
  39. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity$onCreate$4.dex +0 -0
  40. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity$setupWebView$2$shouldInterceptRequest$1.dex +0 -0
  41. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity$setupWebView$2.dex +0 -0
  42. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity$setupWebView$3.dex +0 -0
  43. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity.dex +0 -0
  44. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/databinding/ActivityMainBinding.dex +0 -0
  45. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$CacheEntry.dex +0 -0
  46. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$CacheMetadata.dex +0 -0
  47. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$cleanup$2$invokeSuspend$$inlined$sortedBy$1.dex +0 -0
  48. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$cleanup$2$invokeSuspend$$inlined$sortedBy$2.dex +0 -0
  49. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$cleanup$2.dex +0 -0
  50. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$fetchAndCacheResource$2$2.dex +0 -0
  51. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$fetchAndCacheResource$2.dex +0 -0
  52. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$generateCacheKey$1.dex +0 -0
  53. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$getCachedResponse$2.dex +0 -0
  54. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$revalidateInBackground$1.dex +0 -0
  55. package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager.dex +0 -0
  56. package/dist/native/androidProject/app/build/intermediates/sdk_dependency_data/debug/sdkDebugDependencyData/sdkDependencyData.pb +0 -0
  57. package/dist/native/androidProject/app/build/intermediates/stable_resource_ids_file/debug/processDebugResources/stableIds.txt +1653 -1653
  58. package/dist/native/androidProject/app/build/intermediates/version_control_info_file/debug/extractDebugVersionControlInfo/version-control-info.textproto +1 -0
  59. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  60. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  61. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  62. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  63. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab +0 -0
  64. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.values.at +0 -0
  65. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  66. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  67. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  68. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  69. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  70. package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  71. package/dist/native/androidProject/app/build/outputs/logs/manifest-merger-debug-report.txt +15 -4
  72. package/dist/native/androidProject/app/build/outputs/sdk-dependencies/debug/sdkDependencies.txt +1226 -0
  73. package/dist/native/androidProject/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/BuildConfig.class.uniqueId0 +0 -0
  74. package/dist/native/androidProject/app/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  75. package/dist/native/androidProject/app/src/main/assets/webview_config.properties +1 -1
  76. package/dist/native/androidProject/app/src/main/java/com/example/myapplication/MainActivity.kt +5 -5
  77. package/dist/native/androidProject/app/src/main/java/com/example/myapplication/WebCacheManager.kt +6 -5
  78. package/dist/native/androidSetup.js +1 -1
  79. package/dist/native/buildAppAndroid.js +1 -1
  80. package/dist/native/setupEmulatorIos.js +1 -1
  81. package/dist/native/terminalProgress.js +1 -1
  82. package/dist/native/utils.js +2 -2
  83. package/dist/scripts/build.js +2 -9
  84. package/dist/scripts/devBuild.js +2 -9
  85. package/dist/scripts/devServe.js +2 -4
  86. package/dist/scripts/loadScriptsBeforeServerStarts.js +2 -2
  87. package/dist/scripts/registerAliases.js +1 -1
  88. package/dist/scripts/scriptUtils.js +2 -2
  89. package/dist/scripts/serve.js +2 -4
  90. package/dist/scripts/start.js +4 -4
  91. package/dist/server/expressServer.js +1 -1
  92. package/dist/server/renderer/document/Body.js +3 -3
  93. package/dist/server/renderer/document/Head.js +2 -2
  94. package/dist/server/renderer/extract.js +2 -2
  95. package/dist/server/renderer/handler.js +12 -6
  96. package/dist/server/renderer/index.js +1 -1
  97. package/dist/server/startServer.js +4 -3
  98. package/dist/server/utils/userAgentUtil.js +1 -1
  99. package/dist/server/utils/validator.js +1 -1
  100. package/dist/webpack/babel.config.client.js +1 -1
  101. package/dist/webpack/babel.config.ssr.js +1 -1
  102. package/dist/webpack/base.babel.js +3 -3
  103. package/dist/webpack/development.client.babel.js +2 -2
  104. package/dist/webpack/production.client.babel.js +1 -1
  105. package/dist/webpack/production.ssr.babel.js +1 -1
  106. package/package.json +6 -1
  107. package/babel.config.json +0 -21
@@ -0,0 +1,32 @@
1
+ module.exports = (api) => {
2
+ api.cache(true)
3
+
4
+ return {
5
+ presets: [
6
+ [
7
+ "@babel/preset-typescript",
8
+ {
9
+ isTSX: true,
10
+ allExtensions: true,
11
+ },
12
+ ],
13
+ [
14
+ "@babel/preset-env",
15
+ {
16
+ targets: {
17
+ node: "current",
18
+ },
19
+ },
20
+ ],
21
+ ["@babel/preset-react", { runtime: "automatic" }],
22
+ ],
23
+ compact: true,
24
+ plugins: ["@loadable/babel-plugin"],
25
+ env: {
26
+ test: {
27
+ presets: ["@babel/preset-react"],
28
+ },
29
+ },
30
+ ignore: ["__TEST__"],
31
+ }
32
+ }
package/changelog.md CHANGED
@@ -1,37 +1,19 @@
1
1
  # Changelog
2
2
 
3
- ## [0.0.3-canary.2] - 12-02-2025
3
+ ## [0.0.3-canary.3] - 06-03-2025
4
4
 
5
- ### Changes
5
+ ## Cache Management Updates
6
6
 
7
- What type of PR is this? (check all applicable)
8
-
9
- - [ ] Refactor
10
- - [x] Feature
11
- - [ ] Bug Fix
12
- - [x] Optimization
13
- - [ ] Documentation Update
14
-
15
- ## Description
16
- This PR introduces hardware acceleration support to improve performance and resource utilization. Hardware acceleration enables better processing capabilities by leveraging system hardware resources effectively.
7
+ ## Overview
8
+ This PR introduces native WebView implementations for Android, along with significant cache management improvements and bug fixes.
17
9
 
18
10
  ## Changes
19
- ### Features 🚀
20
- * Added hardware acceleration support
21
- * Optimized resource utilization
22
- * Enhanced processing capabilities
23
-
24
- ### Performance Improvements ⚡
25
- * Improved processing speed through hardware acceleration
26
- * Better resource management
27
- * Optimized system resource allocation
28
11
 
29
- ## Does this PR introduce a breaking change?
30
- - [ ] Yes
31
- - [x] No
12
+ - Increased buffer size for `BufferedInputStream` in `WebCacheManager.kt` to 32KB (32 * 1024) for optimized cache file reading
13
+ - Refactored `MainActivity.kt` to use `properties.getProperty` instead of `jsonObject.optString` for configuration values
32
14
 
33
- ## Additional Notes
34
- The hardware acceleration feature has been tested across different environments to ensure compatibility and improved performance.
15
+ ### Fixed
16
+ - Corrected prompt string in `utils.js` from "CSS pattern" to "Cache pattern"
35
17
 
36
18
  ## Version
37
- - Target version: 0.0.3-canary.2
19
+ - Target version: 0.0.3-canary.3
@@ -4,6 +4,14 @@
4
4
  <selectionStates>
5
5
  <SelectionState runConfigName="app">
6
6
  <option name="selectionMode" value="DROPDOWN" />
7
+ <DropdownSelection timestamp="2025-02-18T04:28:14.358379Z">
8
+ <Target type="DEFAULT_BOOT">
9
+ <handle>
10
+ <DeviceId pluginId="PhysicalDevice" identifier="serial=9fbee4f0" />
11
+ </handle>
12
+ </Target>
13
+ </DropdownSelection>
14
+ <DialogSelection />
7
15
  </SelectionState>
8
16
  </selectionStates>
9
17
  </component>
@@ -4,7 +4,7 @@
4
4
  package com.example.androidProject;
5
5
 
6
6
  public final class BuildConfig {
7
- public static final boolean DEBUG = Boolean.parseBoolean("true");
7
+ public static final boolean DEBUG = false;
8
8
  public static final String APPLICATION_ID = "com.example.androidProject";
9
9
  public static final String BUILD_TYPE = "debug";
10
10
  public static final int VERSION_CODE = 1;
@@ -12,5 +12,5 @@ public final class BuildConfig {
12
12
  // Field from build type: debug
13
13
  public static final Boolean ALLOW_MIXED_CONTENT = true;
14
14
  // Field from build type: debug
15
- public static final String LOCAL_IP = "192.168.3.236";
15
+ public static final String LOCAL_IP = "192.168.3.84";
16
16
  }
@@ -17,5 +17,21 @@
17
17
  }
18
18
  ],
19
19
  "elementType": "File",
20
+ "baselineProfiles": [
21
+ {
22
+ "minApi": 28,
23
+ "maxApi": 30,
24
+ "baselineProfiles": [
25
+ "baselineProfiles/1/app-debug.dm"
26
+ ]
27
+ },
28
+ {
29
+ "minApi": 31,
30
+ "maxApi": 2147483647,
31
+ "baselineProfiles": [
32
+ "baselineProfiles/0/app-debug.dm"
33
+ ]
34
+ }
35
+ ],
20
36
  "minSdkVersionForDexing": 24
21
37
  }
@@ -1,4 +1,4 @@
1
- LOCAL_IP=192.168.3.236
2
- android={\n "buildType"\: "debug",\n "sdkPath"\: "/Users/mayankmahavar/Android",\n "emulatorName"\: "testMediumPhone",\n "cachePattern"\: "*.css,*.js"\n }
1
+ LOCAL_IP=192.168.3.84
2
+ android={\n "buildType"\: "release",\n "sdkPath"\: "/Users/mayankmahavar/Android",\n "emulatorName"\: "testMediumPhone",\n "cachePattern"\: "*.css,*.js"\n }
3
3
  port=3005
4
4
  .