@redocly/replay 0.20.1 → 0.21.0-custom.1
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-BG7maSLC.js → replay-index-BrSK4nN6.js} +1 -1
- package/dist/replay-index-CezG09Cr.js +7 -0
- package/dist/replay-index-CtgaTys0.js +84 -0
- package/dist/{replay-index-BwN-9Tk1.js → replay-index-DgsuOvw3.js} +1 -1
- package/dist/{replay-index-CgcOYHQ9.js → replay-index-DvbLJO6E.js} +1 -1
- package/dist/replay-index-bBpjvqQ8.js +6288 -0
- package/dist/{replay-index-CNA8w-F_.js → replay-index-cbGr5kpz.js} +4665 -5495
- package/dist/replay-index-rAhHOPrc.js +140109 -0
- package/dist/{replay-tauri-path-DuSGakRX.js → replay-tauri-path-BWGQBmvC.js} +2 -2
- package/dist/{replay-tauri-path-mPN7LCO-.js → replay-tauri-path-CZHD1G3t.js} +1 -1
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +15 -2
- package/dist/replay.js +1 -1
- package/package.json +14 -12
- package/dist/replay-index-CYbvYpkU.js +0 -108149
- package/dist/replay-index-Czio0neV.js +0 -7
- package/dist/replay-index-DZKeaJ8u.js +0 -87
- package/dist/replay-index-UU9ttWIq.js +0 -5667
|
@@ -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-rAhHOPrc.js";
|
|
2
|
+
import { d as j, a as b, j as d } from "./replay-index-rAhHOPrc.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;
|
|
@@ -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-bBpjvqQ8.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;
|
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-bBpjvqQ8.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
|
@@ -367,7 +367,7 @@ declare interface OpenAPIParameter extends ParsedDescription {
|
|
|
367
367
|
const?: any;
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
-
declare type OpenAPIParameterLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
370
|
+
declare type OpenAPIParameterLocation = 'query' | 'header' | 'path' | 'cookie' | 'querystring';
|
|
371
371
|
|
|
372
372
|
declare type OpenAPIParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
373
373
|
|
|
@@ -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;
|
|
@@ -501,7 +503,7 @@ declare interface OpenAPISecurityScheme extends ParsedDescription {
|
|
|
501
503
|
type: 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';
|
|
502
504
|
description?: string;
|
|
503
505
|
name?: string;
|
|
504
|
-
in?: 'query' | 'header' | 'cookie';
|
|
506
|
+
in?: 'query' | 'header' | 'cookie' | 'querystring';
|
|
505
507
|
scheme?: string;
|
|
506
508
|
bearerFormat: string;
|
|
507
509
|
'x-defaultClientId'?: string;
|
|
@@ -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, x as l, S as m, T as o, z as y, B as p, y as T, C as d, D 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, B as p, y as T, C as d, D as h } from "./replay-index-rAhHOPrc.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.
|
|
3
|
+
"version": "0.21.0-custom.1",
|
|
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.1"
|
|
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.19.0",
|
|
49
|
+
"@redocly/respect-core": "2.19.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.6",
|
|
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",
|
|
@@ -85,7 +87,7 @@
|
|
|
85
87
|
"@types/react": "^19.2.7",
|
|
86
88
|
"@types/react-dom": "^19.2.3",
|
|
87
89
|
"@types/styled-components": "5.1.34",
|
|
88
|
-
"@vitejs/plugin-react-swc": "4.2.
|
|
90
|
+
"@vitejs/plugin-react-swc": "4.2.3",
|
|
89
91
|
"babel-jest": "29.7.0",
|
|
90
92
|
"identity-obj-proxy": "3.0.0",
|
|
91
93
|
"jest": "^29.7.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",
|