Comparing version 1.12.1 to 1.12.2
{ | ||
"name": "sysend", | ||
"version": "1.12.1", | ||
"version": "1.12.2", | ||
"description": "Web application synchronization between different tabs", | ||
@@ -5,0 +5,0 @@ "main": "sysend.js", |
@@ -5,4 +5,4 @@ <p align="center"> | ||
[![npm](https://img.shields.io/badge/npm-1.12.1-blue.svg)](https://www.npmjs.com/package/sysend) | ||
![bower](https://img.shields.io/badge/bower-1.12.1-yellow.svg) | ||
[![npm](https://img.shields.io/badge/npm-1.12.2-blue.svg)](https://www.npmjs.com/package/sysend) | ||
![bower](https://img.shields.io/badge/bower-1.12.2-yellow.svg) | ||
![downloads](https://img.shields.io/npm/dt/sysend.svg) | ||
@@ -133,2 +133,8 @@ [![jsdelivr](https://img.shields.io/jsdelivr/npm/hm/sysend)](https://www.jsdelivr.com/package/npm/sysend) | ||
## Story | ||
The story of this library came from my question on StackOverflow in 2014: [Sending notifications between instances of the page in the same browser](https://stackoverflow.com/q/24182409/387194), with hint from user called **Niet the Dark Absol**, I was able to create a PoC of the solution using localStorage. I quickly created a library from my solution. I've also explained how to have [Cross-Domain LocalStorage](https://jcubic.wordpress.com/2014/06/20/cross-domain-localstorage/). The blog post have steady number of visitors (actually it's most viewed post on that blog). | ||
And the name of the library is just random word "sy" and "send" suffix. But it can be an backronym for **Synchronizing Send** as in sychronizing application between browser tabs. | ||
## License | ||
@@ -135,0 +141,0 @@ |
/**@license | ||
* sysend.js - send messages between browser windows/tabs version 1.12.1 | ||
* sysend.js - send messages between browser windows/tabs version 1.12.2 | ||
* | ||
@@ -16,3 +16,3 @@ * Copyright (C) 2014-2022 Jakub T. Jankiewicz <https://jcubic.pl/me> | ||
off(event: string, callback?: callback): void; | ||
proxy(args?: string[]): void; | ||
proxy(...args: string[]): void; | ||
serializer(to: (data: any) => string, from: (data: string) => any): void; | ||
@@ -19,0 +19,0 @@ track(event: 'open', callback: (data: {id: string, count: number, primary: boolean}) => void): void; |
/**@license | ||
* sysend.js - send messages between browser windows/tabs version 1.12.1 | ||
* sysend.js - send messages between browser windows/tabs version 1.12.2 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (C) 2014-2022 Jakub T. Jankiewicz <https://jcubic.pl/me> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35692
145