@scalar/core 0.3.18 → 0.3.20
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,20 @@
|
|
|
1
1
|
# @scalar/core
|
|
2
2
|
|
|
3
|
+
## 0.3.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [f3e17d8]
|
|
8
|
+
- @scalar/types@0.3.2
|
|
9
|
+
|
|
10
|
+
## 0.3.19
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 1e01464: Adds a new ApiReferenceConfigWithSource type and make the base ApiReferenceConfig type agnostic of any document sources.
|
|
15
|
+
- Updated dependencies [1e01464]
|
|
16
|
+
- @scalar/types@0.3.1
|
|
17
|
+
|
|
3
18
|
## 0.3.18
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ApiReferenceConfigurationWithSource, HtmlRenderingConfiguration } from '@scalar/types/api-reference';
|
|
2
2
|
export type { HtmlRenderingConfiguration };
|
|
3
3
|
/**
|
|
4
4
|
* The HTML document to render the Scalar API reference.
|
|
@@ -10,9 +10,9 @@ export declare const getHtmlDocument: (givenConfiguration: Partial<HtmlRendering
|
|
|
10
10
|
/**
|
|
11
11
|
* The script tags to load the @scalar/api-reference package from the CDN.
|
|
12
12
|
*/
|
|
13
|
-
export declare function getScriptTags(configuration: Partial<
|
|
13
|
+
export declare function getScriptTags(configuration: Partial<ApiReferenceConfigurationWithSource>, cdn?: string): string;
|
|
14
14
|
/**
|
|
15
15
|
* The configuration to pass to the @scalar/api-reference package.
|
|
16
16
|
*/
|
|
17
|
-
export declare const getConfiguration: (givenConfiguration: Partial<
|
|
17
|
+
export declare const getConfiguration: (givenConfiguration: Partial<ApiReferenceConfigurationWithSource>) => Partial<ApiReferenceConfigurationWithSource>;
|
|
18
18
|
//# sourceMappingURL=html-rendering.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-rendering.d.ts","sourceRoot":"","sources":["../../../src/libs/html-rendering/html-rendering.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"html-rendering.d.ts","sourceRoot":"","sources":["../../../src/libs/html-rendering/html-rendering.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mCAAmC,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAA;AAGlH,YAAY,EAAE,0BAA0B,EAAE,CAAA;AA+C1C;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,oBAAoB,OAAO,CAAC,0BAA0B,CAAC,EAAE,oBAAgB,WAwBxG,CAAA;AASD;;GAEG;AACH,wBAAgB,aAAa,CAAC,aAAa,EAAE,OAAO,CAAC,mCAAmC,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,UAiCtG;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC3B,oBAAoB,OAAO,CAAC,mCAAmC,CAAC,KAC/D,OAAO,CAAC,mCAAmC,CAkB7C,CAAA"}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"directory": "packages/core"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [],
|
|
14
|
-
"version": "0.3.
|
|
14
|
+
"version": "0.3.20",
|
|
15
15
|
"engines": {
|
|
16
16
|
"node": ">=20"
|
|
17
17
|
},
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"module": "dist/index.js",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@scalar/types": "0.3.
|
|
38
|
+
"@scalar/types": "0.3.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"vite": "7.1.5",
|