tpmkms_4wp 8.0.0-beta.24 → 8.0.0-beta.26
Sign up to get free protection for your applications and to get access to all the features.
- package/common/characters.js +7 -5
- package/common/reports.js +5 -8
- package/package.json +2 -2
package/common/characters.js
CHANGED
@@ -184,11 +184,13 @@ const createConfig = async () => {
|
|
184
184
|
await config.add(gdefaults)
|
185
185
|
|
186
186
|
await config.setMultiApi(initializeApi)
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
187
|
+
config.initializer( async ({isModule, km}) => {
|
188
|
+
if (!isModule) {
|
189
|
+
const config = km('characters')
|
190
|
+
await config.setApi(api2)
|
191
|
+
await config.setApi(api)
|
192
|
+
}
|
193
|
+
})
|
192
194
|
await config.restart_auto_rebuild()
|
193
195
|
return config
|
194
196
|
}
|
package/common/reports.js
CHANGED
@@ -592,14 +592,11 @@ const createConfig = async () => {
|
|
592
592
|
await config.add(currencyKM, helpKM, math, events)
|
593
593
|
await config.setMultiApi(initializeApi)
|
594
594
|
// mode this to non-module init only
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
// config.addAPI(api2)
|
601
|
-
}
|
602
|
-
await config.initializer(({config, objects, km, isModule}) => {
|
595
|
+
await config.initializer(async ({config, objects, km, kms, isModule}) => {
|
596
|
+
if (!isModule) {
|
597
|
+
await kms.reports.addAPI(api1)
|
598
|
+
await kms.reports.addAPI(api2)
|
599
|
+
}
|
603
600
|
objects.tempReportId = 0
|
604
601
|
objects.listings = {
|
605
602
|
}
|
package/package.json
CHANGED
@@ -280,8 +280,8 @@
|
|
280
280
|
"table": "^6.7.1",
|
281
281
|
"base-64": "^1.0.0",
|
282
282
|
"argparse": "^2.0.1",
|
283
|
-
"theprogrammablemind_4wp": "8.0.0-beta.
|
283
|
+
"theprogrammablemind_4wp": "8.0.0-beta.26"
|
284
284
|
},
|
285
|
-
"version": "8.0.0-beta.
|
285
|
+
"version": "8.0.0-beta.26",
|
286
286
|
"license": "UNLICENSED"
|
287
287
|
}
|