Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metrichor/epi2me-web

Package Overview
Dependencies
Maintainers
3
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metrichor/epi2me-web - npm Package Compare versions

Comparing version 6.0.7149896 to 6.0.7173308

2

cjs/src/epi2me-fs.d.ts

@@ -49,3 +49,3 @@ /// <reference types="node" />

private s3?;
private proxyAgent?;
readonly proxyAgent?: Agent;
constructor(opts: Partial<EPI2ME_OPTIONS>);

@@ -52,0 +52,0 @@ private fetchToken;

@@ -0,1 +1,2 @@

/// <reference types="node" />
import type { REST_FS } from './rest-fs';

@@ -7,2 +8,3 @@ import type { GraphQL } from './graphql';

import type { EPI2ME_OPTIONS } from './epi2me-options.type';
import type { Agent } from 'http';
import { EPI2ME_FS } from './epi2me-fs';

@@ -28,2 +30,3 @@ import { BehaviorSubject } from 'rxjs';

get sampleReader(): SampleReader;
get proxy(): Agent | undefined;
telemetry(id: string, telemetryNames: Dictionary<Dictionary<string>>): Telemetry;

@@ -30,0 +33,0 @@ reset(options?: Partial<EPI2ME_OPTIONS>): void;

@@ -31,2 +31,5 @@ /**

init.headers = headers;
// NOTE we don't do anything proxy related here
// it would be nice to offer the option but this is primarily used in the "web"
// version which cannot reference a HTTPAgent that's required
return fetch.fetch(uri, init);

@@ -33,0 +36,0 @@ };

/// <reference lib="dom" />
export declare const fetch: typeof globalThis.fetch;
import type { NodeFetch } from './RequestOptions.type';
export declare const fetch: NodeFetch;
export declare const Request: {

@@ -4,0 +5,0 @@ new (input: RequestInfo, init?: RequestInit | undefined): Request;

@@ -20,2 +20,6 @@ /// <reference types="node" />

}
export interface NodeRequestInit extends RequestInit {
agent?: Agent;
}
export declare type NodeFetch = (info: RequestInfo, init?: NodeRequestInit) => Promise<Response>;
export interface ExtendedRequestOptions extends RequestOptions {

@@ -22,0 +26,0 @@ method?: 'head' | 'get' | 'put' | 'post';

@@ -0,1 +1,2 @@

/// <reference types="node" />
import { JSONObject } from 'ts-runtime-typecheck';

@@ -5,2 +6,3 @@ import type { ExtendedTelemetrySource, TelemetryNames } from './telemetry.type';

import type { GraphQL } from './graphql';
import type { Agent } from 'http';
export declare class Telemetry {

@@ -14,6 +16,7 @@ private readonly sources;

readonly anyReportsReady$: Observable<boolean>;
constructor(id: string, graphql: GraphQL, telemetryNames: TelemetryNames);
httpAgent?: Agent;
constructor(id: string, graphql: GraphQL, telemetryNames: TelemetryNames, httpAgent?: Agent);
private getTelemetrySources;
private getSources$;
static connect(id: string, graphQL: GraphQL, reportNames: TelemetryNames): Telemetry;
static connect(id: string, graphQL: GraphQL, reportNames: TelemetryNames, httpAgent?: Agent): Telemetry;
}

@@ -49,3 +49,3 @@ /// <reference types="node" />

private s3?;
private proxyAgent?;
readonly proxyAgent?: Agent;
constructor(opts: Partial<EPI2ME_OPTIONS>);

@@ -52,0 +52,0 @@ private fetchToken;

@@ -0,1 +1,2 @@

/// <reference types="node" />
import type { REST_FS } from './rest-fs';

@@ -7,2 +8,3 @@ import type { GraphQL } from './graphql';

import type { EPI2ME_OPTIONS } from './epi2me-options.type';
import type { Agent } from 'http';
import { EPI2ME_FS } from './epi2me-fs';

@@ -28,2 +30,3 @@ import { BehaviorSubject } from 'rxjs';

get sampleReader(): SampleReader;
get proxy(): Agent | undefined;
telemetry(id: string, telemetryNames: Dictionary<Dictionary<string>>): Telemetry;

@@ -30,0 +33,0 @@ reset(options?: Partial<EPI2ME_OPTIONS>): void;

/// <reference lib="dom" />
export declare const fetch: typeof globalThis.fetch;
import type { NodeFetch } from './RequestOptions.type';
export declare const fetch: NodeFetch;
export declare const Request: {

@@ -4,0 +5,0 @@ new (input: RequestInfo, init?: RequestInit | undefined): Request;

@@ -20,2 +20,6 @@ /// <reference types="node" />

}
export interface NodeRequestInit extends RequestInit {
agent?: Agent;
}
export declare type NodeFetch = (info: RequestInfo, init?: NodeRequestInit) => Promise<Response>;
export interface ExtendedRequestOptions extends RequestOptions {

@@ -22,0 +26,0 @@ method?: 'head' | 'get' | 'put' | 'post';

@@ -0,1 +1,2 @@

/// <reference types="node" />
import { JSONObject } from 'ts-runtime-typecheck';

@@ -5,2 +6,3 @@ import type { ExtendedTelemetrySource, TelemetryNames } from './telemetry.type';

import type { GraphQL } from './graphql';
import type { Agent } from 'http';
export declare class Telemetry {

@@ -14,6 +16,7 @@ private readonly sources;

readonly anyReportsReady$: Observable<boolean>;
constructor(id: string, graphql: GraphQL, telemetryNames: TelemetryNames);
httpAgent?: Agent;
constructor(id: string, graphql: GraphQL, telemetryNames: TelemetryNames, httpAgent?: Agent);
private getTelemetrySources;
private getSources$;
static connect(id: string, graphQL: GraphQL, reportNames: TelemetryNames): Telemetry;
static connect(id: string, graphQL: GraphQL, reportNames: TelemetryNames, httpAgent?: Agent): Telemetry;
}
{
"name": "@metrichor/epi2me-web",
"version": "6.0.7149896",
"version": "6.0.7173308",
"license": "MPL-2.0",

@@ -5,0 +5,0 @@ "repository": "git@github.com:nanoporetech/epi2me-api.git",

Sorry, the diff of this file is not supported yet

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