datai-sdk 1.0.5 → 1.0.6

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "datai-sdk",
3
3
  "main": "index.ts",
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "description": "Datai SDK which has useful libraries to help building projections",
6
6
  "scripts": {
7
7
  "postinstall": "node postinstall-script.js"
@@ -2,7 +2,7 @@ import { BigDecimal, BigInt, Bytes, Address } from '@graphprotocol/graph-ts'
2
2
  import { BD_0, BD_1 } from './constants'
3
3
 
4
4
  const MAX_DECIMALS = 77 // max decimals in decimal128 IEEE 754 standard (limitation of thegraph host)
5
- const MIN_DECIMALS = -18
5
+ const MIN_DECIMALS = -50
6
6
 
7
7
  export function pow(value: BigDecimal, power: i32): BigDecimal {
8
8
  if (power == 0) {