tradly 1.1.21 → 1.1.22

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.
Files changed (2) hide show
  1. package/Roots/App.js +8 -4
  2. package/package.json +1 -1
package/Roots/App.js CHANGED
@@ -130,8 +130,10 @@ class App {
130
130
  return error;
131
131
  }
132
132
  }
133
- async getConfigList(param = { paramBody, authKey }) {
134
- let url = `${CONFIGLIST}${param.paramBody}`;
133
+ async getConfigList(param = { paramBody, authKey, domain_id }) {
134
+ let url = `${CONFIGLIST}${param.paramBody}&domain_id=${
135
+ param.domain_id ?? 0
136
+ }`;
135
137
  try {
136
138
  const [error, responseJson] = await network.networkCall({
137
139
  path: url,
@@ -149,8 +151,10 @@ class App {
149
151
  return error;
150
152
  }
151
153
  }
152
- async getGroupedConfigList(param = { paramBody, authKey }) {
153
- let url = `${GROUPCONFIGLIST}${param.paramBody}`;
154
+ async getGroupedConfigList(param = { paramBody, authKey, domain_id }) {
155
+ let url = `${GROUPCONFIGLIST}${param.paramBody}&domain_id=${
156
+ param.domain_id ?? 0
157
+ }`;
154
158
  try {
155
159
  const [error, responseJson] = await network.networkCall({
156
160
  path: url,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tradly",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "Tradly JS SDK",
5
5
  "main": "index.js",
6
6
  "type": "module",