@sunsama/splash
Advanced tools
Comparing version 0.1.7 to 0.1.8
declare const SunsamaSplash: { | ||
splash: () => void; | ||
requestAccess: () => void; | ||
}; |
"use strict"; | ||
const SunsamaSplash = { | ||
splash: () => console.log('splash'), | ||
requestAccess: () => { | ||
var _a, _b; | ||
const email = (_a = document.getElementById('email')) === null || _a === void 0 ? void 0 : _a.value; | ||
const name = (_b = document.getElementById('name')) === null || _b === void 0 ? void 0 : _b.value; | ||
console.log({ email, name }); | ||
window.open('https://sunsama.com'); | ||
} | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/index.js", |
const SunsamaSplash = { | ||
splash: () => console.log('splash'), | ||
requestAccess: () => { | ||
const email = (<HTMLInputElement>document.getElementById('email'))?.value; | ||
const name = (<HTMLInputElement>document.getElementById('name'))?.value; | ||
console.log({ email, name }); | ||
window.open('https://sunsama.com'); | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
6467
23
0