@redocly/replay 0.22.0-next.6 → 0.22.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/dist/{replay-index-CYIkBu8t.js → replay-index-BQjkPm-4.js} +1494 -1075
- package/dist/replay-index-C6SJPGDO.js +23 -0
- package/dist/{replay-index-DZu-s2J_.js → replay-index-CJ1EEOaR.js} +1 -1
- package/dist/replay-index-CUs62_1f.js +1 -0
- package/dist/{replay-index-C2Vpdzun.js → replay-index-CUxi5-YC.js} +35586 -34279
- package/dist/{replay-index-a6d3BHVk.js → replay-index-CdFE3_ff.js} +1 -1
- package/dist/{replay-index-C3y7x59B.js → replay-index-X1kAn__B.js} +1 -1
- package/dist/{replay-index-2-WYQ2Sk.js → replay-index-wwCyvNyz.js} +1 -1
- package/dist/{replay-tauri-path-GDISESnM.js → replay-tauri-path-B-dUSNok.js} +1 -1
- package/dist/{replay-tauri-path-K7amcLaC.js → replay-tauri-path-BRIgwMG7.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +3 -0
- package/dist/replay.js +1 -1
- package/package.json +9 -5
- package/dist/replay-index-Bif1zEXI.js +0 -1
- package/dist/replay-index-CXQ4uInb.js +0 -21
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as Ii, t as Ro, c as ou, p as Su, f as Ho, g as Uu, B as Go, h as j0, k as Na, l as Ra, m as Vo, n as _o, o as Jo, q as $o, u as Io, v as Oo, A as Oi, w as $e } from "./replay-index-
|
|
1
|
+
import { b as Ii, t as Ro, c as ou, p as Su, f as Ho, g as Uu, B as Go, h as j0, k as Na, l as Ra, m as Vo, n as _o, o as Jo, q as $o, u as Io, v as Oo, A as Oi, w as $e } from "./replay-index-CUxi5-YC.js";
|
|
2
2
|
async function Wo(u) {
|
|
3
3
|
const { descriptionPath: a, externalRefResolver: e, base: i } = u, r = await Ii({
|
|
4
4
|
base: i,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./replay-index-BQjkPm-4.js");async function n(e={}){return typeof e=="object"&&Object.freeze(e),await t.invoke("plugin:dialog|open",{options:e})}exports.open=n;
|
|
@@ -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-BQjkPm-4.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, a as b, j as d } from "./replay-index-
|
|
1
|
+
import { s as h, r as i, e as x } from "./replay-index-CUxi5-YC.js";
|
|
2
|
+
import { d as j, a as b, j as d } from "./replay-index-CUxi5-YC.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-BQjkPm-4.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
|
@@ -88,6 +88,7 @@ declare type InputSettings = {
|
|
|
88
88
|
onRequestReset?: () => void;
|
|
89
89
|
telemetry?: TelemetryConfig;
|
|
90
90
|
hideOtherSecuritySchemes?: boolean;
|
|
91
|
+
aiEnabled?: boolean;
|
|
91
92
|
};
|
|
92
93
|
|
|
93
94
|
declare type MediaType = {
|
|
@@ -127,6 +128,8 @@ declare type ModalProps = {
|
|
|
127
128
|
content: ReactElement;
|
|
128
129
|
mountId?: string;
|
|
129
130
|
className?: string;
|
|
131
|
+
fixedTop?: boolean;
|
|
132
|
+
topOffset?: number;
|
|
130
133
|
};
|
|
131
134
|
|
|
132
135
|
export declare class OAuth2Error extends Error {
|
package/dist/replay.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as s, M as r, R as t, x as l, S as m, T as o, z as y, C as p, y as T, D as d, F as h } from "./replay-index-
|
|
1
|
+
import { E as s, M as r, R as t, x as l, S as m, T as o, z as y, C as p, y as T, D as d, F as h } from "./replay-index-CUxi5-YC.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.22.0-next.
|
|
3
|
+
"version": "0.22.0-next.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -20,9 +20,11 @@
|
|
|
20
20
|
"react-dom": "^19.2.4",
|
|
21
21
|
"react-router-dom": "^6.30.3",
|
|
22
22
|
"styled-components": "^5.3.11",
|
|
23
|
-
"@redocly/theme": "0.63.0-next.
|
|
23
|
+
"@redocly/theme": "0.63.0-next.5"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
+
"@ai-sdk/provider": "3.0.0",
|
|
27
|
+
"@ai-sdk/google": "3.0.1",
|
|
26
28
|
"@codemirror/autocomplete": "^6.15.0",
|
|
27
29
|
"@codemirror/lang-html": "^6.4.7",
|
|
28
30
|
"@codemirror/lang-java": "^6.0.2",
|
|
@@ -45,8 +47,8 @@
|
|
|
45
47
|
"@opentelemetry/api": "1.9.0",
|
|
46
48
|
"@redocly/hookstate-core": "^4.2.1",
|
|
47
49
|
"@redocly/hookstate-devtools": "^4.2.0",
|
|
48
|
-
"@redocly/openapi-core": "2.20.
|
|
49
|
-
"@redocly/respect-core": "2.20.
|
|
50
|
+
"@redocly/openapi-core": "2.20.4",
|
|
51
|
+
"@redocly/respect-core": "2.20.4",
|
|
50
52
|
"@redocly/vscode-json-languageservice": "^3.4.9",
|
|
51
53
|
"@tauri-apps/api": "2.4.1",
|
|
52
54
|
"@tauri-apps/plugin-dialog": "2.0.0-rc.1",
|
|
@@ -54,6 +56,7 @@
|
|
|
54
56
|
"@tauri-apps/plugin-opener": "^2.5.2",
|
|
55
57
|
"@uiw/codemirror-theme-material": "^4.21.20",
|
|
56
58
|
"@uiw/react-codemirror": "^4.21.20",
|
|
59
|
+
"ai": "6.0.111",
|
|
57
60
|
"dayjs": "^1.11.7",
|
|
58
61
|
"fast-xml-parser": "5.4.1",
|
|
59
62
|
"js-yaml": "4.1.1",
|
|
@@ -70,7 +73,8 @@
|
|
|
70
73
|
"styled-components": "^5.3.11",
|
|
71
74
|
"usehooks-ts": "^3.1.1",
|
|
72
75
|
"drizzle-orm": "^0.36.4",
|
|
73
|
-
"idb": "^8.0.2"
|
|
76
|
+
"idb": "^8.0.2",
|
|
77
|
+
"zod": "^3.25.76"
|
|
74
78
|
},
|
|
75
79
|
"devDependencies": {
|
|
76
80
|
"@babel/preset-env": "7.26.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-CYIkBu8t.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;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { i } from "./replay-index-C2Vpdzun.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
|
-
};
|