@salla.sa/twilight 2.13.48 → 2.13.50
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.13.
|
|
3
|
+
"version": "2.13.50",
|
|
4
4
|
"description": "Salla Theme Toolkit, Webcomponents, Events, Requests, Utils",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
],
|
|
34
34
|
"homepage": "https://salla.dev",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@salla.sa/base": "^2.13.
|
|
36
|
+
"@salla.sa/base": "^2.13.50",
|
|
37
37
|
"axios": "^0.27.2",
|
|
38
38
|
"infinite-scroll": "^4.0.1",
|
|
39
39
|
"jwt-decode": "^3.1.2",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"webpack": "^4 || ^5"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "f6ac3e78a3e33f2c6a6e76beb4ee91e599f37c0e"
|
|
71
71
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import {TwilightConfig} from "./tiwlight-config";
|
|
|
10
10
|
import Config from "@salla.sa/base/types/config";
|
|
11
11
|
import SallaBase from "@salla.sa/base/types";
|
|
12
12
|
export default interface Salla extends SallaActions,SallaBase {
|
|
13
|
-
onReady: (callback: (event: Event) => unknown) => void
|
|
13
|
+
onReady: (callback: (event: Event) => unknown) => Promise<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;
|