@redocly/replay 0.15.0-next.3 → 0.15.0-next.5
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/{replay-index-Q3G_Qf-S.js → replay-index-BMTPFdt6.js} +20572 -17780
- package/dist/{replay-index-BgGCtcyP.js → replay-index-BjBQjvUm.js} +596 -596
- package/dist/{replay-tauri-path-BO9QXjr_.js → replay-tauri-path-BvmNlW_D.js} +1 -1
- package/dist/{replay-tauri-path-dJlzh-bS.js → replay-tauri-path-C3Vbqpem.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +7 -1
- package/dist/replay.js +1 -1
- package/package.json +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-BjBQjvUm.js");async function v(i,l){const t=e.sep(),a=await e.resolve(i),c=await e.resolve(l),r=a.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),n=c.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),p=Math.min(r.length,n.length);let s=0;for(let o=0;o<p&&r[o]===n[o];o++)s++;const f=r.slice(s).map(()=>".."),g=n.slice(s);return[...f,...g].join(t)}exports.isAbsolute=e.isAbsolute;exports.join=e.join;exports.resolve=e.resolve;exports.relative=v;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as h, r } from "./replay-index-
|
|
2
|
-
import { i as j, j as u } from "./replay-index-
|
|
1
|
+
import { s as h, r } from "./replay-index-BMTPFdt6.js";
|
|
2
|
+
import { i as j, j as u } from "./replay-index-BMTPFdt6.js";
|
|
3
3
|
async function x(s, i) {
|
|
4
4
|
const t = h(), l = await r(s), c = await r(i), o = l.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), a = c.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), p = Math.min(o.length, a.length);
|
|
5
5
|
let n = 0;
|
package/dist/replay.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-BjBQjvUm.js");exports.EmbeddedReplay=e.EmbeddedReplay;exports.Modal=e.Modal;exports.Replay=e.Replay;exports.ReplayOverlay=e.ReplayOverlay;exports.utils=e.utils;
|
package/dist/replay.d.ts
CHANGED
|
@@ -76,6 +76,10 @@ declare type InputSettings = {
|
|
|
76
76
|
storageKey?: string;
|
|
77
77
|
convertOperationToReplayValue?: ConvertOperationFunction;
|
|
78
78
|
getOperationUrl?: GetOperationURLFunction;
|
|
79
|
+
telemetry?: {
|
|
80
|
+
tracerName?: TracerName;
|
|
81
|
+
collectorUrl?: string;
|
|
82
|
+
};
|
|
79
83
|
};
|
|
80
84
|
|
|
81
85
|
declare type MediaType = {
|
|
@@ -339,7 +343,7 @@ declare interface OpenAPIRef extends ParsedDescriptionWithSummary {
|
|
|
339
343
|
declare interface OpenAPIRequestBody extends ParsedDescription {
|
|
340
344
|
description?: string;
|
|
341
345
|
required?: boolean;
|
|
342
|
-
content
|
|
346
|
+
content?: {
|
|
343
347
|
[mime: string]: OpenAPIMediaType;
|
|
344
348
|
};
|
|
345
349
|
'x-examples'?: {
|
|
@@ -617,6 +621,8 @@ declare type ServerVariable = {
|
|
|
617
621
|
description?: string;
|
|
618
622
|
};
|
|
619
623
|
|
|
624
|
+
declare type TracerName = 'try-it' | 'replay-openapi' | 'desktop';
|
|
625
|
+
|
|
620
626
|
export declare const utils: {
|
|
621
627
|
openFile: typeof openFile;
|
|
622
628
|
getAbsoluteProjectDir: typeof getAbsoluteProjectDir;
|
package/dist/replay.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.15.0-next.
|
|
3
|
+
"version": "0.15.0-next.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -78,7 +78,8 @@
|
|
|
78
78
|
"typescript": "5.6.2",
|
|
79
79
|
"vite": "5.4.19",
|
|
80
80
|
"vite-plugin-dts": "^4.4.0",
|
|
81
|
-
"vite-tsconfig-paths": "4.3.2"
|
|
81
|
+
"vite-tsconfig-paths": "4.3.2",
|
|
82
|
+
"@redocly/replay-asyncapi-sdk": "0.0.1"
|
|
82
83
|
},
|
|
83
84
|
"scripts": {
|
|
84
85
|
"start": "vite",
|