improved

SDK v2.39.6 & CLI v2.18.7

  • (breaking) Finalized store API (read more at doc), it involve a lot of performance change and improved code generation, to upgrade, you need
    • Upgrade @sentio/sdkto v2.39.6 @sentio/cli to v2.18.7.
    • Add following config to your tsconfig.json
      "compilerOptions": {
        ...
        "experimentalDecorators": true,
        "emitDecoratorMetadata": true
      }
      
    • (optional) We addstore.listIterator API now return an iterator, this is to support loop through big list. You could still use store.list if you the list is not too long. If you are using some RC version, store.list may return an iterator, in this case you need to choose the final form of API.
    • Re-upload any processor that usestoreAPI
  • (breaking) getPriceBySymbol API now returns undefined for unknown symbol instead of throw error.
  • (fixed) Fix CLI behavior on Windows
  • (improve) Graph CLI now could upload source mapping