contacts-pane 2.6.3-9ce2aacd → 2.6.3-a2bbd798
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/mintNewAddressBook.js +2 -1
- package/mugshotGallery.js +11 -1
- package/package.json +4 -4
package/mintNewAddressBook.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as UI from 'solid-ui'
|
|
2
|
-
import {
|
|
2
|
+
import { solidLogicSingleton } from 'solid-logic'
|
|
3
3
|
|
|
4
|
+
const { setACLUserPublic } = solidLogicSingleton.acl
|
|
4
5
|
// const mime = require('mime-types')
|
|
5
6
|
// const toolsPane0 = require('./toolsPane')
|
|
6
7
|
// const toolsPane = toolsPane0.toolsPane
|
package/mugshotGallery.js
CHANGED
|
@@ -200,8 +200,18 @@ export function renderMugshotGallery (dom, subject) {
|
|
|
200
200
|
droppedFileHandler
|
|
201
201
|
)
|
|
202
202
|
if (image) {
|
|
203
|
-
img.setAttribute('src', image.uri)
|
|
203
|
+
// img.setAttribute('src', image.uri) use token and works with NSS but not with CSS
|
|
204
|
+
// we need to get image with authenticated fetch
|
|
205
|
+
store.fetcher._fetch(image.uri)
|
|
206
|
+
.then(function(response) {
|
|
207
|
+
return response.blob()
|
|
208
|
+
})
|
|
209
|
+
.then(function(myBlob) {
|
|
210
|
+
const objectURL = URL.createObjectURL(myBlob)
|
|
211
|
+
img.setAttribute('src', objectURL)
|
|
212
|
+
})
|
|
204
213
|
UI.widgets.makeDraggable(img, image)
|
|
214
|
+
|
|
205
215
|
}
|
|
206
216
|
return img
|
|
207
217
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contacts-pane",
|
|
3
|
-
"version": "2.6.3-
|
|
3
|
+
"version": "2.6.3-a2bbd798",
|
|
4
4
|
"description": "Contacts Pane: Contacts manager for Address Book, Groups, and Individuals.",
|
|
5
5
|
"main": "./contactsPane.js",
|
|
6
6
|
"scripts": {
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/solid/contacts-pane",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"pane-registry": "
|
|
40
|
+
"pane-registry": "2.4.10-e0d1abde",
|
|
41
41
|
"rdflib": "^2.2.19",
|
|
42
|
-
"solid-logic": "
|
|
43
|
-
"solid-ui": "
|
|
42
|
+
"solid-logic": "1.3.17-af110ecf",
|
|
43
|
+
"solid-ui": "2.4.22-f9e7cddc"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@typescript-eslint/eslint-plugin": "^5.19.0",
|