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

react-native-meteor

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-meteor - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

example/mobile/.flowconfig

4

index.js

@@ -130,7 +130,7 @@ var DDP = require('ddp.js').default;

disconnect: function () {
ddp.disconnect();
//ddp.disconnect();
},
reconnect: function () {
ddp = new DDP({
endpoint: endpoint,
endpoint: endpointSaved,
SocketConstructor: WebSocket

@@ -137,0 +137,0 @@ });

{
"name": "react-native-meteor",
"version": "0.6.0",
"version": "0.6.1",
"description": "DDP React-native Client",

@@ -29,3 +29,3 @@ "main": "index.js",

"dependencies": {
"ddp.js": "2.0.1"
"ddp.js": "1.1.0"
},

@@ -32,0 +32,0 @@ "peerDependencies": {

@@ -33,2 +33,6 @@ [![GitHub version](https://badge.fury.io/gh/inProgress-team%2Freact-native-meteor.svg)](https://badge.fury.io/gh/inProgress-team%2Freact-native-meteor)

```javascript
import meteor from 'react-native-meteor';
//const meteor = require('react-native-meteor');
var Example = React.createClass({

@@ -58,2 +62,14 @@ getInitialState: function() {

});
meteor.on('added', 'tasks', function(task) {
console.log('task added', task);
});
meteor.on('changed', 'tasks', function(task) {
console.log('task changed', task);
});
meteor.on('removed', 'tasks', function(taskId) {
console.log('task removed', taskId);
});
},

@@ -60,0 +76,0 @@ componentWillUnmount: function () {

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