prepare to merge history keeper and rpc
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
/* jshint esversion: 6 */
|
||||
/* global Buffer */
|
||||
;(function () { 'use strict';
|
||||
|
||||
const nThen = require('nthen');
|
||||
const Nacl = require('tweetnacl/nacl-fast');
|
||||
@@ -63,6 +62,8 @@ const isValidValidateKeyString = function (key) {
|
||||
}
|
||||
};
|
||||
|
||||
var CHECKPOINT_PATTERN = /^cp\|(([A-Za-z0-9+\/=]+)\|)?/;
|
||||
|
||||
module.exports.create = function (cfg) {
|
||||
const rpc = cfg.rpc;
|
||||
const tasks = cfg.tasks;
|
||||
@@ -385,8 +386,6 @@ module.exports.create = function (cfg) {
|
||||
return true;
|
||||
};
|
||||
|
||||
var CHECKPOINT_PATTERN = /^cp\|(([A-Za-z0-9+\/=]+)\|)?/;
|
||||
|
||||
/* onChannelMessage
|
||||
Determine what we should store when a message a broadcasted to a channel"
|
||||
|
||||
@@ -992,5 +991,3 @@ module.exports.create = function (cfg) {
|
||||
onDirectMessage: onDirectMessage,
|
||||
};
|
||||
};
|
||||
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user