feat tracker: release tracker v13

This commit is contained in:
nick-delirium 2024-05-30 14:10:15 +02:00
parent ae4357c71a
commit ab3a82db4b
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
8 changed files with 6 additions and 7 deletions

View file

@ -22,5 +22,5 @@ MINIO_ACCESS_KEY = ''
MINIO_SECRET_KEY = '' MINIO_SECRET_KEY = ''
# APP and TRACKER VERSIONS # APP and TRACKER VERSIONS
VERSION = 1.16.0 VERSION = 1.18.0
TRACKER_VERSION = '11.0.1' TRACKER_VERSION = '13.0.0'

Binary file not shown.

View file

@ -20,7 +20,7 @@
"build-cjs": "rm -Rf cjs && tsc --project tsconfig-cjs.json && echo '{ \"type\": \"commonjs\" }' > cjs/package.json && bun run replace-paths && bun run replace-req-version", "build-cjs": "rm -Rf cjs && tsc --project tsconfig-cjs.json && echo '{ \"type\": \"commonjs\" }' > cjs/package.json && bun run replace-paths && bun run replace-req-version",
"replace-paths": "replace-in-files cjs/* --string='@openreplay/tracker' --replacement='@openreplay/tracker/cjs' && replace-in-files cjs/* --string='/lib/' --replacement='/'", "replace-paths": "replace-in-files cjs/* --string='@openreplay/tracker' --replacement='@openreplay/tracker/cjs' && replace-in-files cjs/* --string='/lib/' --replacement='/'",
"replace-pkg-version": "sh pkgver.sh", "replace-pkg-version": "sh pkgver.sh",
"replace-req-version": "replace-in-files lib/* cjs/* --string='REQUIRED_TRACKER_VERSION' --replacement='12.0.0'", "replace-req-version": "replace-in-files lib/* cjs/* --string='REQUIRED_TRACKER_VERSION' --replacement='13.0.0'",
"prepublishOnly": "bun run test && bun run build", "prepublishOnly": "bun run test && bun run build",
"prepare": "cd ../../ && husky install tracker/.husky/", "prepare": "cd ../../ && husky install tracker/.husky/",
"lint-front": "lint-staged", "lint-front": "lint-staged",

Binary file not shown.

View file

@ -1,7 +1,7 @@
{ {
"name": "@openreplay/tracker-redux", "name": "@openreplay/tracker-redux",
"description": "Tracker plugin for Redux state recording", "description": "Tracker plugin for Redux state recording",
"version": "3.6.1-beta.2", "version": "4.0.0",
"keywords": [ "keywords": [
"redux", "redux",
"logging", "logging",

View file

@ -71,9 +71,8 @@ export default function(opts: Partial<Options> = {}) {
const _currState = data.state; const _currState = data.state;
const _table = data.table; const _table = data.table;
const _timestamp = data.timestamp; const _timestamp = data.timestamp;
console.log('encoded', _action, _currState, _table, _timestamp, app?.timestamp())
for (let key in _table) app.send(Messages.OTable(key, _table[key])); for (let key in _table) app.send(Messages.OTable(key, _table[key]));
app.send(Messages.Redux(_action, _currState, duration, _timestamp)); // TODO: add timestamp app.send(Messages.Redux(_action, _currState, duration, _timestamp));
} }
} }
worker.onerror = (e) => { worker.onerror = (e) => {

Binary file not shown.

View file

@ -51,7 +51,7 @@
"typescript": "^4.9.4" "typescript": "^4.9.4"
}, },
"dependencies": { "dependencies": {
"@medv/finder": "^3.1.0", "@medv/finder": "^3.2.0",
"error-stack-parser": "^2.0.6", "error-stack-parser": "^2.0.6",
"fflate": "^0.8.2" "fflate": "^0.8.2"
}, },