beignet 0.21.3 → 0.21.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/beignet-node.js
CHANGED
|
@@ -1381,7 +1381,7 @@ class BeignetNode extends events_1.EventEmitter {
|
|
|
1381
1381
|
this.emit(evt, jsonSafeEvent(data));
|
|
1382
1382
|
});
|
|
1383
1383
|
}
|
|
1384
|
-
this.node.on('ffor:state', (channelId, state, record) => {
|
|
1384
|
+
this.node.on('ffor:state', ({ channelId, state, record }) => {
|
|
1385
1385
|
const hex = channelId.toString('hex');
|
|
1386
1386
|
this.emit('ffor:state', {
|
|
1387
1387
|
channelId: hex,
|
|
@@ -1389,7 +1389,7 @@ class BeignetNode extends events_1.EventEmitter {
|
|
|
1389
1389
|
epoch: this.fforEpochView(hex, record)
|
|
1390
1390
|
});
|
|
1391
1391
|
});
|
|
1392
|
-
this.node.on('ffor:enforce', (channelId, record) => {
|
|
1392
|
+
this.node.on('ffor:enforce', ({ channelId, record }) => {
|
|
1393
1393
|
const hex = channelId.toString('hex');
|
|
1394
1394
|
this.emit('ffor:enforce', {
|
|
1395
1395
|
channelId: hex,
|