Skip to content

Commit

Permalink
Added event pages endpoint, fixed missing title in PirschPageStats, u…
Browse files Browse the repository at this point in the history
…pdated dependencies.
  • Loading branch information
Kugelschieber committed Jan 18, 2024
1 parent 69fa6e2 commit ed2b5ff
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 99 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 2.5.0

* added event pages endpoint
* fixed missing title in PirschPageStats
* updated dependencies

## 2.4.6

* updated dependencies
Expand Down
190 changes: 95 additions & 95 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pirsch-sdk",
"version": "2.4.6",
"version": "2.5.0",
"description": "TypeScript/JavaScript client SDK for Pirsch.",
"main": "index.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -29,12 +29,12 @@
},
"homepage": "https://pirsch.io/",
"dependencies": {
"@types/node": "^20.11.0",
"@types/node": "^20.11.5",
"axios": "^1.6.5"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-unicorn": "^50.0.1",
Expand Down
1 change: 1 addition & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export enum PirschEndpoint {
EVENTS = "statistics/events",
EVENT_METADATA = "statistics/event/meta",
LIST_EVENTS = "statistics/event/list",
EVENTS_PAGES = "statistics/event/page",
GROWTH_RATE = "statistics/growth",
ACTIVE_VISITORS = "statistics/active",
TIME_OF_DAY = "statistics/hours",
Expand Down
Loading

0 comments on commit ed2b5ff

Please sign in to comment.