@nymphjs/server 1.0.0-beta.115 → 1.0.0-beta.117

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.117](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.116...v1.0.0-beta.117) (2026-04-21)
7
+
8
+ ### Bug Fixes
9
+
10
+ - referencesToEntities using guid instead of class name ([5970fd7](https://forge.sciactive.com/sciactive/nymphjs/commits/5970fd7e3cbb8286ea96f7812bb36f05a91ba65c))
11
+
12
+ # [1.0.0-beta.116](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.115...v1.0.0-beta.116) (2026-04-08)
13
+
14
+ **Note:** Version bump only for package @nymphjs/server
15
+
6
16
  # [1.0.0-beta.115](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.114...v1.0.0-beta.115) (2026-04-06)
7
17
 
8
18
  **Note:** Version bump only for package @nymphjs/server
@@ -799,7 +799,7 @@ export function createServer(nymph, { jsonOptions = {} } = {}) {
799
799
  else if (Array.isArray(item)) {
800
800
  if (item.length === 3 && item[0] === 'nymph_entity_reference') {
801
801
  try {
802
- const EntityClass = nymph.getEntityClass(item[1]);
802
+ const EntityClass = nymph.getEntityClass(item[2]);
803
803
  if (!EntityClass.restEnabled) {
804
804
  throw new ForbiddenClassError('Not accessible.');
805
805
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nymphjs/server",
3
- "version": "1.0.0-beta.115",
3
+ "version": "1.0.0-beta.117",
4
4
  "description": "Nymph.js - REST Server",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -33,13 +33,13 @@
33
33
  },
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@nymphjs/nymph": "^1.0.0-beta.115",
36
+ "@nymphjs/nymph": "^1.0.0-beta.117",
37
37
  "cookie-parser": "^1.4.7",
38
38
  "express": "^5.2.1"
39
39
  },
40
40
  "devDependencies": {
41
- "@nymphjs/client": "^1.0.0-beta.115",
42
- "@nymphjs/driver-sqlite3": "^1.0.0-beta.115",
41
+ "@nymphjs/client": "^1.0.0-beta.117",
42
+ "@nymphjs/driver-sqlite3": "^1.0.0-beta.117",
43
43
  "@tsconfig/recommended": "^1.0.13",
44
44
  "@types/cookie-parser": "^1.4.10",
45
45
  "@types/express": "^5.0.6",
@@ -49,5 +49,5 @@
49
49
  "ts-node": "^10.9.2",
50
50
  "typescript": "^5.9.3"
51
51
  },
52
- "gitHead": "22de90bdf6c524d46e401d950507ab746adb9427"
52
+ "gitHead": "6b1c6a672633ab763e00027cdf3768112afb823b"
53
53
  }
@@ -857,7 +857,7 @@ export function createServer(
857
857
  } else if (Array.isArray(item)) {
858
858
  if (item.length === 3 && item[0] === 'nymph_entity_reference') {
859
859
  try {
860
- const EntityClass = nymph.getEntityClass(item[1]);
860
+ const EntityClass = nymph.getEntityClass(item[2]);
861
861
  if (!EntityClass.restEnabled) {
862
862
  throw new ForbiddenClassError('Not accessible.');
863
863
  }