@formio/uag 1.12.4 → 1.13.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.
- package/lib/index.js +4 -0
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -26,6 +26,10 @@ class UAGServer extends appserver_1.Server {
|
|
|
26
26
|
super((0, lodash_1.defaultsDeep)(config || {}, {
|
|
27
27
|
baseUrl: (0, lodash_1.get)(process.env, 'BASE_URL', '').toString(),
|
|
28
28
|
license: (0, lodash_1.get)(process.env, 'UAG_LICENSE', '').toString(),
|
|
29
|
+
// A project that is still starting up (a Form.io server in the same compose
|
|
30
|
+
// file, for example) is retried with backoff before the load is given up on.
|
|
31
|
+
retries: parseInt((0, lodash_1.get)(process.env, 'PROJECT_RETRIES', 5).toString(), 10),
|
|
32
|
+
retryDelay: parseInt((0, lodash_1.get)(process.env, 'PROJECT_RETRY_DELAY', 5000).toString(), 10),
|
|
29
33
|
submissionProxy: true,
|
|
30
34
|
processAsClient: true,
|
|
31
35
|
auth: { pkce: true }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formio/uag",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.1",
|
|
4
4
|
"mcpName": "io.form/formio-uag",
|
|
5
5
|
"description": "The Form.io Universal Agent Gateway (UAG).",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"author": "Form.io Developers",
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@formio/appserver": "^2.
|
|
33
|
+
"@formio/appserver": "^2.14.1",
|
|
34
34
|
"@formio/core": "2.8.0",
|
|
35
35
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
36
36
|
"cors": "^2.8.6",
|