@redocly/replay 0.20.0 → 0.21.0-custom.0
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 +67 -0
- package/dist/replay-index-BnyCUxkf.js +94 -0
- package/dist/{replay-index-x-RoN-9E.js → replay-index-By22gr5t.js} +1 -1
- package/dist/{replay-index-CUhN6k9v.js → replay-index-DJkzB5e_.js} +9217 -4902
- package/dist/{replay-index-SH6n92re.js → replay-index-DSsG8WsX.js} +1 -1
- package/dist/replay-index-OsYOLFjW.js +139606 -0
- package/dist/{replay-index-UnDH2Zdh.js → replay-index-QUwfb7et.js} +1 -1
- package/dist/replay-index-QrPMcrlH.js +7 -0
- package/dist/replay-index-qNrVQE9x.js +6301 -0
- package/dist/{replay-tauri-path-DLRG5izi.js → replay-tauri-path-DoTdEpCx.js} +1 -1
- package/dist/{replay-tauri-path-Bgr_2LWK.js → replay-tauri-path-Hx9UNQhu.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +13 -0
- package/dist/replay.js +3 -3
- package/package.json +13 -11
- package/dist/replay-index-484u4S9t.js +0 -87
- package/dist/replay-index-C9mBzCPB.js +0 -108149
- package/dist/replay-index-D9DnzDDB.js +0 -5667
- package/dist/replay-index-DtGNbnlz.js +0 -7
|
@@ -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-qNrVQE9x.js");async function u(r,n){const t=e.sep(),l=await e.resolve(r),c=await e.resolve(n),a=l.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),i=c.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),m=Math.min(a.length,i.length);let s=0;for(let o=0;o<m&&a[o]===i[o];o++)s++;const p=a.slice(s).map(()=>".."),f=i.slice(s);return[...p,...f].join(t)}async function g(r){const n=await e.extname(r);return n?`.${n}`:""}exports.dirname=e.dirname;exports.isAbsolute=e.isAbsolute;exports.join=e.join;exports.resolve=e.resolve;exports.extname=g;exports.relative=u;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as h, r as i, e as x } from "./replay-index-
|
|
2
|
-
import { d as j,
|
|
1
|
+
import { s as h, r as i, e as x } from "./replay-index-OsYOLFjW.js";
|
|
2
|
+
import { d as j, a as b, j as d } from "./replay-index-OsYOLFjW.js";
|
|
3
3
|
async function u(n, e) {
|
|
4
4
|
const t = h(), l = await i(n), c = await i(e), o = l.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), r = c.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), m = Math.min(o.length, r.length);
|
|
5
5
|
let s = 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-qNrVQE9x.js"),t=require("./replay-oauth2-redirect-handler-Bqw5UUvl.js");exports.EmbeddedReplay=e.EmbeddedReplay;exports.Modal=e.Modal;exports.Replay=e.Replay;exports.ReplayOverlay=e.ReplayOverlay;Object.defineProperty(exports,"SpanStatusCode",{enumerable:!0,get:()=>e.SpanStatusCode});exports.TelemetryClient=e.TelemetryClient;exports.applyThemeToDOM=e.applyThemeToDOM;exports.getCurrentTheme=e.getCurrentTheme;exports.resolveTheme=e.resolveTheme;exports.useTelemetry=e.useTelemetry;exports.useTelemetryClient=e.useTelemetryClient;exports.OAuth2Error=t.OAuth2Error;exports.handleOAuth2Redirect=t.handleOAuth2Redirect;
|
package/dist/replay.d.ts
CHANGED
|
@@ -377,6 +377,8 @@ declare interface OpenAPIPath extends Partial<OpenAPIRef>, ParsedDescriptionWith
|
|
|
377
377
|
get?: OpenAPIOperation;
|
|
378
378
|
put?: OpenAPIOperation;
|
|
379
379
|
post?: OpenAPIOperation;
|
|
380
|
+
query?: OpenAPIOperation;
|
|
381
|
+
'x-query'?: OpenAPIOperation;
|
|
380
382
|
delete?: OpenAPIOperation;
|
|
381
383
|
options?: OpenAPIOperation;
|
|
382
384
|
head?: OpenAPIOperation;
|
|
@@ -674,8 +676,19 @@ declare type Response_2 = ImmutableObject<{
|
|
|
674
676
|
status: number;
|
|
675
677
|
bodyUsed: boolean;
|
|
676
678
|
arrayBuffer: ArrayBuffer;
|
|
679
|
+
download?: ResponseDownload;
|
|
680
|
+
url?: string;
|
|
677
681
|
}>;
|
|
678
682
|
|
|
683
|
+
declare type ResponseDownload = {
|
|
684
|
+
fileName: string;
|
|
685
|
+
contentType?: string;
|
|
686
|
+
contentLength?: number;
|
|
687
|
+
status: 'pending' | 'downloading' | 'declined' | 'downloaded';
|
|
688
|
+
downloadedBytes?: number;
|
|
689
|
+
totalBytes?: number;
|
|
690
|
+
};
|
|
691
|
+
|
|
679
692
|
declare type Server = {
|
|
680
693
|
url: string;
|
|
681
694
|
description?: string;
|
package/dist/replay.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as s, M as r, R as t,
|
|
1
|
+
import { E as s, M as r, R as t, A as l, S as m, T as o, C as p, D as y, B as T, F as d, G as h } from "./replay-index-OsYOLFjW.js";
|
|
2
2
|
import { O as n, h as C } from "./replay-oauth2-redirect-handler-CqKZB3aV.js";
|
|
3
3
|
export {
|
|
4
4
|
s as EmbeddedReplay,
|
|
@@ -8,8 +8,8 @@ export {
|
|
|
8
8
|
l as ReplayOverlay,
|
|
9
9
|
m as SpanStatusCode,
|
|
10
10
|
o as TelemetryClient,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
p as applyThemeToDOM,
|
|
12
|
+
y as getCurrentTheme,
|
|
13
13
|
C as handleOAuth2Redirect,
|
|
14
14
|
T as resolveTheme,
|
|
15
15
|
d as useTelemetry,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0-custom.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -15,11 +15,12 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"react": "
|
|
19
|
-
"react
|
|
20
|
-
"react-
|
|
18
|
+
"@tanstack/react-query": "5.62.3",
|
|
19
|
+
"react": "^19.2.4",
|
|
20
|
+
"react-dom": "^19.2.4",
|
|
21
|
+
"react-router-dom": "^6.30.3",
|
|
21
22
|
"styled-components": "^5.3.11",
|
|
22
|
-
"@redocly/theme": "0.
|
|
23
|
+
"@redocly/theme": "0.62.0-custom.0"
|
|
23
24
|
},
|
|
24
25
|
"dependencies": {
|
|
25
26
|
"@codemirror/autocomplete": "^6.15.0",
|
|
@@ -44,9 +45,8 @@
|
|
|
44
45
|
"@opentelemetry/api": "1.9.0",
|
|
45
46
|
"@redocly/hookstate-core": "^4.2.1",
|
|
46
47
|
"@redocly/hookstate-devtools": "^4.2.0",
|
|
47
|
-
"@redocly/
|
|
48
|
-
"@redocly/
|
|
49
|
-
"@redocly/respect-core": "2.14.3",
|
|
48
|
+
"@redocly/openapi-core": "2.17.0",
|
|
49
|
+
"@redocly/respect-core": "2.17.0",
|
|
50
50
|
"@redocly/vscode-json-languageservice": "^3.4.9",
|
|
51
51
|
"@tauri-apps/api": "2.4.1",
|
|
52
52
|
"@tauri-apps/plugin-dialog": "2.0.0-rc.1",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@uiw/codemirror-theme-material": "^4.21.20",
|
|
56
56
|
"@uiw/react-codemirror": "^4.21.20",
|
|
57
57
|
"dayjs": "^1.11.7",
|
|
58
|
-
"fast-xml-parser": "5.
|
|
58
|
+
"fast-xml-parser": "5.3.4",
|
|
59
59
|
"js-yaml": "4.1.1",
|
|
60
60
|
"json-pointer": "^0.6.2",
|
|
61
61
|
"json-schema-typed": "^8.0.1",
|
|
@@ -68,7 +68,9 @@
|
|
|
68
68
|
"react-select": "5.10.1",
|
|
69
69
|
"shellwords": "^1.1.1",
|
|
70
70
|
"styled-components": "^5.3.11",
|
|
71
|
-
"usehooks-ts": "^3.1.1"
|
|
71
|
+
"usehooks-ts": "^3.1.1",
|
|
72
|
+
"drizzle-orm": "^0.36.4",
|
|
73
|
+
"idb": "^8.0.2"
|
|
72
74
|
},
|
|
73
75
|
"devDependencies": {
|
|
74
76
|
"@babel/preset-env": "7.26.0",
|
|
@@ -101,7 +103,7 @@
|
|
|
101
103
|
},
|
|
102
104
|
"scripts": {
|
|
103
105
|
"start": "vite",
|
|
104
|
-
"build": "
|
|
106
|
+
"build": "pnpm run clean && vite build && pnpm run copy-static",
|
|
105
107
|
"copy-static": "cp src/oauth2-redirect-page/oauth2-redirect.html dist",
|
|
106
108
|
"preview": "vite preview",
|
|
107
109
|
"test": "jest",
|