Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@vkontakte/api-schema-typescript
Advanced tools
Readme
This repository contains prebuilt TypeScript typings for VK API Schema. The generation is performed with VKCOM/api-schema-typescript-generator.
The package versions will follow API versions. It means that for 5.131 API version the package version will be *.5131.*.
yarn add @vkontakte/api-schema-typescript
npm i --save @vkontakte/api-schema-typescript
You can import params, responses, and objects from the library.
import {
MessagesGetByIdParams, // Method params
MessagesGetByIdExtendedResponse, // Response interface
MessagesMessage, // Any object
} from '@vkontakte/api-schema-typescript';
const params: MessagesGetByIdParams = {
message_ids: [1, 2, 3].join(','),
extended: 1,
};
apiRequest('messages.getById', params).then((response: MessagesGetByIdExtendedResponse) => {
response.items.forEach((message) => {
if (message.out) {
}
});
});
FAQs
TypeScript typings for VK API
The npm package @vkontakte/api-schema-typescript receives a total of 59 weekly downloads. As such, @vkontakte/api-schema-typescript popularity was classified as not popular.
We found that @vkontakte/api-schema-typescript 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.