@ozdao/martyrs 0.2.557 → 0.2.558
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/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import FactoryPayments from './controllers/factories/payments.factory.js';
|
|
2
2
|
import RoutesPayments from './controllers/routes/payments.routes.js';
|
|
3
|
-
import RoutesRewards from './controllers/routes/rewards.routes.js';
|
|
3
|
+
// import RoutesRewards from './controllers/routes/rewards.routes.js';
|
|
4
4
|
import ModelPayment from './models/payment.model.js';
|
|
5
|
-
import ModelReward from './models/reward.model.js';
|
|
6
|
-
import ModelWallet from './models/wallet.model.js';
|
|
5
|
+
// import ModelReward from './models/reward.model.js';
|
|
6
|
+
// import ModelWallet from './models/wallet.model.js';
|
|
7
7
|
// Initialization function for setting up the module within the application
|
|
8
|
-
function initializePayments(app, db, wss,
|
|
8
|
+
function initializePayments(app, db, wss, origins, publicPath) {
|
|
9
9
|
// Setup models in the database object
|
|
10
|
-
db.wallet = ModelWallet(db);
|
|
10
|
+
// db.wallet = ModelWallet(db);
|
|
11
11
|
db.payment = ModelPayment(db);
|
|
12
|
-
db.reward = ModelReward(db);
|
|
12
|
+
// db.reward = ModelReward(db);
|
|
13
13
|
// Setup routes if the app object is provided
|
|
14
14
|
if (app) {
|
|
15
15
|
RoutesPayments(app, db, origins, publicPath);
|
|
@@ -17,13 +17,13 @@ function initializePayments(app, db, wss, wdmClient, origins, publicPath) {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
export const models = {
|
|
20
|
-
ModelWallet,
|
|
20
|
+
// ModelWallet,
|
|
21
21
|
ModelPayment,
|
|
22
|
-
ModelReward,
|
|
22
|
+
// ModelReward,
|
|
23
23
|
};
|
|
24
24
|
export const routes = {
|
|
25
25
|
RoutesPayments,
|
|
26
|
-
RoutesRewards,
|
|
26
|
+
// RoutesRewards,
|
|
27
27
|
};
|
|
28
28
|
export const controllers = {
|
|
29
29
|
FactoryPayments,
|