Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

Releases: Nosto/techdocs

1.4

28 Oct 08:29
46a5846
Compare
Choose a tag to compare

1.3

05 Aug 11:26
46a5846
Compare
Choose a tag to compare
1.3

1.2

05 Aug 11:07
46a5846
Compare
Choose a tag to compare
1.2

1.1

05 Aug 11:04
46a5846
Compare
Choose a tag to compare
1.1
  • JS API: We've added a new callback to the JS API. Along with the postRender callback hook, you have access to a preRender hook as well. This hook is invoked prior to any onsite content being displayed. If you would like to access the raw response data to build any custom integrations, we recommend that you leverage this hook.
nostojs(api => {
  api.listen("prerender", function(data) { 
   console.log(data);
  });
});

1.0

05 Aug 10:59
46a5846
Compare
Choose a tag to compare
1.0
  • Implementation: We've shipped some massive improvements to how you get notified of errors and warnings when using the JS API. If you pass in invalid product-ids, invalid category names or tags, it will warn you in the browser console. This only works in the debug mode and you should see the errors in the browser console. So if you say I'm viewing category /doesnotexist, it will validate this against your product catalog to see if there are any products that have that criteria. Here's a screenshot:

Console