The first 2 arguments of addToPayload method for the GetTermSets are incorrect.
Currently, it is.
case "GetTermSets":
addToPayload(opt, ["sharedServiceId", "termSetId", "lcid", "clientTimeStamps", "clientVersions"]);
But it should be
case "GetTermSets":
addToPayload(opt, ["sharedServiceIds", "termSetIds", "lcid", "clientTimeStamps", "clientVersions"]);
This was also pointed out by a guy called denloof. Please do the appropriate fixes and release a new version in the CDN also.
Currently, it is.
case "GetTermSets":
addToPayload(opt, ["sharedServiceId", "termSetId", "lcid", "clientTimeStamps", "clientVersions"]);
But it should be
case "GetTermSets":
addToPayload(opt, ["sharedServiceIds", "termSetIds", "lcid", "clientTimeStamps", "clientVersions"]);
This was also pointed out by a guy called denloof. Please do the appropriate fixes and release a new version in the CDN also.