@twin.org/engine-server 0.0.1-next.49 → 0.0.1-next.50

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.
@@ -446,6 +446,10 @@ function addRestPaths(coreEngineConfig, serverConfig) {
446
446
  !core.Is.stringValue(coreEngineConfig.types.nftComponent[0].restPath)) {
447
447
  coreEngineConfig.types.nftComponent[0].restPath = "nft";
448
448
  }
449
+ if (core.Is.arrayValue(coreEngineConfig.types.immutableStorageComponent) &&
450
+ !core.Is.stringValue(coreEngineConfig.types.immutableStorageComponent[0].restPath)) {
451
+ coreEngineConfig.types.immutableStorageComponent[0].restPath = "immutable";
452
+ }
449
453
  if (core.Is.arrayValue(coreEngineConfig.types.immutableProofComponent) &&
450
454
  !core.Is.stringValue(coreEngineConfig.types.immutableProofComponent[0].restPath)) {
451
455
  coreEngineConfig.types.immutableProofComponent[0].restPath = "immutable-proof";
@@ -444,6 +444,10 @@ function addRestPaths(coreEngineConfig, serverConfig) {
444
444
  !Is.stringValue(coreEngineConfig.types.nftComponent[0].restPath)) {
445
445
  coreEngineConfig.types.nftComponent[0].restPath = "nft";
446
446
  }
447
+ if (Is.arrayValue(coreEngineConfig.types.immutableStorageComponent) &&
448
+ !Is.stringValue(coreEngineConfig.types.immutableStorageComponent[0].restPath)) {
449
+ coreEngineConfig.types.immutableStorageComponent[0].restPath = "immutable";
450
+ }
447
451
  if (Is.arrayValue(coreEngineConfig.types.immutableProofComponent) &&
448
452
  !Is.stringValue(coreEngineConfig.types.immutableProofComponent[0].restPath)) {
449
453
  coreEngineConfig.types.immutableProofComponent[0].restPath = "immutable-proof";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/engine-server",
3
- "version": "0.0.1-next.49",
3
+ "version": "0.0.1-next.50",
4
4
  "description": "Engine implementation for a server.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,9 +17,9 @@
17
17
  "@twin.org/api-models": "next",
18
18
  "@twin.org/api-server-fastify": "next",
19
19
  "@twin.org/core": "next",
20
- "@twin.org/engine-core": "0.0.1-next.49",
21
- "@twin.org/engine-models": "0.0.1-next.49",
22
- "@twin.org/engine-server-types": "0.0.1-next.49",
20
+ "@twin.org/engine-core": "0.0.1-next.50",
21
+ "@twin.org/engine-models": "0.0.1-next.50",
22
+ "@twin.org/engine-server-types": "0.0.1-next.50",
23
23
  "@twin.org/modules": "next",
24
24
  "@twin.org/nameof": "next"
25
25
  },