mashlib 1.8.2 → 1.8.3-4f8703b8
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/LICENSE.md +0 -0
- package/README.md +3 -2
- package/dist/browse.html +0 -0
- package/dist/databrowser.html +0 -0
- package/dist/mash.css +0 -0
- package/dist/mash.css.map +0 -0
- package/dist/mashlib.js +4681 -3834
- package/dist/mashlib.js.map +1 -1
- package/dist/mashlib.min.js +1 -1
- package/dist/mashlib.min.js.LICENSE.txt +7 -0
- package/dist/mashlib.min.js.map +1 -1
- package/package.json +12 -11
package/LICENSE.md
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -109,19 +109,20 @@ For backward compatibility reasons, there are now different ways to make use of
|
|
|
109
109
|
- the store (from solid-logic) can be used as `store` or `UI.store` or `panes.UI.store`
|
|
110
110
|
- rdflib is entirely acessible as `UI.rdf` or `panes.UI.rdf`
|
|
111
111
|
- the currentUser function is called as `authn.currentUser()` or `UI.auth.currentUser()` or `panes.UI.authn.currentUser()`
|
|
112
|
-
- to make use of the login pop-up, one needs to call the `UI.login.loginStatusBox` function
|
|
113
112
|
|
|
114
113
|
You can see example usage in the [SolidOS Databrowser Webapp code](https://github.com/solidos/mashlib/blob/main/static/browse.html#L11).
|
|
115
114
|
|
|
116
115
|
## Code changes due to moving authn from solid-ui to solid-logic
|
|
117
116
|
|
|
117
|
+
One function has been renamed and does not have a backwards-compatible fallback. To make use of the login pop-up, one needs to call the `UI.login.loginStatusBox` function. The old `UI.authn.loginStatusBox` function will no longer work from v1.8.0 onwards.
|
|
118
|
+
|
|
118
119
|
Some packages have been moved and with them some functions too. Here we report on these changes:
|
|
119
120
|
|
|
120
121
|
### Solid-ui & Solid-logic related:
|
|
121
122
|
|
|
122
123
|
* There is no more `authn` as you might have known it in solid-ui pre mashlib version 1.7.18 (solid-ui 2.4.16).
|
|
123
124
|
* Some functions in solid-ui which initially were found under `solid-ui/authn` are now under `solid-ui/login`.
|
|
124
|
-
*
|
|
125
|
+
* Three functions were renamed:
|
|
125
126
|
* logInLoadPreferences -> ensureLoadedPreferences
|
|
126
127
|
* logInLoadProfile -> ensureLoadedProfile
|
|
127
128
|
* logIn -> ensureLoggedIn
|
package/dist/browse.html
CHANGED
|
File without changes
|
package/dist/databrowser.html
CHANGED
|
File without changes
|
package/dist/mash.css
CHANGED
|
File without changes
|
package/dist/mash.css.map
CHANGED
|
File without changes
|