Skip to content

Commit

Permalink
Merge pull request #245 from akshayunbxd/extraParams
Browse files Browse the repository at this point in the history
Release v2.1.1 - Dynamic Extra params
  • Loading branch information
akshayunbxd authored Oct 25, 2023
2 parents e0c3cba + 7d1827c commit c2a7bc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions demo/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,11 @@ window.unbxdSearch = new UnbxdSearch({
swatchColors: "color"
}
},
extraParams: {
test: function(){
return new Date().getMilliseconds()
}
},
onAction: function (e, ctx) { },
onEvent: unbxdCallbackEcma
});
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unbxd-ui/vanilla-search-library",
"version": "2.1.0",
"version": "2.1.1",
"description": "A JavaScript library for building performant and quick search experiences with Unbxd",
"main": "public/dist/js/vanillaSearch.js",
"repository": {
Expand Down Expand Up @@ -79,7 +79,7 @@
"author": "Unbxd",
"license": "ISC",
"dependencies": {
"@unbxd-ui/unbxd-search-core": "0.5.0",
"@unbxd-ui/unbxd-search-core": "0.5.1",
"babel-polyfill": "^6.26.0",
"babel-runtime": "^6.26.0",
"element-dataset": "^2.2.6"
Expand Down

0 comments on commit c2a7bc5

Please sign in to comment.