starti.app 2.0.158 → 2.0.159
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.
|
@@ -10,10 +10,13 @@ export declare class App extends EventTargetWithType<{
|
|
|
10
10
|
private appIntegration;
|
|
11
11
|
private alternateIconsIntegration;
|
|
12
12
|
private hasStartiappLoaded;
|
|
13
|
+
private deviceIdCache;
|
|
14
|
+
private brandIdCache;
|
|
13
15
|
constructor(startiapp: Startiapp);
|
|
14
16
|
isStartiappLoaded(): boolean;
|
|
15
17
|
/**
|
|
16
18
|
* Get the brand id of the app.
|
|
19
|
+
* The result is cached after the first call to avoid multiple parallel calls to the native bridge.
|
|
17
20
|
*
|
|
18
21
|
* @example
|
|
19
22
|
* ```typescript
|
|
@@ -24,6 +27,7 @@ export declare class App extends EventTargetWithType<{
|
|
|
24
27
|
brandId: () => Promise<string>;
|
|
25
28
|
/**
|
|
26
29
|
* Get the device id of the app.
|
|
30
|
+
* The result is cached after the first call to avoid multiple parallel calls to the native bridge.
|
|
27
31
|
*
|
|
28
32
|
* @example
|
|
29
33
|
* ```typescript
|
package/package.json
CHANGED