conseiljs
Advanced tools
Comparing version 5.0.5-beta.1 to 5.0.5-beta.2
@@ -10,2 +10,4 @@ import { ConseilQuery, ConseilOperator, ConseilSortDirection, ConseilFunction, ConseilOutput } from "../types/conseil/QueryTypes"; | ||
function addAggregationFunction(query: ConseilQuery, field: string, aggregationFunction: ConseilFunction): ConseilQuery; | ||
function addExtendedParameter(query: ConseilQuery, parameter: string, value: any): ConseilQuery; | ||
function removeParameter(query: ConseilQuery, parameter: string): ConseilQuery; | ||
} |
@@ -69,3 +69,15 @@ "use strict"; | ||
ConseilQueryBuilder.addAggregationFunction = addAggregationFunction; | ||
function addExtendedParameter(query, parameter, value) { | ||
query[parameter] = value; | ||
return query; | ||
} | ||
ConseilQueryBuilder.addExtendedParameter = addExtendedParameter; | ||
function removeParameter(query, parameter) { | ||
if (query.hasOwnProperty(parameter)) { | ||
delete query[parameter]; | ||
} | ||
return query; | ||
} | ||
ConseilQueryBuilder.removeParameter = removeParameter; | ||
})(ConseilQueryBuilder = exports.ConseilQueryBuilder || (exports.ConseilQueryBuilder = {})); | ||
//# sourceMappingURL=ConseilQueryBuilder.js.map |
{ | ||
"name": "conseiljs", | ||
"version": "5.0.5-beta.1", | ||
"version": "5.0.5-beta.2", | ||
"description": "Client-side library for Tezos dApp development.", | ||
@@ -5,0 +5,0 @@ "browser": "dist/index-web.js", |
Sorry, the diff of this file is not supported yet
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
710913
6907