This package has been deprecated

Author message:

This component is deprecated

@advanced-rest-client/response-history-saver

3.0.1 • Public • Published

Published on NPM

Build Status

Published on webcomponents.org

response-history-saver

An element that saves requests history in a datastore.

History data is different that request history. It keeps a HAR-like object with history details.

The element handles api-response event and transforms response into a data object and stores in history-data datastore. Originally it was designed to support API assistant, however this was removed in ARC 10 and currently it has no practical use in ARC. It may change in the future.

Usage

Installation

npm install --save @advanced-rest-client/response-history-saver

In a LitElement

import { LitElement, html } from 'lit-element';
import '@advanced-rest-client/response-history-saver/response-history-saver.js';

class SampleElement extends LitElement {
  render() {
    return html`
    <response-history-saver></response-history-saver>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Development

git clone https://github.com/advanced-rest-client/response-history-saver
cd response-history-saver
npm install

Running the tests

npm test

API components

This components is a part of API components ecosystem

Dependencies (2)

Dev Dependencies (18)

Package Sidebar

Install

npm i @advanced-rest-client/response-history-saver

Weekly Downloads

0

Version

3.0.1

License

Apache-2.0

Unpacked Size

57.3 kB

Total Files

6

Last publish

Collaborators

  • carowright
  • jarrodek
  • twoplustwoone
  • lbauret