
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Basiq.io API bindings for Node.js
The API key can be found on the API Keys tab in the Basiq.io dashboard.
var BasiqAPI = require('basiq-api').BasiqAPI;
var apiOptions = {
baseURL: 'https://au-api.basiq.io', // optional
auth: {
apiKey: 'abc123'
}
}
var basiq = new BasiqAPI(apiOptions);
import { BasiqAPI, BasiqAPIOptions, BasiqResponse } from 'basiq-api';
const apiOptions: BasiqAPIOptions = {
baseURL: 'https://au-api.basiq.io', // optional
auth: {
apiKey: 'abc123'
}
}
const basiq: BasiqAPI = new BasiqAPI(apiOptions);
Every resource is accessed via your basiq instance:
// basiq.{ RESOURCE_NAME }.{ METHOD_NAME }
Every resource method returns a promise, which can be chained or used with async/await.
basiq.accounts
.list('123')
.then((res: BasiqResponse) => {
return res.body;
})
;
// where supported
async function getAccounts(connectionId) {
var resp: BasiqResponse = await basiq.accounts.list(connectionId);
return resp.body;
}
create(options: ConnectionCreateOptions)refresh(connectionId: string)retrieve(connectionId: string)update(connectionId: string, options: ConnectionUpdateOptions)delete(connectionId: string)retrieve(connectionId: string, accountId: string)list(connectionId:string)retrieve(connectionId: string, transactionId: string)list(connectionId: string)retrieve(institutionId: string)list()export interface AuthenticationOptions {
apiKey: string;
}
export interface BasiqAPIOptions {
baseUrl?: string;
auth: AuthenticationOptions;
}
export interface ConnectionCreateOptions {
loginId: string;
password: string;
securityCode?: string;
externalUserId: string;
institution: {
id: string;
};
}
export interface ConnectionUpdateOptions {
loginId?: string;
password?: string;
securityCode?: string;
externalUserId?: string;
}
export interface BasiqResponse {
status: number;
statusText: string;
body: any;
headers?: any;
}
FAQs
A NodeJS wrapper around the Basiq.io API
We found that basiq-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.