Create and publish .d.ts files
Version bump to 1.2.2