@redocly/replay 0.17.0-next.0 → 0.17.0-next.2
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-BBrtgtIt.js +123 -0
- package/dist/{replay-index-BaGBer3W.js → replay-index-C6E-wkav.js} +1721 -1693
- package/dist/{replay-index-T1paGTuD.js → replay-index-DYgi8yaI.js} +1 -1
- package/dist/{replay-index-qlYnx-VZ.js → replay-index-DheclqMn.js} +15792 -15709
- package/dist/{replay-index-CfY8HnsL.js → replay-index-Du9uyOWw.js} +1 -1
- package/dist/{replay-index-DQJtLoQQ.js → replay-index-fLMU6mIh.js} +731 -731
- package/dist/replay-tauri-path-6y-cF6TC.js +16 -0
- package/dist/{replay-tauri-path-DYfxlVPc.js → replay-tauri-path-Cgv7LfkP.js} +1 -1
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +12 -0
- package/dist/replay.js +1 -1
- package/package.json +4 -4
- package/dist/replay-index-BG3jjHS9.js +0 -123
- package/dist/replay-tauri-path-CMijGZN8.js +0 -16
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { n as h, o as r } from "./replay-index-DheclqMn.js";
|
|
2
|
+
import { u as w, q as b } from "./replay-index-DheclqMn.js";
|
|
3
|
+
async function x(s, i) {
|
|
4
|
+
const t = h(), l = await r(s), c = await r(i), o = l.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), n = c.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), p = Math.min(o.length, n.length);
|
|
5
|
+
let a = 0;
|
|
6
|
+
for (let e = 0; e < p && o[e] === n[e]; e++)
|
|
7
|
+
a++;
|
|
8
|
+
const f = o.slice(a).map(() => ".."), m = n.slice(a);
|
|
9
|
+
return [...f, ...m].join(t);
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
w as isAbsolute,
|
|
13
|
+
b as join,
|
|
14
|
+
x as relative,
|
|
15
|
+
r as resolve
|
|
16
|
+
};
|
|
@@ -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-fLMU6mIh.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;
|
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-fLMU6mIh.js");exports.EmbeddedReplay=e.EmbeddedReplay;exports.Modal=e.Modal;exports.Replay=e.Replay;exports.ReplayOverlay=e.ReplayOverlay;
|
package/dist/replay.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ declare type InputSettings = {
|
|
|
75
75
|
storageKey?: string;
|
|
76
76
|
convertOperationToReplayValue?: ConvertOperationFunction;
|
|
77
77
|
getOperationUrl?: GetOperationURLFunction;
|
|
78
|
+
onRequestReset?: () => void;
|
|
78
79
|
telemetry?: {
|
|
79
80
|
tracerName?: TracerName;
|
|
80
81
|
collectorUrl?: string;
|
|
@@ -546,6 +547,17 @@ export declare type OperationSecurity = {
|
|
|
546
547
|
'x-defaultClientSecret'?: string;
|
|
547
548
|
'x-defaultUsername'?: string;
|
|
548
549
|
'x-defaultPassword'?: string;
|
|
550
|
+
serverValues?: {
|
|
551
|
+
[serverUrl: string]: {
|
|
552
|
+
'x-defaultAccessToken'?: string;
|
|
553
|
+
'x-defaultTokenType'?: string;
|
|
554
|
+
'x-defaultClientId'?: string;
|
|
555
|
+
'x-defaultClientSecret'?: string;
|
|
556
|
+
'x-defaultUsername'?: string;
|
|
557
|
+
'x-defaultPassword'?: string;
|
|
558
|
+
scopes?: string[];
|
|
559
|
+
};
|
|
560
|
+
};
|
|
549
561
|
};
|
|
550
562
|
|
|
551
563
|
declare interface ParsedDescription {
|
package/dist/replay.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.17.0-next.
|
|
3
|
+
"version": "0.17.0-next.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"react-dom": "^19.1.0",
|
|
20
20
|
"react-router-dom": "^6.21.1",
|
|
21
21
|
"styled-components": "^5.3.11",
|
|
22
|
-
"@redocly/theme": "0.58.0-next.
|
|
22
|
+
"@redocly/theme": "0.58.0-next.1"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@codemirror/autocomplete": "^6.15.0",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@redocly/hookstate-core": "^4.2.0",
|
|
36
36
|
"@redocly/hookstate-devtools": "^4.2.0",
|
|
37
37
|
"@redocly/hookstate-localstored": "^4.0.2",
|
|
38
|
-
"@redocly/openapi-core": "2.0
|
|
39
|
-
"@redocly/respect-core": "2.0
|
|
38
|
+
"@redocly/openapi-core": "2.1.0",
|
|
39
|
+
"@redocly/respect-core": "2.1.0",
|
|
40
40
|
"@redocly/vscode-json-languageservice": "^3.4.9",
|
|
41
41
|
"@tauri-apps/api": "2.4.1",
|
|
42
42
|
"@tauri-apps/plugin-dialog": "2.0.0-rc.1",
|