From 82246deb2e008c8661724e6616b528c5b23d077a Mon Sep 17 00:00:00 2001 From: Jason Berry Date: Wed, 2 Mar 2022 18:21:27 +1100 Subject: [PATCH] release: version 2.10.0 --- package.json | 2 +- scripts/gen-useragent.js | 1 - src/user-agent.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f0aec6f0..3816264f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@sajari/sdk-js", "description": "Sajari JavaScript SDK", - "version": "2.9.0", + "version": "2.10.0", "main": "dist/index.js", "umd:main": "dist/sajarisdk.umd.production.js", "module": "dist/sajarisdk.esm.production.js", diff --git a/scripts/gen-useragent.js b/scripts/gen-useragent.js index 5367b0ce..ac2b315f 100644 --- a/scripts/gen-useragent.js +++ b/scripts/gen-useragent.js @@ -23,7 +23,6 @@ if (scriptTag) { export const USER_AGENT = ["sajari-sdk-js/${pkg.version}", suffix] .filter(Boolean) .join(" "); - `; fs.writeFileSync(path.join(__dirname, "../src/user-agent.ts"), template); diff --git a/src/user-agent.ts b/src/user-agent.ts index afa65865..6afc1b74 100644 --- a/src/user-agent.ts +++ b/src/user-agent.ts @@ -16,6 +16,6 @@ if (scriptTag) { * user agent of sdk * @hidden */ -export const USER_AGENT = ["sajari-sdk-js/2.9.0", suffix] +export const USER_AGENT = ["sajari-sdk-js/2.10.0", suffix] .filter(Boolean) .join(" ");