@scalar/api-client 2.38.2 → 2.38.3

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 (128) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{AddressBar-B4xnl66I.js → AddressBar-CX8xiYoe.js} +4 -4
  3. package/dist/{AddressBar-B4xnl66I.js.map → AddressBar-CX8xiYoe.js.map} +1 -1
  4. package/dist/{App-BVH4lIe8.js → App-BpNPKHmM.js} +4 -4
  5. package/dist/{App-BVH4lIe8.js.map → App-BpNPKHmM.js.map} +1 -1
  6. package/dist/{App-CvClwSlM.js → App-Ckirvnv1.js} +2 -2
  7. package/dist/{App-CvClwSlM.js.map → App-Ckirvnv1.js.map} +1 -1
  8. package/dist/{CodeInput-C-igR77V.js → CodeInput-BN7uw3Bh.js} +2 -2
  9. package/dist/{CodeInput-C-igR77V.js.map → CodeInput-BN7uw3Bh.js.map} +1 -1
  10. package/dist/{Collection-4MT9WmDD.js → Collection-ChAxs3rz.js} +2 -2
  11. package/dist/{Collection-4MT9WmDD.js.map → Collection-ChAxs3rz.js.map} +1 -1
  12. package/dist/{CollectionAuthentication-MHWQpw74.js → CollectionAuthentication-BDpvv8cA.js} +5 -5
  13. package/dist/{CollectionAuthentication-MHWQpw74.js.map → CollectionAuthentication-BDpvv8cA.js.map} +1 -1
  14. package/dist/{CollectionEnvironment-Dw35vIqo.js → CollectionEnvironment-dwisJ-h5.js} +4 -4
  15. package/dist/{CollectionEnvironment-Dw35vIqo.js.map → CollectionEnvironment-dwisJ-h5.js.map} +1 -1
  16. package/dist/{CollectionOverview-TUdDIu5f.js → CollectionOverview-CJ9-Vmei.js} +3 -3
  17. package/dist/{CollectionOverview-TUdDIu5f.js.map → CollectionOverview-CJ9-Vmei.js.map} +1 -1
  18. package/dist/{CollectionServers-BrjTCfDe.js → CollectionServers-BWkIGwz4.js} +5 -5
  19. package/dist/{CollectionServers-BrjTCfDe.js.map → CollectionServers-BWkIGwz4.js.map} +1 -1
  20. package/dist/{CollectionSettings-HVSlp2Gv.js → CollectionSettings-CqUUYOym.js} +2 -2
  21. package/dist/{CollectionSettings-HVSlp2Gv.js.map → CollectionSettings-CqUUYOym.js.map} +1 -1
  22. package/dist/{CommandPalette-CL8k4CoN.js → CommandPalette-BiA0IgO8.js} +2 -2
  23. package/dist/{CommandPalette-CL8k4CoN.js.map → CommandPalette-BiA0IgO8.js.map} +1 -1
  24. package/dist/{Cookies-DbOKTi1f.js → Cookies-CNRSxP8J.js} +8 -8
  25. package/dist/{Cookies-DbOKTi1f.js.map → Cookies-CNRSxP8J.js.map} +1 -1
  26. package/dist/{DataTableInput-yaU5g-kP.js → DataTableInput-SkIUPlrB.js} +2 -2
  27. package/dist/{DataTableInput-yaU5g-kP.js.map → DataTableInput-SkIUPlrB.js.map} +1 -1
  28. package/dist/{Environment-DJatRQIg.js → Environment-D_CbZk0A.js} +5 -5
  29. package/dist/{Environment-DJatRQIg.js.map → Environment-D_CbZk0A.js.map} +1 -1
  30. package/dist/{EnvironmentModal-DBEJ4Kzj.js → EnvironmentModal-CcyqnPc2.js} +2 -2
  31. package/dist/{EnvironmentModal-DBEJ4Kzj.js.map → EnvironmentModal-CcyqnPc2.js.map} +1 -1
  32. package/dist/{Form-CSKzyHGO.js → Form-bA4bV_oA.js} +3 -3
  33. package/dist/{Form-CSKzyHGO.js.map → Form-bA4bV_oA.js.map} +1 -1
  34. package/dist/{ImportCollection-DfX1UQ5u.js → ImportCollection-BIYMxB9Q.js} +2 -2
  35. package/dist/{ImportCollection-DfX1UQ5u.js.map → ImportCollection-BIYMxB9Q.js.map} +1 -1
  36. package/dist/{MainLayout-BEFMl1ud.js → MainLayout-oMIJ5QXF.js} +3 -3
  37. package/dist/{MainLayout-BEFMl1ud.js.map → MainLayout-oMIJ5QXF.js.map} +1 -1
  38. package/dist/{Modal-sQ9vH6MN.js → Modal-DkOa_KK0.js} +2 -2
  39. package/dist/{Modal-sQ9vH6MN.js.map → Modal-DkOa_KK0.js.map} +1 -1
  40. package/dist/{Request-gscRsGQ8.js → Request-BWfYWyBa.js} +10 -10
  41. package/dist/{Request-gscRsGQ8.js.map → Request-BWfYWyBa.js.map} +1 -1
  42. package/dist/{RequestAuth-BzBfIysT.js → RequestAuth-BU6ubH-c.js} +3 -3
  43. package/dist/{RequestAuth-BzBfIysT.js.map → RequestAuth-BU6ubH-c.js.map} +1 -1
  44. package/dist/{RequestRoot-3Bj8JZD-.js → RequestRoot-7xhK5_qr.js} +7 -7
  45. package/dist/{RequestRoot-3Bj8JZD-.js.map → RequestRoot-7xhK5_qr.js.map} +1 -1
  46. package/dist/{RequestSection-HhdJj9hW.js → RequestSection-Bx8UHW-k.js} +4 -4
  47. package/dist/{RequestSection-HhdJj9hW.js.map → RequestSection-Bx8UHW-k.js.map} +1 -1
  48. package/dist/{ResponseSection-DMJ0tw8E.js → ResponseSection-CLrgLMN_.js} +3 -3
  49. package/dist/{ResponseSection-DMJ0tw8E.js.map → ResponseSection-CLrgLMN_.js.map} +1 -1
  50. package/dist/{Server-DnA_BzPS.js → Server-BS4zjUdO.js} +2 -2
  51. package/dist/{Server-DnA_BzPS.js.map → Server-BS4zjUdO.js.map} +1 -1
  52. package/dist/{Settings-CYZzdJPO.js → Settings-BuLKHzRY.js} +2 -2
  53. package/dist/{Settings-CYZzdJPO.js.map → Settings-BuLKHzRY.js.map} +1 -1
  54. package/dist/{Sidebar-C6AdX6-N.js → Sidebar-Xl9_nFXX.js} +2 -2
  55. package/dist/{Sidebar-C6AdX6-N.js.map → Sidebar-Xl9_nFXX.js.map} +1 -1
  56. package/dist/components/AddressBar/index.js +3 -3
  57. package/dist/components/CodeInput/index.js +1 -1
  58. package/dist/components/CommandPalette/index.js +1 -1
  59. package/dist/components/DataTable/index.js +2 -2
  60. package/dist/components/ImportCollection/index.js +1 -1
  61. package/dist/components/Server/index.js +1 -1
  62. package/dist/components/Sidebar/index.js +1 -1
  63. package/dist/components/index.js +4 -4
  64. package/dist/{components-CSxJTn6F.js → components-DfJHvSLM.js} +2 -2
  65. package/dist/{components-CSxJTn6F.js.map → components-DfJHvSLM.js.map} +1 -1
  66. package/dist/get-resolved-url-SybDPV0U.js +85 -0
  67. package/dist/get-resolved-url-SybDPV0U.js.map +1 -0
  68. package/dist/{get-server-url-o3On8CEr.js → get-server-url-UVN-dx79.js} +1 -1
  69. package/dist/{get-server-url-o3On8CEr.js.map → get-server-url-UVN-dx79.js.map} +1 -1
  70. package/dist/index.js +5 -5
  71. package/dist/layouts/App/index.js +3 -3
  72. package/dist/layouts/Modal/index.js +1 -1
  73. package/dist/layouts/Web/index.js +4 -4
  74. package/dist/libs/index.js +1 -1
  75. package/dist/{operation-block-BnMIKAOh.js → operation-block-DE-hoO03.js} +67 -17
  76. package/dist/operation-block-DE-hoO03.js.map +1 -0
  77. package/dist/{operation-code-sample-ZUTueV3v.js → operation-code-sample-xgx4qi2H.js} +22 -10
  78. package/dist/operation-code-sample-xgx4qi2H.js.map +1 -0
  79. package/dist/{request-block-DwsGy64Q.js → request-block-N7dPFyrG.js} +4 -4
  80. package/dist/{request-block-DwsGy64Q.js.map → request-block-N7dPFyrG.js.map} +1 -1
  81. package/dist/{scalar-address-bar-block--Vs6IBU1.js → scalar-address-bar-block-BbysOhkE.js} +2 -2
  82. package/dist/{scalar-address-bar-block--Vs6IBU1.js.map → scalar-address-bar-block-BbysOhkE.js.map} +1 -1
  83. package/dist/{scalar-auth-selector-block-DI3DLag9.js → scalar-auth-selector-block-Bs79QOMA.js} +12 -9
  84. package/dist/scalar-auth-selector-block-Bs79QOMA.js.map +1 -0
  85. package/dist/store/index.js +1 -1
  86. package/dist/{store-DpSUVhjp.js → store-DaPoVtIS.js} +15 -15
  87. package/dist/{store-DpSUVhjp.js.map → store-DaPoVtIS.js.map} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  90. package/dist/v2/blocks/operation-block/helpers/apply-allow-reserved-to-url.d.ts +6 -0
  91. package/dist/v2/blocks/operation-block/helpers/apply-allow-reserved-to-url.d.ts.map +1 -0
  92. package/dist/v2/blocks/operation-block/helpers/build-request-body.d.ts.map +1 -1
  93. package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts +1 -0
  94. package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts.map +1 -1
  95. package/dist/v2/blocks/operation-block/helpers/build-request.d.ts.map +1 -1
  96. package/dist/v2/blocks/operation-block/helpers/get-resolved-url.d.ts +2 -1
  97. package/dist/v2/blocks/operation-block/helpers/get-resolved-url.d.ts.map +1 -1
  98. package/dist/v2/blocks/operation-block/index.js +11 -11
  99. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.d.ts.map +1 -1
  100. package/dist/v2/blocks/operation-code-sample/index.js +1 -1
  101. package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts.map +1 -1
  102. package/dist/v2/blocks/request-block/index.js +5 -5
  103. package/dist/v2/blocks/response-block/index.js +2 -2
  104. package/dist/v2/blocks/scalar-address-bar-block/index.js +1 -1
  105. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -1
  106. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
  107. package/dist/v2/blocks/scalar-auth-selector-block/index.js +3 -3
  108. package/dist/v2/constants.d.ts +3 -0
  109. package/dist/v2/constants.d.ts.map +1 -0
  110. package/dist/v2/features/app/components/index.js +4 -4
  111. package/dist/v2/features/app/index.js +14 -14
  112. package/dist/v2/features/app/index.js.map +1 -1
  113. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  114. package/dist/v2/features/modal/index.js +10 -10
  115. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  116. package/dist/v2/features/operation/helpers/get-selected-security.d.ts +6 -1
  117. package/dist/v2/features/operation/helpers/get-selected-security.d.ts.map +1 -1
  118. package/dist/v2/features/operation/index.js +10 -10
  119. package/dist/views/Request/RequestSection/RequestAuth/index.js +3 -3
  120. package/dist/views/Request/RequestSection/index.js +4 -4
  121. package/dist/views/Request/ResponseSection/index.js +3 -3
  122. package/dist/views/Request/components/index.js +1 -1
  123. package/package.json +13 -13
  124. package/dist/get-resolved-url-BUCwrBzc.js +0 -30
  125. package/dist/get-resolved-url-BUCwrBzc.js.map +0 -1
  126. package/dist/operation-block-BnMIKAOh.js.map +0 -1
  127. package/dist/operation-code-sample-ZUTueV3v.js.map +0 -1
  128. package/dist/scalar-auth-selector-block-DI3DLag9.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Authentication.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Authentication.vue"],"names":[],"mappings":"AA4hBA,QAAA,MAAM,YAAY;;;;;;;;;;;;kGAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"Authentication.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Authentication.vue"],"names":[],"mappings":"AAwiBA,QAAA,MAAM,YAAY;;;;;;;;;;;;kGAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,21 +1,21 @@
1
1
  import "../../../HttpMethod-rnWEgC3T.js";
2
2
  import { t as ModalClientContainer_default } from "../../../ModalClientContainer-qHsZi4wQ.js";
3
- import "../../../CodeInput-C-igR77V.js";
4
- import "../../../Server-DnA_BzPS.js";
5
- import "../../../AddressBar-B4xnl66I.js";
3
+ import "../../../CodeInput-BN7uw3Bh.js";
4
+ import "../../../Server-BS4zjUdO.js";
5
+ import "../../../AddressBar-CX8xiYoe.js";
6
6
  import "../../../components-ChixwQhN.js";
7
- import "../../../Sidebar-C6AdX6-N.js";
8
- import "../../../DataTableInput-yaU5g-kP.js";
9
- import { i as mapHiddenClientsConfig, n as Operation_default } from "../../../operation-block-BnMIKAOh.js";
10
- import "../../../operation-code-sample-ZUTueV3v.js";
11
- import "../../../request-block-DwsGy64Q.js";
7
+ import "../../../Sidebar-Xl9_nFXX.js";
8
+ import "../../../DataTableInput-SkIUPlrB.js";
9
+ import { i as mapHiddenClientsConfig, n as Operation_default } from "../../../operation-block-DE-hoO03.js";
10
+ import "../../../operation-code-sample-xgx4qi2H.js";
11
+ import "../../../request-block-N7dPFyrG.js";
12
12
  import "../../../SectionFilter-hrtoRLwj.js";
13
13
  import "../../../code-input-iq-moLxi.js";
14
14
  import "../../../data-table-PL7e8NRO.js";
15
- import { t as mergeSecurity } from "../../../scalar-auth-selector-block-DI3DLag9.js";
15
+ import { t as mergeSecurity } from "../../../scalar-auth-selector-block-Bs79QOMA.js";
16
16
  import "../../../response-block-DmkaDZYs.js";
17
17
  import "../../../ScalarAsciiArt-BjuSnj8e.js";
18
- import "../../../scalar-address-bar-block--Vs6IBU1.js";
18
+ import "../../../scalar-address-bar-block-BbysOhkE.js";
19
19
  import "../../../server-tcI-OCyx.js";
20
20
  import "../../../resize-D2IYvVdh.js";
21
21
  import { n as Sidebar_default, t as SidebarToggle_default } from "../../../sidebar-ceSbYmnt.js";
@@ -1 +1 @@
1
- {"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.vue"],"names":[],"mappings":"AA6OA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAElE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAO/D;;;;;;;GAOG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;IAEd,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;;IAD/B,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;iGA0R/B,CAAC"}
1
+ {"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.vue"],"names":[],"mappings":"AA4OA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAElE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAO/D;;;;;;;GAOG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;IAEd,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;;IAD/B,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;iGAuR/B,CAAC"}
@@ -1,10 +1,15 @@
1
1
  import type { SelectedSecurity } from '@scalar/workspace-store/entities/auth';
2
2
  import type { OpenApiDocument } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
+ type DefaultScopeScheme = {
4
+ type?: string;
5
+ 'x-default-scopes'?: string[];
6
+ };
3
7
  /**
4
8
  * Resolves which security selection to use for an operation.
5
9
  * Priority: operation-level selection, then document-level selection, then a default.
6
10
  * When neither level has a selection, returns the first security requirement unless
7
11
  * authentication is optional or there are no requirements, in which case returns no selection.
8
12
  */
9
- export declare const getSelectedSecurity: (documentSelectedSecurity: SelectedSecurity | undefined, operationSelectedSecurity: SelectedSecurity | undefined, securityRequirements?: NonNullable<OpenApiDocument["security"]>) => SelectedSecurity;
13
+ export declare const getSelectedSecurity: (documentSelectedSecurity: SelectedSecurity | undefined, operationSelectedSecurity: SelectedSecurity | undefined, securityRequirements?: NonNullable<OpenApiDocument["security"]>, securitySchemes?: Record<string, DefaultScopeScheme | undefined>) => SelectedSecurity;
14
+ export {};
10
15
  //# sourceMappingURL=get-selected-security.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-selected-security.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/operation/helpers/get-selected-security.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAA;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8DAA8D,CAAA;AAInG;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAC9B,0BAA0B,gBAAgB,GAAG,SAAS,EACtD,2BAA2B,gBAAgB,GAAG,SAAS,EACvD,uBAAsB,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,CAAM,KAClE,gBA0BF,CAAA"}
1
+ {"version":3,"file":"get-selected-security.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/operation/helpers/get-selected-security.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAA;AAE7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8DAA8D,CAAA;AAInG,KAAK,kBAAkB,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC9B,CAAA;AA4BD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAC9B,0BAA0B,gBAAgB,GAAG,SAAS,EACtD,2BAA2B,gBAAgB,GAAG,SAAS,EACvD,uBAAsB,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,CAAM,EACnE,kBAAiB,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAM,KACnE,gBA4BF,CAAA"}
@@ -1,19 +1,19 @@
1
1
  import "../../../HttpMethod-rnWEgC3T.js";
2
- import "../../../CodeInput-C-igR77V.js";
3
- import "../../../Server-DnA_BzPS.js";
4
- import "../../../AddressBar-B4xnl66I.js";
2
+ import "../../../CodeInput-BN7uw3Bh.js";
3
+ import "../../../Server-BS4zjUdO.js";
4
+ import "../../../AddressBar-CX8xiYoe.js";
5
5
  import "../../../components-ChixwQhN.js";
6
- import "../../../Sidebar-C6AdX6-N.js";
7
- import "../../../DataTableInput-yaU5g-kP.js";
8
- import { a as getSelectedServer, c as combineParams, n as Operation_default, o as getSelectedSecurity, s as getSecurityRequirements } from "../../../operation-block-BnMIKAOh.js";
9
- import "../../../operation-code-sample-ZUTueV3v.js";
10
- import "../../../request-block-DwsGy64Q.js";
6
+ import "../../../Sidebar-Xl9_nFXX.js";
7
+ import "../../../DataTableInput-SkIUPlrB.js";
8
+ import { a as getSelectedServer, c as combineParams, n as Operation_default, o as getSelectedSecurity, s as getSecurityRequirements } from "../../../operation-block-DE-hoO03.js";
9
+ import "../../../operation-code-sample-xgx4qi2H.js";
10
+ import "../../../request-block-N7dPFyrG.js";
11
11
  import "../../../SectionFilter-hrtoRLwj.js";
12
12
  import "../../../code-input-iq-moLxi.js";
13
13
  import "../../../data-table-PL7e8NRO.js";
14
- import "../../../scalar-auth-selector-block-DI3DLag9.js";
14
+ import "../../../scalar-auth-selector-block-Bs79QOMA.js";
15
15
  import "../../../response-block-DmkaDZYs.js";
16
16
  import "../../../ScalarAsciiArt-BjuSnj8e.js";
17
- import "../../../scalar-address-bar-block--Vs6IBU1.js";
17
+ import "../../../scalar-address-bar-block-BbysOhkE.js";
18
18
  import "../../../server-tcI-OCyx.js";
19
19
  export { Operation_default as Operation, combineParams, getSecurityRequirements, getSelectedSecurity, getSelectedServer };
@@ -1,4 +1,4 @@
1
- import "../../../../CodeInput-C-igR77V.js";
2
- import "../../../../DataTableInput-yaU5g-kP.js";
3
- import { n as RequestAuthDataTable_default, r as restoreAuthFromLocalStorage, t as RequestAuth_default } from "../../../../RequestAuth-BzBfIysT.js";
1
+ import "../../../../CodeInput-BN7uw3Bh.js";
2
+ import "../../../../DataTableInput-SkIUPlrB.js";
3
+ import { n as RequestAuthDataTable_default, r as restoreAuthFromLocalStorage, t as RequestAuth_default } from "../../../../RequestAuth-BU6ubH-c.js";
4
4
  export { RequestAuth_default as RequestAuth, RequestAuthDataTable_default as RequestAuthDataTable, restoreAuthFromLocalStorage };
@@ -1,8 +1,8 @@
1
- import "../../../CodeInput-C-igR77V.js";
2
- import "../../../DataTableInput-yaU5g-kP.js";
1
+ import "../../../CodeInput-BN7uw3Bh.js";
2
+ import "../../../DataTableInput-SkIUPlrB.js";
3
3
  import "../../../SectionFilter-hrtoRLwj.js";
4
- import { t as RequestSection_default } from "../../../RequestSection-HhdJj9hW.js";
5
- import "../../../RequestAuth-BzBfIysT.js";
4
+ import { t as RequestSection_default } from "../../../RequestSection-Bx8UHW-k.js";
5
+ import "../../../RequestAuth-BU6ubH-c.js";
6
6
  //#region src/views/Request/RequestSection/helpers/filter-security-requirements.ts
7
7
  /**
8
8
  * Takes in selected security and filters it with the requirements
@@ -1,7 +1,7 @@
1
- import "../../../CodeInput-C-igR77V.js";
2
- import "../../../DataTableInput-yaU5g-kP.js";
1
+ import "../../../CodeInput-BN7uw3Bh.js";
2
+ import "../../../DataTableInput-SkIUPlrB.js";
3
3
  import "../../../SectionFilter-hrtoRLwj.js";
4
4
  import "../../../ScalarAsciiArt-BjuSnj8e.js";
5
- import { n as ResponseBody_default, t as ResponseSection_default } from "../../../ResponseSection-DMJ0tw8E.js";
5
+ import { n as ResponseBody_default, t as ResponseSection_default } from "../../../ResponseSection-CLrgLMN_.js";
6
6
  import "../../../EmptyState-Cnm7hGW5.js";
7
7
  export { ResponseBody_default as ResponseBody, ResponseSection_default as ResponseSection };
@@ -1,2 +1,2 @@
1
- import { t as WorkspaceDropdown_default } from "../../../components-CSxJTn6F.js";
1
+ import { t as WorkspaceDropdown_default } from "../../../components-DfJHvSLM.js";
2
2
  export { WorkspaceDropdown_default as WorkspaceDropdown };
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.38.2",
21
+ "version": "2.38.3",
22
22
  "engines": {
23
23
  "node": ">=22"
24
24
  },
@@ -340,26 +340,26 @@
340
340
  "whatwg-mimetype": "4.0.0",
341
341
  "yaml": "^2.8.0",
342
342
  "zod": "^4.3.5",
343
- "@scalar/components": "0.20.10",
343
+ "@scalar/draggable": "0.4.1",
344
+ "@scalar/components": "0.20.11",
344
345
  "@scalar/analytics-client": "1.1.1",
346
+ "@scalar/icons": "0.6.2",
345
347
  "@scalar/helpers": "0.4.2",
346
- "@scalar/draggable": "0.4.1",
347
- "@scalar/icons": "0.6.1",
348
- "@scalar/import": "0.5.3",
349
- "@scalar/oas-utils": "0.10.9",
350
348
  "@scalar/json-magic": "0.12.4",
351
- "@scalar/openapi-parser": "0.25.5",
352
- "@scalar/openapi-types": "0.6.1",
349
+ "@scalar/oas-utils": "0.10.10",
350
+ "@scalar/import": "0.5.3",
353
351
  "@scalar/object-utils": "1.3.3",
352
+ "@scalar/openapi-parser": "0.25.6",
353
+ "@scalar/openapi-types": "0.6.1",
354
354
  "@scalar/postman-to-openapi": "0.5.3",
355
- "@scalar/sidebar": "0.8.10",
356
- "@scalar/snippetz": "0.7.5",
355
+ "@scalar/sidebar": "0.8.11",
357
356
  "@scalar/themes": "0.15.1",
358
- "@scalar/types": "0.7.4",
357
+ "@scalar/snippetz": "0.7.6",
359
358
  "@scalar/use-codemirror": "0.14.10",
359
+ "@scalar/types": "0.7.4",
360
360
  "@scalar/use-hooks": "0.4.1",
361
361
  "@scalar/use-toasts": "0.10.1",
362
- "@scalar/workspace-store": "0.40.3"
362
+ "@scalar/workspace-store": "0.40.4"
363
363
  },
364
364
  "devDependencies": {
365
365
  "@tailwindcss/vite": "^4.2.0",
@@ -375,7 +375,7 @@
375
375
  "vite-svg-loader": "5.1.1",
376
376
  "vitest": "4.1.0",
377
377
  "@scalar/galaxy": "0.6.1",
378
- "@scalar/pre-post-request-scripts": "0.3.10"
378
+ "@scalar/pre-post-request-scripts": "0.3.11"
379
379
  },
380
380
  "scripts": {
381
381
  "build": "vite build && vue-tsc -p tsconfig.build.json",
@@ -1,30 +0,0 @@
1
- import { n as getEnvironmentVariables, t as getServerUrl } from "./get-server-url-o3On8CEr.js";
2
- import { mergeUrls } from "@scalar/helpers/url/merge-urls";
3
- import { replaceVariables } from "@scalar/helpers/regex/replace-variables";
4
- //#region src/v2/blocks/operation-block/helpers/get-resolved-url.ts
5
- /**
6
- * Resolves and constructs the final request URL using the provided environment, server, path,
7
- * path variables, and optional query parameters.
8
- *
9
- * - Environment variables and path variables are used to replace placeholders in the path string.
10
- * - The server URL is dynamically resolved (may apply env variables).
11
- * - urlParams are optionally appended as the query string.
12
- *
13
- * @param environment The current environment containing variable values.
14
- * @param server The selected server object; can be null.
15
- * @param path The raw path string from the OpenAPI document (may contain variables).
16
- * @param pathVariables Map of path variable values (e.g., { petId: '5' }).
17
- * @param urlParams Optional query parameters as URLSearchParams.
18
- * @returns Fully resolved URL as a string.
19
- */
20
- var getResolvedUrl = ({ environment, server, path, pathVariables, urlParams }) => {
21
- const environmentVariables = getEnvironmentVariables(environment);
22
- return mergeUrls(getServerUrl(server, environmentVariables), replaceVariables(path, {
23
- ...environmentVariables,
24
- ...pathVariables
25
- }), urlParams);
26
- };
27
- //#endregion
28
- export { getResolvedUrl as t };
29
-
30
- //# sourceMappingURL=get-resolved-url-BUCwrBzc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-resolved-url-BUCwrBzc.js","names":[],"sources":["../src/v2/blocks/operation-block/helpers/get-resolved-url.ts"],"sourcesContent":["import { replaceVariables } from '@scalar/helpers/regex/replace-variables'\nimport { mergeUrls } from '@scalar/helpers/url/merge-urls'\nimport type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments'\nimport type { ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/server'\n\nimport { getEnvironmentVariables } from '@/v2/blocks/operation-block/helpers/get-environment-variables'\nimport { getServerUrl } from '@/v2/blocks/operation-block/helpers/get-server-url'\n\n/**\n * Resolves and constructs the final request URL using the provided environment, server, path,\n * path variables, and optional query parameters.\n *\n * - Environment variables and path variables are used to replace placeholders in the path string.\n * - The server URL is dynamically resolved (may apply env variables).\n * - urlParams are optionally appended as the query string.\n *\n * @param environment The current environment containing variable values.\n * @param server The selected server object; can be null.\n * @param path The raw path string from the OpenAPI document (may contain variables).\n * @param pathVariables Map of path variable values (e.g., { petId: '5' }).\n * @param urlParams Optional query parameters as URLSearchParams.\n * @returns Fully resolved URL as a string.\n */\nexport const getResolvedUrl = ({\n environment,\n server,\n path,\n pathVariables,\n urlParams,\n}: {\n environment: XScalarEnvironment\n server: ServerObject | null\n path: string\n pathVariables: Record<string, string>\n urlParams?: URLSearchParams\n}) => {\n const environmentVariables = getEnvironmentVariables(environment)\n const serverUrl = getServerUrl(server, environmentVariables)\n const pathWithVariables = replaceVariables(path, { ...environmentVariables, ...pathVariables })\n return mergeUrls(serverUrl, pathWithVariables, urlParams)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,IAAa,kBAAkB,EAC7B,aACA,QACA,MACA,eACA,gBAOI;CACJ,MAAM,uBAAuB,wBAAwB,YAAY;AAGjE,QAAO,UAFW,aAAa,QAAQ,qBAAqB,EAClC,iBAAiB,MAAM;EAAE,GAAG;EAAsB,GAAG;EAAe,CAAC,EAChD,UAAU"}