New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rubik-pact

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rubik-pact - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

classes/Pact/methods.js
module.exports = [
{ kubikName: 'companies.channels.conversations', apiName: 'companies/{{companyId}}/channels/{{channelId}}/conversations' },
{ kubikName: 'companies.conversations.messages', apiName: 'companies/{{companyId}}/conversations/{{conversationId}}/messages' }
{ kubikName: 'companies.conversations.messages', apiName: 'companies/{{companyId}}/conversations/{{conversationId}}/messages' },
{ kubikName: 'companies.conversationsGet', apiName: 'companies/{{companyId}}/conversations/{{conversationId}}' }
];
{
"name": "rubik-pact",
"version": "1.0.1",
"version": "1.0.2",
"description": "Pact Bot Api kubik for the Rubik application system",

@@ -5,0 +5,0 @@ "main": "classes/Pact.js",

@@ -30,2 +30,16 @@ /* global describe test expect */

test('Пробует получить данные о беседе', async () => {
const { app } = get();
await app.up();
const dataForTests = app.config.get('dataForTests');
const response = await app.pact.companies.conversationsGet({
params: dataForTests,
})
expect(response.status).toBe('ok')
await app.down();
})
test('Пробует отправить сообщение (не забудьте добавить токен в настройки)', async () => {

@@ -32,0 +46,0 @@ const { app, kubik } = get();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc