You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@advanced-rest-client/auth-methods

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@advanced-rest-client/auth-methods - npm Package Compare versions

Comparing version

to
5.0.3

auth-method-certificate.d.ts

8

auth-method-base.d.ts

@@ -15,3 +15,3 @@ /**

import {LitElement, html} from 'lit-element';
import {LitElement} from 'lit-element';

@@ -28,2 +28,3 @@ import {EventsTargetMixin} from '@advanced-rest-client/events-target-mixin/events-target-mixin.js';

LitElement) {
legacy: any;
constructor(type: any);

@@ -56,5 +57,6 @@

* @param type Auth form type.
* @returns Gnerated data model
* @returns Gnerated data model or undefined when the settings
* should be cleared
*/
_createModel(type: String|null): object|null;
_createModel(type: String|null): object|null|undefined;

@@ -61,0 +63,0 @@ /**

@@ -104,7 +104,12 @@ /**

* @param {String} type Auth form type.
* @return {Object} Gnerated data model
* @return {Object|undefined} Gnerated data model or undefined when the settings
* should be cleared
*/
_createModel(type) {
const settings = this.getSettings();
if (!settings) {
return;
}
return {
settings: this.getSettings(),
settings,
type,

@@ -123,3 +128,3 @@ valid: this.validate()

const e = new CustomEvent('auth-settings-changed', {
detail: detail,
detail,
bubbles: true,

@@ -126,0 +131,0 @@ composed: true

@@ -45,3 +45,2 @@ /**

AuthMethodBase) {
amf: any;
readonly _hasSchemeDescription: any;

@@ -88,3 +87,3 @@

_formListTemplate(items: any, type: any): any;
_formItemTemplate(item: any, index: any, outlined: any, legacy: any, readOnly: any, disabled: any, noDocs: any, type: any): any;
_formItemTemplate(item: any, index: any, outlined: any, compatibility: any, readOnly: any, disabled: any, noDocs: any, type: any): any;

@@ -149,2 +148,20 @@ /**

_inputValueChanged(e: CustomEvent|null): void;
/**
* Dispatches header/query parameter changed event - depending on the type.
*
* @param type `header` or `query`
* @param name name of the property
* @param value changed value
*/
_dispatchParamChanged(type: String|null, name: String|null, value: String|null): void;
/**
* Calls `_dispatchParamChanged()` on each item to notify other editors about
* value change.
*
* @param type Changed type.
* @param data View model
*/
_notifyModelChanged(type: String|null, data: String|null): void;
}

@@ -151,0 +168,0 @@ }

@@ -68,3 +68,2 @@ /**

AuthMethodBase) {
amf: any;

@@ -71,0 +70,0 @@ /**

@@ -176,3 +176,2 @@ /**

AuthMethodBase) {
amf: any;

@@ -179,0 +178,0 @@ /**

@@ -7,2 +7,3 @@ import './auth-method-basic.js';

import './auth-method-custom.js';
import './auth-method-certificate.js';

@@ -9,0 +10,0 @@ /**

{
"name": "@advanced-rest-client/auth-methods",
"description": "A set of elements that contains an UI to create different authorization headers like Basic, OAuth etc",
"version": "5.0.2",
"version": "5.0.3",
"license": "Apache-2.0",

@@ -32,5 +32,7 @@ "main": "auth-methods.js",

"dependencies": {
"@advanced-rest-client/arc-icons": "^3.0.2",
"@advanced-rest-client/arc-icons": "^3.0.3",
"@advanced-rest-client/arc-marked": "^1.0.4",
"@advanced-rest-client/client-certificates-consumer-mixin": "^1.0.0",
"@advanced-rest-client/clipboard-copy": "^3.0.1",
"@advanced-rest-client/date-time": "^3.0.2",
"@advanced-rest-client/events-target-mixin": "^3.0.0",

@@ -45,6 +47,7 @@ "@advanced-rest-client/markdown-styles": "^3.1.0",

"@anypoint-web-components/anypoint-listbox": "^1.0.3",
"@anypoint-web-components/anypoint-radio-button": "^0.1.3",
"@api-components/amf-helper-mixin": "^4.0.14",
"@api-components/api-form-mixin": "^3.0.3",
"@api-components/api-property-form-item": "^3.0.10",
"@api-components/api-view-model-transformer": "^4.0.0",
"@api-components/api-view-model-transformer": "^4.0.1",
"@polymer/iron-form": "^3.0.0",

@@ -58,3 +61,5 @@ "@polymer/iron-meta": "^3.0.0",

"devDependencies": {
"@advanced-rest-client/arc-demo-helper": "^1.0.15",
"@advanced-rest-client/arc-data-generator": "^3.0.6",
"@advanced-rest-client/arc-demo-helper": "^1.0.16",
"@advanced-rest-client/arc-models": "^3.0.3",
"@advanced-rest-client/eslint-config": "^1.1.3",

@@ -79,3 +84,3 @@ "@advanced-rest-client/oauth-authorization": "^3.0.1",

"jsrsasign": "^8.0.12",
"karma": "^4.3.0",
"karma": "^4.4.0",
"lint-staged": "^9.4.2",

@@ -82,0 +87,0 @@ "sinon": "^7.5.0",