diff --git a/package-lock.json b/package-lock.json index ba08e41..60d5b3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "@subsquid/archive-registry": "^2.1.4", "@subsquid/big-decimal": "^0.0.0", "@subsquid/evm-processor": "^0.3.2", - "@subsquid/file-store-csv": "^0.1.0", + "@subsquid/file-store-csv": "^0.2.0", "dotenv": "^16.0.0", "ethers": "^5.6.4" }, @@ -1409,9 +1409,9 @@ } }, "node_modules/@subsquid/file-store": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/@subsquid/file-store/-/file-store-0.0.0.tgz", - "integrity": "sha512-2CfPXt0lzxRM8FQWtpBlHf0BE9HCFG61fUQTQCStSAA35jEtZN5bQrdQVXb3iJe1VkKeSR7AkRojaIJyYyN7qw==", + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@subsquid/file-store/-/file-store-0.0.1.tgz", + "integrity": "sha512-XFVTydF6xuhJXaXfxRzqudHeHeH5UuAwMGh5ga29XdVq5Zq75oK9T0dsm6rNMjeoAYWb1b6kLHZ2+4FjmpnuUw==", "peer": true, "dependencies": { "@subsquid/util-internal": "^1.0.0", @@ -1419,15 +1419,15 @@ } }, "node_modules/@subsquid/file-store-csv": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@subsquid/file-store-csv/-/file-store-csv-0.1.0.tgz", - "integrity": "sha512-WxvW7bGgZhp+JIFi1Gk+pFwB5c9lUUxPWeIazlJMUJmABa0Cj3Pl7933Mv/cmE9TqlIS/mb6f/M4u8PcdnOIwQ==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@subsquid/file-store-csv/-/file-store-csv-0.2.0.tgz", + "integrity": "sha512-ClTBpuUoSz85XjSgA80sTNPe+5884HoTg6xLFgXGmMpeEPLPbQ9ALwUjIC8NtUr4RWzrX2yssvglwaH9RHK+gQ==", "dependencies": { "@subsquid/util-internal-json": "^0.2.0", "@subsquid/util-naming": "^0.0.0" }, "peerDependencies": { - "@subsquid/file-store": "^0.0.0" + "@subsquid/file-store": "^0.0.1" } }, "node_modules/@subsquid/file-store-csv/node_modules/@subsquid/util-naming": { @@ -5878,9 +5878,9 @@ } }, "@subsquid/file-store": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/@subsquid/file-store/-/file-store-0.0.0.tgz", - "integrity": "sha512-2CfPXt0lzxRM8FQWtpBlHf0BE9HCFG61fUQTQCStSAA35jEtZN5bQrdQVXb3iJe1VkKeSR7AkRojaIJyYyN7qw==", + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@subsquid/file-store/-/file-store-0.0.1.tgz", + "integrity": "sha512-XFVTydF6xuhJXaXfxRzqudHeHeH5UuAwMGh5ga29XdVq5Zq75oK9T0dsm6rNMjeoAYWb1b6kLHZ2+4FjmpnuUw==", "peer": true, "requires": { "@subsquid/util-internal": "^1.0.0", @@ -5888,9 +5888,9 @@ } }, "@subsquid/file-store-csv": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@subsquid/file-store-csv/-/file-store-csv-0.1.0.tgz", - "integrity": "sha512-WxvW7bGgZhp+JIFi1Gk+pFwB5c9lUUxPWeIazlJMUJmABa0Cj3Pl7933Mv/cmE9TqlIS/mb6f/M4u8PcdnOIwQ==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@subsquid/file-store-csv/-/file-store-csv-0.2.0.tgz", + "integrity": "sha512-ClTBpuUoSz85XjSgA80sTNPe+5884HoTg6xLFgXGmMpeEPLPbQ9ALwUjIC8NtUr4RWzrX2yssvglwaH9RHK+gQ==", "requires": { "@subsquid/util-internal-json": "^0.2.0", "@subsquid/util-naming": "^0.0.0" diff --git a/package.json b/package.json index e5df668..8dc797d 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@subsquid/archive-registry": "^2.1.4", "@subsquid/big-decimal": "^0.0.0", "@subsquid/evm-processor": "^0.3.2", - "@subsquid/file-store-csv": "^0.1.0", + "@subsquid/file-store-csv": "^0.2.0", "dotenv": "^16.0.0", "ethers": "^5.6.4" }, diff --git a/src/tables.ts b/src/tables.ts index 98fd504..a48e465 100644 --- a/src/tables.ts +++ b/src/tables.ts @@ -4,7 +4,7 @@ export const Transfers = new Table( 'transfers.csv', { blockNumber: Column(Types.Integer()), - timestamp: Column(Types.DateTime()), + timestamp: Column(Types.Timestamp()), contractAddress: Column(Types.String()), from: Column(Types.String()), to: Column(Types.String()),