envio 2.27.5-rc.0 → 2.27.5

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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/src/db/Table.res +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "envio",
3
- "version": "v2.27.5-rc.0",
3
+ "version": "v2.27.5",
4
4
  "description": "A latency and sync speed optimized, developer friendly blockchain data indexer.",
5
5
  "bin": "./bin.js",
6
6
  "main": "./index.js",
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "homepage": "https://envio.dev",
27
27
  "optionalDependencies": {
28
- "envio-linux-x64": "v2.27.5-rc.0",
29
- "envio-linux-arm64": "v2.27.5-rc.0",
30
- "envio-darwin-x64": "v2.27.5-rc.0",
31
- "envio-darwin-arm64": "v2.27.5-rc.0"
28
+ "envio-linux-x64": "v2.27.5",
29
+ "envio-linux-arm64": "v2.27.5",
30
+ "envio-darwin-x64": "v2.27.5",
31
+ "envio-darwin-arm64": "v2.27.5"
32
32
  },
33
33
  "dependencies": {
34
34
  "@envio-dev/hypersync-client": "0.6.5",
package/src/db/Table.res CHANGED
@@ -240,6 +240,7 @@ let toSqlParams = (table: table, ~schema, ~pgSchema) => {
240
240
  switch field {
241
241
  | Field(f) =>
242
242
  switch f.fieldType {
243
+ // The case for `BigDecimal! @config(precision: 10, scale: 8)`
243
244
  | Custom(fieldType) if fieldType->Js.String2.startsWith("NUMERIC(") => fieldType
244
245
  | Custom(fieldType) => `${(Text :> string)}[]::"${pgSchema}".${(fieldType :> string)}`
245
246
  | Boolean => `${(Integer :> string)}[]::${(f.fieldType :> string)}`