add ApiRequest.ts in buildPackage.sh when you want to use it as a module