
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@wireapp/api-client
Advanced tools
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 5,175 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 0 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.