@scalar/api-reference 1.34.1 → 1.34.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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
|
|
6
6
|
* /____/\____/_/ |_/_____/_/ |_/_/ |_|
|
|
7
7
|
*
|
|
8
|
-
* @scalar/api-reference 1.34.
|
|
8
|
+
* @scalar/api-reference 1.34.2
|
|
9
9
|
*
|
|
10
10
|
* Website: https://scalar.com
|
|
11
11
|
* GitHub: https://github.com/scalar/scalar
|
|
@@ -30360,8 +30360,9 @@ selectedExampleKey:rDe,operationId:oDe
|
|
|
30360
30360
|
name:"on-before-request",hooks:{onBeforeRequest:e.configuration.onBeforeRequest}
|
|
30361
30361
|
});return os((()=>{t.value&&r({el:t.value,configuration:{...e.configuration,
|
|
30362
30362
|
plugins:e.configuration.onBeforeRequest?[c]:[]},store:s})
|
|
30363
|
-
})),$B((()=>e.dereferencedDocument),((t,r)=>{var o,a
|
|
30364
|
-
;
|
|
30363
|
+
})),$B((()=>e.dereferencedDocument),((t,r)=>{var o,a;if(!t)return
|
|
30364
|
+
;const l=G$e(t,r||{})
|
|
30365
|
+
;(null==l?void 0:l.length)&&(i.activeCollection.value&&(null==(o=n.value)||o.resetStore()),
|
|
30365
30366
|
s.importSpecFile(void 0,"default",{dereferencedDocument:t,shouldLoad:!1,
|
|
30366
30367
|
documentUrl:null==(a=e.configuration)?void 0:a.url,useCollectionSecurity:!0,
|
|
30367
30368
|
...e.configuration}))})),$B((()=>e.configuration),((t,n)=>{
|
|
@@ -31022,7 +31023,7 @@ console.warn("scalar:update-references-config event has been deprecated, please
|
|
|
31022
31023
|
"detail"in e&&Object.assign(r,e.detail)}),!1);return{app:o,
|
|
31023
31024
|
getConfiguration:()=>r.configuration??{},updateConfiguration:e=>{
|
|
31024
31025
|
r.configuration=e},destroy:a}}
|
|
31025
|
-
;console.info("@scalar/api-reference@1.34.
|
|
31026
|
+
;console.info("@scalar/api-reference@1.34.2"),"object"==typeof window&&(window.Scalar={
|
|
31026
31027
|
createApiReference:TRe}),function(e,t){var n,r
|
|
31027
31028
|
;const o=e.querySelector("[data-spec]"),a=e.querySelector("[data-spec-url]")
|
|
31028
31029
|
;(null==t?void 0:t.darkMode)?null==(n=e.body)||n.classList.add("dark-mode"):null==(r=e.body)||r.classList.add("light-mode")
|