@medusajs/link-modules 0.2.12-snapshot-20240704104329 → 0.2.12-snapshot-20240704123604
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ function getModuleService(joinerConfig) {
|
|
10
10
|
// If extraDataFields is not defined, pick the fields to populate and validate from the
|
11
11
|
// database config if any fields are provided.
|
12
12
|
if (!(0, utils_1.isDefined)(joinerConfig_.extraDataFields)) {
|
13
|
-
joinerConfig_.extraDataFields = Object.keys(databaseConfig
|
13
|
+
joinerConfig_.extraDataFields = Object.keys(databaseConfig?.extraFields || {});
|
14
14
|
}
|
15
15
|
return class LinkService extends _services_1.LinkModuleService {
|
16
16
|
__joinerConfig() {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/link-modules",
|
3
|
-
"version": "0.2.12-snapshot-
|
3
|
+
"version": "0.2.12-snapshot-20240704123604",
|
4
4
|
"description": "Medusa Default Link Modules Package and Definitions",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"test:integration": "jest --passWithNoTests"
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
32
|
-
"@medusajs/types": "1.12.0-snapshot-
|
32
|
+
"@medusajs/types": "1.12.0-snapshot-20240704123604",
|
33
33
|
"cross-env": "^5.2.1",
|
34
34
|
"jest": "^29.7.0",
|
35
35
|
"pg-god": "^1.0.12",
|
@@ -39,8 +39,8 @@
|
|
39
39
|
"typescript": "^5.1.6"
|
40
40
|
},
|
41
41
|
"dependencies": {
|
42
|
-
"@medusajs/modules-sdk": "1.13.0-snapshot-
|
43
|
-
"@medusajs/utils": "1.12.0-snapshot-
|
42
|
+
"@medusajs/modules-sdk": "1.13.0-snapshot-20240704123604",
|
43
|
+
"@medusajs/utils": "1.12.0-snapshot-20240704123604",
|
44
44
|
"@mikro-orm/core": "5.9.7",
|
45
45
|
"@mikro-orm/postgresql": "5.9.7",
|
46
46
|
"awilix": "^8.0.0"
|