@salesforce/lds-runtime-mobile 1.134.2 → 1.134.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/dist/main.js CHANGED
@@ -15745,4 +15745,4 @@ register({
15745
15745
  });
15746
15746
 
15747
15747
  export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
15748
- // version: 1.134.2-b6a56164c
15748
+ // version: 1.134.3-d4637e557
@@ -1,2 +1,11 @@
1
- import type { Activity } from 'o11y/client';
2
- export declare const activity: Activity;
1
+ declare function stop(_userSchemaOrText?: any | string, _userData?: any): void;
2
+ declare function error(_error: Error, _userSchemaOrText?: any | string, _userData?: any): void;
3
+ declare function discard(): void;
4
+ declare function terminate(): void;
5
+ export declare const activity: {
6
+ stop: typeof stop;
7
+ error: typeof error;
8
+ discard: typeof discard;
9
+ terminate: typeof terminate;
10
+ };
11
+ export {};
@@ -1,2 +1,18 @@
1
- import type { IdleDetector } from 'o11y/client';
2
- export declare const idleDetector: IdleDetector;
1
+ declare function requestIdleDetectedCallback(_callback: any): void;
2
+ declare function declareNotifierTaskSingle(_name: string): {
3
+ isBusy: boolean;
4
+ done: () => void;
5
+ };
6
+ declare function declareNotifierTaskMulti(_name: string, _existingBusyCount?: number): {
7
+ isBusy: boolean;
8
+ add: () => void;
9
+ done: () => void;
10
+ };
11
+ declare function declarePollableTaskMulti(_name: string, _isBusyChecker: any): void;
12
+ export declare const idleDetector: {
13
+ requestIdleDetectedCallback: typeof requestIdleDetectedCallback;
14
+ declareNotifierTaskSingle: typeof declareNotifierTaskSingle;
15
+ declareNotifierTaskMulti: typeof declareNotifierTaskMulti;
16
+ declarePollableTaskMulti: typeof declarePollableTaskMulti;
17
+ };
18
+ export {};
@@ -1,9 +1,8 @@
1
- import type { Activity, MetricsTags, Schema, SchematizedData } from 'o11y/client';
2
- declare function log(_schema: Schema, _data?: SchematizedData): void;
3
- declare function error(_err: Error, _userSchemaOrText?: string, _data?: SchematizedData): void;
4
- declare function startActivity(_name: string): Activity;
5
- declare function incrementCounter(_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags): void;
6
- declare function trackValue(_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags): void;
1
+ declare function log(_schema: any, _data?: any): void;
2
+ declare function error(_err: Error, _userSchemaOrText?: string, _data?: any): void;
3
+ declare function startActivity(_name: string): any;
4
+ declare function incrementCounter(_operation: string, _increment?: number, _hasError?: boolean, _tags?: any): void;
5
+ declare function trackValue(_operation: string, _value: number, _hasError?: boolean, _tags?: any): void;
7
6
  export declare const instrumentation: {
8
7
  log: typeof log;
9
8
  error: typeof error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-mobile",
3
- "version": "1.134.2",
3
+ "version": "1.134.3",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for mobile/hybrid environments.",
6
6
  "main": "dist/main.js",
package/sfdc/main.js CHANGED
@@ -15745,4 +15745,4 @@ register({
15745
15745
  });
15746
15746
 
15747
15747
  export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
15748
- // version: 1.134.2-b6a56164c
15748
+ // version: 1.134.3-d4637e557
@@ -1,2 +1,11 @@
1
- import type { Activity } from 'o11y/client';
2
- export declare const activity: Activity;
1
+ declare function stop(_userSchemaOrText?: any | string, _userData?: any): void;
2
+ declare function error(_error: Error, _userSchemaOrText?: any | string, _userData?: any): void;
3
+ declare function discard(): void;
4
+ declare function terminate(): void;
5
+ export declare const activity: {
6
+ stop: typeof stop;
7
+ error: typeof error;
8
+ discard: typeof discard;
9
+ terminate: typeof terminate;
10
+ };
11
+ export {};
@@ -1,2 +1,18 @@
1
- import type { IdleDetector } from 'o11y/client';
2
- export declare const idleDetector: IdleDetector;
1
+ declare function requestIdleDetectedCallback(_callback: any): void;
2
+ declare function declareNotifierTaskSingle(_name: string): {
3
+ isBusy: boolean;
4
+ done: () => void;
5
+ };
6
+ declare function declareNotifierTaskMulti(_name: string, _existingBusyCount?: number): {
7
+ isBusy: boolean;
8
+ add: () => void;
9
+ done: () => void;
10
+ };
11
+ declare function declarePollableTaskMulti(_name: string, _isBusyChecker: any): void;
12
+ export declare const idleDetector: {
13
+ requestIdleDetectedCallback: typeof requestIdleDetectedCallback;
14
+ declareNotifierTaskSingle: typeof declareNotifierTaskSingle;
15
+ declareNotifierTaskMulti: typeof declareNotifierTaskMulti;
16
+ declarePollableTaskMulti: typeof declarePollableTaskMulti;
17
+ };
18
+ export {};
@@ -1,9 +1,8 @@
1
- import type { Activity, MetricsTags, Schema, SchematizedData } from 'o11y/client';
2
- declare function log(_schema: Schema, _data?: SchematizedData): void;
3
- declare function error(_err: Error, _userSchemaOrText?: string, _data?: SchematizedData): void;
4
- declare function startActivity(_name: string): Activity;
5
- declare function incrementCounter(_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags): void;
6
- declare function trackValue(_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags): void;
1
+ declare function log(_schema: any, _data?: any): void;
2
+ declare function error(_err: Error, _userSchemaOrText?: string, _data?: any): void;
3
+ declare function startActivity(_name: string): any;
4
+ declare function incrementCounter(_operation: string, _increment?: number, _hasError?: boolean, _tags?: any): void;
5
+ declare function trackValue(_operation: string, _value: number, _hasError?: boolean, _tags?: any): void;
7
6
  export declare const instrumentation: {
8
7
  log: typeof log;
9
8
  error: typeof error;