ikonrad / gatsby-source-trustpilot Goto Github PK
View Code? Open in Web Editor NEWGatsby source plugin for pulling Trustpilot reviews data
License: MIT License
Gatsby source plugin for pulling Trustpilot reviews data
License: MIT License
Hi, would it be possible to tag the latest version/release?
You changed it in the package.json but it's not tagged so it's hard to force to download that latest version.
And that latest push, it doesn't even exist in npm > https://www.npmjs.com/package/gatsby-source-trustpilot
can you publish the latest version to npm? Or is it unstable?
PD. The current 0.0.46 is preventing the project I'm working on from running, so that's why this request.
I'm currently using the gatsby-source-trustpilot to show some reviews in a multi-domain website.
The main gatsby-config is shared for all builds in various domains, so i get the domain of the website as a variable and pass it in the arrays of domains i gatsby-source-trustpilot options with a main domain that i expected to use as a fallback. Unfortunately, not always the domain exist (as example dev enviroments or new domains), and this break the plugin
"gatsby-source-trustpilot" threw an error while running the sourceNodes
lifecycle:
404 - [object Object]
44 | // Get Business Unit IDs for given domains
45 | _context.next = 5;
> 46 | return client.fetchUnitIdsForDomains();
| ^
47 |
48 | case 5:
49 |
is there a way to implement some kind of fallback?
Hi
Looking through the docs it seems it's a separate API request to get consumers and their details. I'm guessing that's one of the things you're asking for PRs for ...
This is a great plugin by the way and works fine, thanks for making it!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.