@scalar/hono-api-reference 0.5.181 → 0.5.184

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.
@@ -1 +1 @@
1
- {"version":3,"file":"honoApiReference.d.ts","sourceRoot":"","sources":["../src/honoApiReference.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAA;AAGlD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAE3D;;GAEG;AACH,eAAO,MAAM,WAAW,mtHAoGvB,CAAA;AASD;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,GAAG,sBACpB,OAAO,CAAC,yBAAyB,CAAC,KACrD,iBAAiB,CAAC,CAAC,CASrB,CAAA"}
1
+ {"version":3,"file":"honoApiReference.d.ts","sourceRoot":"","sources":["../src/honoApiReference.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAA;AAElD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAS3D;;GAEG;AACH,eAAO,MAAM,WAAW,mtHAoGvB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,GAAG,sBACpB,OAAO,CAAC,yBAAyB,CAAC,KACrD,iBAAiB,CAAC,CAAC,CASrB,CAAA"}
@@ -1,5 +1,11 @@
1
- import { getHtmlDocument } from '@scalar/api-reference/lib/html-rendering';
1
+ import { getHtmlDocument } from '@scalar/core/libs/html-rendering';
2
2
 
3
+ /**
4
+ * The default configuration for the API Reference.
5
+ */
6
+ const DEFAULT_CONFIGURATION = {
7
+ _integration: 'hono',
8
+ };
3
9
  /**
4
10
  * The custom theme for Hono
5
11
  */
@@ -104,12 +110,6 @@ const customTheme = `
104
110
  --scalar-sidebar-search-color: var(--scalar-color-3);
105
111
  }
106
112
  `;
107
- /**
108
- * The default configuration for the API Reference.
109
- */
110
- const DEFAULT_CONFIGURATION = {
111
- _integration: 'hono',
112
- };
113
113
  /**
114
114
  * The Hono middleware for the Scalar API Reference.
115
115
  */
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { HtmlRenderingConfiguration } from '@scalar/api-reference/lib/html-rendering';
1
+ import type { HtmlRenderingConfiguration } from '@scalar/core/libs/html-rendering';
2
2
  /**
3
3
  * The configuration for the Scalar API Reference for Hono
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAA;AAE1F;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,0BAA0B,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAA;AAElF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,0BAA0B,CAAA"}
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "git+https://github.com/scalar/scalar.git",
11
11
  "directory": "integrations/hono"
12
12
  },
13
- "version": "0.5.181",
13
+ "version": "0.5.184",
14
14
  "engines": {
15
15
  "node": ">=18"
16
16
  },
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "module": "dist/index.js",
31
31
  "dependencies": {
32
- "@scalar/api-reference": "1.25.128"
32
+ "@scalar/core": "0.1.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@hono/node-server": "^1.11.0",
@@ -37,7 +37,7 @@
37
37
  "hono": "^4.6.5",
38
38
  "vite": "^5.4.10",
39
39
  "vitest": "^1.6.0",
40
- "@scalar/build-tooling": "0.1.16"
40
+ "@scalar/build-tooling": "0.1.17"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "hono": "^4.0.0"