Skip to content

Commit cb1f411

Browse files
committed
📦 v2.0.0
1 parent 747eedc commit cb1f411

10 files changed

Lines changed: 10 additions & 6 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ interface OstrioWebAnalyticsConfig {
181181
- `options.transport` - {*'fetch' | 'beacon' | 'img'*} - Set preferred transport; Default: `fetch`
182182

183183
> [!TIP]
184-
> After initializing `new Analytics()` — it's good to go, visitor navigation will be collected and reported in ostr.io analytics. For custom events - see below.*
184+
> After initializing `new Analytics()` — it's good to go, visitor navigation will be collected and reported in ostr.io analytics. For `{auto: false}`, additional settings, and custom events - see below.
185185
186186
---
187187

dist/index.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ class OstrioWebAnalytics {
7777
this.warn = function (..._args) {
7878
if (typeof console === 'undefined')
7979
return;
80+
/* eslint-disable no-console,no-nested-ternary */
8081
const fn = typeof console.warn === 'function' ? console.warn : typeof console.log === 'function' ? console.log : null;
8182
if (!fn)
8283
return;

dist/index.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ostrio-analytics.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ostrio-analytics.umd.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ostrio-analytics.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ export class OstrioWebAnalytics {
394394

395395
private readonly warn = function (..._args: unknown[]) {
396396
if (typeof console === 'undefined') return;
397+
/* eslint-disable no-console,no-nested-ternary */
397398
const fn = typeof console.warn === 'function' ? console.warn : typeof console.log === 'function' ? console.log : null;
398399
if (!fn) return;
399400
const args = Array.from(arguments);

0 commit comments

Comments
 (0)