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

tidepool-platform-client

Package Overview
Dependencies
Maintainers
0
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tidepool-platform-client - npm Package Compare versions

Comparing version 0.62.0-web-3272-patient-data-linking-after-creation.1 to 0.62.0-web-3400-strip-clinic-patient-update-fields.1

22

clinics.js

@@ -307,5 +307,25 @@ 'use strict';

common.assertArgumentsSize(4);
// Explicitly omit any fields that are never expected to be updated from frontend clients.
// Note that some fields that we don't provide a means to update are still sent along if they don't
// implement `omitEmpty` when being written to the database, as they would otherwise be deleted.
const patientUpdate = _.omit(patient, [
'clinicId',
'createdTime',
'ehrSubscriptions',
'id',
'isMigrated',
'legacyClinicianIds',
'invitedBy',
'lastUploadReminderTime',
'permissions',
'reviews',
'summary',
'updatedTime',
'userId',
]);
common.doPutWithToken(
`/v1/clinics/${clinicId}/patients/${patientId}`,
patient,
patientUpdate,
{ 200: function(res){ return res.body; } },

@@ -312,0 +332,0 @@ cb

2

package.json

@@ -7,3 +7,3 @@ {

"packageManager": "yarn@3.6.4",
"version": "0.62.0-web-3272-patient-data-linking-after-creation.1",
"version": "0.62.0-web-3400-strip-clinic-patient-update-fields.1",
"description": "Client-side library to interact with the Tidepool platform",

@@ -10,0 +10,0 @@ "main": "tidepool.js",

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