@iamnnort/nestjs-serializer 2.0.0 → 2.0.1
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -9214,6 +9214,9 @@ var SerializerInterceptor = /* @__PURE__ */ __name((config) => {
|
|
|
9214
9214
|
if (request.query.extended) {
|
|
9215
9215
|
return config.extendedScopes || config.scopes;
|
|
9216
9216
|
}
|
|
9217
|
+
if (request.query.limited) {
|
|
9218
|
+
return config.limitedScopes || config.scopes;
|
|
9219
|
+
}
|
|
9217
9220
|
return config.scopes;
|
|
9218
9221
|
}
|
|
9219
9222
|
};
|