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

testaugnitoambientsdk

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testaugnitoambientsdk - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

2

package.json
{
"name": "testaugnitoambientsdk",
"version": "1.3.0",
"version": "1.4.0",
"description": "Use this typescript SDK to integrate Augnito’s Ambient Tech within your EMR. To get access credentials or know more about how Augnito Ambient can benefit you, please visit our website and connect with our sales team: https://augnito.ai/",

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

@@ -35,3 +35,4 @@ "use strict";

}
return yield response.json();
const data = (yield response.json());
return data;
}

@@ -38,0 +39,0 @@ catch (error) {

import AmbientConfig from "../config/AmbientConfig";
import { Guard } from "../utils/Guard";
export interface BaseResult {
Status: number;
ErrorMessage: string;
Data: any
}
export class AmbientRestAPI{

@@ -26,4 +32,5 @@ private _baseUrl: string;

throw new Error(`HTTP error! Status: ${response.status}`);
}
return await response.json();
}
const data = (await response.json()) as BaseResult;
return data;
} catch (error) {

@@ -30,0 +37,0 @@ return null;

@@ -39,5 +39,3 @@ "use strict";

}
var JsonData = yield this._ambientRestAPI.GetNoteParams();
var JsonData = JSON.parse(JsonData);
return JsonData.Data;
return yield this._ambientRestAPI.GetNoteParams();
});

@@ -44,0 +42,0 @@ }

@@ -49,5 +49,4 @@ import AmbientConfig from "./config/AmbientConfig";

}
var JsonData = await this._ambientRestAPI.GetNoteParams();
var JsonData = JSON.parse(JsonData);
return JsonData.Data;
return await this._ambientRestAPI.GetNoteParams();
}

@@ -54,0 +53,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