You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@emilgroup/document-uploader

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emilgroup/document-uploader - npm Package Compare versions

Comparing version
0.0.4
to
0.0.5
+1
-1
package.json
{
"name": "@emilgroup/document-uploader",
"version": "0.0.4",
"version": "0.0.5",
"description": "TypeScript NPM Module to upload document to EMIL Document Service",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -33,3 +33,3 @@ # Document Uploader

(async () => {
await uploader.uploadDocument(
const document = await uploader.uploadDocument(
{

@@ -48,2 +48,18 @@ templateSlug: 'upload',

Expected response:
```typescript
{
templateSlug: 'upload',
entityType: 'Document',
description: 'Customer document',
requester: 'insuranceservice',
filename: 'test.pdf',
isoContentType: 'application/pdf',
contentType: 'pdf',
code: 'doc_qIJWqUOpriJcWsC4b6maW'
}
````
This method takes an object with metadata about the document (including a template slug, entity type, description, and filename), the file itself as a readable stream, and the file size.

@@ -50,0 +66,0 @@