Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
TemaSM committed Jul 24, 2019
1 parent 57c4ef7 commit 7ffd98e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
14 changes: 7 additions & 7 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ <h3> </h3>

<section class="readme">
<article><h1><a href="https://github.com/telegraf/telegraf">Telegraf</a> Session local</h1>
<p><a href="https://www.npmjs.com/package/telegraf-session-local"><img src="https://img.shields.io/npm/v/telegraf-session-local.svg" alt="NPM Version"></a><br>
<a href="https://www.npmjs.com/package/telegraf-session-local"><img src="https://img.shields.io/node/v/telegraf-session-local.svg" alt="node"></a><br>
<a href="https://travis-ci.org/RealSpeaker/telegraf-session-local"><img src="https://travis-ci.org/RealSpeaker/telegraf-session-local.svg?branch=master" alt="Build Status"></a><br>
<a href="https://coveralls.io/github/RealSpeaker/telegraf-session-local?branch=master"><img src="https://coveralls.io/repos/github/RealSpeaker/telegraf-session-local/badge.svg?branch=master" alt="Coverage Status"></a><br>
<a href="https://www.codacy.com/app/TemaSM/telegraf-session-local?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=RealSpeaker/telegraf-session-local&amp;utm_campaign=Badge_Grade"><img src="https://api.codacy.com/project/badge/Grade/761ed505ba2d44bd9a2bc598e68969e3" alt="Codacy Badge"></a><br>
<a href="https://david-dm.org/realspeaker/telegraf-session-local"><img src="https://david-dm.org/realspeaker/telegraf-session-local.svg" alt="Dependency Status"></a><br>
<a href="https://greenkeeper.io/"><img src="https://badges.greenkeeper.io/RealSpeaker/telegraf-session-local.svg" alt="Greenkeeper badge"></a></p>
<p><a href="https://www.npmjs.com/package/telegraf-session-local"><img src="https://img.shields.io/npm/v/telegraf-session-local.svg?style=flat-square" alt="NPM Version"></a><br>
<a href="https://www.npmjs.com/package/telegraf-session-local"><img src="https://img.shields.io/node/v/telegraf-session-local.svg?style=flat-square" alt="node"></a><br>
<a href="https://npmcharts.com/compare/telegraf-session-local,telegraf-session-redis,telegraf-session-mysql,telegraf-session-mongo,telegraf-session-dynamodb?interval=30"><img src="https://img.shields.io/npm/dm/telegraf-session-local.svg?style=flat-square" alt="npm"></a><br>
<a href="https://travis-ci.org/RealSpeaker/telegraf-session-local"><img src="https://img.shields.io/travis/RealSpeaker/telegraf-session-local/master.svg?style=flat-square" alt="Travis (.org) branch"></a><br>
<a href="https://coveralls.io/github/RealSpeaker/telegraf-session-local?branch=master"><img src="https://img.shields.io/coveralls/github/RealSpeaker/telegraf-session-local/master.svg?style=flat-square" alt="Coveralls github branch"></a><br>
<a href="https://app.codacy.com/project/RealSpeaker/telegraf-session-local/dashboard"><img src="https://img.shields.io/codacy/grade/761ed505ba2d44bd9a2bc598e68969e3/master.svg?style=flat-square" alt="Codacy branch grade"></a><br>
<a href="https://david-dm.org/RealSpeaker/telegraf-session-local"><img src="https://img.shields.io/david/RealSpeaker/telegraf-session-local.svg?style=flat-square" alt="David"></a></p>
<blockquote>
<p>Middleware for locally stored sessions &amp; database</p>
</blockquote>
Expand Down
3 changes: 0 additions & 3 deletions docs/module-telegraf-session-local.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ <h1 class="page-title">telegraf-session-local</h1>



<dt class="tag-version">Version:</dt>
<dd class="tag-version"><ul class="dummy"><li>1.0.0</li></ul></dd>




Expand Down
3 changes: 1 addition & 2 deletions docs/session.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ <h1 class="page-title">session.js</h1>

function _initDB () {
// Use ID based resources, so we can query records by ID (ex.: getById(), removeById(), ...)
this.DB._.mixin(require('./lodash-id'))
this.DB._.mixin(require('./lodash-id.js'))
// If database is empty, fill it with empty Array of sessions and optionally with initial state
this.DB.defaults(Object.assign({ sessions: [] }, this.options.state)).write()
debug('Initiating finished')
Expand All @@ -338,7 +338,6 @@ <h1 class="page-title">session.js</h1>
/**
* @overview {@link http://telegraf.js.org/|Telegraf} Session middleware for storing sessions locally (Memory/FileSync/FileAsync/...)
* @module telegraf-session-local
* @version 1.0.0
* @license MIT
* @author Tema Smirnov &lt;[email protected]>
* @requires {@link https://www.npmjs.com/package/telegraf|npm: telegraf}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "telegraf-session-local",
"version": "1.0.0",
"version": "1.0.1",
"description": "Telegraf local sessions middleware with multiple supported storage types (Memory/FileSync/FileAsync/...) using lowdb",
"main": "lib/session.js",
"repository": {
Expand Down

0 comments on commit 7ffd98e

Please sign in to comment.