New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bespoke-sync

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bespoke-sync - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

8

client/index.js

@@ -6,6 +6,8 @@ 'use strict';

module.exports = function (deck/*, options*/) {
module.exports = function (/*options*/) {
var options = Object(arguments[1]);
sse(deck, options);
xhr(deck, options);
return function (deck) {
sse(deck, options);
xhr(deck, options);
};
};
{
"name": "bespoke-sync",
"version": "0.1.2",
"version": "0.2.0",
"description": "Cross-client synchronization for Bespoke.js presentations",

@@ -18,9 +18,9 @@ "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",

"dependencies": {
"es5-ext": "~0.10.2",
"es5-ext": "~0.10.4",
"querystring": "0.2.x"
},
"peerDependencies": {
"bespoke": "0.4.x"
"bespoke": "1"
},
"license": "MIT"
}

@@ -38,12 +38,12 @@ # bespoke-sync

```javascript
bespoke.plugins.sync = require('bespoke-sync/client');
var sync = require('bespoke-sync/client');
bespoke.from(selector, {
bespoke.from(selector, [
// Options (all optional, with defaults as below)
sync: {
sync({
log: false,
ssePath: '/sse-slides/', // Must match ssePath in server conf
xhrPath: '/slide/' // Must match xhrPath in server conf
}
});
})
]);
```

@@ -50,0 +50,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc