Compare commits
No commits in common. "552d6e9c9a4797f8270e21d2229b296b44a539ad" and "51eabd809d72b747de9af7e53f640885208a83dd" have entirely different histories.
552d6e9c9a
...
51eabd809d
|
@ -148,21 +148,18 @@ class Message extends Client {
|
||||||
switch (data.action) {
|
switch (data.action) {
|
||||||
case "encode":
|
case "encode":
|
||||||
update({
|
update({
|
||||||
id: data.id,
|
|
||||||
action: "encode",
|
action: "encode",
|
||||||
args: [await this.encoding.encode?.(...data.args), data.args[0]],
|
args: [await this.encoding.encode?.(...data.args), data.args[0]],
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case "decode":
|
case "decode":
|
||||||
update({
|
update({
|
||||||
id: data.id,
|
|
||||||
action: "decode",
|
action: "decode",
|
||||||
args: [await this.encoding.decode?.(...data.args), data.args[0]],
|
args: [await this.encoding.decode?.(...data.args), data.args[0]],
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case "preencode":
|
case "preencode":
|
||||||
update({
|
update({
|
||||||
id: data.id,
|
|
||||||
action: "preencode",
|
action: "preencode",
|
||||||
args: [
|
args: [
|
||||||
await this.encoding.preencode?.(...data.args),
|
await this.encoding.preencode?.(...data.args),
|
||||||
|
|
|
@ -233,21 +233,18 @@ class Message extends Client {
|
||||||
switch (data.action) {
|
switch (data.action) {
|
||||||
case "encode":
|
case "encode":
|
||||||
update({
|
update({
|
||||||
id: data.id,
|
|
||||||
action: "encode",
|
action: "encode",
|
||||||
args: [await this.encoding.encode?.(...data.args), data.args[0]],
|
args: [await this.encoding.encode?.(...data.args), data.args[0]],
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case "decode":
|
case "decode":
|
||||||
update({
|
update({
|
||||||
id: data.id,
|
|
||||||
action: "decode",
|
action: "decode",
|
||||||
args: [await this.encoding.decode?.(...data.args), data.args[0]],
|
args: [await this.encoding.decode?.(...data.args), data.args[0]],
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case "preencode":
|
case "preencode":
|
||||||
update({
|
update({
|
||||||
id: data.id,
|
|
||||||
action: "preencode",
|
action: "preencode",
|
||||||
args: [
|
args: [
|
||||||
await this.encoding.preencode?.(...data.args),
|
await this.encoding.preencode?.(...data.args),
|
||||||
|
|
Loading…
Reference in New Issue