@route-forge/core 2.2.0 → 2.2.1
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/README.md +1 -1
- package/README_zh.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/route-forge.global.js +1 -1
- package/dist/route-forge.global.js.map +1 -1
- package/dist/route-forge.global.min.js +1 -1
- package/package.json +1 -1
|
@@ -1092,7 +1092,7 @@ var RouteForge = (function (exports) {
|
|
|
1092
1092
|
// src/forge.ts
|
|
1093
1093
|
var DEFAULT_TIMEOUT = 3e4;
|
|
1094
1094
|
var DEFAULT_CACHE_TTL = 3600;
|
|
1095
|
-
function createRouteForge(options) {
|
|
1095
|
+
function createRouteForge(options = {}) {
|
|
1096
1096
|
const bootstrapSummary = readEmbeddedSummary() ?? options.summary ?? null;
|
|
1097
1097
|
if (!bootstrapSummary && !options.endpoint) {
|
|
1098
1098
|
throw new TypeError(
|