
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
dispatch-client
Advanced tools
Universal javascript client for the Dispatch API.
npm install dispatch-client
Every resource is accessed via your dispatch
instance:
const dispatch = new require('dispatch-client')({ clientId, clientSecret });
// dispatch.{ RESOURCE_NAME }.{ METHOD_NAME }
Every resource method returns a promise:
dispatch.events.get({ jobId: '123' }).then(events => {
console.log('Job events', events);
});
get(selector, [options])
- dispatch.attachments.get({ jobId: '1' })
create(doc, [options])
- dispatch.attachments.create({ jobId: '1', fileToken: 'filetoken' })
get(selector, [options])
- dispatch.events.get({ jobId: '1'})
create(doc, [options])
- dispatch.events.create({ jobId: '1', message: 'Friendly dog at the house' })
url(token)
- dispatch.files.url('filetoken')
fetch(path, [options])
- dispatch.fetch('v1/jobs')
getToken([options])
- dispatch.getToken()
momentTimezone(timezone)
- dispatch.momentTimezone('Hawaii')
FAQs
Universal javascript client for the Dispatch API
The npm package dispatch-client receives a total of 3 weekly downloads. As such, dispatch-client popularity was classified as not popular.
We found that dispatch-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.