Only export the Promise when it isn't available.
Add license.