@twin.org/node-core 0.9.3-next.1 → 0.9.4-next.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.
Files changed (33) hide show
  1. package/dist/es/builders/engineEnvBuilder.js +443 -363
  2. package/dist/es/builders/engineEnvBuilder.js.map +1 -1
  3. package/dist/es/builders/helper/envHelpers.js +39 -0
  4. package/dist/es/builders/helper/envHelpers.js.map +1 -1
  5. package/dist/es/cli.js +1 -1
  6. package/dist/es/cli.js.map +1 -1
  7. package/dist/es/commands/bootstrapDev.js +3 -3
  8. package/dist/es/commands/bootstrapDev.js.map +1 -1
  9. package/dist/es/commands/help.js +1 -1
  10. package/dist/es/commands/help.js.map +1 -1
  11. package/dist/es/commands/identityCreate.js +2 -2
  12. package/dist/es/commands/identityCreate.js.map +1 -1
  13. package/dist/es/commands/identityVerificationMethodCreate.js +2 -2
  14. package/dist/es/commands/identityVerificationMethodCreate.js.map +1 -1
  15. package/dist/es/commands/userCreate.js +1 -1
  16. package/dist/es/commands/userCreate.js.map +1 -1
  17. package/dist/es/commands/vaultKeyCreate.js +1 -1
  18. package/dist/es/commands/vaultKeyCreate.js.map +1 -1
  19. package/dist/es/commands/vaultKeyImport.js +1 -1
  20. package/dist/es/commands/vaultKeyImport.js.map +1 -1
  21. package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -1
  22. package/dist/es/models/engineEnvironmentVariableKeys.js +7 -2
  23. package/dist/es/models/engineEnvironmentVariableKeys.js.map +1 -1
  24. package/dist/es/node.js +12 -20
  25. package/dist/es/node.js.map +1 -1
  26. package/dist/types/builders/engineEnvBuilder.d.ts +7 -0
  27. package/dist/types/builders/helper/envHelpers.d.ts +30 -0
  28. package/dist/types/models/IEngineEnvironmentVariables.d.ts +23 -7
  29. package/docs/changelog.md +34 -3
  30. package/docs/reference/functions/isMailboxEnabled.md +20 -0
  31. package/docs/reference/index.md +1 -0
  32. package/docs/reference/interfaces/IEngineEnvironmentVariables.md +44 -12
  33. package/package.json +1 -1
package/docs/changelog.md CHANGED
@@ -1,12 +1,11 @@
1
1
  # Changelog
2
2
 
3
- ## [0.9.3-next.1](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.3-next.0...node-core-v0.9.3-next.1) (2026-08-27)
3
+ ## [0.9.4-next.1](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.4-next.0...node-core-v0.9.4-next.1) (2026-09-07)
4
4
 
5
5
 
6
6
  ### Features
7
7
 
8
8
  * add additional env vars ([#328](https://github.com/iotaledger/twin-node/issues/328)) ([6ca8718](https://github.com/iotaledger/twin-node/commit/6ca87184bc4d78829c957ea055d3c281aca6cf9f))
9
- * add auth admin component ([1661e57](https://github.com/iotaledger/twin-node/commit/1661e57a699d5cf9ebde333e3cbc3aaea89d7c9c))
10
9
  * add automation ([cfc63b4](https://github.com/iotaledger/twin-node/commit/cfc63b465c139280f696877df21d54dc6a065a7e))
11
10
  * add CLI commands and remove automated bootstrap code ([#69](https://github.com/iotaledger/twin-node/issues/69)) ([6e40933](https://github.com/iotaledger/twin-node/commit/6e40933d8bb820b380e1074fc88feeedca0ef7d9))
12
11
  * add context id features ([#53](https://github.com/iotaledger/twin-node/issues/53)) ([827adf5](https://github.com/iotaledger/twin-node/commit/827adf52cb87fca53cec52b27e67f7a9dba2c088))
@@ -18,7 +17,6 @@
18
17
  * add extensions support ([476d5a8](https://github.com/iotaledger/twin-node/commit/476d5a864026a2f78e5b02bc9eb81359777a4a45))
19
18
  * add isDefault flag to logging connectors ([358e839](https://github.com/iotaledger/twin-node/commit/358e8394819dab9832d3a9ebfac74b897b7d5f40))
20
19
  * add logging otel ([2adf4e4](https://github.com/iotaledger/twin-node/commit/2adf4e44fd2ef4cce43f354da2187719c72cc3cd))
21
- * add missing export ([e8eb621](https://github.com/iotaledger/twin-node/commit/e8eb6213937a202520b164a9970a891004122b61))
22
20
  * add module cache and improve resolution ([482be05](https://github.com/iotaledger/twin-node/commit/482be056c37a598033250ea8a7288a33cf3470b4))
23
21
  * add module override for better local import resolution ([ba00d17](https://github.com/iotaledger/twin-node/commit/ba00d17beea0a9a1851c89ad7c6a33256051c818))
24
22
  * add mutex settings ([#222](https://github.com/iotaledger/twin-node/issues/222)) ([492c55f](https://github.com/iotaledger/twin-node/commit/492c55f67d5f70c2a4a27dfdb2700a644ee87955))
@@ -62,6 +60,7 @@
62
60
  * dataspace plane path ([#272](https://github.com/iotaledger/twin-node/issues/272)) ([5998eeb](https://github.com/iotaledger/twin-node/commit/5998eeb6fa1392ae753eb6bafeccefa1fb690573))
63
61
  * don't override existing env vars with env files ([ebccac2](https://github.com/iotaledger/twin-node/commit/ebccac297c3156076f17c246a8abd994f8f20e61))
64
62
  * dspace well-known endpoint test ([615bf55](https://github.com/iotaledger/twin-node/commit/615bf55de9e05ed410ed18348735cf4d6f392fe7))
63
+ * email ingestion ([#379](https://github.com/iotaledger/twin-node/issues/379)) ([12da79d](https://github.com/iotaledger/twin-node/commit/12da79dc9b167e288c555d4f1909a61c190eee4d))
65
64
  * endpoints-runner ([#153](https://github.com/iotaledger/twin-node/issues/153)) ([cca42d0](https://github.com/iotaledger/twin-node/commit/cca42d07d6655d401c909308e8b73606fef05248))
66
65
  * enhanced cli commands ([#288](https://github.com/iotaledger/twin-node/issues/288)) ([479fb34](https://github.com/iotaledger/twin-node/commit/479fb3448c493a134aee35b69ae39458e493a4ad))
67
66
  * env var simplification ([460b0f2](https://github.com/iotaledger/twin-node/commit/460b0f20a73cb482f7443af502f261d5f9d01759))
@@ -160,6 +159,38 @@
160
159
  * use async getStore in tests ([2189df4](https://github.com/iotaledger/twin-node/commit/2189df49a57637ba8effdee50965473f0a814c6c))
161
160
  * wire includeErrorStack debug flag into auth and tenant processor configs ([#313](https://github.com/iotaledger/twin-node/issues/313)) ([3c69c51](https://github.com/iotaledger/twin-node/commit/3c69c51bfdd65305efe2fbe9da508e684a4245d1))
162
161
 
162
+ ## [0.9.3](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.3...node-core-v0.9.3) (2026-09-04)
163
+
164
+
165
+ ### Features
166
+
167
+ * add auth admin component ([1661e57](https://github.com/iotaledger/twin-node/commit/1661e57a699d5cf9ebde333e3cbc3aaea89d7c9c))
168
+ * add extend engine and server methods ([ec09c7e](https://github.com/iotaledger/twin-node/commit/ec09c7eb882d9f5797f2fd372e96cad1a3716f59))
169
+ * add extend engine and server methods ([0136a6f](https://github.com/iotaledger/twin-node/commit/0136a6f3f4e1a82b1427ee9618b8a17c79bc7fda))
170
+ * additional run options ([c35e5bb](https://github.com/iotaledger/twin-node/commit/c35e5bbb8a80fe6a36628d41f64585b3723d9ad7))
171
+ * additional startup logging ([0740293](https://github.com/iotaledger/twin-node/commit/0740293b366032f2907046603abf587c9c324aff))
172
+ * improve default options and spec ([b538721](https://github.com/iotaledger/twin-node/commit/b538721902e7f65021d2715148ba59409ccce035))
173
+ * improve error reporting ([fcd39a1](https://github.com/iotaledger/twin-node/commit/fcd39a18da2a6ce33965a99ca5f2f36f4aba712f))
174
+ * initial commit ([522f1e5](https://github.com/iotaledger/twin-node/commit/522f1e515348f9b1dd1eeb3170b1249e2b0b5371))
175
+ * migrate env config from engine to node ([5da29b8](https://github.com/iotaledger/twin-node/commit/5da29b8d714495308320d237a68e84355bba2b47))
176
+ * node app use JavaScript ([14fe08c](https://github.com/iotaledger/twin-node/commit/14fe08cb760dd885a5dac9056a4d5dbc3d61df64))
177
+ * release to production ([6319a38](https://github.com/iotaledger/twin-node/commit/6319a38490a2c2809622f8acd170cb92bfa06942))
178
+ * release to production ([4f44403](https://github.com/iotaledger/twin-node/commit/4f444039832edce8fae562baa7c900ccdc2181da))
179
+ * release to production ([2d96e37](https://github.com/iotaledger/twin-node/commit/2d96e3737bd9663bc0d1171c2ff2c7f8b2ab01bb))
180
+ * release to production ([#253](https://github.com/iotaledger/twin-node/issues/253)) ([230efd0](https://github.com/iotaledger/twin-node/commit/230efd0f99af6114e707999b4c1a83a391cc1741))
181
+ * release to production ([#300](https://github.com/iotaledger/twin-node/issues/300)) ([4d2b09f](https://github.com/iotaledger/twin-node/commit/4d2b09f92c7815ad3fe48d54eca0972fefc782f7))
182
+ * release to production ([#364](https://github.com/iotaledger/twin-node/issues/364)) ([dbba3db](https://github.com/iotaledger/twin-node/commit/dbba3dbf3d9efb858b0ea28aaf88378964fcf08e))
183
+ * release to production ([#383](https://github.com/iotaledger/twin-node/issues/383)) ([5d29105](https://github.com/iotaledger/twin-node/commit/5d29105355f85011f9a338ba5069162a0b008849))
184
+ * update dependencies ([9d25f16](https://github.com/iotaledger/twin-node/commit/9d25f16f1d554cd38f3bec28fdf7f8fff892ceaf))
185
+
186
+
187
+ ### Bug Fixes
188
+
189
+ * adding a condition to verify if the password exists when bootstrapping ([6030a42](https://github.com/iotaledger/twin-node/commit/6030a42bdaf581678d96932fd0b809396bf7b8b0))
190
+ * adding a condition to verify if the password exists when bootstrapping ([c66f396](https://github.com/iotaledger/twin-node/commit/c66f396717394161a7647d1f08b3d87729d96e96))
191
+ * broken docs ([61479fd](https://github.com/iotaledger/twin-node/commit/61479fd618f766d22c5aafec5277e1a89e22b453))
192
+ * pr comments [#1](https://github.com/iotaledger/twin-node/issues/1) ([66e795b](https://github.com/iotaledger/twin-node/commit/66e795b16c372ab131ec1de30085aee90e4dbbd0))
193
+
163
194
  ## [0.9.2](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.2...node-core-v0.9.2) (2026-08-24)
164
195
 
165
196
 
@@ -0,0 +1,20 @@
1
+ # Function: isMailboxEnabled()
2
+
3
+ > **isMailboxEnabled**(`envVars`): `boolean`
4
+
5
+ Checks if the mailbox subsystem is enabled.
6
+ Returns true when any component that depends on the mailbox subsystem is enabled.
7
+
8
+ ## Parameters
9
+
10
+ ### envVars
11
+
12
+ [`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md)
13
+
14
+ The environment variables.
15
+
16
+ ## Returns
17
+
18
+ `boolean`
19
+
20
+ True if mailbox is enabled.
@@ -50,6 +50,7 @@
50
50
  - [isAutomationRequired](functions/isAutomationRequired.md)
51
51
  - [isTelemetryEnabled](functions/isTelemetryEnabled.md)
52
52
  - [isTracingEnabled](functions/isTracingEnabled.md)
53
+ - [isMailboxEnabled](functions/isMailboxEnabled.md)
53
54
  - [buildEngineServerConfiguration](functions/buildEngineServerConfiguration.md)
54
55
  - [isAuthEntityStorageRequired](functions/isAuthEntityStorageRequired.md)
55
56
  - [extensionsConfiguration](functions/extensionsConfiguration.md)
@@ -887,11 +887,11 @@ The type of event bus component: service.
887
887
 
888
888
  ***
889
889
 
890
- ### messagingEnabled? {#messagingenabled}
890
+ ### emailProtocolConnector? {#emailprotocolconnector}
891
891
 
892
- > `optional` **messagingEnabled?**: `string`
892
+ > `optional` **emailProtocolConnector?**: `string`
893
893
 
894
- Are the messaging components enabled, defaults to false.
894
+ The email protocol connector types, comma-separated: pop3, imap.
895
895
 
896
896
  ***
897
897
 
@@ -947,7 +947,47 @@ The applications for the push notifications reference a separate json with @json
947
947
 
948
948
  > `optional` **messagingEmailConnector?**: `string`
949
949
 
950
- The type of messaging email connector: entity-storage, aws.
950
+ The type of messaging email connector: entity-storage, aws, smtp.
951
+
952
+ ***
953
+
954
+ ### smtpHost? {#smtphost}
955
+
956
+ > `optional` **smtpHost?**: `string`
957
+
958
+ SMTP server hostname or IP address.
959
+
960
+ ***
961
+
962
+ ### smtpPort? {#smtpport}
963
+
964
+ > `optional` **smtpPort?**: `string`
965
+
966
+ SMTP server port, defaults to 587.
967
+
968
+ ***
969
+
970
+ ### smtpSecure? {#smtpsecure}
971
+
972
+ > `optional` **smtpSecure?**: `string`
973
+
974
+ Whether the SMTP connector uses TLS.
975
+
976
+ ***
977
+
978
+ ### smtpUsername? {#smtpusername}
979
+
980
+ > `optional` **smtpUsername?**: `string`
981
+
982
+ SMTP authentication username.
983
+
984
+ ***
985
+
986
+ ### smtpPassword? {#smtppassword}
987
+
988
+ > `optional` **smtpPassword?**: `string`
989
+
990
+ SMTP authentication password.
951
991
 
952
992
  ***
953
993
 
@@ -1498,14 +1538,6 @@ The identity verification method id to use with attestation.
1498
1538
 
1499
1539
  ***
1500
1540
 
1501
- ### dataProcessingEnabled? {#dataprocessingenabled}
1502
-
1503
- > `optional` **dataProcessingEnabled?**: `string`
1504
-
1505
- Is the data processing enabled, defaults to false.
1506
-
1507
- ***
1508
-
1509
1541
  ### dataConverterConnectors? {#dataconverterconnectors}
1510
1542
 
1511
1543
  > `optional` **dataConverterConnectors?**: `string`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/node-core",
3
- "version": "0.9.3-next.1",
3
+ "version": "0.9.4-next.1",
4
4
  "description": "TWIN Node Core for serving APIs using the specified configuration",
5
5
  "repository": {
6
6
  "type": "git",