@qikdev/sdk 0.1.181 → 0.1.183
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/dist/main.js +1 -1
- package/package.json +1 -1
- package/src/api/qik.access.js +740 -712
- package/src/api/qik.utils.js +3 -3
- package/src/version.js +1 -1
package/src/api/qik.utils.js
CHANGED
|
@@ -800,7 +800,7 @@ service.mapFields = function (fields, options) {
|
|
|
800
800
|
|
|
801
801
|
mapped.path = mapped.trail.join(".");
|
|
802
802
|
mapped.titles = titles.slice();
|
|
803
|
-
mapped.titles.push(field.title || "");
|
|
803
|
+
mapped.titles.push(field.filterTitle || field.title || "");
|
|
804
804
|
|
|
805
805
|
const isNotLayoutOrIsAllowed = !isLayout || options.includeLayout;
|
|
806
806
|
|
|
@@ -840,7 +840,7 @@ service.mapFields = function (fields, options) {
|
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
842
|
trail.push(injectKey);
|
|
843
|
-
titles.push(field.title);
|
|
843
|
+
titles.push(field.filterTitle || field.title);
|
|
844
844
|
|
|
845
845
|
//Loop through each field
|
|
846
846
|
field.fields.forEach(mapField);
|
|
@@ -1105,7 +1105,7 @@ service.getAvailableCurrencies = function (DefaultCountryID) {
|
|
|
1105
1105
|
service.hash = function (items, key) {
|
|
1106
1106
|
items = !Array.isArray(items) ? [] : items;
|
|
1107
1107
|
return items.reduce(function (memo, item) {
|
|
1108
|
-
const k = _get(item, key);
|
|
1108
|
+
const k = key ? _get(item, key) : item;
|
|
1109
1109
|
memo[k] = item;
|
|
1110
1110
|
return memo;
|
|
1111
1111
|
}, {});
|
package/src/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "0.1.
|
|
1
|
+
export const version = "0.1.183";
|