Socket
Socket
Sign inDemoInstall

@lucidtech/las-sdk-core

Package Overview
Dependencies
Maintainers
2
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lucidtech/las-sdk-core - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

1

lib/storage.d.ts

@@ -5,2 +5,3 @@ import { Token } from './credentials';

setPersistentToken: (value: T) => void;
hasActiveToken: () => boolean;
}

4

package.json
{
"name": "@lucidtech/las-sdk-core",
"version": "1.2.3",
"version": "1.2.4",
"author": "Lucidtech AS <hello@lucidtech.ai>",

@@ -23,3 +23,3 @@ "maintainers": [

},
"gitHead": "abe6b2e25892faae9bde7de348134868c3cf6c54"
"gitHead": "7220ca3a313ed6abbddb831d211910331bffe141"
}

@@ -92,2 +92,16 @@ import { default as uuidv4 } from 'uuid/v4';

test('Testing patchTask with a non-empty taskError', async () => {
const client = getTestClient();
const testTaskId = uuidv4();
const testTaskError = {
code: 'error code',
message: 'error message',
}
const patchTaskPromise = client.patchTasks(testTaskId, {}, { testTaskError });
await expect(patchTaskPromise).resolves.toHaveProperty('taskId');
await expect(patchTaskPromise).resolves.toHaveProperty('taskData');
await expect(patchTaskPromise).resolves.toHaveProperty('taskError');
await expect(patchTaskPromise).resolves.toHaveProperty('taskResult');
})
test('Testing successful getDocument', async () => {

@@ -94,0 +108,0 @@ const client = getTestClient();

@@ -64,5 +64,6 @@ import axios, { AxiosRequestConfig } from 'axios';

patchTasks(taskId: string, taskResult: any) {
patchTasks(taskId: string, taskResult: any = {}, taskError: any = {}) {
const body = {
taskResult,
taskError,
};

@@ -69,0 +70,0 @@

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