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.
@elliemae/pui-app-sdk
Advanced tools
Software Development Kit / API for developing React Web applications. Implements cross cutting concerns as reusable APIs
Following are the major breaking changes in v2
App React Dependencies upgraded to v2
React hook form has been upgraded from v6 to v7. If you are using forms, fields or control components from App SDK please regress the functionalities in your application after the upgrade. In case, if you are using watch, trigger, reset, setError, touched api of react-hook-form, in your app, there are breaking changes. Please read the guide here
Fully supports Typescript
Removal of following unused apis
Addition of following new apis
npm run setup
npm run storybook
What is the difference between the Form Controls in App SDK vs Dimsum ?
App SDK uses Dimsum form controls and provided additional functionalities such as state management for individual fields and for the entire Form. Also it provides a framework to do field level & form level validation.
App SDK uses React Hook Form open source library to achieve the above functionalities.
How do i use App SDK Form control and Form components ?
Please see code examples
How do i do field validation during field blur event ?
Please see code samples
How do i do field validation during form submit ?
Please see code samples
How do i refresh API auth tokens when my session expires ?
Subscribe to the Authorization failure callback and implement logic to refresh your API Auth token. Pass the authorization header back to sdk. SDK will resubmit the failed request with new token.
Sample code snippet
import { onAuthorizationFailure } from '@elliemae/pui-app-sdk';
const refreshToken = () =>
new Promise((resolve) => {
//get your new token
const authorizationHeader = 'xyz'; //store new header value;
sessionStorage.setItem('Authorization', authorizationHeader);
resolve(authorizationHeader);
});
onAuthorizationFailure(refreshToken);
FAQs
ICE MT UI Platform Application SDK
The npm package @elliemae/pui-app-sdk receives a total of 447 weekly downloads. As such, @elliemae/pui-app-sdk popularity was classified as not popular.
We found that @elliemae/pui-app-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.