Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

retsly-js-sdk

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retsly-js-sdk - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

test/index.js

17

component.json

@@ -5,16 +5,11 @@ {

"description": "Retsly JavaScript SDK",
"version": "0.6.6",
"version": "0.7.1",
"dependencies": {
"retsly/socket.io-client": "1.1.1",
"component/emitter": "1.1.3",
"component/cookie": "1.0.1",
"segmentio/extend": "1.0.0",
"retsly/ajax": "^0.0.4",
"retsly/socket.io-client":"1.1.1",
"segmentio/extend": "1.0.0",
"component/each": "0.2.5",
"retsly/qs": "v2.3.4",
"component/cookie": "1.0.1",
"component/emitter": "1.1.3"
"retsly/qs": "v2.3.4"
},
"development": {
"timoxley/assert": "*",
"visionmedia/mocha": "1.14.0"
},
"license": "MIT",

@@ -21,0 +16,0 @@ "main": "index.js",

@@ -6,3 +6,2 @@ /**

var ajax = require('ajax');
var each = require('each');
var qs = require('qs').stringify;

@@ -153,3 +152,3 @@ var store = require('cookie');

crossDomain : true,
error: function (xhr,err) {
error: function () {
throw new Error('Could not set Retsly session');

@@ -254,3 +253,3 @@ }.bind(this),

if (cb) this.__init_stack.push(cb);
else each(this.__init_stack, function(c) { if(typeof c === 'function') c(); });
else this.__init_stack.forEach(function(c) { if(typeof c === 'function') c(); });
if(!cb) this.__init_stack = []; //clear stack

@@ -257,0 +256,0 @@ return this;

{
"name": "retsly-js-sdk",
"version": "0.7.0",
"version": "0.7.1",
"author": {

@@ -11,3 +11,2 @@ "name": "Retsly",

"browser": {
"each": "component-each",
"ajax": "component-ajax",

@@ -24,3 +23,2 @@ "emitter": "component-emitter",

"qs": "2.3.3",
"component-each": "0.2.5",
"component-ajax": "^0.0.2",

@@ -31,4 +29,3 @@ "component-emitter": "1.1.3",

"devDependencies": {
"component": "1.0.0-rc5",
"mocha-phantomjs": "*",
"browserify": "^10.2.4",
"mocha": "1.14.0",

@@ -39,6 +36,5 @@ "mochify": "*"

"start": "mochify --watch",
"phantom": "mochify",
"wd": "mochify --wd",
"cover": "mochify --cover",
"test": "npm run phantom && npm run wd && npm run cover"
"test": "mochify",
"dist": "browserify index.js -o retsly.js -s Retsly"
},

@@ -45,0 +41,0 @@ "keywords": [

@@ -1,2 +0,4 @@

# retsly-js-sdk [![wercker status](https://app.wercker.com/status/0fdacfc21927ee822804af8c7887568d/s/ "wercker status")](https://app.wercker.com/project/bykey/0fdacfc21927ee822804af8c7887568d)
[![wercker status](https://app.wercker.com/status/0fdacfc21927ee822804af8c7887568d/m "wercker status")](https://app.wercker.com/project/bykey/0fdacfc21927ee822804af8c7887568d)
# retsly-js-sdk
Retsly core SDK. Useful for clientside integration with [Retsly](http://rets.ly).

@@ -79,24 +81,2 @@

## Building Retsly Components
Retsly components should be built using
[component](https://github.com/component/component). Components should
follow the naming convention `retsly`-`lang_prefix`-`name`. Add new
components to the [wiki](https://github.com/Retsly/retsly-js-sdk/wiki/Component-List).
This will allow anyone to install these components and include them into
their source using require:
```js
// Example of how a featured listing component might look
var Featured = require('retsly-js-featured');
var feature = new Featured('#featured', { vendorID: mls.id, listings: listings, limit: 10 });
feature.on('click', doSomething);
```
When at all possible abstract specific component behavior into it's own
component. If you find your feature includes multiple components, try to
separate the logic into individual componets, then require them in your
`component.json` file. This granularity will promote the reuse of generic
functionality within the Retsly community.
## Repo Owner

@@ -103,0 +83,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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