@salesforce/lds-worker-api 1.380.0-dev11 → 1.380.0-dev12
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.
|
@@ -1371,4 +1371,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
|
|
1373
1373
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
1374
|
-
// version: 1.380.0-
|
|
1374
|
+
// version: 1.380.0-dev12-045476126f
|
|
@@ -4274,7 +4274,7 @@ function withDefaultLuvio(callback) {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
callbacks.push(callback);
|
|
4276
4276
|
}
|
|
4277
|
-
// version: 1.380.0-
|
|
4277
|
+
// version: 1.380.0-dev12-045476126f
|
|
4278
4278
|
|
|
4279
4279
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4280
4280
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5318,7 +5318,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
5318
5318
|
const { apiFamily, name } = metadata;
|
|
5319
5319
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5320
5320
|
}
|
|
5321
|
-
// version: 1.380.0-
|
|
5321
|
+
// version: 1.380.0-dev12-045476126f
|
|
5322
5322
|
|
|
5323
5323
|
/**
|
|
5324
5324
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -34154,7 +34154,7 @@ withDefaultLuvio((luvio) => {
|
|
|
34154
34154
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
34155
34155
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
34156
34156
|
});
|
|
34157
|
-
// version: 1.380.0-
|
|
34157
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
34158
34158
|
|
|
34159
34159
|
function requestIdleDetectedCallback(_callback) { }
|
|
34160
34160
|
function declareNotifierTaskSingle(_name) {
|
|
@@ -94593,14 +94593,14 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
|
|
|
94593
94593
|
if (this.shouldUseAuraNetwork()) {
|
|
94594
94594
|
return this.convertAuraResponseToData(
|
|
94595
94595
|
this.services.auraNetwork(this.endpoint, this.auraParams, this.actionConfig),
|
|
94596
|
-
(errs) => this.
|
|
94596
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
94597
94597
|
);
|
|
94598
94598
|
} else if (this.shouldUseFetch()) {
|
|
94599
94599
|
return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
|
|
94600
94600
|
}
|
|
94601
94601
|
return resolvedPromiseLike$3(err$1$1(toError("Aura/Fetch network services not found")));
|
|
94602
94602
|
}
|
|
94603
|
-
|
|
94603
|
+
coerceAuraErrors(auraErrors) {
|
|
94604
94604
|
return toError(auraErrors[0]);
|
|
94605
94605
|
}
|
|
94606
94606
|
async coerceFetchError(errorResponse) {
|
|
@@ -94732,14 +94732,14 @@ class AuraCacheControlCommand extends CacheControlCommand {
|
|
|
94732
94732
|
if (this.shouldUseAuraNetwork()) {
|
|
94733
94733
|
return this.convertAuraResponseToData(
|
|
94734
94734
|
this.services.auraNetwork(this.endpoint, this.auraParams, this.actionConfig),
|
|
94735
|
-
(errs) => this.
|
|
94735
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
94736
94736
|
);
|
|
94737
94737
|
} else if (this.shouldUseFetch()) {
|
|
94738
94738
|
return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
|
|
94739
94739
|
}
|
|
94740
94740
|
return resolvedPromiseLike$3(err$1$1(toError("Aura/Fetch network services not found")));
|
|
94741
94741
|
}
|
|
94742
|
-
|
|
94742
|
+
coerceAuraErrors(auraErrors) {
|
|
94743
94743
|
return toError(auraErrors[0]);
|
|
94744
94744
|
}
|
|
94745
94745
|
async coerceFetchError(errorResponse) {
|
|
@@ -95994,7 +95994,7 @@ function buildServiceDescriptor$5(luvio) {
|
|
|
95994
95994
|
},
|
|
95995
95995
|
};
|
|
95996
95996
|
}
|
|
95997
|
-
// version: 1.380.0-
|
|
95997
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
95998
95998
|
|
|
95999
95999
|
/**
|
|
96000
96000
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96020,7 +96020,7 @@ function buildServiceDescriptor$4(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
96020
96020
|
},
|
|
96021
96021
|
};
|
|
96022
96022
|
}
|
|
96023
|
-
// version: 1.380.0-
|
|
96023
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
96024
96024
|
|
|
96025
96025
|
/*!
|
|
96026
96026
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -97053,7 +97053,7 @@ class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheContro
|
|
|
97053
97053
|
this.originalAuraParams,
|
|
97054
97054
|
this.actionConfig
|
|
97055
97055
|
),
|
|
97056
|
-
(errs) => this.
|
|
97056
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
97057
97057
|
).then((result) => {
|
|
97058
97058
|
return buildSubscribableResult$1(result, this.buildSubscribe(), () => this.refresh());
|
|
97059
97059
|
});
|
|
@@ -98168,7 +98168,7 @@ register$1({
|
|
|
98168
98168
|
id: '@salesforce/lds-network-adapter',
|
|
98169
98169
|
instrument: instrument$2,
|
|
98170
98170
|
});
|
|
98171
|
-
// version: 1.380.0-
|
|
98171
|
+
// version: 1.380.0-dev12-045476126f
|
|
98172
98172
|
|
|
98173
98173
|
const { create: create$3, keys: keys$3 } = Object;
|
|
98174
98174
|
const { stringify: stringify$1, parse } = JSON;
|
|
@@ -101015,7 +101015,7 @@ function handleEmit(res, callback) {
|
|
|
101015
101015
|
}
|
|
101016
101016
|
callback(consumerEmittedData);
|
|
101017
101017
|
}
|
|
101018
|
-
// version: 1.380.0-
|
|
101018
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
101019
101019
|
|
|
101020
101020
|
class Analytics__AnalyticsBrowseRepository extends UnidentifiableGraphQLTypeRepository {
|
|
101021
101021
|
constructor(services, typeRegistry) {
|
|
@@ -104996,7 +104996,7 @@ function registerCallback(cb) {
|
|
|
104996
104996
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, useOneStoreGraphQL);
|
|
104997
104997
|
}
|
|
104998
104998
|
}
|
|
104999
|
-
// version: 1.380.0-
|
|
104999
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
105000
105000
|
|
|
105001
105001
|
function createFragmentMap(documentNode) {
|
|
105002
105002
|
const fragments = {};
|
|
@@ -131671,7 +131671,7 @@ function refreshGraphQL(data) {
|
|
|
131671
131671
|
}
|
|
131672
131672
|
return refresh$3(data, 'refreshUiApi');
|
|
131673
131673
|
}
|
|
131674
|
-
// version: 1.380.0-
|
|
131674
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
131675
131675
|
|
|
131676
131676
|
// On core the unstable adapters are re-exported with different names,
|
|
131677
131677
|
// we want to match them here.
|
|
@@ -131823,7 +131823,7 @@ withDefaultLuvio((luvio) => {
|
|
|
131823
131823
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
131824
131824
|
graphQLImperative = ldsAdapter;
|
|
131825
131825
|
});
|
|
131826
|
-
// version: 1.380.0-
|
|
131826
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
131827
131827
|
|
|
131828
131828
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
131829
131829
|
__proto__: null,
|
|
@@ -132622,7 +132622,7 @@ const callbacks$1 = [];
|
|
|
132622
132622
|
function register(r) {
|
|
132623
132623
|
callbacks$1.forEach((callback) => callback(r));
|
|
132624
132624
|
}
|
|
132625
|
-
// version: 1.380.0-
|
|
132625
|
+
// version: 1.380.0-dev12-045476126f
|
|
132626
132626
|
|
|
132627
132627
|
/**
|
|
132628
132628
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -133938,4 +133938,4 @@ const { luvio } = getRuntime();
|
|
|
133938
133938
|
setDefaultLuvio({ luvio });
|
|
133939
133939
|
|
|
133940
133940
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
133941
|
-
// version: 1.380.0-
|
|
133941
|
+
// version: 1.380.0-dev12-045476126f
|
|
@@ -4280,7 +4280,7 @@
|
|
|
4280
4280
|
}
|
|
4281
4281
|
callbacks.push(callback);
|
|
4282
4282
|
}
|
|
4283
|
-
// version: 1.380.0-
|
|
4283
|
+
// version: 1.380.0-dev12-045476126f
|
|
4284
4284
|
|
|
4285
4285
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4286
4286
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5324,7 +5324,7 @@
|
|
|
5324
5324
|
const { apiFamily, name } = metadata;
|
|
5325
5325
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5326
5326
|
}
|
|
5327
|
-
// version: 1.380.0-
|
|
5327
|
+
// version: 1.380.0-dev12-045476126f
|
|
5328
5328
|
|
|
5329
5329
|
/**
|
|
5330
5330
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -34160,7 +34160,7 @@
|
|
|
34160
34160
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
34161
34161
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
34162
34162
|
});
|
|
34163
|
-
// version: 1.380.0-
|
|
34163
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
34164
34164
|
|
|
34165
34165
|
function requestIdleDetectedCallback(_callback) { }
|
|
34166
34166
|
function declareNotifierTaskSingle(_name) {
|
|
@@ -94599,14 +94599,14 @@
|
|
|
94599
94599
|
if (this.shouldUseAuraNetwork()) {
|
|
94600
94600
|
return this.convertAuraResponseToData(
|
|
94601
94601
|
this.services.auraNetwork(this.endpoint, this.auraParams, this.actionConfig),
|
|
94602
|
-
(errs) => this.
|
|
94602
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
94603
94603
|
);
|
|
94604
94604
|
} else if (this.shouldUseFetch()) {
|
|
94605
94605
|
return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
|
|
94606
94606
|
}
|
|
94607
94607
|
return resolvedPromiseLike$3(err$1$1(toError("Aura/Fetch network services not found")));
|
|
94608
94608
|
}
|
|
94609
|
-
|
|
94609
|
+
coerceAuraErrors(auraErrors) {
|
|
94610
94610
|
return toError(auraErrors[0]);
|
|
94611
94611
|
}
|
|
94612
94612
|
async coerceFetchError(errorResponse) {
|
|
@@ -94738,14 +94738,14 @@
|
|
|
94738
94738
|
if (this.shouldUseAuraNetwork()) {
|
|
94739
94739
|
return this.convertAuraResponseToData(
|
|
94740
94740
|
this.services.auraNetwork(this.endpoint, this.auraParams, this.actionConfig),
|
|
94741
|
-
(errs) => this.
|
|
94741
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
94742
94742
|
);
|
|
94743
94743
|
} else if (this.shouldUseFetch()) {
|
|
94744
94744
|
return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
|
|
94745
94745
|
}
|
|
94746
94746
|
return resolvedPromiseLike$3(err$1$1(toError("Aura/Fetch network services not found")));
|
|
94747
94747
|
}
|
|
94748
|
-
|
|
94748
|
+
coerceAuraErrors(auraErrors) {
|
|
94749
94749
|
return toError(auraErrors[0]);
|
|
94750
94750
|
}
|
|
94751
94751
|
async coerceFetchError(errorResponse) {
|
|
@@ -96000,7 +96000,7 @@
|
|
|
96000
96000
|
},
|
|
96001
96001
|
};
|
|
96002
96002
|
}
|
|
96003
|
-
// version: 1.380.0-
|
|
96003
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
96004
96004
|
|
|
96005
96005
|
/**
|
|
96006
96006
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96026,7 +96026,7 @@
|
|
|
96026
96026
|
},
|
|
96027
96027
|
};
|
|
96028
96028
|
}
|
|
96029
|
-
// version: 1.380.0-
|
|
96029
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
96030
96030
|
|
|
96031
96031
|
/*!
|
|
96032
96032
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -97059,7 +97059,7 @@
|
|
|
97059
97059
|
this.originalAuraParams,
|
|
97060
97060
|
this.actionConfig
|
|
97061
97061
|
),
|
|
97062
|
-
(errs) => this.
|
|
97062
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
97063
97063
|
).then((result) => {
|
|
97064
97064
|
return buildSubscribableResult$1(result, this.buildSubscribe(), () => this.refresh());
|
|
97065
97065
|
});
|
|
@@ -98174,7 +98174,7 @@
|
|
|
98174
98174
|
id: '@salesforce/lds-network-adapter',
|
|
98175
98175
|
instrument: instrument$2,
|
|
98176
98176
|
});
|
|
98177
|
-
// version: 1.380.0-
|
|
98177
|
+
// version: 1.380.0-dev12-045476126f
|
|
98178
98178
|
|
|
98179
98179
|
const { create: create$3, keys: keys$3 } = Object;
|
|
98180
98180
|
const { stringify: stringify$1, parse } = JSON;
|
|
@@ -101021,7 +101021,7 @@
|
|
|
101021
101021
|
}
|
|
101022
101022
|
callback(consumerEmittedData);
|
|
101023
101023
|
}
|
|
101024
|
-
// version: 1.380.0-
|
|
101024
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
101025
101025
|
|
|
101026
101026
|
class Analytics__AnalyticsBrowseRepository extends UnidentifiableGraphQLTypeRepository {
|
|
101027
101027
|
constructor(services, typeRegistry) {
|
|
@@ -105002,7 +105002,7 @@
|
|
|
105002
105002
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, useOneStoreGraphQL);
|
|
105003
105003
|
}
|
|
105004
105004
|
}
|
|
105005
|
-
// version: 1.380.0-
|
|
105005
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
105006
105006
|
|
|
105007
105007
|
function createFragmentMap(documentNode) {
|
|
105008
105008
|
const fragments = {};
|
|
@@ -131677,7 +131677,7 @@
|
|
|
131677
131677
|
}
|
|
131678
131678
|
return refresh$3(data, 'refreshUiApi');
|
|
131679
131679
|
}
|
|
131680
|
-
// version: 1.380.0-
|
|
131680
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
131681
131681
|
|
|
131682
131682
|
// On core the unstable adapters are re-exported with different names,
|
|
131683
131683
|
// we want to match them here.
|
|
@@ -131829,7 +131829,7 @@
|
|
|
131829
131829
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
131830
131830
|
graphQLImperative = ldsAdapter;
|
|
131831
131831
|
});
|
|
131832
|
-
// version: 1.380.0-
|
|
131832
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
131833
131833
|
|
|
131834
131834
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
131835
131835
|
__proto__: null,
|
|
@@ -132628,7 +132628,7 @@
|
|
|
132628
132628
|
function register(r) {
|
|
132629
132629
|
callbacks$1.forEach((callback) => callback(r));
|
|
132630
132630
|
}
|
|
132631
|
-
// version: 1.380.0-
|
|
132631
|
+
// version: 1.380.0-dev12-045476126f
|
|
132632
132632
|
|
|
132633
132633
|
/**
|
|
132634
132634
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -133965,4 +133965,4 @@
|
|
|
133965
133965
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
133966
133966
|
|
|
133967
133967
|
}));
|
|
133968
|
-
// version: 1.380.0-
|
|
133968
|
+
// version: 1.380.0-dev12-045476126f
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.380.0-
|
|
3
|
+
"version": "1.380.0-dev12",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/standalone/es/lds-worker-api.js",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@oat-sa/rollup-plugin-wildcard-external": "^1.0.0",
|
|
38
|
-
"@salesforce/lds-adapters-graphql": "^1.380.0-
|
|
39
|
-
"@salesforce/lds-adapters-uiapi": "^1.380.0-
|
|
40
|
-
"@salesforce/lds-default-luvio": "^1.380.0-
|
|
41
|
-
"@salesforce/lds-drafts": "^1.380.0-
|
|
42
|
-
"@salesforce/lds-graphql-parser": "^1.380.0-
|
|
43
|
-
"@salesforce/lds-luvio-engine": "^1.380.0-
|
|
44
|
-
"@salesforce/lds-runtime-mobile": "^1.380.0-
|
|
45
|
-
"@salesforce/nimbus-plugin-lds": "^1.380.0-
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.380.0-dev12",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.380.0-dev12",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.380.0-dev12",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.380.0-dev12",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.380.0-dev12",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.380.0-dev12",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.380.0-dev12",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.380.0-dev12",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|