egg-cookies
Advanced tools
Comparing version 2.4.2 to 2.4.3
2.4.3 / 2022-04-29 | ||
================== | ||
**fixes** | ||
* [[`c8c42d3`](http://github.com/eggjs/egg-cookies/commit/c8c42d30b41f7c3f6c2e9231364e4acf47cea221)] - fix: should only update .sig once (#32) (TZ | 天猪 <<atian25@qq.com>>) | ||
2.4.2 / 2020-06-28 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -76,3 +76,3 @@ 'use strict'; | ||
// can not match any key, remove ${name}.sig | ||
this.set(sigName, null, { path: '/', signed: false }); | ||
this.set(sigName, null, { path: '/', signed: false, overwrite: true }); | ||
return; | ||
@@ -82,3 +82,3 @@ } | ||
// not signed by the first key, update sigValue | ||
this.set(sigName, this.keys.sign(raw), { signed: false }); | ||
this.set(sigName, this.keys.sign(raw), { signed: false, overwrite: true }); | ||
} | ||
@@ -85,0 +85,0 @@ return value; |
{ | ||
"name": "egg-cookies", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"description": "cookies module for egg", | ||
@@ -5,0 +5,0 @@ "files": [ |
24301