authscape 1.0.264 → 1.0.265

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/index.js CHANGED
@@ -1307,10 +1307,12 @@ var FileUploader = function FileUploader(_ref) {
1307
1307
  var propertyValues = Object.values(params);
1308
1308
  var array = [];
1309
1309
  for (var index = 0; index < propertyNames.length; index++) {
1310
- array.push({
1311
- key: propertyNames[index],
1312
- value: propertyValues[index]
1313
- });
1310
+ if (propertyNames[index] != null && propertyValues[index] != null) {
1311
+ array.push({
1312
+ key: propertyNames[index],
1313
+ value: propertyValues[index]
1314
+ });
1315
+ }
1314
1316
  }
1315
1317
  setParameters(array);
1316
1318
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.264",
3
+ "version": "1.0.265",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -131,10 +131,13 @@ export const FileUploader = ({
131
131
  let array = [];
132
132
 
133
133
  for (let index = 0; index < propertyNames.length; index++) {
134
- array.push({
135
- key: propertyNames[index],
136
- value: propertyValues[index],
137
- });
134
+ if (propertyNames[index] != null && propertyValues[index] != null)
135
+ {
136
+ array.push({
137
+ key: propertyNames[index],
138
+ value: propertyValues[index],
139
+ });
140
+ }
138
141
  }
139
142
 
140
143
  setParameters(array);