@fern-api/generator-cli 0.9.39 → 0.9.41
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/api.d.ts +1 -1
- package/dist/api.js +7 -3
- package/dist/cli.js +600 -262
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -486,7 +486,7 @@ interface ReplayForgetParams {
|
|
|
486
486
|
/** Options controlling which patches to forget */
|
|
487
487
|
options?: ForgetOptions;
|
|
488
488
|
}
|
|
489
|
-
declare function replayForget(params: ReplayForgetParams): ForgetResult
|
|
489
|
+
declare function replayForget(params: ReplayForgetParams): Promise<ForgetResult>;
|
|
490
490
|
|
|
491
491
|
interface ReplayInitParams {
|
|
492
492
|
/** GitHub repo URI (e.g., "fern-demo/fern-replay-testbed-java-sdk") */
|
package/dist/api.js
CHANGED
|
@@ -6,7 +6,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __commonJS = (cb, mod) => function __require() {
|
|
9
|
-
|
|
9
|
+
try {
|
|
10
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
11
|
+
} catch (e) {
|
|
12
|
+
throw mod = 0, e;
|
|
13
|
+
}
|
|
10
14
|
};
|
|
11
15
|
var __export = (target, all) => {
|
|
12
16
|
for (var name in all)
|
|
@@ -11974,7 +11978,7 @@ async function githubRelease(params) {
|
|
|
11974
11978
|
|
|
11975
11979
|
// src/replay/replay-forget.ts
|
|
11976
11980
|
var import_replay = require("@fern-api/replay");
|
|
11977
|
-
function replayForget(params) {
|
|
11981
|
+
async function replayForget(params) {
|
|
11978
11982
|
return (0, import_replay.forget)(params.outputDir, params.options);
|
|
11979
11983
|
}
|
|
11980
11984
|
|
|
@@ -12293,7 +12297,7 @@ var ReplayPrepareError = class extends Error {
|
|
|
12293
12297
|
if (Error.captureStackTrace) {
|
|
12294
12298
|
Error.captureStackTrace(this, this.constructor);
|
|
12295
12299
|
}
|
|
12296
|
-
this.name =
|
|
12300
|
+
this.name = "ReplayPrepareError";
|
|
12297
12301
|
this.reason = reason;
|
|
12298
12302
|
}
|
|
12299
12303
|
};
|