@scalar/api-reference 1.44.2 → 1.44.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @scalar/api-reference
|
|
2
2
|
|
|
3
|
+
## 1.44.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
#### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- **@scalar/agent-chat@0.4.3**
|
|
10
|
+
- [#7974](https://github.com/scalar/scalar/pull/7974): fix(agent): change agent share to source
|
|
11
|
+
|
|
3
12
|
## 1.44.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
|
|
6
6
|
* /____/\____/_/ |_/_____/_/ |_/_/ |_|
|
|
7
7
|
*
|
|
8
|
-
* @scalar/api-reference 1.44.
|
|
8
|
+
* @scalar/api-reference 1.44.3
|
|
9
9
|
*
|
|
10
10
|
* Website: https://scalar.com
|
|
11
11
|
* GitHub: https://github.com/scalar/scalar
|
|
@@ -36669,7 +36669,7 @@ console.warn("scalar:update-references-config event has been deprecated, please
|
|
|
36669
36669
|
"detail"in e&&Object.assign(r,e.detail)}),!1);return{app:o,
|
|
36670
36670
|
getConfiguration:()=>r.configuration??{},updateConfiguration:e=>{
|
|
36671
36671
|
r.configuration=e},destroy:a}}
|
|
36672
|
-
;console.info("@scalar/api-reference@1.44.
|
|
36672
|
+
;console.info("@scalar/api-reference@1.44.3"),"object"==typeof window&&(window.Scalar={
|
|
36673
36673
|
createApiReference:A7e}),function(e,t){
|
|
36674
36674
|
const n=e.querySelector("[data-spec]"),r=e.querySelector("[data-spec-url]")
|
|
36675
36675
|
;t?.darkMode?e.body?.classList.add("dark-mode"):e.body?.classList.add("light-mode")
|
|
@@ -37677,7 +37677,7 @@ const n=`${e.baseUrl}${t}`;if(n.startsWith("/"))return n
|
|
|
37677
37677
|
;const r=new URLSearchParams({scalar_url:n.toString()})
|
|
37678
37678
|
;return new URL(`https://proxy.scalar.com/?${r}`)}return{
|
|
37679
37679
|
uploadTempDocument:async function(r,o=!1){try{t.value={type:"uploading"}
|
|
37680
|
-
;const a=await fetch(n("/core/share/upload/apis"+(o?"?
|
|
37680
|
+
;const a=await fetch(n("/core/share/upload/apis"+(o?"?source=agent":"")),{
|
|
37681
37681
|
method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({
|
|
37682
37682
|
document:r})});if(!a.ok)return void(t.value={type:"error",
|
|
37683
37683
|
error:"Failed to upload document."})
|