@salesforce/lds-runtime-mobile 1.134.1 → 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 +3 -8
- package/dist/types/__mocks__/o11y/activity.d.ts +11 -2
- package/dist/types/__mocks__/o11y/idleDetector.d.ts +18 -2
- package/dist/types/__mocks__/o11y/instrumentation.d.ts +5 -6
- package/package.json +1 -1
- package/sfdc/main.js +3 -8
- package/sfdc/types/__mocks__/o11y/activity.d.ts +11 -2
- package/sfdc/types/__mocks__/o11y/idleDetector.d.ts +18 -2
- package/sfdc/types/__mocks__/o11y/instrumentation.d.ts +5 -6
package/dist/main.js
CHANGED
|
@@ -7226,15 +7226,10 @@ function singlePredicateToSql(predicate, defaultAlias, isChildNotPredicate = fal
|
|
|
7226
7226
|
// If an explicit collating sequence is required on an IN operator it should be applied to the left operand,
|
|
7227
7227
|
// like this: "x COLLATE NOCASE IN (y,z, ...)".
|
|
7228
7228
|
const nullCheck = `json_extract("${alias}".data, '${leftPath}') ${operator === 'IN' ? 'IS' : 'IS NOT'} ?`;
|
|
7229
|
-
|
|
7230
|
-
if (valueBinding.length > 0) {
|
|
7231
|
-
sql = `json_extract("${alias}".data, '${leftPath}')${isCaseSensitive === true ? '' : ` COLLATE NOCASE`} ${operator} ${questionSql} ${includesNull ? `OR ${nullCheck}` : ''}`;
|
|
7232
|
-
}
|
|
7233
|
-
else {
|
|
7234
|
-
sql = `${includesNull ? nullCheck : ''}`;
|
|
7235
|
-
}
|
|
7229
|
+
sql = `json_extract("${alias}".data, '${leftPath}')${isCaseSensitive === true ? '' : ` COLLATE NOCASE`} ${operator} ${questionSql}`;
|
|
7236
7230
|
binding.push(...valueBinding);
|
|
7237
7231
|
if (includesNull) {
|
|
7232
|
+
sql = `(${sql} OR ${nullCheck})`;
|
|
7238
7233
|
binding.push(null);
|
|
7239
7234
|
}
|
|
7240
7235
|
}
|
|
@@ -15750,4 +15745,4 @@ register({
|
|
|
15750
15745
|
});
|
|
15751
15746
|
|
|
15752
15747
|
export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
15753
|
-
// version: 1.134.
|
|
15748
|
+
// version: 1.134.3-d4637e557
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
2
|
-
|
|
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
|
-
|
|
2
|
-
declare function
|
|
3
|
-
declare function
|
|
4
|
-
declare function
|
|
5
|
-
declare function
|
|
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
package/sfdc/main.js
CHANGED
|
@@ -7226,15 +7226,10 @@ function singlePredicateToSql(predicate, defaultAlias, isChildNotPredicate = fal
|
|
|
7226
7226
|
// If an explicit collating sequence is required on an IN operator it should be applied to the left operand,
|
|
7227
7227
|
// like this: "x COLLATE NOCASE IN (y,z, ...)".
|
|
7228
7228
|
const nullCheck = `json_extract("${alias}".data, '${leftPath}') ${operator === 'IN' ? 'IS' : 'IS NOT'} ?`;
|
|
7229
|
-
|
|
7230
|
-
if (valueBinding.length > 0) {
|
|
7231
|
-
sql = `json_extract("${alias}".data, '${leftPath}')${isCaseSensitive === true ? '' : ` COLLATE NOCASE`} ${operator} ${questionSql} ${includesNull ? `OR ${nullCheck}` : ''}`;
|
|
7232
|
-
}
|
|
7233
|
-
else {
|
|
7234
|
-
sql = `${includesNull ? nullCheck : ''}`;
|
|
7235
|
-
}
|
|
7229
|
+
sql = `json_extract("${alias}".data, '${leftPath}')${isCaseSensitive === true ? '' : ` COLLATE NOCASE`} ${operator} ${questionSql}`;
|
|
7236
7230
|
binding.push(...valueBinding);
|
|
7237
7231
|
if (includesNull) {
|
|
7232
|
+
sql = `(${sql} OR ${nullCheck})`;
|
|
7238
7233
|
binding.push(null);
|
|
7239
7234
|
}
|
|
7240
7235
|
}
|
|
@@ -15750,4 +15745,4 @@ register({
|
|
|
15750
15745
|
});
|
|
15751
15746
|
|
|
15752
15747
|
export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
15753
|
-
// version: 1.134.
|
|
15748
|
+
// version: 1.134.3-d4637e557
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
2
|
-
|
|
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
|
-
|
|
2
|
-
declare function
|
|
3
|
-
declare function
|
|
4
|
-
declare function
|
|
5
|
-
declare function
|
|
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;
|