@prismicio/client
Advanced tools
Comparing version 6.0.0-alpha.6 to 6.0.0-alpha.7
@@ -302,6 +302,6 @@ import * as prismicH from '@prismicio/helpers'; | ||
async getByIDs(ids, params) { | ||
return await this.get(appendPredicates(at("document.id", ids))(params)); | ||
return await this.get(appendPredicates(_in("document.id", ids))(params)); | ||
} | ||
async getAllByIDs(ids, params) { | ||
return await this.getAll(appendPredicates(at("document.id", ids))(params)); | ||
return await this.getAll(appendPredicates(_in("document.id", ids))(params)); | ||
} | ||
@@ -308,0 +308,0 @@ async getByUID(documentType, uid, params) { |
{ | ||
"name": "@prismicio/client", | ||
"version": "6.0.0-alpha.6", | ||
"version": "6.0.0-alpha.7", | ||
"description": "The official JavaScript + TypeScript client library for Prismic", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -533,3 +533,3 @@ import * as prismicT from "@prismicio/types"; | ||
return await this.get<TDocument>( | ||
appendPredicates(predicate.at("document.id", ids))(params) | ||
appendPredicates(predicate.in("document.id", ids))(params) | ||
); | ||
@@ -563,3 +563,3 @@ } | ||
return await this.getAll<TDocument>( | ||
appendPredicates(predicate.at("document.id", ids))(params) | ||
appendPredicates(predicate.in("document.id", ids))(params) | ||
); | ||
@@ -566,0 +566,0 @@ } |
Sorry, the diff of this file is not supported yet
166584