Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
react-context-form-timer
Advanced tools
<AutoRequestProvider
phoneLength={12}
groupName="phone"
onBeforeRequest={() => console.log("Sending sms...")}
onFailRequest={(error: AxiosError) => console.log(error)}
onSuccessRequest={(response: AxiosResponse<any>) => console.log(response)}
request={(cancelToken: CancelTokenSource): Promise<any> => axios.get("/api", { cancelToken: cancelToken.token() })}
>
<PhoneValidator>
<Input />
</PhoneValidator>
<TimerButton
waitTime={30}
disabled={this.state.disabled}
timerIcon={<i className="icon icon-sms"/>}
onTimeout={() => console.log("Time is over")}
/>
</AutoRequestProvider>
where
phoneLength
- length of string of phone. Optional. Default = 12
.groupName
- name of validation group.onSuccessRequest
- will call if sms request was succefull. Optional.onFailRequest
- will call if sms request was failed. Optional.onBeforeRequest
- will call before request. Optional.request
- will call on request.waitTime
- count of seconds. Optional. Default = 30
.timerIcon
- markup, that rendered on unactive timer. Optional. Default = <i className="icon icon-sms"/>
onTimeout
- will call when time is over. Optional.disabled
- control of auto sending. Optional.*Note: When disabled
will change value from false
to true
, provider will try to do request
FAQs
Auto-request for sms token
The npm package react-context-form-timer receives a total of 0 weekly downloads. As such, react-context-form-timer popularity was classified as not popular.
We found that react-context-form-timer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.