@redocly/replay 0.21.0-next.5 → 0.21.0-next.7
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-D1pvxroO.js → replay-index-B6bKiFRr.js} +1 -1
- package/dist/replay-index-BU3oGsTj.js +7 -0
- package/dist/{replay-index-C08g85Oi.js → replay-index-Bej8aix1.js} +32347 -26786
- package/dist/replay-index-C6SJPGDO.js +23 -0
- package/dist/replay-index-CUs62_1f.js +1 -0
- package/dist/replay-index-DFXgPvXz.js +5938 -0
- package/dist/{replay-index-ESRX18Ei.js → replay-index-DQA_4W1i.js} +65 -61
- package/dist/{replay-index-D0VtRPVf.js → replay-index-Nxa5nZIL.js} +15 -15
- package/dist/{replay-tauri-path-_Vv5AJrJ.js → replay-tauri-path-CcSoJPsw.js} +1 -1
- package/dist/{replay-tauri-path-RQoessFo.js → replay-tauri-path-WmhyKsXs.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +13 -0
- package/dist/replay.js +1 -1
- package/package.json +10 -8
- package/dist/replay-index-BO2r8LPv.js +0 -21
- package/dist/replay-index-CfkCVV2n.js +0 -1
- package/dist/replay-index-Du5RShf0.js +0 -5661
- package/dist/replay-index-uwHgoGUw.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-DFXgPvXz.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-Bej8aix1.js";
|
|
2
|
+
import { d as j, a as b, j as d } from "./replay-index-Bej8aix1.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-DFXgPvXz.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, 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-
|
|
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-Bej8aix1.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,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.21.0-next.
|
|
3
|
+
"version": "0.21.0-next.7",
|
|
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
|
|
18
|
+
"@tanstack/react-query": "5.62.3",
|
|
19
|
+
"react": "19.2.4",
|
|
20
|
+
"react-dom": "19.2.4",
|
|
20
21
|
"react-router-dom": "^6.21.1",
|
|
21
22
|
"styled-components": "^5.3.11",
|
|
22
|
-
"@redocly/theme": "0.62.0-next.
|
|
23
|
+
"@redocly/theme": "0.62.0-next.5"
|
|
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": "0.0.0-snapshot.1769415576",
|
|
48
|
+
"@redocly/openapi-core": "0.0.0-snapshot.1769511679",
|
|
49
|
+
"@redocly/respect-core": "0.0.0-snapshot.1769511679",
|
|
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",
|
|
@@ -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",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { z as i } from "./replay-index-C08g85Oi.js";
|
|
2
|
-
async function o(n, e) {
|
|
3
|
-
await i("plugin:opener|open_url", {
|
|
4
|
-
url: n,
|
|
5
|
-
with: e
|
|
6
|
-
});
|
|
7
|
-
}
|
|
8
|
-
async function r(n, e) {
|
|
9
|
-
await i("plugin:opener|open_path", {
|
|
10
|
-
path: n,
|
|
11
|
-
with: e
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
async function p(n) {
|
|
15
|
-
return i("plugin:opener|reveal_item_in_dir", { paths: typeof n == "string" ? [n] : n });
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
r as openPath,
|
|
19
|
-
o as openUrl,
|
|
20
|
-
p as revealItemInDir
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-Du5RShf0.js");async function t(e,n){await i.invoke("plugin:opener|open_url",{url:e,with:n})}async function o(e,n){await i.invoke("plugin:opener|open_path",{path:e,with:n})}async function r(e){const n=typeof e=="string"?[e]:e;return i.invoke("plugin:opener|reveal_item_in_dir",{paths:n})}exports.openPath=o;exports.openUrl=t;exports.revealItemInDir=r;
|