()
| 122 | } |
| 123 | |
| 124 | private data(): Record<string, any> { |
| 125 | const out: Record<string, any> = {} |
| 126 | for (const prop in this) { |
| 127 | if (prop === 'cookie' || prop === 'store') continue |
| 128 | out[prop] = this[prop] |
| 129 | } |
| 130 | return out |
| 131 | } |
| 132 | |
| 133 | save(cb?: (err?: any) => void): this { |
| 134 | this.store.set( |