@rvoh/psychic 2.2.2 → 2.3.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.
@@ -1,10 +1,8 @@
1
1
  import { DreamApp } from '@rvoh/dream';
2
- import { DreamAppAllowedPackageManagersEnumValues, } from '@rvoh/dream/system';
3
2
  import { Encrypt } from '@rvoh/dream/utils';
4
3
  import PackageManager from '../cli/helpers/PackageManager.js';
5
4
  import PsychicAppInitMissingApiRoot from '../error/psychic-app/init-missing-api-root.js';
6
5
  import PsychicAppInitMissingCallToLoadControllers from '../error/psychic-app/init-missing-call-to-load-controllers.js';
7
- import PsychicAppInitMissingPackageManager from '../error/psychic-app/init-missing-package-manager.js';
8
6
  import PsychicAppInitMissingRoutesCallback from '../error/psychic-app/init-missing-routes-callback.js';
9
7
  import cookieMaxAgeFromCookieOpts from '../helpers/cookieMaxAgeFromCookieOpts.js';
10
8
  import EnvInternal from '../helpers/EnvInternal.js';
@@ -45,8 +43,6 @@ export default class PsychicApp {
45
43
  throw new PsychicAppInitMissingApiRoot();
46
44
  if (!psychicApp.routesCb)
47
45
  throw new PsychicAppInitMissingRoutesCallback();
48
- if (!DreamAppAllowedPackageManagersEnumValues.includes(psychicApp.packageManager))
49
- throw new PsychicAppInitMissingPackageManager();
50
46
  if (psychicApp.encryption?.cookies?.current)
51
47
  this.checkEncryptionKey('cookies', psychicApp.encryption.cookies.current.key, psychicApp.encryption.cookies.current.algorithm);
52
48
  await psychicApp.inflections?.();
@@ -1,10 +1,8 @@
1
1
  import { DreamApp } from '@rvoh/dream';
2
- import { DreamAppAllowedPackageManagersEnumValues, } from '@rvoh/dream/system';
3
2
  import { Encrypt } from '@rvoh/dream/utils';
4
3
  import PackageManager from '../cli/helpers/PackageManager.js';
5
4
  import PsychicAppInitMissingApiRoot from '../error/psychic-app/init-missing-api-root.js';
6
5
  import PsychicAppInitMissingCallToLoadControllers from '../error/psychic-app/init-missing-call-to-load-controllers.js';
7
- import PsychicAppInitMissingPackageManager from '../error/psychic-app/init-missing-package-manager.js';
8
6
  import PsychicAppInitMissingRoutesCallback from '../error/psychic-app/init-missing-routes-callback.js';
9
7
  import cookieMaxAgeFromCookieOpts from '../helpers/cookieMaxAgeFromCookieOpts.js';
10
8
  import EnvInternal from '../helpers/EnvInternal.js';
@@ -45,8 +43,6 @@ export default class PsychicApp {
45
43
  throw new PsychicAppInitMissingApiRoot();
46
44
  if (!psychicApp.routesCb)
47
45
  throw new PsychicAppInitMissingRoutesCallback();
48
- if (!DreamAppAllowedPackageManagersEnumValues.includes(psychicApp.packageManager))
49
- throw new PsychicAppInitMissingPackageManager();
50
46
  if (psychicApp.encryption?.cookies?.current)
51
47
  this.checkEncryptionKey('cookies', psychicApp.encryption.cookies.current.key, psychicApp.encryption.cookies.current.algorithm);
52
48
  await psychicApp.inflections?.();
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "name": "@rvoh/psychic",
4
4
  "description": "Typescript web framework",
5
- "version": "2.2.2",
5
+ "version": "2.3.1",
6
6
  "author": "RVOHealth",
7
7
  "repository": {
8
8
  "type": "git",