@nymphjs/nymph 1.0.0-beta.41 → 1.0.0-beta.43

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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-beta.43](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.42...v1.0.0-beta.43) (2023-07-12)
7
+
8
+ **Note:** Version bump only for package @nymphjs/nymph
9
+
10
+ # [1.0.0-beta.42](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.41...v1.0.0-beta.42) (2023-07-12)
11
+
12
+ ### Features
13
+
14
+ - make fillSession async so that gatekeeper can be sync ([fb6def4](https://github.com/sciactive/nymphjs/commit/fb6def45cd031516c9bcd3438f905e2ff881707b))
15
+
6
16
  # [1.0.0-beta.41](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.40...v1.0.0-beta.41) (2023-07-12)
7
17
 
8
18
  ### Features
@@ -168,11 +168,11 @@ export interface TilmeldInterface {
168
168
  response: any;
169
169
  init(nymph: Nymph): void;
170
170
  clone(): TilmeldInterface;
171
- gatekeeper(ability?: string): Promise<boolean>;
171
+ gatekeeper(ability?: string): boolean;
172
172
  authenticate(): Promise<boolean>;
173
173
  clearSession(): void;
174
174
  extractToken(token: string): Promise<any>;
175
- fillSession(user: any): void;
175
+ fillSession(user: any): Promise<void>;
176
176
  checkClientUIDPermissions(name: string, type?: TilmeldAccessLevels): Promise<boolean>;
177
177
  }
178
178
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nymphjs/nymph",
3
- "version": "1.0.0-beta.41",
3
+ "version": "1.0.0-beta.43",
4
4
  "description": "Nymph.js - Nymph ORM",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "@nymphjs/guid": "^1.0.0-beta.41",
34
+ "@nymphjs/guid": "^1.0.0-beta.43",
35
35
  "joi": "^17.9.2",
36
36
  "locutus": "^2.0.16",
37
37
  "lodash": "^4.17.21",
@@ -47,5 +47,5 @@
47
47
  "ts-jest": "^29.1.0",
48
48
  "typescript": "^5.1.3"
49
49
  },
50
- "gitHead": "3fd4aa597fb08befd832bb7902dfc9e92af7de92"
50
+ "gitHead": "f04f9f839fe1f1fe520304c5dd25840247f2e608"
51
51
  }
@@ -376,11 +376,11 @@ export interface TilmeldInterface {
376
376
  response: any;
377
377
  init(nymph: Nymph): void;
378
378
  clone(): TilmeldInterface;
379
- gatekeeper(ability?: string): Promise<boolean>;
379
+ gatekeeper(ability?: string): boolean;
380
380
  authenticate(): Promise<boolean>;
381
381
  clearSession(): void;
382
382
  extractToken(token: string): Promise<any>;
383
- fillSession(user: any): void;
383
+ fillSession(user: any): Promise<void>;
384
384
  checkClientUIDPermissions(
385
385
  name: string,
386
386
  type?: TilmeldAccessLevels