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

aws-amplify

Package Overview
Dependencies
Maintainers
8
Versions
2399
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-amplify - npm Package Compare versions

Comparing version 0.2.13 to 0.2.14

29

lib/Analytics/Providers/AWSAnalyticsProvider.js

@@ -199,5 +199,5 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var timestamp, config, initClients, _a, appId, region, credentials, cacheKey, endpointId, request, update_params, that;
return __generator(this, function (_b) {
switch (_b.label) {
var timestamp, config, initClients, _a, appId, region, credentials, endpointId, cacheKey, request, update_params, _b, _c, that;
return __generator(this, function (_d) {
switch (_d.label) {
case 0:

@@ -207,17 +207,22 @@ timestamp = params.timestamp, config = params.config;

case 1:
initClients = _b.sent();
initClients = _d.sent();
if (!initClients)
return [2 /*return*/, false];
this._config = Object.assign(this._config, config);
_a = this._config, appId = _a.appId, region = _a.region, credentials = _a.credentials;
_a = this._config, appId = _a.appId, region = _a.region, credentials = _a.credentials, endpointId = _a.endpointId;
cacheKey = this.getProviderName() + '_' + appId;
request = this._endpointRequest();
_b = {
ApplicationId: appId
};
_c = endpointId;
if (_c) return [3 /*break*/, 3];
return [4 /*yield*/, this._getEndpointId(cacheKey)];
case 2:
endpointId = _b.sent();
request = this._endpointRequest();
update_params = {
ApplicationId: appId,
EndpointId: endpointId,
EndpointRequest: request
};
_c = (_d.sent());
_d.label = 3;
case 3:
update_params = (_b.EndpointId = _c,
_b.EndpointRequest = request,
_b);
that = this;

@@ -224,0 +229,0 @@ logger.debug('updateEndpoint with params: ', update_params);

{
"name": "aws-amplify",
"version": "0.2.13",
"version": "0.2.14",
"description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

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