sfmc-sdk 0.6.0 → 0.6.1

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/lib/soap.js +2 -0
  2. package/package.json +6 -6
package/lib/soap.js CHANGED
@@ -97,6 +97,8 @@ module.exports = class Soap {
97
97
  }
98
98
  status = resultsBatch.OverallStatus;
99
99
  if (status === 'MoreDataAvailable') {
100
+ //as requestParams is by default optional, ensure object exists in this case
101
+ requestParams = requestParams || {};
100
102
  requestParams.continueRequest = resultsBatch.RequestID;
101
103
  if (this.options?.eventHandlers?.onLoop) {
102
104
  this.options.eventHandlers.onLoop(type, resultsBulk);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfmc-sdk",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Libarary to simplify SFMC requests with updated dependencies and less overhead",
5
5
  "main": "./lib/index.js",
6
6
  "scripts": {
@@ -16,7 +16,7 @@
16
16
  "license": "BSD-3-Clause",
17
17
  "dependencies": {
18
18
  "axios": "^0.27.2",
19
- "fast-xml-parser": "4.0.7",
19
+ "fast-xml-parser": "4.0.8",
20
20
  "p-limit": "3.1.0"
21
21
  },
22
22
  "keywords": [
@@ -32,15 +32,15 @@
32
32
  ],
33
33
  "devDependencies": {
34
34
  "assert": "2.0.0",
35
- "axios-mock-adapter": "1.20.0",
35
+ "axios-mock-adapter": "1.21.1",
36
36
  "chai": "4.3.6",
37
37
  "eslint-config-prettier": "8.5.0",
38
- "eslint-plugin-jsdoc": "39.2.9",
39
- "eslint-plugin-mocha": "10.0.4",
38
+ "eslint-plugin-jsdoc": "39.3.3",
39
+ "eslint-plugin-mocha": "10.0.5",
40
40
  "eslint-plugin-prettier": "4.0.0",
41
41
  "mocha": "10.0.0",
42
42
  "nyc": "15.1.0",
43
- "prettier-eslint": "14.0.3",
43
+ "prettier-eslint": "15.0.1",
44
44
  "sinon": "14.0.0"
45
45
  },
46
46
  "engines": {