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

@p2pmodels/connect-round-robin

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@p2pmodels/connect-round-robin - npm Package Compare versions

Comparing version 1.0.0-beta.7 to 1.0.0-beta.8

5

dist/cjs/thegraph/parsers/config.js

@@ -10,6 +10,5 @@ "use strict";

function parseConfig(result, connector) {
const configs = result.data.configs;
if (!configs)
const config = result.data.config;
if (!config)
throw new errors_1.ErrorUnexpectedResult('Unable to parse config.');
const config = configs[0];
return config ? new Config_1.default(config, connector) : null;

@@ -16,0 +15,0 @@ }

@@ -10,6 +10,5 @@ "use strict";

function parseUser(result, connector) {
const users = result.data.users;
if (!users)
const user = result.data.user;
if (!user)
throw new errors_1.ErrorUnexpectedResult('Unable to parse user.');
const user = users[0];
return user ? new User_1.default(user, connector) : null;

@@ -16,0 +15,0 @@ }

6

dist/cjs/thegraph/queries/index.js

@@ -30,6 +30,4 @@ "use strict";

exports.USER = (type) => graphql_tag_1.default `
${type} Users($id: String!) {
users(where: {
id: $id
}) {
${type} User($id: String!) {
user(id: $id) {
id

@@ -36,0 +34,0 @@ benefits

@@ -10,6 +10,5 @@ "use strict";

function parseConfig(result, connector) {
const configs = result.data.configs;
if (!configs)
const config = result.data.config;
if (!config)
throw new errors_1.ErrorUnexpectedResult('Unable to parse config.');
const config = configs[0];
return config ? new Config_1.default(config, connector) : null;

@@ -16,0 +15,0 @@ }

@@ -10,6 +10,5 @@ "use strict";

function parseUser(result, connector) {
const users = result.data.users;
if (!users)
const user = result.data.user;
if (!user)
throw new errors_1.ErrorUnexpectedResult('Unable to parse user.');
const user = users[0];
return user ? new User_1.default(user, connector) : null;

@@ -16,0 +15,0 @@ }

@@ -30,6 +30,4 @@ "use strict";

exports.USER = (type) => graphql_tag_1.default `
${type} Users($id: String!) {
users(where: {
id: $id
}) {
${type} User($id: String!) {
user(id: $id) {
id

@@ -36,0 +34,0 @@ benefits

{
"name": "@p2pmodels/connect-round-robin",
"version": "1.0.0-beta.7",
"version": "1.0.0-beta.8",
"license": "LGPL-3.0-or-later",

@@ -5,0 +5,0 @@ "description": "Aragon connector to access and interact with Round Robin task allocation app",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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