New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@prismicio/client

Package Overview
Dependencies
Maintainers
18
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prismicio/client - npm Package Compare versions

Comparing version 6.0.0-alpha.6 to 6.0.0-alpha.7

4

dist/index.es.js

@@ -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

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