-
Notifications
You must be signed in to change notification settings - Fork 6
/
manifest.config.ts
57 lines (55 loc) · 1.95 KB
/
manifest.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import { defineManifest } from '@crxjs/vite-plugin';
// @ts-ignore
import packageJson from './package.json';
const { version } = packageJson;
const isProduction = process.env.NODE_ENV === 'production';
export default defineManifest((env) => ({
manifest_version: 3,
name: `Focalize - ${
isProduction ? 'DApp for Lens Protocol (Beta)' : 'Debug'
}`,
short_name: 'Focalize',
version,
version_name: '2.0.0-beta.18',
description: 'Social app built on Lens Protocol with DMs via XMTP',
permissions: [
'activeTab',
'scripting',
'storage',
'notifications',
'alarms',
],
options_page: 'src/options/index.html',
action: {
default_title: 'Share on Lens',
default_icon: {
'16': 'images/icon-16.png',
'24': 'images/icon-24.png',
'32': 'images/icon-32.png',
'64': 'images/icon-64.png',
'128': 'images/icon-128.png',
'512': 'images/icon-512.png',
},
default_popup: 'src/popup/index.html',
},
icons: {
'16': 'images/icon-16.png',
'24': 'images/icon-24.png',
'32': 'images/icon-32.png',
'64': 'images/icon-64.png',
'128': 'images/icon-128.png',
'512': 'images/icon-512.png',
},
background: {
service_worker: 'src/background.ts',
type: 'module',
},
key: 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxDr/ngNd7cYwCDGM9HhkGKFqIE/WlvMX5UJfFC/vGmBTS+uLpUKs/xFDi//MKEGmdckEEu/HpZsA9VAttTGM1ATjOawA36MHzXIhyQzsqzykUzCynIQeAus+UhLhTvmUZ3120VmggGA3uHlbq4o985Iyifw77wjemSPFcgwJV7jdCZoZe8FpPpgDqo0Qt2oMIMF5tbfz37n03CEjoLDR2S/+DP2rJErC6DwqvTVFWdqKp6wMbNEcYi4nvuGVfWc0gMZGFOYvjDD6SUBmkgteK6kA/DzcqvDfrVW5CUZ3Zfcv+eQ/vqq4AzghEH8RpJCGJjKAs8yx6d6cSAyaKrSfkQIDAQAB',
minimum_chrome_version: '91',
omnibox: {
keyword: 'lens',
},
...(!isProduction && {
host_permissions: ['*://api-v2-amoy.lens.dev/*'],
}),
}));