Skip to content

Commit

Permalink
bug: fix package json umd main and module file locations (#170)
Browse files Browse the repository at this point in the history
Co-authored-by: Wesley Walser <[email protected]>
  • Loading branch information
wwalser and Wesley Walser authored Jun 9, 2022
1 parent 705a73a commit 5650170
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-dots-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sajari/sdk-js": patch
---

bug: fix package json umd main and module file locations
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"description": "Search.io JavaScript SDK",
"version": "2.10.5",
"main": "dist/index.js",
"umd:main": "dist/sajarisdk.umd.production.js",
"module": "dist/sajarisdk.esm.production.js",
"umd:main": "dist/sajarisdk.umd.production.min.js",
"module": "dist/sajarisdk.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion src/user-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ if (scriptTag) {
* user agent of sdk
* @hidden
*/
export const USER_AGENT = ["sajari-sdk-js/2.10.4", suffix]
export const USER_AGENT = ["sajari-sdk-js/2.10.5", suffix]
.filter(Boolean)
.join(" ");

0 comments on commit 5650170

Please sign in to comment.