Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gooddata

Package Overview
Dependencies
Maintainers
9
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gooddata - npm Package Compare versions

Comparing version 4.4.0 to 4.4.1

4

lib/admin/domains.js

@@ -66,3 +66,3 @@ 'use strict';

var getDomainProjects = exports.getDomainProjects = function getDomainProjects(contractId, domainId, query, paging) {
var getDomainProjects = exports.getDomainProjects = function getDomainProjects(contractId, domainId, state, query, paging) {
if (paging && !paging.next) {

@@ -72,3 +72,3 @@ return Promise.resolve({ items: [], paging: {} });

var uri = paging ? paging.next : routes.interpolate(routes.CONTRACT_DOMAIN_PROJECTS, { contractId: contractId, domainId: domainId }, query && { prefixSearch: query });
var uri = paging ? paging.next : routes.interpolate(routes.CONTRACT_DOMAIN_PROJECTS, { contractId: contractId, domainId: domainId }, state || query ? Object.assign(state && { state: state }, query && { prefixSearch: query }) : null);

@@ -75,0 +75,0 @@ return (0, _xhr.get)(uri).then(function (result) {

{
"name": "gooddata",
"version": "4.4.0",
"version": "4.4.1",
"author": "GoodData",

@@ -66,3 +66,3 @@ "description": "GoodData JavaScript SDK",

"dependencies": {
"@gooddata/typings": "0.0.3",
"@gooddata/typings": "0.0.4",
"es6-promise": "3.0.2",

@@ -69,0 +69,0 @@ "fetch-cookie": "0.4.0",

@@ -48,3 +48,3 @@ import { get } from '../xhr';

export const getDomainProjects = (contractId, domainId, query, paging) => {
export const getDomainProjects = (contractId, domainId, state, query, paging) => {
if (paging && !paging.next) {

@@ -57,3 +57,4 @@ return Promise.resolve({ items: [], paging: {} });

routes.CONTRACT_DOMAIN_PROJECTS,
{ contractId, domainId }, query && { prefixSearch: query }
{ contractId, domainId }, state || query ?
Object.assign(state && { state }, query && { prefixSearch: query }) : null
);

@@ -60,0 +61,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc