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

@onfido/api

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onfido/api - npm Package Compare versions

Comparing version 2.7.2 to 2.8.0

4

CHANGELOG.md
# Changelog
## v2.8.0 24 November 2023
- Added `signed_evidence_file` method for WorkflowRuns
## v2.7.2, 14 June 2023

@@ -4,0 +8,0 @@

5

dist/index.es.js
import axios from 'axios';
import { PassThrough, Readable } from 'stream';
var version = "2.7.2";
var version = "2.8.0";

@@ -464,2 +464,5 @@ class OnfidoError extends Error {

}
async evidence(id) {
return super.download(`${id}/signed_evidence_file`);
}
}

@@ -466,0 +469,0 @@

@@ -10,3 +10,3 @@ 'use strict';

var version = "2.7.2";
var version = "2.8.0";

@@ -471,2 +471,5 @@ class OnfidoError extends Error {

}
async evidence(id) {
return super.download(`${id}/signed_evidence_file`);
}
}

@@ -473,0 +476,0 @@

@@ -17,2 +17,3 @@ import { AxiosInstance } from "axios";

environments: string[];
payloadVersion: number;
};

@@ -19,0 +20,0 @@ export declare class Webhooks extends Resource<WebhookRequest> {

import { AxiosInstance } from "axios";
import { OnfidoDownload } from "../OnfidoDownload";
import { Resource } from "../Resource";

@@ -32,2 +33,3 @@ export declare type WorkflowRunRequest = {

updatedAt: string;
tags: string[] | null;
};

@@ -45,3 +47,4 @@ export declare type WorkflowRunListRequest = {

list(queryParams?: WorkflowRunListRequest): Promise<WorkflowRun[]>;
evidence(id: string): Promise<OnfidoDownload>;
}
export {};
{
"name": "@onfido/api",
"version": "2.7.2",
"version": "2.8.0",
"description": "Node.js library for the Onfido API",

@@ -36,3 +36,4 @@ "keywords": [

"moduleNameMapper": {
"onfido-node": "<rootDir>/src/index"
"onfido-node": "<rootDir>/src/index",
"axios": "axios/dist/node/axios.cjs"
},

@@ -61,5 +62,5 @@ "globals": {

"dependencies": {
"axios": "^0.21.1",
"axios": "^1.6.1",
"form-data": "^3.0.0"
}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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