posthog-js 1.50.2 → 1.50.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.50.3 - 2023-03-02
2
+
3
+ - fix: spans inside buttons (#563)
4
+
1
5
  ## 1.50.2 - 2023-03-02
2
6
 
3
7
  - fix(bots): add "hubspot" and "crawler" to blocked user agents (#564)
package/README.md CHANGED
@@ -44,7 +44,7 @@ The `posthog-js` snippet for a website loads static js from the main `PostHog/po
44
44
 
45
45
  1. Run `PostHog/posthog` locally
46
46
  2. Link the `posthog-js` dependency to your local version (see below)
47
- 3. Run `yarn serve` in `posthog-js`. (This ensures `dist/array.js` is being generated)
47
+ 3. Run `yarn start` in `posthog-js`. (This ensures `dist/array.js` is being generated)
48
48
  4. In your locally running `PostHog/posthog` build, run `yarn copy-scripts`. (This copies the scripts generated in step 3 to the static assets folder for `PostHog/posthog`)
49
49
 
50
50
  Further, it's a good idea to modify `start-http` script to add development mode: `webpack serve --mode development`, which doesn't minify the resulting js (which you can then read in your browser).
@@ -56,7 +56,7 @@ Run `npm install -g yalc`
56
56
  - In the posthog-js repo
57
57
  - Run `yalc publish`
58
58
  - In the posthog repo
59
- - Run `yalc add posthog-js && pnpm i && pnpm-copy-scripts`
59
+ - Run `yalc add posthog-js && pnpm i && pnpm copy-scripts`
60
60
 
61
61
  #### When making changes
62
62