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

@serialized/serialized-client

Package Overview
Dependencies
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serialized/serialized-client - npm Package Compare versions

Comparing version 3.12.2 to 3.12.3

3

dist/BaseClient.d.ts
import { AxiosInstance, AxiosRequestConfig } from "axios";
import { SerializedConfig } from "./";
export declare class BaseClient {
readonly axiosClient: AxiosInstance;
private config;
constructor(config: any);
constructor(config: SerializedConfig);
protected axiosConfig(tenantId?: string): AxiosRequestConfig;
}

@@ -17,2 +17,4 @@ "use strict";

Accept: 'application/json',
'Serialized-Access-Key': config.accessKey,
'Serialized-Secret-Access-Key': config.secretAccessKey
}

@@ -42,6 +44,3 @@ });

return {
headers: Object.assign({
'Serialized-Access-Key': this.config.accessKey,
'Serialized-Secret-Access-Key': this.config.secretAccessKey
}, additionalHeaders)
headers: Object.assign({}, additionalHeaders)
};

@@ -48,0 +47,0 @@ };

@@ -50,9 +50,2 @@ import { BaseClient } from "./";

}
export interface SequenceNumberTracker {
readonly lastConsumedSequenceNumber: number;
updateLastConsumedSequenceNumber(currentSequenceNumber: number): void;
}
export interface FeedEntryHandler {
handle(feedEntry: FeedEntry): void;
}
export declare class FeedsClient extends BaseClient {

@@ -59,0 +52,0 @@ loadOverview(): Promise<LoadFeedsOverviewResponse>;

import { BaseClient } from "./";
export declare type ProjectionSort = 'projectionId' | 'reference' | 'createdAt' | 'updatedAt' | '-projectionId' | '-reference' | '-createdAt' | '-updatedAt' | '+projectionId' | '+reference' | '+createdAt' | '+updatedAt';
export interface ListSingleProjectionOptions {
reference?: string;
tenantId?: string;
sort?: string;
sort?: ProjectionSort;
skip?: number;

@@ -6,0 +8,0 @@ limit?: number;

@@ -163,2 +163,5 @@ "use strict";

}
if (options.reference !== undefined) {
params.set('reference', options.reference);
}
if (options.skip !== undefined) {

@@ -165,0 +168,0 @@ params.set('skip', options.skip.toString());

interface SerializedConfig {
readonly accessKey: string;
readonly secretAccessKey: string;
readonly client?: {
baseUrl?: string;
};
}
export { SerializedConfig };

@@ -6,3 +6,3 @@ {

"author": "Mattias Holmqvist",
"version": "3.12.2",
"version": "3.12.3",
"main": "dist/index.js",

@@ -9,0 +9,0 @@ "types": "dist/index.d.ts",

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