Title: Fix README: Rename `user` to `clientUser` in TelemetryDeck Initialization Example by kics223w1 · Pull Request #30 · TelemetryDeck/JavaScriptSDK · GitHub
Open Graph Title: Fix README: Rename `user` to `clientUser` in TelemetryDeck Initialization Example by kics223w1 · Pull Request #30 · TelemetryDeck/JavaScriptSDK
X Title: Fix README: Rename `user` to `clientUser` in TelemetryDeck Initialization Example by kics223w1 · Pull Request #30 · TelemetryDeck/JavaScriptSDK
Description: Bug Report: Incorrect Property Name in TelemetryDeck SDK README
Description
When initializing the SDK as shown in the README, the following error occurs:
Object literal may only specify known properties, and 'user' does not exist in type 'TelemetryDeckOptions'.
This happens because the TelemetryDeck class has renamed the user property to clientUser, but the README still references user.
Steps to Reproduce
Install the Telemetry Deck JavaScript SDK:
npm install @telemetrydeck/sdk
Initialize the SDK with the following code:
const td = new TelemetryDeck({
appID: '
Open Graph Description: Bug Report: Incorrect Property Name in TelemetryDeck SDK README Description When initializing the SDK as shown in the README, the following error occurs: Object literal may only specify known prope...
X Description: Bug Report: Incorrect Property Name in TelemetryDeck SDK README Description When initializing the SDK as shown in the README, the following error occurs: Object literal may only specify known prope...
Opengraph URL: https://github.com/TelemetryDeck/JavaScriptSDK/pull/30
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7b184d8f-a137-ad34-1f7a-922474c04789 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8DDA:225726:185DB6:2194B6:6980EA79 |
| html-safe-nonce | 94fdf40b8a78cddd0767dcbe06f5e5e6e5bea8199d443fc0ced2a3c8ef1cef7b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RERBOjIyNTcyNjoxODVEQjY6MjE5NEI2OjY5ODBFQTc5IiwidmlzaXRvcl9pZCI6IjgzNDQzMDU5NzI0NTc1NjQ3OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | daa48101d2a8e46f100a211482cba58942cea7cf0fb62c3434ec44552b560794 |
| hovercard-subject-tag | pull_request:2323754379 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/TelemetryDeck/JavaScriptSDK/pull/30/files |
| twitter:image | https://avatars.githubusercontent.com/u/77295189?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/77295189?s=400&v=4 |
| og:image:alt | Bug Report: Incorrect Property Name in TelemetryDeck SDK README Description When initializing the SDK as shown in the README, the following error occurs: Object literal may only specify known prope... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | aaf8d4a8e86300179375c44c83488bc74585c21f81b72377699d5e6c4b00d1b1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/TelemetryDeck/JavaScriptSDK git https://github.com/TelemetryDeck/JavaScriptSDK.git |
| octolytics-dimension-user_id | 72379280 |
| octolytics-dimension-user_login | TelemetryDeck |
| octolytics-dimension-repository_id | 446406688 |
| octolytics-dimension-repository_nwo | TelemetryDeck/JavaScriptSDK |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 446406688 |
| octolytics-dimension-repository_network_root_nwo | TelemetryDeck/JavaScriptSDK |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0b50c4d33bc796ea7d05dba2f7cf29956c2e8265 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width