From dd22f51c7153bab49cdf1650938fce08e18839c7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 14:17:41 +0000 Subject: [PATCH] chore: release @monetizationos/browser --- .changeset/doc-inconsistency-fixes.md | 10 ---------- CHANGELOG.md | 11 +++++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 13 insertions(+), 12 deletions(-) delete mode 100644 .changeset/doc-inconsistency-fixes.md diff --git a/.changeset/doc-inconsistency-fixes.md b/.changeset/doc-inconsistency-fixes.md deleted file mode 100644 index 7b8df31..0000000 --- a/.changeset/doc-inconsistency-fixes.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@monetizationos/browser": minor ---- - -Rename `publishableKey` to `publicKey`, plus README/source inconsistency fixes: - -- The config key is now `publicKey`, matching the console's "public key" terminology and the `pk_*` prefix. `publishableKey` keeps working as a deprecated alias (`publicKey` wins when both are set) and will be removed in a future version. The `data-mos-pk` attribute and the loader snippet's `pk` shorthand are unchanged. -- `ExplicitIdentity` no longer accepts a bare JWT string — pass `{ userJwt }` to `identify()`. The string form was never documented or shown in any example. -- An invalid `data-mos-timeout` / `data-mos-cloak-timeout` attribute (non-numeric, zero, negative, or blank) now emits a warn-level `config:invalid-timeout` event on `onLog` instead of being dropped silently; the default timeout still applies, as before. -- `storeKind` JSDoc now documents the real default (the combined localStorage + first-party-cookie store, not plain localStorage), and the README logging examples are valid JavaScript. diff --git a/CHANGELOG.md b/CHANGELOG.md index b897dac..83a9305 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # @monetizationos/browser +## 1.1.0 + +### Minor Changes + +- [#3](https://github.com/MonetizationOS/mos-browser-sdk/pull/3) [`1d21a57`](https://github.com/MonetizationOS/mos-browser-sdk/commit/1d21a57038d8e9f4aff6ca1e83a2137b209d021a) Thanks [@benney](https://github.com/benney)! - Rename `publishableKey` to `publicKey`, plus README/source inconsistency fixes: + + - The config key is now `publicKey`, matching the console's "public key" terminology and the `pk_*` prefix. `publishableKey` keeps working as a deprecated alias (`publicKey` wins when both are set) and will be removed in a future version. The `data-mos-pk` attribute and the loader snippet's `pk` shorthand are unchanged. + - `ExplicitIdentity` no longer accepts a bare JWT string — pass `{ userJwt }` to `identify()`. The string form was never documented or shown in any example. + - An invalid `data-mos-timeout` / `data-mos-cloak-timeout` attribute (non-numeric, zero, negative, or blank) now emits a warn-level `config:invalid-timeout` event on `onLog` instead of being dropped silently; the default timeout still applies, as before. + - `storeKind` JSDoc now documents the real default (the combined localStorage + first-party-cookie store, not plain localStorage), and the README logging examples are valid JavaScript. + ## 1.0.0 ### Major Changes diff --git a/package.json b/package.json index bc2e253..bfaec0d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@monetizationos/browser", - "version": "1.0.0", + "version": "1.1.0", "description": "MonetizationOS Browser SDK", "license": "MIT", "type": "module", diff --git a/src/version.ts b/src/version.ts index efb2f32..02be272 100644 --- a/src/version.ts +++ b/src/version.ts @@ -5,7 +5,7 @@ * Kept as a hand-maintained constant rather than importing package.json so the value survives * tree-shaking and the SSR-safe build with no JSON-module resolution at runtime. */ -export const BROWSER_PACKAGE_VERSION = '1.0.0' +export const BROWSER_PACKAGE_VERSION = '1.1.0' /** Header carrying {@link BROWSER_PACKAGE_VERSION}. */ export const BROWSER_PACKAGE_VERSION_HEADER = 'X-MOS-Browser-Version'