@redocly/replay 0.15.0-next.2 → 0.15.0-next.4
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-DPkiELuK.js → replay-index-D-6zcV9C.js} +20589 -17789
- package/dist/{replay-index-CXikR786.js → replay-index-DMMY9ELK.js} +596 -596
- package/dist/{replay-tauri-path-B45skEyq.js → replay-tauri-path-B9BBZS9P.js} +1 -1
- package/dist/{replay-tauri-path-BWle8mZY.js → replay-tauri-path-CchFT2-w.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +8 -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-DMMY9ELK.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-D-6zcV9C.js";
|
|
2
|
+
import { i as j, j as u } from "./replay-index-D-6zcV9C.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-DMMY9ELK.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'?: {
|
|
@@ -569,6 +573,7 @@ export declare function Replay(props: ReplayAppProps): JSX.Element;
|
|
|
569
573
|
|
|
570
574
|
declare type ReplayAppProps = {
|
|
571
575
|
activeOperationId?: string;
|
|
576
|
+
activeOperationPointer?: string;
|
|
572
577
|
api?: OpenAPIDefinition;
|
|
573
578
|
settings: InputSettings;
|
|
574
579
|
};
|
|
@@ -616,6 +621,8 @@ declare type ServerVariable = {
|
|
|
616
621
|
description?: string;
|
|
617
622
|
};
|
|
618
623
|
|
|
624
|
+
declare type TracerName = 'try-it' | 'replay-openapi' | 'desktop';
|
|
625
|
+
|
|
619
626
|
export declare const utils: {
|
|
620
627
|
openFile: typeof openFile;
|
|
621
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.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
"react-resizable-panels": "2.1.7",
|
|
51
51
|
"react-select": "5.10.1",
|
|
52
52
|
"styled-components": "^5.3.11",
|
|
53
|
-
"usehooks-ts": "^3.1.1"
|
|
53
|
+
"usehooks-ts": "^3.1.1",
|
|
54
|
+
"@redocly/replay-asyncapi-sdk": "0.0.1"
|
|
54
55
|
},
|
|
55
56
|
"devDependencies": {
|
|
56
57
|
"@babel/preset-env": "7.26.0",
|