openui5-fhir
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -0,1 +1,8 @@ | ||
## [2.0.3](https://github.com/SAP/openui5-fhir/compare/v2.0.2...v2.0.3) (2020-11-17) | ||
### Bug Fixes | ||
* restore csrf token handling ([#108](https://github.com/SAP/openui5-fhir/issues/108)) ([5c0ed46](https://github.com/SAP/openui5-fhir/commit/5c0ed46e377f390e2575a8c661189549a14bab6a)) | ||
## [2.0.2](https://github.com/SAP/openui5-fhir/compare/v2.0.1...v2.0.2) (2020-11-05) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "openui5-fhir", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"author": "SAP SE", | ||
@@ -28,3 +28,3 @@ "license": "Apache-2.0", | ||
"devDependencies": { | ||
"eslint": "^7.12.1", | ||
"eslint": "^7.13.0", | ||
"eslint-watch": "^7.0.0", | ||
@@ -38,3 +38,3 @@ "js-beautify": "^1.13.0", | ||
"karma-ui5": "^2.3.1", | ||
"@ui5/cli": "^2.6.1", | ||
"@ui5/cli": "^2.6.4", | ||
"coveralls": "^3.1.0", | ||
@@ -41,0 +41,0 @@ "replace-in-file": "^6.1.0", |
# OpenUI5-FHIR <a href="https://openui5.org/"><img height="30px" src="https://openui5.hana.ondemand.com/resources/sap/ui/documentation/sdk/images/logo_ui5.png"></a>🔥 | ||
[![NPM Version](https://badge.fury.io/js/openui5-fhir.svg)](https://npmjs.com/package/openui5-fhir) | ||
[![Build Status](https://img.shields.io/travis/SAP/openui5-fhir.svg)](https://travis-ci.org/SAP/openui5-fhir) | ||
[![Build Status](https://travis-ci.com/SAP/openui5-fhir.svg?branch=master)](https://travis-ci.com/SAP/openui5-fhir) | ||
[![Coverage Status](https://img.shields.io/coveralls/github/SAP/openui5-fhir.svg)](https://coveralls.io/github/SAP/openui5-fhir?branch=master) | ||
@@ -5,0 +5,0 @@ [![Monthly Downloads](https://img.shields.io/npm/dm/openui5-fhir.svg)](https://npmjs.com/package/openui5-fhir) |
@@ -11,3 +11,3 @@ sap.ui.define(function() { | ||
* @author SAP SE | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
* @public | ||
@@ -17,3 +17,3 @@ */ | ||
name : "sap.fhir", | ||
version : "2.0.2", | ||
version : "2.0.3", | ||
noLibraryCSS: true, | ||
@@ -20,0 +20,0 @@ dependencies : [ "sap.ui.core" ], |
@@ -34,3 +34,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
* | ||
@@ -37,0 +37,0 @@ * @see sap.fhir.model.r4.Context.create |
@@ -36,3 +36,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -39,0 +39,0 @@ var FHIRContextBinding = ContextBinding.extend("sap.fhir.model.r4.FHIRContextBinding", { |
@@ -21,3 +21,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -24,0 +24,0 @@ var FHIRFilterOperatorUtils = {}; |
@@ -25,3 +25,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -28,0 +28,0 @@ var FHIRFilterProcessor = {}; |
@@ -48,3 +48,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -51,0 +51,0 @@ var FHIRListBinding = ListBinding.extend("sap.fhir.model.r4.FHIRListBinding", { |
@@ -33,3 +33,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -36,0 +36,0 @@ var FHIRPropertyBinding = PropertyBinding.extend("sap.fhir.model.r4.FHIRPropertyBinding", { |
@@ -27,3 +27,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -30,0 +30,0 @@ var FHIRUtils = {}; |
@@ -31,3 +31,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -34,0 +34,0 @@ var BindingInfo = function(sResourceId, sResourceType, sResourcePath, sRelativePath, sAbsolutePath, aBinding, sGroupId, sRequestPath, aResourcePath, sResourceServerPath, sETag) { |
@@ -21,3 +21,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -24,0 +24,0 @@ var FHIRBundle = function(sBundleType, sGroupId) { |
@@ -23,3 +23,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -26,0 +26,0 @@ var FHIRBundleEntry = function(sFullUrl, oResource, oRequest) { |
@@ -31,3 +31,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -34,0 +34,0 @@ var FHIRBundleRequest = function(oBinding, sMethod, sUrl, fnSuccess, fnError, sIfMatch, sIfNoneMatch, sIfNoneExist, sIfModifiedSince) { |
@@ -21,3 +21,3 @@ /*! | ||
* @since 2.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -24,0 +24,0 @@ var FHIROperationOutcome = function (oResource) { |
@@ -31,3 +31,3 @@ /*! | ||
* @param {sap.fhir.model.r4.FHIRModel} oModel The FHIRModel | ||
* @param {boolean} bCSRF If the FHIR service supports the csrf token | ||
* @param {boolean} [bCSRF=false] If the FHIR service supports the csrf token | ||
* @param {string} sPrefer In which kind the FHIR service shall return the responses described here https://www.hl7.org/fhir/http.html#2.21.0.5.2 | ||
@@ -40,3 +40,3 @@ * @param {object} oDefaultQueryParams The default query parameters to be passed on resource type specific requests and not resource instance specific requests (e.g /Patient?_total:accurate&_format:json). It should be of type key:value pairs. e.g. {'_total':'accurate'} -> http://hl7.org/fhir/http.html#parameters | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -48,3 +48,3 @@ var FHIRRequestor = function(sServiceUrl, oModel, bCSRF, sPrefer, oDefaultQueryParams) { | ||
this._aPendingRequestHandles = []; | ||
this.bCSRF = bCSRF === true ? true : false; | ||
this.bCSRF = !!bCSRF; | ||
this.sPrefer = sPrefer ? "return=minimal" : sPrefer; | ||
@@ -292,11 +292,8 @@ this.oDefaultQueryParams = oDefaultQueryParams; | ||
* @param {sap.fhir.model.r4.lib.RequestHandle} oRequestHandle The request handle object to identify the executed request | ||
* @param {object} oData The server response | ||
* @param {string} sStatusText The status text of the response | ||
* @param {object} jqXHR The request object | ||
* @private | ||
* @since 1.0.0 | ||
*/ | ||
FHIRRequestor.prototype._callBackForXcsrfToken = function(fnOriginSuccess, oRequestHandle, oData, sStatusText, jqXHR){ | ||
this.sToken = this.getResponseHeaders(jqXHR)["x-csrf-token"]; | ||
fnOriginSuccess(oRequestHandle, oData); | ||
FHIRRequestor.prototype._callBackForXcsrfToken = function(fnOriginSuccess, oRequestHandle){ | ||
this.sToken = this.getResponseHeaders(oRequestHandle.getRequest())["x-csrf-token"]; | ||
fnOriginSuccess(oRequestHandle); | ||
}; | ||
@@ -303,0 +300,0 @@ |
@@ -22,3 +22,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -25,0 +25,0 @@ var FHIRUrl = function(sUrl, sServiceUrl) { |
@@ -20,3 +20,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -23,0 +23,0 @@ var HTTPMethod = { |
@@ -22,3 +22,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -25,0 +25,0 @@ var RequestHandle = function(oBinding) { |
@@ -24,3 +24,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -27,0 +27,0 @@ var Sliceable = {}; |
@@ -20,3 +20,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -23,0 +23,0 @@ var OperationMode = { |
@@ -19,3 +19,3 @@ /*! | ||
* @since 1.0.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -22,0 +22,0 @@ var SubmitMode = { |
@@ -18,3 +18,3 @@ /*! | ||
* @since 1.1.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -21,0 +21,0 @@ |
@@ -15,3 +15,3 @@ /*! | ||
* @since 1.1.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -18,0 +18,0 @@ |
@@ -15,3 +15,3 @@ /*! | ||
* @since 1.1.0 | ||
* @version 2.0.2 | ||
* @version 2.0.3 | ||
*/ | ||
@@ -18,0 +18,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
326771
7490