@salesforce/lds-worker-api 1.134.5 → 1.134.7
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.
|
@@ -761,4 +761,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
764
|
-
// version: 1.134.
|
|
764
|
+
// version: 1.134.7-79a2ddbd4
|
|
@@ -3791,7 +3791,7 @@ function withDefaultLuvio(callback) {
|
|
|
3791
3791
|
}
|
|
3792
3792
|
callbacks.push(callback);
|
|
3793
3793
|
}
|
|
3794
|
-
// version: 1.134.
|
|
3794
|
+
// version: 1.134.7-79a2ddbd4
|
|
3795
3795
|
|
|
3796
3796
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3797
3797
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15215,7 +15215,7 @@ function parseAndVisit(source) {
|
|
|
15215
15215
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15216
15216
|
return luvioDocumentNode;
|
|
15217
15217
|
}
|
|
15218
|
-
// version: 1.134.
|
|
15218
|
+
// version: 1.134.7-79a2ddbd4
|
|
15219
15219
|
|
|
15220
15220
|
function unwrap(data) {
|
|
15221
15221
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16128,7 +16128,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16128
16128
|
const { apiFamily, name } = metadata;
|
|
16129
16129
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16130
16130
|
}
|
|
16131
|
-
// version: 1.134.
|
|
16131
|
+
// version: 1.134.7-79a2ddbd4
|
|
16132
16132
|
|
|
16133
16133
|
/**
|
|
16134
16134
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -44428,7 +44428,7 @@ withDefaultLuvio((luvio) => {
|
|
|
44428
44428
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44429
44429
|
});
|
|
44430
44430
|
});
|
|
44431
|
-
// version: 1.134.
|
|
44431
|
+
// version: 1.134.7-ed0df45ef
|
|
44432
44432
|
|
|
44433
44433
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44434
44434
|
|
|
@@ -50692,7 +50692,7 @@ const API_NAMESPACE = 'UiApi';
|
|
|
50692
50692
|
const RECORD_REPRESENTATION_NAME$1 = 'RecordRepresentation';
|
|
50693
50693
|
const RECORD_VIEW_ENTITY_REPRESENTATION_NAME = 'RecordViewEntityRepresentation';
|
|
50694
50694
|
const RECORD_ID_PREFIX = `${API_NAMESPACE}::${RECORD_REPRESENTATION_NAME$1}:`;
|
|
50695
|
-
const RECORD_VIEW_ENTITY_ID_PREFIX = `${API_NAMESPACE}::${RECORD_VIEW_ENTITY_REPRESENTATION_NAME}:Name
|
|
50695
|
+
const RECORD_VIEW_ENTITY_ID_PREFIX = `${API_NAMESPACE}::${RECORD_VIEW_ENTITY_REPRESENTATION_NAME}:Name:`;
|
|
50696
50696
|
const RECORD_FIELDS_KEY_JUNCTION = '__fields__';
|
|
50697
50697
|
function isStoreKeyRecordId(key) {
|
|
50698
50698
|
return key.indexOf(RECORD_ID_PREFIX) > -1 && key.indexOf(RECORD_FIELDS_KEY_JUNCTION) === -1;
|
|
@@ -56569,7 +56569,7 @@ class UiApiDraftRecordService {
|
|
|
56569
56569
|
return record;
|
|
56570
56570
|
}
|
|
56571
56571
|
buildCacheKeysForRecordRepresentation(record) {
|
|
56572
|
-
return getTypeCacheKeys$
|
|
56572
|
+
return getTypeCacheKeys$P(this.getLuvio(), record);
|
|
56573
56573
|
}
|
|
56574
56574
|
synchronousIngestRecord(record) {
|
|
56575
56575
|
const luvio = this.getLuvio();
|
|
@@ -60059,7 +60059,7 @@ register({
|
|
|
60059
60059
|
id: '@salesforce/lds-network-adapter',
|
|
60060
60060
|
instrument: instrument$1,
|
|
60061
60061
|
});
|
|
60062
|
-
// version: 1.134.
|
|
60062
|
+
// version: 1.134.7-79a2ddbd4
|
|
60063
60063
|
|
|
60064
60064
|
const { create: create$2, keys: keys$2 } = Object;
|
|
60065
60065
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -74499,7 +74499,7 @@ register({
|
|
|
74499
74499
|
configuration: { ...configurationForGraphQLAdapters },
|
|
74500
74500
|
instrument,
|
|
74501
74501
|
});
|
|
74502
|
-
// version: 1.134.
|
|
74502
|
+
// version: 1.134.7-ed0df45ef
|
|
74503
74503
|
|
|
74504
74504
|
// On core the unstable adapters are re-exported with different names,
|
|
74505
74505
|
|
|
@@ -76628,7 +76628,7 @@ withDefaultLuvio((luvio) => {
|
|
|
76628
76628
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
76629
76629
|
graphQLImperative = ldsAdapter;
|
|
76630
76630
|
});
|
|
76631
|
-
// version: 1.134.
|
|
76631
|
+
// version: 1.134.7-ed0df45ef
|
|
76632
76632
|
|
|
76633
76633
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
76634
76634
|
__proto__: null,
|
|
@@ -77320,4 +77320,4 @@ const { luvio } = getRuntime();
|
|
|
77320
77320
|
setDefaultLuvio({ luvio });
|
|
77321
77321
|
|
|
77322
77322
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
77323
|
-
// version: 1.134.
|
|
77323
|
+
// version: 1.134.7-79a2ddbd4
|
|
@@ -3797,7 +3797,7 @@
|
|
|
3797
3797
|
}
|
|
3798
3798
|
callbacks.push(callback);
|
|
3799
3799
|
}
|
|
3800
|
-
// version: 1.134.
|
|
3800
|
+
// version: 1.134.7-79a2ddbd4
|
|
3801
3801
|
|
|
3802
3802
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3803
3803
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15221,7 +15221,7 @@
|
|
|
15221
15221
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15222
15222
|
return luvioDocumentNode;
|
|
15223
15223
|
}
|
|
15224
|
-
// version: 1.134.
|
|
15224
|
+
// version: 1.134.7-79a2ddbd4
|
|
15225
15225
|
|
|
15226
15226
|
function unwrap(data) {
|
|
15227
15227
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16134,7 +16134,7 @@
|
|
|
16134
16134
|
const { apiFamily, name } = metadata;
|
|
16135
16135
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16136
16136
|
}
|
|
16137
|
-
// version: 1.134.
|
|
16137
|
+
// version: 1.134.7-79a2ddbd4
|
|
16138
16138
|
|
|
16139
16139
|
/**
|
|
16140
16140
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -44434,7 +44434,7 @@
|
|
|
44434
44434
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44435
44435
|
});
|
|
44436
44436
|
});
|
|
44437
|
-
// version: 1.134.
|
|
44437
|
+
// version: 1.134.7-ed0df45ef
|
|
44438
44438
|
|
|
44439
44439
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44440
44440
|
|
|
@@ -50698,7 +50698,7 @@
|
|
|
50698
50698
|
const RECORD_REPRESENTATION_NAME$1 = 'RecordRepresentation';
|
|
50699
50699
|
const RECORD_VIEW_ENTITY_REPRESENTATION_NAME = 'RecordViewEntityRepresentation';
|
|
50700
50700
|
const RECORD_ID_PREFIX = `${API_NAMESPACE}::${RECORD_REPRESENTATION_NAME$1}:`;
|
|
50701
|
-
const RECORD_VIEW_ENTITY_ID_PREFIX = `${API_NAMESPACE}::${RECORD_VIEW_ENTITY_REPRESENTATION_NAME}:Name
|
|
50701
|
+
const RECORD_VIEW_ENTITY_ID_PREFIX = `${API_NAMESPACE}::${RECORD_VIEW_ENTITY_REPRESENTATION_NAME}:Name:`;
|
|
50702
50702
|
const RECORD_FIELDS_KEY_JUNCTION = '__fields__';
|
|
50703
50703
|
function isStoreKeyRecordId(key) {
|
|
50704
50704
|
return key.indexOf(RECORD_ID_PREFIX) > -1 && key.indexOf(RECORD_FIELDS_KEY_JUNCTION) === -1;
|
|
@@ -56575,7 +56575,7 @@
|
|
|
56575
56575
|
return record;
|
|
56576
56576
|
}
|
|
56577
56577
|
buildCacheKeysForRecordRepresentation(record) {
|
|
56578
|
-
return getTypeCacheKeys$
|
|
56578
|
+
return getTypeCacheKeys$P(this.getLuvio(), record);
|
|
56579
56579
|
}
|
|
56580
56580
|
synchronousIngestRecord(record) {
|
|
56581
56581
|
const luvio = this.getLuvio();
|
|
@@ -60065,7 +60065,7 @@
|
|
|
60065
60065
|
id: '@salesforce/lds-network-adapter',
|
|
60066
60066
|
instrument: instrument$1,
|
|
60067
60067
|
});
|
|
60068
|
-
// version: 1.134.
|
|
60068
|
+
// version: 1.134.7-79a2ddbd4
|
|
60069
60069
|
|
|
60070
60070
|
const { create: create$2, keys: keys$2 } = Object;
|
|
60071
60071
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -74505,7 +74505,7 @@
|
|
|
74505
74505
|
configuration: { ...configurationForGraphQLAdapters },
|
|
74506
74506
|
instrument,
|
|
74507
74507
|
});
|
|
74508
|
-
// version: 1.134.
|
|
74508
|
+
// version: 1.134.7-ed0df45ef
|
|
74509
74509
|
|
|
74510
74510
|
// On core the unstable adapters are re-exported with different names,
|
|
74511
74511
|
|
|
@@ -76634,7 +76634,7 @@
|
|
|
76634
76634
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
76635
76635
|
graphQLImperative = ldsAdapter;
|
|
76636
76636
|
});
|
|
76637
|
-
// version: 1.134.
|
|
76637
|
+
// version: 1.134.7-ed0df45ef
|
|
76638
76638
|
|
|
76639
76639
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
76640
76640
|
__proto__: null,
|
|
@@ -77343,4 +77343,4 @@
|
|
|
77343
77343
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
77344
77344
|
|
|
77345
77345
|
}));
|
|
77346
|
-
// version: 1.134.
|
|
77346
|
+
// version: 1.134.7-79a2ddbd4
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { IdleDetector, Activity } from 'o11y/dist/modules/o11y/client/interfaces';
|
|
2
|
-
export declare const idleDetector: IdleDetector;
|
|
3
|
-
export declare const activity: Partial<Activity>;
|
|
4
|
-
type MetricsTags = Record<string, number | string | boolean>;
|
|
5
|
-
declare function startActivity(_name: string): Activity;
|
|
6
|
-
export declare const mockInstrumentation: {
|
|
7
|
-
startActivity: typeof startActivity;
|
|
8
|
-
error: () => void;
|
|
9
|
-
trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
|
|
10
|
-
incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
|
|
11
|
-
};
|
|
12
|
-
export declare const getInstrumentation: () => {
|
|
13
|
-
startActivity: typeof startActivity;
|
|
14
|
-
error: () => void;
|
|
15
|
-
trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
|
|
16
|
-
incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
|
|
17
|
-
};
|
|
18
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { IdleDetector, Activity } from 'o11y/dist/modules/o11y/client/interfaces';
|
|
2
|
-
export declare const idleDetector: IdleDetector;
|
|
3
|
-
export declare const activity: Partial<Activity>;
|
|
4
|
-
type MetricsTags = Record<string, number | string | boolean>;
|
|
5
|
-
declare function startActivity(_name: string): Activity;
|
|
6
|
-
export declare const mockInstrumentation: {
|
|
7
|
-
startActivity: typeof startActivity;
|
|
8
|
-
error: () => void;
|
|
9
|
-
trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
|
|
10
|
-
incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
|
|
11
|
-
};
|
|
12
|
-
export declare const getInstrumentation: () => {
|
|
13
|
-
startActivity: typeof startActivity;
|
|
14
|
-
error: () => void;
|
|
15
|
-
trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
|
|
16
|
-
incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
|
|
17
|
-
};
|
|
18
|
-
export {};
|