@jsforce/jsforce-node 3.6.1 → 3.6.2

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/lib/VERSION.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "3.6.1";
1
+ declare const _default: "3.6.2";
2
2
  export default _default;
package/lib/VERSION.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '3.6.1';
3
+ exports.default = '3.6.2';
package/lib/soap.js CHANGED
@@ -131,8 +131,12 @@ function toXML(name, value) {
131
131
  }
132
132
  else {
133
133
  const attrs = [];
134
- const elems = [];
135
- if ((0, function_1.isMapObject)(value)) {
134
+ if (value === null) {
135
+ attrs.push('xsi:nil="true"');
136
+ value = '';
137
+ }
138
+ else if ((0, function_1.isMapObject)(value)) {
139
+ const elems = [];
136
140
  for (const k of Object.keys(value)) {
137
141
  const v = value[k];
138
142
  if (k.startsWith('@')) {
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "database.com"
11
11
  ],
12
12
  "homepage": "http://github.com/jsforce/jsforce",
13
- "version": "3.6.1",
13
+ "version": "3.6.2",
14
14
  "repository": {
15
15
  "type": "git",
16
16
  "url": "git://github.com/jsforce/jsforce.git"