Comparing version 0.1.7 to 0.1.8
@@ -401,3 +401,3 @@ "use strict"; | ||
}; | ||
// If we have data, send back a Forward containing a lot of other messages | ||
// If we have data, send back a Dataset containing a lot of other messages | ||
Database.prototype.handleQuery = function (peer, m) { | ||
@@ -420,3 +420,5 @@ return __awaiter(this, void 0, void 0, function () { | ||
} | ||
peer.sendMessage(new Message_1.default("Forward", { | ||
peer.sendMessage(new Message_1.default("Dataset", { | ||
channel: this.channel.name, | ||
database: this.name, | ||
messages: messages | ||
@@ -423,0 +425,0 @@ })); |
{ | ||
"name": "axiom-api", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "API for interacting with the Axiom.org platform", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -315,3 +315,3 @@ import PouchDB from "pouchdb"; | ||
// If we have data, send back a Forward containing a lot of other messages | ||
// If we have data, send back a Dataset containing a lot of other messages | ||
async handleQuery(peer: Peer, m: Message) { | ||
@@ -327,3 +327,5 @@ let messages = []; | ||
peer.sendMessage( | ||
new Message("Forward", { | ||
new Message("Dataset", { | ||
channel: this.channel.name, | ||
database: this.name, | ||
messages | ||
@@ -330,0 +332,0 @@ }) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
347598
6782