@unboundcx/sdk 1.7.1 → 1.7.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/base.js +1 -1
- package/package.json +1 -1
package/base.js
CHANGED
|
@@ -130,7 +130,7 @@ export class BaseSDK {
|
|
|
130
130
|
throw new Error(`Missing required parameter ${key}`);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
if (params[key] !== undefined) {
|
|
133
|
+
if (params[key] !== undefined && params[key] !== null) {
|
|
134
134
|
const expectedType = schema[key].type;
|
|
135
135
|
const actualValue = params[key];
|
|
136
136
|
let isValidType = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unboundcx/sdk",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"description": "Official JavaScript SDK for the Unbound API - A comprehensive toolkit for integrating with Unbound's communication, AI, and data management services",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|