react-native-bundle-discovery 2.5.0-rc.2 → 2.6.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-bundle-discovery",
3
- "version": "2.5.0-rc.2",
3
+ "version": "2.6.0",
4
4
  "main": "index.js",
5
5
  "repository": "git@github.com:retyui/react-native-bundle-discovery.git",
6
6
  "author": "David <4661784+retyui@users.noreply.github.com>",
@@ -1,6 +1,6 @@
1
1
  const DEFAULT_REGISTRY = "https://registry.npmjs.org";
2
- const DEFAULT_TIMEOUT_MS = 1_000;
3
- const DEFAULT_CONCURRENCY = 8;
2
+ const DEFAULT_TIMEOUT_MS = 5_000;
3
+ const DEFAULT_CONCURRENCY = 5;
4
4
 
5
5
  // Simple in-memory cache: `${registry}|${name}` -> Promise<packument summary | null>
6
6
  // Keeps promises (not values) so concurrent lookups of the same package share one request,