@surfside/surfside-events 3.6.1 → 3.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surfside/surfside-events",
3
- "version": "3.6.1",
3
+ "version": "3.6.3",
4
4
  "description": "Surfside Digital Analytics > Custom Events",
5
5
  "homepage": "https://surfside.io",
6
6
  "author": "Michael Blanche",
@@ -11,13 +11,9 @@
11
11
  "files": [
12
12
  "dist"
13
13
  ],
14
- "scripts": {
15
- "build": "rollup -c --silent --failAfterWarnings",
16
- "test": "jest"
17
- },
18
14
  "dependencies": {
19
- "@surfside/browser-core": "workspace:*",
20
- "@surfside/digital-core": "workspace:*",
15
+ "@surfside/browser-core": "3.6.0",
16
+ "@surfside/digital-core": "3.6.0",
21
17
  "tslib": "^2.3.1"
22
18
  },
23
19
  "devDependencies": {
@@ -43,11 +39,13 @@
43
39
  "ts-jest": "~27.1.3",
44
40
  "typescript": "~4.6.2"
45
41
  },
46
- "peerDependencies": {
47
- "@surfside/browser-sdk": "workspace:*"
48
- },
49
42
  "directories": {
50
43
  "test": "test"
51
44
  },
52
- "license": "ISC"
53
- }
45
+ "license": "ISC",
46
+ "scripts": {
47
+ "build": "rollup -c --silent --failAfterWarnings",
48
+ "test": "jest"
49
+ },
50
+ "readme": "# Surfside Digital Analytics\n\n### Setup repository\n\n```bash\nclone repo\nnpm install -g @microsoft/rush \nrush update\n```\n\n## Package Installation\n\nWith npm:\n\n```bash\nnpm install @surfside/surfside-events\n```\n\n## Usage\n\nUse the available functions from this package to track to all trackers which have been initialized with the SurfsideEvent plugin:\n\n```js\nimport { SurfsideEvent, addProduct, addPromo, setCommerceAction } from '@surfside/surfside-events';\n\naddProduct({\n id: 'P12345',\n name: 'Blue T-Shirt',\n list: 'Search Results',\n brand: 'The T-Shirt Company',\n category: 'Apparel/T-Shirts',\n variant: 'Black',\n quantity: 1,\n});\n\naddPromo({\n id: 'PROMO_1234',\n name: 'Summer Sale',\n creative: 'summer_banner2',\n position: 'banner_slot1',\n});\n\nsetCommerceAction({ action: 'purchase' });\n\n```"
51
+ }