@fluid-topics/ft-app-context 2.2.37 → 2.2.39
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.
|
@@ -38,7 +38,8 @@ export class HistoryService extends WithEventBus {
|
|
|
38
38
|
}
|
|
39
39
|
installProxies() {
|
|
40
40
|
const editStateProxy = (indexProvider) => (method, history, [data, title, url]) => {
|
|
41
|
-
const
|
|
41
|
+
const beforeUrl = new URL(typeof url === "string" ? url : (url !== null && url !== void 0 ? url : this.windowLocation()).href, window.location.origin !== "null" ? window.location.origin : undefined);
|
|
42
|
+
const beforeEvent = new BeforeLocationChangeEvent(beforeUrl);
|
|
42
43
|
this.dispatchEvent(beforeEvent);
|
|
43
44
|
const index = indexProvider();
|
|
44
45
|
const state = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-app-context",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.39",
|
|
4
4
|
"description": "Global application context for Fluid Topics integrations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "2.2.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "2.2.39",
|
|
23
23
|
"@lit/context": "1.1.6",
|
|
24
24
|
"@reduxjs/toolkit": "2.13.0",
|
|
25
25
|
"lit": "3.3.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@fluid-topics/public-api": "1.0.
|
|
28
|
+
"@fluid-topics/public-api": "1.0.149"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "a5269736b40e713d4e5df9a27009963eef88b9a5"
|
|
31
31
|
}
|