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

@altangent/aws-client

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@altangent/aws-client - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

dist/sns.js

@@ -12,7 +12,5 @@ "use strict";

const aws_sdk_1 = require("aws-sdk");
const winston = require("winston");
const sns = new aws_sdk_1.SNS();
function publish(topicArn, data) {
return __awaiter(this, void 0, void 0, function* () {
winston.info('publishing to topic', topicArn);
return sns

@@ -19,0 +17,0 @@ .publish({

2

package.json
{
"name": "@altangent/aws-client",
"version": "1.0.1",
"version": "1.0.2",
"description": "AWS tools",

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

import { SNS } from 'aws-sdk';
import * as winston from 'winston';

@@ -7,9 +6,8 @@ const sns = new SNS();

export async function publish(topicArn: string, data: any): Promise<SNS.PublishResponse> {
winston.info('publishing to topic', topicArn);
return sns
.publish({
Message: JSON.stringify(data),
TopicArn: topicArn,
})
.promise();
return sns
.publish({
Message: JSON.stringify(data),
TopicArn: topicArn,
})
.promise();
}

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