@growy/strapi-plugin-encrypted-field 1.1.6 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/admin/src/index.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import EncryptedIcon from './components/EncryptedIcon';
|
|
2
|
-
|
|
3
1
|
export default {
|
|
4
2
|
register(app) {
|
|
5
3
|
app.customFields.register({
|
|
@@ -14,7 +12,6 @@ export default {
|
|
|
14
12
|
id: 'encrypted-field.description',
|
|
15
13
|
defaultMessage: 'Campo de texto que se cifra automáticamente con AES-256-GCM',
|
|
16
14
|
},
|
|
17
|
-
icon: EncryptedIcon,
|
|
18
15
|
components: {
|
|
19
16
|
Input: async () => import('./components/Input').then((module) => ({
|
|
20
17
|
default: module.default,
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
const EncryptedIcon = () => (
|
|
4
|
-
<path
|
|
5
|
-
fill="currentColor"
|
|
6
|
-
d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z"
|
|
7
|
-
/>
|
|
8
|
-
);
|
|
9
|
-
|
|
10
|
-
export default EncryptedIcon;
|