@cardano-ogmios/repl
Advanced tools
Comparing version 3.2.0 to 4.0.0-beta.1
@@ -20,3 +20,3 @@ "use strict"; | ||
const chainSync = await client_1.createChainSyncClient({ | ||
rollBackward: ({ point, tip, reflection }) => { | ||
rollBackward: async ({ point, tip }, requestNext) => { | ||
log(chalk_1.default.bgRedBright.bold('ROLL BACKWARD')); | ||
@@ -27,8 +27,5 @@ log(chalk_1.default.redBright.bold('Point')); | ||
logObject(tip); | ||
if (reflection !== null) { | ||
log(chalk_1.default.redBright.bold('Reflection')); | ||
logObject(reflection); | ||
} | ||
requestNext(); | ||
}, | ||
rollForward: ({ block, tip, reflection }) => { | ||
rollForward: async ({ block, tip }, requestNext) => { | ||
log(chalk_1.default.bgGreen.bold('ROLL FORWARD')); | ||
@@ -39,6 +36,3 @@ log(chalk_1.default.green.bold('Block')); | ||
logObject(tip); | ||
if (reflection !== null) { | ||
log(chalk_1.default.green.bold('Reflection')); | ||
logObject(reflection); | ||
} | ||
requestNext(); | ||
} | ||
@@ -45,0 +39,0 @@ }, { |
{ | ||
"name": "@cardano-ogmios/repl", | ||
"version": "3.2.0", | ||
"version": "4.0.0-beta.1", | ||
"description": "REPL for Cardano Ogmios", | ||
@@ -42,3 +42,3 @@ "engines": { | ||
"dependencies": { | ||
"@cardano-ogmios/client": "3.2.0", | ||
"@cardano-ogmios/client": "4.0.0-beta.1", | ||
"chalk": "^4.1.0", | ||
@@ -45,0 +45,0 @@ "yargs-parser": "^20.2.7" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
146334
67
3
+ Added@cardano-ogmios/client@4.0.0-beta.1(transitive)
+ Added@cardano-ogmios/schema@4.0.0-beta.1(transitive)
+ Addedfastq@1.19.0(transitive)
+ Addedreusify@1.0.4(transitive)
- Removed@cardano-ogmios/client@3.2.0(transitive)
- Removed@cardano-ogmios/schema@3.2.0(transitive)