@alien-worlds/aw-contract-index-worlds
Advanced tools
Comparing version 0.0.31 to 0.0.32
@@ -34,3 +34,3 @@ import { MongoDB } from '@alien-worlds/aw-storage-mongodb'; | ||
block_timestamp: Date; | ||
block_num: string; | ||
block_number: string; | ||
global_sequence: string; | ||
@@ -37,0 +37,0 @@ recv_sequence: string; |
@@ -166,6 +166,6 @@ "use strict"; | ||
} | ||
const { account, name, block_timestamp, block_num, global_sequence, recv_sequence, transaction_id, } = rawModel; | ||
return new aw_core_1.ContractAction('', block_timestamp, (0, aw_core_1.parseToBigInt)(block_num), account, name, (0, aw_core_1.parseToBigInt)(global_sequence), (0, aw_core_1.parseToBigInt)(recv_sequence), transaction_id, data); | ||
const { account, name, block_timestamp, block_number, global_sequence, recv_sequence, transaction_id, } = rawModel; | ||
return new aw_core_1.ContractAction('', block_timestamp, (0, aw_core_1.parseToBigInt)(block_number), account, name, (0, aw_core_1.parseToBigInt)(global_sequence), (0, aw_core_1.parseToBigInt)(recv_sequence), transaction_id, data); | ||
} | ||
} | ||
exports.IndexWorldsActionProcessorTaskMapper = IndexWorldsActionProcessorTaskMapper; |
@@ -22,3 +22,3 @@ import { MongoDB } from '@alien-worlds/aw-storage-mongodb'; | ||
block_timestamp: Date; | ||
block_num: string; | ||
block_number: string; | ||
code: string; | ||
@@ -25,0 +25,0 @@ scope: string; |
@@ -75,6 +75,6 @@ "use strict"; | ||
} | ||
const { block_num, code, scope, table, payer, primary_key, present, block_timestamp, } = rawModel; | ||
return new aw_core_1.ContractDelta('', (0, aw_core_1.parseToBigInt)(block_num), code, scope, table, data, payer, (0, aw_core_1.parseToBigInt)(primary_key), present, block_timestamp); | ||
const { block_number, code, scope, table, payer, primary_key, present, block_timestamp, } = rawModel; | ||
return new aw_core_1.ContractDelta('', (0, aw_core_1.parseToBigInt)(block_number), code, scope, table, data, payer, (0, aw_core_1.parseToBigInt)(primary_key), present, block_timestamp); | ||
} | ||
} | ||
exports.IndexWorldsDeltaProcessorTaskMapper = IndexWorldsDeltaProcessorTaskMapper; |
{ | ||
"name": "@alien-worlds/aw-contract-index-worlds", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"main": "build/index.js", | ||
@@ -5,0 +5,0 @@ "types": "build/index.d.ts", |
116734