@scalar/nestjs-api-reference 1.1.20 → 1.2.0

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/dist/index.cjs CHANGED
@@ -105,11 +105,12 @@ function apiReference(givenConfiguration) {
105
105
  ...givenConfiguration
106
106
  };
107
107
  const content = /* @__PURE__ */ __name(() => {
108
- const { cdn, pageTitle, ...config } = configuration;
108
+ const { cdn, pageTitle, nonce, ...config } = configuration;
109
109
  return (0, import_client_side_rendering.renderApiReference)({
110
110
  config,
111
111
  pageTitle,
112
- cdn
112
+ cdn,
113
+ nonce
113
114
  }, customThemeCSS);
114
115
  }, "content");
115
116
  if (givenConfiguration.withFastify) {
package/dist/index.js CHANGED
@@ -80,11 +80,12 @@ function apiReference(givenConfiguration) {
80
80
  ...givenConfiguration
81
81
  };
82
82
  const content = /* @__PURE__ */ __name(() => {
83
- const { cdn, pageTitle, ...config } = configuration;
83
+ const { cdn, pageTitle, nonce, ...config } = configuration;
84
84
  return renderApiReference({
85
85
  config,
86
86
  pageTitle,
87
- cdn
87
+ cdn,
88
+ nonce
88
89
  }, customThemeCSS);
89
90
  }, "content");
90
91
  if (givenConfiguration.withFastify) {
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "git+https://github.com/scalar/scalar.git",
11
11
  "directory": "integrations/nestjs"
12
12
  },
13
- "version": "1.1.20",
13
+ "version": "1.2.0",
14
14
  "engines": {
15
15
  "node": ">=22"
16
16
  },
@@ -49,7 +49,7 @@
49
49
  "documentation": "https://scalar.com/products/api-references/integrations/nestjs"
50
50
  },
51
51
  "dependencies": {
52
- "@scalar/client-side-rendering": "0.1.13"
52
+ "@scalar/client-side-rendering": "0.2.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@nestjs/common": "^11.1.11",