![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@vesselapi/react-vessel-link
Advanced tools
npm:
npm install @vesselapi/react-vessel-link
yarn:
yarn add @vesselapi/react-vessel-link
The vessel-link
modal can be triggered using two methods:
VesselConnectButton
component.useVesselLink
hook.Here are some example uses of each:
function App() {
return (
<VesselConnectButton
getLinkToken={async () => await api.post('link/token')}
onSuccess={(publicToken) => console.log('public token: ', publicToken)}
onClose={() => console.log('closed')}
onLoad={() => console.log('loaded')}
>
Connect your CRM!
</VesselConnectButton>
);
}
function App() {
const { open } = useVesselLink({
onSuccess: (publicToken) => console.log('public token: ', publicToken),
onClose: () => console.log('closed'),
onLoad: () => console.log('loaded'),
});
return <button onClick={() => open({ linkToken })}>Connect your CRM!</button>;
}
If you'd like to directly open to the auth flow for a specific integration without having the user go through the selection flow, you can pass an integrationId
to the open function returned by useVesselLink
. Currently, this is only supported when using the useVesselLink
hook.
Here's an example of embedding the integrations directly into your application:
function App() {
const { open } = useVesselLink({
onSuccess: (publicToken) => console.log('public token: ', publicToken),
onClose: () => console.log('closed'),
onLoad: () => console.log('loaded'),
});
return (
<div>
<button
onClick={async () =>
open({
integrationId: 'salesforce',
linkToken: await getLinkToken(),
})
}
>
Connect Salesforce
</button>
<button
onClick={async () =>
open({
integrationId: 'hubspot',
linkToken: await getLinkToken(),
})
}
>
Connect HubSpot
</button>
</div>
);
}
Contact us at support@vessel.land
.
FAQs
A React component to open the Vessel Connect Modal
The npm package @vesselapi/react-vessel-link receives a total of 57 weekly downloads. As such, @vesselapi/react-vessel-link popularity was classified as not popular.
We found that @vesselapi/react-vessel-link 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.