@scalar/api-reference 1.46.1 → 1.46.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.46.2
4
+
5
+ ### Patch Changes
6
+
7
+ #### Updated Dependencies
8
+
9
+ - **@scalar/themes@0.14.3**
10
+ - [#8315](https://github.com/scalar/scalar/pull/8315): feat(theme): standardize tailwind line height behavior
11
+
12
+ - **@scalar/agent-chat@0.7.2**
13
+
14
+ - **@scalar/api-client@2.31.2**
15
+
16
+ - **@scalar/code-highlight@0.2.4**
17
+
18
+ - **@scalar/components@0.19.14**
19
+
20
+ - **@scalar/oas-utils@0.8.2**
21
+
22
+ - **@scalar/sidebar@0.7.45**
23
+
3
24
  ## 1.46.1
4
25
 
5
26
  ### Patch Changes
@@ -5,7 +5,7 @@
5
5
  * ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
6
6
  * /____/\____/_/ |_/_____/_/ |_/_/ |_|
7
7
  *
8
- * @scalar/api-reference 1.46.1
8
+ * @scalar/api-reference 1.46.2
9
9
  *
10
10
  * Website: https://scalar.com
11
11
  * GitHub: https://github.com/scalar/scalar
@@ -30242,7 +30242,7 @@ const n=(r=e?.variables??{},Object.entries(r)).reduce(((e,[t,n])=>(n.default&&(e
30242
30242
  e)),{});var r;return UV(e?.url??"",{...t,...n})
30243
30243
  },CVe=({environment:e,server:t,path:n,pathVariables:r,urlParams:a})=>{
30244
30244
  const o=EVe(e),i=TVe(t,o),s=UV(n,{...o,...r});return qV(i,s,a)
30245
- },$Ve="2.31.1",PVe=(e,t,n)=>({name:e,defaultValue:t,
30245
+ },$Ve="2.31.2",PVe=(e,t,n)=>({name:e,defaultValue:t,
30246
30246
  isOverridden:n.has(e.toLowerCase())
30247
30247
  }),IVe=({method:e,operation:t,exampleKey:n,hideDisabledHeaders:r=!1})=>{
30248
30248
  const a=new Set(t.parameters?.filter((e=>"header"===mSe(e).in)).map((e=>mSe(e).name.toLowerCase()))??[]),o=t["x-scalar-disable-parameters"]?.["default-headers"]?.[n]??{},i=[],s=mSe(t.requestBody)
@@ -34281,7 +34281,7 @@ method:e.method??"get"}:{type:"document"
34281
34281
  }))))),p=uy((()=>fVe(im(e.options)?.hiddenClients)))
34282
34282
  ;return(t,o)=>e.path&&e.method&&e.exampleName&&n.value?(Ab(),Pb(om(Y1e),{key:0,
34283
34283
  activeEnvironment:e.workspaceStore.workspace["x-scalar-active-environment"],
34284
- appVersion:om("2.31.1"),authMeta:u.value,
34284
+ appVersion:om("2.31.2"),authMeta:u.value,
34285
34285
  documentSecurity:e.document?.security??[],documentSelectedSecurity:l.value,
34286
34286
  documentUrl:e.document?.["x-scalar-original-source-url"],
34287
34287
  environment:e.environment,environments:d.value,eventBus:e.eventBus,
@@ -37181,7 +37181,7 @@ console.warn("scalar:update-references-config event has been deprecated, please
37181
37181
  "detail"in e&&Object.assign(r,e.detail)}),!1);return{app:a,
37182
37182
  getConfiguration:()=>r.configuration??{},updateConfiguration:e=>{
37183
37183
  r.configuration=e},destroy:o}}
37184
- ;console.info("@scalar/api-reference@1.46.1"),"object"==typeof window&&(window.Scalar={
37184
+ ;console.info("@scalar/api-reference@1.46.2"),"object"==typeof window&&(window.Scalar={
37185
37185
  createApiReference:oet}),function(e,t){
37186
37186
  const n=e.querySelector("[data-spec]"),r=e.querySelector("[data-spec-url]")
37187
37187
  ;t?.darkMode?e.body?.classList.add("dark-mode"):e.body?.classList.add("light-mode")