Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@xyo-network/api-address-verifier-apollo
Advanced tools
Apollo api with react codegen components for ethereum address verification
cd
into the api-address-verifier-apollo
directory.yarn
yarn dev
yarn add @xyo-network/api-address-verifier-apollo @xyo-network/tool-storybook-react
import {
VerifyType,
withVerifyAddress,
VerifyAddressProvider,
withMyVerifiedAddresses,
VerifiedAddress,
} from '@xyo-network/api-address-verifier-apollo'
import {
SignButton,
ISigningValues,
} from '@xyo-network/tool-storybook-react/dist/lib/Signing'
const SIGNING_DATA = 'I <3 XYO'
export const VerifyAddresses = withVerifyAddress()(({ mutate }) => {
const onSuccess = async ({ address, signature, error }: ISigningValues) => {
try {
if (error) throw error
await mutate({
variables: {
type: VerifyType.Sign,
data: SIGNING_DATA,
address,
signature,
},
})
} catch (e) {
// handle err
}
}
return <SignButton data={SIGNING_DATA} onSuccess={onSuccess} />
})
export const MyVerifiedAddresses = withMyVerifiedAddresses()(({ data }) => {
return <YourAddressListComponent verifiedAddresses={data.verifiedAddresses} />
})
export default () => {
return (
<VerifyAddressProvider
getRequestContext={async () => ({ headers: {
'X-Auth-Token': `${usertoken}`
...headers
} })}
>
<>
<VerifyAddresses />
<MyVerifiedAddresses />
</>
</VerifyAddressProvider>
)
}
Only for internal XY - The Persistent Company use at this time.
Made with ❄️ and 🔥 by XY - The Persistent Company
FAQs
Apollo api with react codegen
The npm package @xyo-network/api-address-verifier-apollo receives a total of 2 weekly downloads. As such, @xyo-network/api-address-verifier-apollo popularity was classified as not popular.
We found that @xyo-network/api-address-verifier-apollo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.