Add txn.ts to exports from index.ts?

Moved from GitHub dgraph-js/19

Posted by jeffkhull:

I noticed that src/txn.ts is not exported from index.ts (just types.ts, client.ts, clientStub.ts, and errors.ts). Was this intentional? The reason I ask is - I’m creating a typescript interface and want to reference the Txn type.

gpahal commented :

Txn class is now exported in the new release (v1.0.4).