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.6 to 1.0.0-beta.7

13

dist/cjs/connect.js

@@ -29,10 +29,9 @@ "use strict";

const connector_1 = __importStar(require("./thegraph/connector"));
exports.default = connect_core_1.createAppConnector(({ app, config }) => {
exports.default = connect_core_1.createAppConnector(({ app, config, connector, network, orgConnector, verbose }) => {
var _a, _b, _c, _d, _e;
const { name, address, organization: { connection: { network, orgConnector, verbose }, }, } = app;
if (orgConnector.name !== 'thegraph') {
throw new errors_1.ErrorInvalidConnector(`Connector unsupported: ${orgConnector.name}. Please use thegraph.`);
if (connector !== 'thegraph') {
throw new errors_1.ErrorInvalidConnector(`Connector unsupported: ${connector}. Please use thegraph.`);
}
if (name !== 'ta-round-robin') {
throw new errors_1.ErrorInvalidApp(`This app (${name}) is not compatible with this round robin connector. ` +
if (app.name !== 'ta-round-robin') {
throw new errors_1.ErrorInvalidApp(`This app (${app.name}) is not compatible with this round robin connector. ` +
`Please use an app instance of the ta-round-robin.open.aragonpm.eth repo.`);

@@ -54,4 +53,4 @@ }

});
return new RoundRobin_1.default(connectorTheGraph, address);
return new RoundRobin_1.default(connectorTheGraph, app.address);
});
//# sourceMappingURL=connect.js.map

@@ -29,10 +29,9 @@ "use strict";

const connector_1 = __importStar(require("./thegraph/connector"));
exports.default = connect_core_1.createAppConnector(({ app, config }) => {
exports.default = connect_core_1.createAppConnector(({ app, config, connector, network, orgConnector, verbose }) => {
var _a, _b, _c, _d, _e;
const { name, address, organization: { connection: { network, orgConnector, verbose }, }, } = app;
if (orgConnector.name !== 'thegraph') {
throw new errors_1.ErrorInvalidConnector(`Connector unsupported: ${orgConnector.name}. Please use thegraph.`);
if (connector !== 'thegraph') {
throw new errors_1.ErrorInvalidConnector(`Connector unsupported: ${connector}. Please use thegraph.`);
}
if (name !== 'ta-round-robin') {
throw new errors_1.ErrorInvalidApp(`This app (${name}) is not compatible with this round robin connector. ` +
if (app.name !== 'ta-round-robin') {
throw new errors_1.ErrorInvalidApp(`This app (${app.name}) is not compatible with this round robin connector. ` +
`Please use an app instance of the ta-round-robin.open.aragonpm.eth repo.`);

@@ -54,4 +53,4 @@ }

});
return new RoundRobin_1.default(connectorTheGraph, address);
return new RoundRobin_1.default(connectorTheGraph, app.address);
});
//# sourceMappingURL=connect.js.map
{
"name": "@p2pmodels/connect-round-robin",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"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

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