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

@translated/lara

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@translated/lara - npm Package Compare versions

Comparing version 1.2.2 to 1.3.0

2

lib/net/client.d.ts

@@ -18,3 +18,5 @@ type HttpMethod = "GET" | "POST" | "PUT" | "DELETE";

private readonly accessKeySecret;
private readonly extraHeaders;
protected constructor(accessKeyId: string, accessKeySecret: string);
setExtraHeader(name: string, value: string): void;
get<T>(path: string, params?: Record<string, any>): Promise<T>;

@@ -21,0 +23,0 @@ delete<T>(path: string, params?: Record<string, any>): Promise<T>;

@@ -36,5 +36,9 @@ "use strict";

this.crypto = (0, crypto_1.default)();
this.extraHeaders = {};
this.accessKeyId = accessKeyId;
this.accessKeySecret = accessKeySecret;
}
setExtraHeader(name, value) {
this.extraHeaders[name] = value;
}
get(path, params) {

@@ -59,3 +63,4 @@ return this.request("GET", path, params);

"X-Lara-SDK-Name": "lara-node",
'X-Lara-SDK-Version': sdk_version_1.version
'X-Lara-SDK-Version': sdk_version_1.version,
...this.extraHeaders
};

@@ -62,0 +67,0 @@ if (body) {

2

lib/sdk-version.d.ts

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

export declare const version = "1.2.2";
export declare const version = "1.3.0";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "1.2.2";
exports.version = "1.3.0";
{
"name": "@translated/lara",
"version": "1.2.2",
"version": "1.3.0",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "types": "lib/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