@things-factory/operato-hub 4.3.204 → 4.3.205
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/config.development.js +31 -9
- package/package.json +4 -4
package/config.development.js
CHANGED
|
@@ -4,28 +4,43 @@ module.exports = {
|
|
|
4
4
|
useVirtualHostBasedDomain: false,
|
|
5
5
|
fallbackRoute: '/',
|
|
6
6
|
subdomainOffset: 2,
|
|
7
|
-
port:
|
|
7
|
+
port: 3000,
|
|
8
8
|
inspect: '9260',
|
|
9
9
|
ormconfig: {
|
|
10
10
|
name: 'default',
|
|
11
11
|
type: 'postgres',
|
|
12
|
-
database: '
|
|
12
|
+
database: 'postgres',
|
|
13
13
|
username: 'postgres',
|
|
14
14
|
password: 'hatio',
|
|
15
|
-
host: '
|
|
15
|
+
host: 'localhost',
|
|
16
16
|
port: 15432,
|
|
17
|
-
synchronize:
|
|
18
|
-
logging:
|
|
17
|
+
synchronize: false,
|
|
18
|
+
logging: true,
|
|
19
|
+
connectTimeoutMS: 30000,
|
|
20
|
+
extra: { poolSize: 30 }
|
|
19
21
|
},
|
|
20
22
|
// ormconfig: {
|
|
21
23
|
// name: 'default',
|
|
22
24
|
// type: 'postgres',
|
|
25
|
+
// database: 'dev2', // dev2
|
|
26
|
+
// username: 'postgres',
|
|
27
|
+
// password: 'abcd1234',
|
|
23
28
|
// host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
24
29
|
// port: 55432,
|
|
30
|
+
// synchronize:false,
|
|
31
|
+
// logging: false,
|
|
32
|
+
// connectTimeoutMS: 30000,
|
|
33
|
+
// extra: { poolSize: 30 }
|
|
34
|
+
// },
|
|
35
|
+
// ormconfig: {
|
|
36
|
+
// name: 'default',
|
|
37
|
+
// type: 'postgres',
|
|
38
|
+
// host: 'localhost',
|
|
39
|
+
// port: 15432,
|
|
25
40
|
// database: 'postgres',
|
|
26
41
|
// username: 'postgres',
|
|
27
|
-
// password: '
|
|
28
|
-
// synchronize:
|
|
42
|
+
// password: 'hatio',
|
|
43
|
+
// synchronize: false,
|
|
29
44
|
// logging: true,
|
|
30
45
|
// connectTimeoutMS: 30000,
|
|
31
46
|
// extra: { poolSize: 30 }
|
|
@@ -106,13 +121,13 @@ module.exports = {
|
|
|
106
121
|
// }
|
|
107
122
|
},
|
|
108
123
|
fulfillmentIntegrationOperato: {
|
|
109
|
-
host: '
|
|
124
|
+
host: '192.168.0.161:3000',
|
|
110
125
|
protocol: 'http',
|
|
111
126
|
platform: 'operato',
|
|
112
127
|
application: 'Operato MMS',
|
|
113
128
|
appKey: 'a9bf751e622bf146662b240d58971051',
|
|
114
129
|
appSecret: '1c385935dc131c4b902b9bbf6a4798af',
|
|
115
|
-
callback: 'http://
|
|
130
|
+
callback: 'http://192.168.0.161:5000/callback-operato'
|
|
116
131
|
},
|
|
117
132
|
marketplaceIntegrationShopee: {
|
|
118
133
|
platform: 'shopee',
|
|
@@ -135,5 +150,12 @@ module.exports = {
|
|
|
135
150
|
apiSecret: 'T139_ItMjObC82mmy7iwnNflhd2iV0kUvDBj0P_201EmA7Sj',
|
|
136
151
|
callback: 'http://operato-h.com:3000/callback-xero',
|
|
137
152
|
hostname: 'http://operato-h.com:3000/'
|
|
153
|
+
},
|
|
154
|
+
awbFileStorage: {
|
|
155
|
+
type: 's3',
|
|
156
|
+
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
157
|
+
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e',
|
|
158
|
+
bucketName: 'operato-awb',
|
|
159
|
+
region: 'ap-southeast-1'
|
|
138
160
|
}
|
|
139
161
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-hub",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.205",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@things-factory/pdf": "^4.3.159",
|
|
92
92
|
"@things-factory/product-ui": "^4.3.204",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.179",
|
|
94
|
-
"@things-factory/sales-base": "^4.3.
|
|
94
|
+
"@things-factory/sales-base": "^4.3.205",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.159",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.159",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.159",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@things-factory/shell": "^4.3.179",
|
|
108
108
|
"@things-factory/system-ui": "^4.3.179",
|
|
109
109
|
"@things-factory/warehouse-base": "^4.3.204",
|
|
110
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/worksheet-base": "^4.3.205",
|
|
111
111
|
"cron-parser": "^4.7.0",
|
|
112
112
|
"koa2-swagger-ui": "^5.0.2",
|
|
113
113
|
"swagger-jsdoc": "^5.0.0",
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"resolutions": {
|
|
120
120
|
"core-js": "^3.16.0"
|
|
121
121
|
},
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "50caf0130df28e6a05dfc16aeda8812196cdb47d"
|
|
123
123
|
}
|