1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/notices/notices.js

36 lines
886 B
JavaScript
Raw Normal View History

// fs.readFileSync is inlined by browserify transform "brfs"
const fs = require('fs')
2018-07-03 01:46:42 +02:00
const path = require('path')
module.exports = [
{
id: 0,
read: false,
date: 'Thu Feb 09 2017',
title: 'Terms of Use',
2018-07-03 01:46:42 +02:00
body: fs.readFileSync(path.join(__dirname, '/archive', 'notice_0.md'), 'utf8'),
},
{
id: 2,
read: false,
date: 'Mon May 08 2017',
title: 'Privacy Notice',
2018-07-03 01:46:42 +02:00
body: fs.readFileSync(path.join(__dirname, '/archive', 'notice_2.md'), 'utf8'),
},
{
id: 3,
read: false,
date: 'Tue Nov 28 2017',
title: 'Seed Phrase Alert',
firstVersion: '<=3.12.0',
2018-07-03 01:46:42 +02:00
body: fs.readFileSync(path.join(__dirname, '/archive', 'notice_3.md'), 'utf8'),
},
{
id: 4,
read: false,
date: 'Wed Jun 13 2018',
title: 'Phishing Warning',
2018-07-03 01:46:42 +02:00
body: fs.readFileSync(path.join(__dirname, '/archive', 'notice_4.md'), 'utf8'),
2018-07-03 00:49:33 +02:00
},
]