web-manager 4.1.5 → 4.1.6

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.
@@ -256,6 +256,7 @@ class Notifications {
256
256
  try {
257
257
  const firestore = this.manager.firestore();
258
258
  const user = this.manager.auth().getUser();
259
+ const storage = this.manager.storage();
259
260
 
260
261
  if (!token) {
261
262
  return;
@@ -300,7 +301,7 @@ class Notifications {
300
301
  ...baseData,
301
302
  token,
302
303
  tags: ['general'],
303
- // TODO: add attribution data on create
304
+ attribution: storage.get('attribution', {}),
304
305
  created: {
305
306
  timestamp,
306
307
  timestampUNIX
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "4.1.5",
3
+ "version": "4.1.6",
4
4
  "description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
5
5
  "main": "dist/index.js",
6
6
  "module": "src/index.js",