@scalar/api-reference 1.32.0 → 1.32.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.32.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 98ff011: fix(api-references): duplicate section ID for tags on page load
8
+
3
9
  ## 1.32.0
4
10
 
5
11
  ### Minor Changes
@@ -5,7 +5,7 @@
5
5
  * ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
6
6
  * /____/\____/_/ |_/_____/_/ |_/_/ |_|
7
7
  *
8
- * @scalar/api-reference 1.32.0
8
+ * @scalar/api-reference 1.32.1
9
9
  *
10
10
  * Website: https://scalar.com
11
11
  * GitHub: https://github.com/scalar/scalar
@@ -29361,7 +29361,7 @@ p.value||($Ae.value=!0,setTimeout((()=>{h.value=!0}),1e3))
29361
29361
  "references-loading-top-spacer":s.value.length}])
29362
29362
  },[(jl(!0),Ql($l,null,vs(s.value,((e,t)=>(jl(),Ql($l,{key:e.name+t
29363
29363
  },[e.operations&&e.operations.length>0?(jl(),ql(Na(U_e),{key:0,collection:n,
29364
- spec:a,tag:e},{
29364
+ spec:a,id:"lazy-{{ getTagId(tag) }}",tag:e},{
29365
29365
  default:mi((()=>[(jl(!0),Ql($l,null,vs(e.lazyOperations,(e=>(jl(),ql(Na(AAe),{
29366
29366
  path:e.path,method:e.httpVerb,isWebhook:e.isWebhook,key:e.id,id:e.id,
29367
29367
  collection:n,layout:o,server:r
@@ -29906,7 +29906,7 @@ console.warn("scalar:update-references-config event has been deprecated, please
29906
29906
  "detail"in e&&Object.assign(r,e.detail)}),!1);return{app:o,
29907
29907
  getConfiguration:()=>r.configuration??{},updateConfiguration:e=>{
29908
29908
  r.configuration=e},destroy:a}}
29909
- ;console.info("@scalar/api-reference@1.32.0"),"object"==typeof window&&(window.Scalar={
29909
+ ;console.info("@scalar/api-reference@1.32.1"),"object"==typeof window&&(window.Scalar={
29910
29910
  createApiReference:NPe}),function(e,t){var n,r
29911
29911
  ;const o=e.querySelector("[data-spec]"),a=e.querySelector("[data-spec-url]")
29912
29912
  ;(null==t?void 0:t.darkMode)?null==(n=e.body)||n.classList.add("dark-mode"):null==(r=e.body)||r.classList.add("light-mode")