
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@availity/api-axios
Advanced tools
A package wrapping @av/api-core with axios and native ES6 Promise.
$ npm install @availity/api-axios @availity/api-core
$ yarn add @availity/api-axios @availity/api-core
Polyfill Promise
if needed:
$ npm install es6-promise
$ yarn add es6-promise
import { userApi } from '@availity/api-axios'
function async getUser() {
const user = await userApi.me();
}
AvMicroserviceApi
AvProxyApi
avCodesApi
avDisclaimersApi
avFilesApi
avFilesDeliveryApi
avLogMessagesApi
avNavigationApi
avNotificationApi
avOrganizationsApi
avPdfApi
avPermissionsApi
avProvidersApi
avRegionsApi
avSettingsApi
avSlotMachineApi
avSpacesApi
avUserApi
avUserPermissionsApi
avWebQLApi
Details about each api can be found here
// complete example
import AvApi, {
AvMicroserviceApi,
AvProxyApi,
avCodesApi,
avDisclaimersApi
avFilesApi,
avFilesDeliveryApi,
avLogMessagesApi,
avNavigationApi,
avNotificationApi,
avOrganizationsApi,
avPdfApi,
avPermissionsApi,
avProvidersApi,
avRegionsApi,
avSettingsApi,
avSlotMachineApi,
avSpacesApi,
avUserApi,
avUserPermissionsApi,
avWebQLApi,
} from '@availity/api-axios';
Create new API definitions by extending AvApi
. Extending AvApi
provides services the behaviors described in @api-core/README#features
import AvApi from '@availity/api-axios';
class AvExampleResource extends AvApi {
constructor() {
super({
name: 'exampleApi',
});
}
}
export default new AvExampleResource();
Create new API definitions by extending AvApiProxy
. Extending AvApiProxy
provides services the behaviors described in @api-core/README#features as well as building the url to match your tenant's proxy REST conventions.
import { AvApiProxy } from '@availity/api-axios';
class AvExampleResource extends AvApiProxy {
constructor() {
super({
tenant: 'myhealthplan',
name: 'patients',
});
}
}
export default new AvExampleResource();
FAQs
Wrappers for axios designed to work with the Availity portal
The npm package @availity/api-axios receives a total of 490 weekly downloads. As such, @availity/api-axios popularity was classified as not popular.
We found that @availity/api-axios 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.