@redocly/replay 0.29.0-next.4 → 0.29.0-next.5

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.
Files changed (59) hide show
  1. package/dist/oauth2-redirect.cjs +1 -1
  2. package/dist/oauth2-redirect.js +1 -1
  3. package/dist/{replay-AiChatProvider-GWJ-n-vh.js → replay-AiChatProvider-CMWF3IYp.js} +1 -1
  4. package/dist/{replay-AiChatProvider-DR7NuYZo.js → replay-AiChatProvider-DUR0_fHq.js} +6 -6
  5. package/dist/{replay-AiChatSqliteDBStorage-BFkOn15p.js → replay-AiChatSqliteDBStorage-CEltYx94.js} +1 -1
  6. package/dist/{replay-AiChatSqliteDBStorage--C03eLtv.js → replay-AiChatSqliteDBStorage-CITb7hSz.js} +1 -1
  7. package/dist/{replay-AiPanel-1tEi12j1.js → replay-AiPanel-CYHXUjMI.js} +1 -1
  8. package/dist/{replay-AiPanel-CXIw_O8d.js → replay-AiPanel-DbiJfTWy.js} +4 -4
  9. package/dist/{replay-FileWatcher-B9PZyA8D.js → replay-FileWatcher-Bs6dX18v.js} +1 -1
  10. package/dist/{replay-FileWatcher-SUnXmGod.js → replay-FileWatcher-Ds_JSG57.js} +2 -2
  11. package/dist/{replay-SemanticSearchService-BGg8Dbuq.js → replay-SemanticSearchService-CdF1TQ_0.js} +1 -1
  12. package/dist/{replay-SemanticSearchService-vr1hqPU7.js → replay-SemanticSearchService-CeHFhNDz.js} +1 -1
  13. package/dist/{replay-SqliteDBStorage-lUh6lJSO.js → replay-SqliteDBStorage-BFfjCMEn.js} +1 -1
  14. package/dist/{replay-SqliteDBStorage-DcIA3sjg.js → replay-SqliteDBStorage-BRc6vHai.js} +1 -1
  15. package/dist/{replay-TauriFileSystemAdapter-wAZBliTE.js → replay-TauriFileSystemAdapter-OQ2SMUiS.js} +1 -1
  16. package/dist/{replay-TauriFileSystemAdapter-C2c2Qy4S.js → replay-TauriFileSystemAdapter-Z0n8Fot4.js} +1 -1
  17. package/dist/{replay-TauriRootStorage-CwVriXnS.js → replay-TauriRootStorage-C9pPtxdD.js} +2 -2
  18. package/dist/{replay-TauriRootStorage-olGW7jq5.js → replay-TauriRootStorage-CIPk_4D6.js} +1 -1
  19. package/dist/{replay-agent-loop-QLgzMDfU.js → replay-agent-loop-ByI1Wra6.js} +3 -3
  20. package/dist/{replay-agent-loop-GDXIQGy5.js → replay-agent-loop-qMZ-yh7C.js} +1 -1
  21. package/dist/{replay-ai-chat-mappers-DFVcviEH.js → replay-ai-chat-mappers-BJG4qsVh.js} +1 -1
  22. package/dist/{replay-ai-chat-mappers-Dkj4vl9T.js → replay-ai-chat-mappers-BhXui_cP.js} +1 -1
  23. package/dist/{replay-create-model-UDURpFQ4.js → replay-create-model-DT8aanzL.js} +3 -3
  24. package/dist/{replay-create-model-D9NcJ3yx.js → replay-create-model-nf-dFfMt.js} +3 -3
  25. package/dist/{replay-db-CMt9dX-H.js → replay-db-B7DOUIxd.js} +1 -1
  26. package/dist/{replay-db-CFx-F30d.js → replay-db-CEncswPh.js} +1 -1
  27. package/dist/{replay-external-resolver-rqFR7T0O.js → replay-external-resolver-BO-EH2ei.js} +2 -2
  28. package/dist/{replay-external-resolver-CPD4hskh.js → replay-external-resolver-CMQ9upb6.js} +1 -1
  29. package/dist/{replay-index-CVhBLstt.js → replay-index-BNjWkfVs.js} +1 -1
  30. package/dist/{replay-index-0MfVkwY4.js → replay-index-BZZRT4XV.js} +1 -1
  31. package/dist/{replay-index-X5PC09Iq.js → replay-index-CBonfX4Z.js} +1 -1
  32. package/dist/replay-index-CFwGH3xH.js +4 -0
  33. package/dist/{replay-index-DhelzkVo.js → replay-index-DfpfSyMZ.js} +15574 -15507
  34. package/dist/{replay-index-DFpzg2pO.js → replay-index-DiLsdDeo.js} +1 -1
  35. package/dist/{replay-index-CLJOTBS9.js → replay-index-Dlmw0x6l.js} +1072 -1057
  36. package/dist/{replay-index-DFopWLS5.js → replay-index-Dr16XpGK.js} +5 -5
  37. package/dist/{replay-lint-xvdvEmuK.js → replay-lint-BfS0UNDE.js} +3 -3
  38. package/dist/{replay-lint-VrViwed0.js → replay-lint-DPvfVFm_.js} +3 -3
  39. package/dist/{replay-lint-graphql-Cj0YxKYW.js → replay-lint-graphql-D6-d3ArO.js} +1 -1
  40. package/dist/{replay-lint-graphql-BytE8Msa.js → replay-lint-graphql-DeG9a5xu.js} +2 -2
  41. package/dist/replay-oauth2-redirect-handler-BfZRvm6l.js +4 -0
  42. package/dist/{replay-oauth2-redirect-handler-CqKZB3aV.js → replay-oauth2-redirect-handler-Bq6bpZMm.js} +1 -1
  43. package/dist/{replay-periodic-revalidation-UaQh_EiA.js → replay-periodic-revalidation-BPCrKV7q.js} +1 -1
  44. package/dist/{replay-periodic-revalidation-CBK4GGcK.js → replay-periodic-revalidation-DC30GN6O.js} +1 -1
  45. package/dist/{replay-resolve-B-ScAEQ_.js → replay-resolve-B-ubny1s.js} +1 -1
  46. package/dist/{replay-resolve-DxLYwKrU.js → replay-resolve-CgA90BKO.js} +1 -1
  47. package/dist/{replay-respect-run-C84RN_GR.js → replay-respect-run-DU4lsMa5.js} +3 -3
  48. package/dist/{replay-respect-run-BC7vr1j1.js → replay-respect-run-FINRH3Fr.js} +1 -1
  49. package/dist/{replay-tauri-path-Bl15GRY1.js → replay-tauri-path-1LJEbhgj.js} +1 -1
  50. package/dist/{replay-tauri-path-B-SLo2Ec.js → replay-tauri-path-DRie4WYN.js} +2 -2
  51. package/dist/{replay-useAiChatQueries-C-ZR0ZaE.js → replay-useAiChatQueries-AyEiBMVh.js} +2 -2
  52. package/dist/{replay-useAiChatQueries-gO6Sj7A5.js → replay-useAiChatQueries-DqmuaoyJ.js} +5 -5
  53. package/dist/{replay-validate-key-CuCnpHLS.js → replay-validate-key-Dn0a7PBu.js} +1 -1
  54. package/dist/{replay-validate-key-D5QLY_qk.js → replay-validate-key-qLqRQU88.js} +2 -2
  55. package/dist/replay.cjs +1 -1
  56. package/dist/replay.js +2 -2
  57. package/package.json +2 -2
  58. package/dist/replay-index-BTZoG4e-.js +0 -4
  59. package/dist/replay-oauth2-redirect-handler-Bqw5UUvl.js +0 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/replay",
3
- "version": "0.29.0-next.4",
3
+ "version": "0.29.0-next.5",
4
4
  "type": "module",
5
5
  "main": "./dist/replay.cjs",
6
6
  "module": "./dist/replay.js",
@@ -16,7 +16,7 @@
16
16
  }
17
17
  },
18
18
  "peerDependencies": {
19
- "@redocly/theme": "0.70.0-next.4",
19
+ "@redocly/theme": "0.70.0-next.5",
20
20
  "@tanstack/react-query": "5.62.3",
21
21
  "react": "^19.2.7",
22
22
  "react-dom": "^19.2.7",
@@ -1,4 +0,0 @@
1
- import { g as r } from "./replay-SemanticSearchService-BGg8Dbuq.js";
2
- export {
3
- r as getSemanticSearchService
4
- };
@@ -1,4 +0,0 @@
1
- "use strict";const d="Something went wrong, please, try again.";function h(r){return r&&r.replace(/=+$/,"")}function m(r,e){return!!r&&!!e&&h(r)===h(e)}const w={invalid_request:"The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed.",invalid_client:"Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method).",invalid_grant:"The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.",unauthorized_client:"The authenticated client is not authorized to use this authorization grant type.",unsupported_grant_type:"The authorization grant type is not supported by the authorization server.",invalid_scope:"The requested scope is invalid, unknown, malformed, or exceeds the scope granted by the resource owner.",unsupported_response_type:"The requested response type is not supported by the authorization server.",access_denied:"The resource owner or authorization server denied the request.",server_error:"The authorization server encountered an unexpected condition.",temporarily_unavailable:"The authorization server is currently unable to handle the request due to a temporary overloading or maintenance."};class n extends Error{error;error_description;constructor({message:e,error:t,error_description:i}){const o=i||t&&w[t]||t||e||d;super(o),this.name="OAuth2Error",this.error=t,this.error_description=i}static fromJsonData(e){return e.error&&typeof e.error=="object"?new n({message:e.error.message}):new n({error:e.error,error_description:e.error_description})}static fromTextData(e){return new n({message:e})}static fromError(e){return new n({error:e.message})}}function y(r,e){let t;const i=e?new URL(e):window.location;if(/code|token|error/.test(i.hash)?t=i.hash.substring(1):t=i.search.substring(1),!t)throw console.error("No query string in OAuth 2 redirect URL"),new n({message:d});const o=new URLSearchParams(t),s=o.get("access_token"),a=o.get("code"),c=o.get("token_type"),l=o.get("expires_in"),p=o.get("state"),u=o.get("error"),g=o.get("error_description");if(u)throw new n({error:u,error_description:g??void 0});if(!m(p,r?.state))throw new Error("Outdated OAuth2 state");if(r?.flow==="implicit"){if(!s)throw new Error(`Your OAuth2 authentication service provider redirected you without an "access_token".
2
- Please, try again or make sure your OAuth2 settings are correct.`);if(!c)throw new Error(`Your OAuth2 authentication service provider redirected you without a "token_type".
3
- Please, try again or make sure your OAuth2 settings are correct.`);r?.successCallback({access_token:s,token_type:c,expires_in:l,auth_code:""})}if(r?.flow==="authorizationCode"){if(!a)throw new Error(`Your OAuth2 authentication service provider redirected you without authorization "code".
4
- Please, try again or make sure your OAuth2 settings are correct.`);r?.successCallback({auth_code:a,access_token:"",token_type:"bearer"})}}exports.OAuth2Error=n;exports.handleOAuth2Redirect=y;