@vepler/http-sdk
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -47,3 +47,3 @@ "use strict"; | ||
case 0: | ||
sourceIds = params.sourceIds, _a = params.limit, limit = _a === void 0 ? 25 : _a, _b = params.offset, offset = _b === void 0 ? 0 : _b, area = params.area, _c = params.attributes, attributes = _c === void 0 ? [] : _c, query = params.query; | ||
sourceIds = params.sourceIds, _a = params.limit, limit = _a === void 0 ? 25 : _a, _b = params.offset, offset = _b === void 0 ? 0 : _b, area = params.area, _c = params.attributes, attributes = _c === void 0 ? null : _c, query = params.query; | ||
api = (0, config_1.getApiInstance)('property'); | ||
@@ -55,3 +55,3 @@ return [4 /*yield*/, api.query("/query", { | ||
area: area, | ||
attributes: attributes.join(','), | ||
attributes: attributes ? attributes.join(',') : undefined, | ||
query: query, | ||
@@ -58,0 +58,0 @@ }, { |
{ | ||
"name": "@vepler/http-sdk", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "The Official Propbar HTTP SDK.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -33,3 +33,3 @@ import { getApiInstance, initialisedConfig } from '../../../config'; | ||
area, | ||
attributes = [], | ||
attributes = null, | ||
query | ||
@@ -47,3 +47,3 @@ } = params; | ||
area, | ||
attributes: attributes.join(','), | ||
attributes: attributes ? attributes.join(',') : undefined, | ||
query, | ||
@@ -50,0 +50,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38926