@verii/server-credentialagent 1.2.0-pre.1776401456 → 1.2.0-pre.1776678086
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/README.md +5 -5
- package/docker/compose.yml +2 -2
- package/e2e/README.md +1 -1
- package/package.json +38 -38
package/README.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
### Local
|
|
3
3
|
Where implemented, such as in the credential agent and oracle,
|
|
4
4
|
it is possible to run migration commands from the package's root folder:
|
|
5
|
-
- `
|
|
6
|
-
- `
|
|
7
|
-
- `
|
|
8
|
-
- `
|
|
5
|
+
- `pnpm run migrate:create migration-name-kebab-case-format` Will create a file in `migrations` folder
|
|
6
|
+
- `pnpm run migrate:up`: Will run all migrations
|
|
7
|
+
- `pnpm run migrate:down`: Will revert the last executed migration
|
|
8
|
+
- `pnpm run migrate:status`: Will show the current migration status
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
#### Notes for credential-agent migrations
|
|
@@ -15,5 +15,5 @@ it is possible to run migration commands from the package's root folder:
|
|
|
15
15
|
|
|
16
16
|
It is also possible to run the migrations using the services' docker images (services that include migrations):
|
|
17
17
|
```
|
|
18
|
-
docker run --name credentialagent-migrations -e MONGO_URI=**** ghcr.io/velocitynetworkfoundation/credentialagent:latest sh -c "cd servers/credentialagent &&
|
|
18
|
+
docker run --name credentialagent-migrations -e MONGO_URI=**** ghcr.io/velocitynetworkfoundation/credentialagent:latest sh -c "cd servers/credentialagent && pnpm run migrate:up"
|
|
19
19
|
```
|
package/docker/compose.yml
CHANGED
|
@@ -24,10 +24,10 @@ services:
|
|
|
24
24
|
- ../../../packages:/app/packages
|
|
25
25
|
- /app/servers/credentialagent/node_modules
|
|
26
26
|
- ..:/app/servers/credentialagent
|
|
27
|
-
command:
|
|
27
|
+
command: pnpm --dir servers/credentialagent exec nodemon --exec "pnpm start"
|
|
28
28
|
env_file:
|
|
29
29
|
- ../.localdev.e2e.env
|
|
30
30
|
environment:
|
|
31
31
|
- NODE_TLS_REJECT_UNAUTHORIZED=0
|
|
32
32
|
ports:
|
|
33
|
-
- 13012:3000
|
|
33
|
+
- 13012:3000
|
package/e2e/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
1. Run docker compose `docker compose -f ../docker/compose.yml up`
|
|
6
6
|
1. Set the `NODE_TLS_REJECT_UNAUTHORIZED` environment variable to `0`
|
|
7
|
-
1. Run tests using `
|
|
7
|
+
1. Run tests using `pnpm exec nx run @verii/server-credentialagent:test:e2e`
|
|
8
8
|
|
|
9
9
|
## Docker Compose
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verii/server-credentialagent",
|
|
3
|
-
"version": "1.2.0-pre.
|
|
3
|
+
"version": "1.2.0-pre.1776678086",
|
|
4
4
|
"description": "Credential Agent application",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"repository": "https://github.com/LFDT-Verii/core",
|
|
@@ -40,55 +40,55 @@
|
|
|
40
40
|
"@fastify/view": "^11.0.0",
|
|
41
41
|
"@spencejs/spence-factories": "^1.0.0",
|
|
42
42
|
"@spencejs/spence-mongo-repos": "^1.0.0",
|
|
43
|
-
"@verii/auth": "1.2.0-pre.
|
|
44
|
-
"@verii/base-contract-io": "1.2.0-pre.
|
|
45
|
-
"@verii/blockchain-functions": "1.2.0-pre.
|
|
46
|
-
"@verii/common-fetchers": "1.2.0-pre.
|
|
47
|
-
"@verii/common-functions": "1.2.0-pre.
|
|
48
|
-
"@verii/common-schemas": "1.2.0-pre.
|
|
49
|
-
"@verii/config": "1.2.0-pre.
|
|
50
|
-
"@verii/contract-permissions": "1.2.0-pre.
|
|
51
|
-
"@verii/crypto": "1.2.0-pre.
|
|
52
|
-
"@verii/csv-parser": "1.2.0-pre.
|
|
53
|
-
"@verii/db-kms": "1.2.0-pre.
|
|
54
|
-
"@verii/did-doc": "1.2.0-pre.
|
|
55
|
-
"@verii/fastify-plugins": "1.2.0-pre.
|
|
56
|
-
"@verii/http-client": "1.2.0-pre.
|
|
57
|
-
"@verii/jwt": "1.2.0-pre.
|
|
58
|
-
"@verii/metadata-registration": "1.2.0-pre.
|
|
59
|
-
"@verii/organizations-registry": "1.2.0-pre.
|
|
60
|
-
"@verii/rest-queries": "1.2.0-pre.
|
|
61
|
-
"@verii/server-provider": "1.2.0-pre.
|
|
62
|
-
"@verii/spencer-mongo-extensions": "1.2.0-pre.
|
|
63
|
-
"@verii/test-regexes": "1.2.0-pre.
|
|
64
|
-
"@verii/validation": "1.2.0-pre.
|
|
65
|
-
"@verii/vc-checks": "1.2.0-pre.
|
|
66
|
-
"@verii/verii-issuing": "1.2.0-pre.
|
|
67
|
-
"@verii/verii-verification": "1.2.0-pre.
|
|
43
|
+
"@verii/auth": "1.2.0-pre.1776678086",
|
|
44
|
+
"@verii/base-contract-io": "1.2.0-pre.1776678086",
|
|
45
|
+
"@verii/blockchain-functions": "1.2.0-pre.1776678086",
|
|
46
|
+
"@verii/common-fetchers": "1.2.0-pre.1776678086",
|
|
47
|
+
"@verii/common-functions": "1.2.0-pre.1776678086",
|
|
48
|
+
"@verii/common-schemas": "1.2.0-pre.1776678086",
|
|
49
|
+
"@verii/config": "1.2.0-pre.1776678086",
|
|
50
|
+
"@verii/contract-permissions": "1.2.0-pre.1776678086",
|
|
51
|
+
"@verii/crypto": "1.2.0-pre.1776678086",
|
|
52
|
+
"@verii/csv-parser": "1.2.0-pre.1776678086",
|
|
53
|
+
"@verii/db-kms": "1.2.0-pre.1776678086",
|
|
54
|
+
"@verii/did-doc": "1.2.0-pre.1776678086",
|
|
55
|
+
"@verii/fastify-plugins": "1.2.0-pre.1776678086",
|
|
56
|
+
"@verii/http-client": "1.2.0-pre.1776678086",
|
|
57
|
+
"@verii/jwt": "1.2.0-pre.1776678086",
|
|
58
|
+
"@verii/metadata-registration": "1.2.0-pre.1776678086",
|
|
59
|
+
"@verii/organizations-registry": "1.2.0-pre.1776678086",
|
|
60
|
+
"@verii/rest-queries": "1.2.0-pre.1776678086",
|
|
61
|
+
"@verii/server-provider": "1.2.0-pre.1776678086",
|
|
62
|
+
"@verii/spencer-mongo-extensions": "1.2.0-pre.1776678086",
|
|
63
|
+
"@verii/test-regexes": "1.2.0-pre.1776678086",
|
|
64
|
+
"@verii/validation": "1.2.0-pre.1776678086",
|
|
65
|
+
"@verii/vc-checks": "1.2.0-pre.1776678086",
|
|
66
|
+
"@verii/verii-issuing": "1.2.0-pre.1776678086",
|
|
67
|
+
"@verii/verii-verification": "1.2.0-pre.1776678086",
|
|
68
68
|
"ajv": "8.18.0",
|
|
69
69
|
"canonicalize": "^2.1.0",
|
|
70
|
-
"date-fns": "
|
|
71
|
-
"env-var": "
|
|
72
|
-
"eth-url-parser": "
|
|
70
|
+
"date-fns": "^4.1.0",
|
|
71
|
+
"env-var": "^7.5.0",
|
|
72
|
+
"eth-url-parser": "^1.0.3",
|
|
73
73
|
"fastify": "^5.0.0",
|
|
74
74
|
"fastify-plugin": "^5.0.0",
|
|
75
75
|
"handlebars": "^4.7.7",
|
|
76
|
-
"http-errors": "
|
|
76
|
+
"http-errors": "^2.0.0",
|
|
77
77
|
"jsonpath-plus": "^10.3.0",
|
|
78
78
|
"lodash": "^4.17.21",
|
|
79
|
-
"mongodb": "
|
|
80
|
-
"nanoid": "
|
|
79
|
+
"mongodb": "^7.1.0",
|
|
80
|
+
"nanoid": "^5.1.0",
|
|
81
81
|
"nock": "15.0.0-beta.10",
|
|
82
82
|
"qr-image": "~3.2.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@spencejs/spence-config": "1.0.0",
|
|
86
|
-
"@verii/endpoints-organizations-registrar": "1.2.0-pre.
|
|
87
|
-
"@verii/sample-data": "1.2.0-pre.
|
|
86
|
+
"@verii/endpoints-organizations-registrar": "1.2.0-pre.1776678086",
|
|
87
|
+
"@verii/sample-data": "1.2.0-pre.1776678086",
|
|
88
88
|
"@verii/test-regexes": "0.5.0-build",
|
|
89
|
-
"@verii/tests-helpers": "1.2.0-pre.
|
|
89
|
+
"@verii/tests-helpers": "1.2.0-pre.1776678086",
|
|
90
90
|
"cheerio": "1.2.0",
|
|
91
|
-
"dotenv": "16.6.1",
|
|
91
|
+
"dotenv": "^16.6.1",
|
|
92
92
|
"eslint": "9.39.4",
|
|
93
93
|
"eslint-config-airbnb-extended": "3.0.1",
|
|
94
94
|
"eslint-config-prettier": "10.1.8",
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
"expect": "30.3.0",
|
|
102
102
|
"globals": "17.5.0",
|
|
103
103
|
"jest-json-schema": "6.1.0",
|
|
104
|
-
"jose": "5.10.0",
|
|
104
|
+
"jose": "^5.10.0",
|
|
105
105
|
"migrate-mongo": "14.0.7",
|
|
106
106
|
"nanoid-dictionary": "5.0.0",
|
|
107
107
|
"nodemon": "3.1.14",
|
|
108
108
|
"prettier": "3.8.1",
|
|
109
109
|
"qs": "6.15.1"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "0ec17cab6d1c0e6b2d9ead33fdd824d41cb70c5c"
|
|
112
112
|
}
|