@salla.sa/twilight 2.12.2 → 2.12.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salla.sa/twilight",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.3",
|
|
4
4
|
"description": "Salla Theme Toolkit, Webcomponents, Events, Requests, Utils",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -33,8 +33,7 @@
|
|
|
33
33
|
],
|
|
34
34
|
"homepage": "https://salla.dev",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@
|
|
37
|
-
"@salla.sa/base": "^2.12.0",
|
|
36
|
+
"@salla.sa/base": "^2.12.3",
|
|
38
37
|
"axios": "^0.27.2",
|
|
39
38
|
"infinite-scroll": "^4.0.1",
|
|
40
39
|
"jwt-decode": "^3.1.2",
|
|
@@ -68,5 +67,5 @@
|
|
|
68
67
|
"peerDependencies": {
|
|
69
68
|
"webpack": "^4 || ^5"
|
|
70
69
|
},
|
|
71
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "f3566bd1af00917ac1fddeabdb9c5c779ec65b3a"
|
|
72
71
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -8,9 +8,9 @@ import SallaLang from "./lib/lang";
|
|
|
8
8
|
import SallaForm from "./lib/form";
|
|
9
9
|
import {TwilightConfig} from "./tiwlight-config";
|
|
10
10
|
import Config from "@salla.sa/base/types/config";
|
|
11
|
-
|
|
12
|
-
export default interface Salla extends SallaActions {
|
|
13
|
-
onReady: (callback: (event: Event) => unknown) => void; //relay on it, it will be available even salla object is not loaded yet
|
|
11
|
+
import SallaBase from "@salla.sa/base/types";
|
|
12
|
+
export default interface Salla extends SallaActions,SallaBase {
|
|
13
|
+
onReady: (callback: (event: Event) => unknown) => void; //don't relay on it, it will be available even salla object is not loaded yet
|
|
14
14
|
|
|
15
15
|
api: Api;
|
|
16
16
|
event: TwilightEmitter;
|
|
@@ -30,9 +30,4 @@ export default interface Salla extends SallaActions {
|
|
|
30
30
|
|
|
31
31
|
onInitiated: (callback) => void; // don't relay on it because Salla may not existed yet
|
|
32
32
|
status?: 'loading' | 'ready'; //will be ready after finishing salla.init
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
declare global {
|
|
36
|
-
// @ts-ignore
|
|
37
|
-
let salla: Salla, Salla: Salla;
|
|
38
33
|
}
|