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

@trivikr-test/middleware-signing

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trivikr-test/middleware-signing - npm Package Compare versions

Comparing version 3.170.0-es2019 to 3.170.0-es2020

5

dist-es/middleware.js

@@ -16,4 +16,3 @@ import { HttpRequest, HttpResponse } from "@trivikr-test/protocol-http";

}).catch((error) => {
var _a;
const serverTime = (_a = error.ServerTime) !== null && _a !== void 0 ? _a : getDateHeader(error.$response);
const serverTime = error.ServerTime ?? getDateHeader(error.$response);
if (serverTime) {

@@ -30,3 +29,3 @@ options.systemClockOffset = getUpdatedSystemClockOffset(serverTime, options.systemClockOffset);

};
const getDateHeader = (response) => { var _a, _b, _c; return HttpResponse.isInstance(response) ? (_b = (_a = response.headers) === null || _a === void 0 ? void 0 : _a.date) !== null && _b !== void 0 ? _b : (_c = response.headers) === null || _c === void 0 ? void 0 : _c.Date : undefined; };
const getDateHeader = (response) => HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined;
export const awsAuthMiddlewareOptions = {

@@ -33,0 +32,0 @@ name: "awsAuthMiddleware",

10

package.json
{
"name": "@trivikr-test/middleware-signing",
"version": "3.170.0-es2019",
"version": "3.170.0-es2020",
"scripts": {

@@ -23,6 +23,6 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"dependencies": {
"@trivikr-test/property-provider": "3.170.0-es2019",
"@trivikr-test/protocol-http": "3.170.0-es2019",
"@trivikr-test/signature-v4": "3.170.0-es2019",
"@trivikr-test/types": "3.170.0-es2019",
"@trivikr-test/property-provider": "3.170.0-es2020",
"@trivikr-test/protocol-http": "3.170.0-es2020",
"@trivikr-test/signature-v4": "3.170.0-es2020",
"@trivikr-test/types": "3.170.0-es2020",
"tslib": "^2.3.1"

@@ -29,0 +29,0 @@ },

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