![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@wireapp/api-client
Advanced tools
Wire API Client to send and receive data.
This repository is part of the source code of Wire. You can find more information at wire.com or by contacting opensource@wire.com.
You can find the published source code at github.com/wireapp.
For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.
Wire for Web's API client.
yarn
yarn start
yarn add @wireapp/api-client
import {APIClient} from '@wireapp/api-client';
import {LoginData} from '@wireapp/api-client/lib/auth/';
import {ClientType} from '@wireapp/api-client/lib/client';
const credentials: LoginData = {
clientType: ClientType.TEMPORARY,
email: 'user@wire.com',
password: 'top-secret',
};
const apiClient = new APIClient();
apiClient.login(credentials);
import {APIClient} from '@wireapp/api-client';
import {Config} from '@wireapp/api-client/lib/Config';
import {LoginData} from '@wireapp/api-client/lib/auth/';
import {ClientType} from '@wireapp/api-client/lib/client';
const credentials: LoginData = {
clientType: ClientType.TEMPORARY,
email: 'user@wire.com',
password: 'top-secret',
};
const apiConfig: Config = {
urls: {
name: 'My custom backend',
rest: 'https://backend-rest.domain.com',
ws: 'wss://backend-websocket.domain.com',
},
};
const apiClient = new APIClient(apiConfig);
apiClient.login(credentials);
Browser
Node.js
Bash
#!/bin/bash
EMAIL="name@email.com"
PASSWORD="password"
node index.js --e="$EMAIL" --p="$PASSWORD"
Node
npm run dist
node index.js --e="name@email.com" --p="password"
FAQs
Wire API Client to send and receive data.
The npm package @wireapp/api-client receives a total of 1,929 weekly downloads. As such, @wireapp/api-client popularity was classified as popular.
We found that @wireapp/api-client demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.