@citec-spbu/jwt 1.0.2 → 1.0.4

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.
@@ -80,6 +80,7 @@ let ConsumerModule = (() => {
80
80
  imports: [
81
81
  ...(options.imports || []),
82
82
  jwt_1.JwtModule.registerAsync({
83
+ imports: options.imports || [],
83
84
  useFactory: async (...args) => {
84
85
  const consumerOptions = await options.useFactory(...args);
85
86
  return {
@@ -81,6 +81,7 @@ let IssuerModule = (() => {
81
81
  imports: [
82
82
  ...(options.imports || []),
83
83
  jwt_1.JwtModule.registerAsync({
84
+ imports: options.imports || [],
84
85
  useFactory: async (...args) => {
85
86
  const issuerOptions = await options.useFactory(...args);
86
87
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citec-spbu/jwt",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Lightweight auth lib",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",