@salesforce/lds-worker-api 1.432.0 → 1.433.0
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.
|
|
1374
|
+
// version: 1.433.0-8a15a98f24
|
|
@@ -4274,7 +4274,7 @@ function withDefaultLuvio(callback) {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
callbacks.push(callback);
|
|
4276
4276
|
}
|
|
4277
|
-
// version: 1.
|
|
4277
|
+
// version: 1.433.0-8a15a98f24
|
|
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.
|
|
5321
|
+
// version: 1.433.0-8a15a98f24
|
|
5322
5322
|
|
|
5323
5323
|
function isSupportedEntity(_objectApiName) {
|
|
5324
5324
|
return true;
|
|
@@ -32550,7 +32550,7 @@ withDefaultLuvio((luvio) => {
|
|
|
32550
32550
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
32551
32551
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
32552
32552
|
});
|
|
32553
|
-
// version: 1.
|
|
32553
|
+
// version: 1.433.0-db129b48d2
|
|
32554
32554
|
|
|
32555
32555
|
var allowUpdatesForNonCachedRecords = {
|
|
32556
32556
|
isOpen: function (e) {
|
|
@@ -94090,16 +94090,17 @@ class AuraNetworkCommand extends NetworkCommand$1 {
|
|
|
94090
94090
|
}
|
|
94091
94091
|
return ok$1(auraReturnValue);
|
|
94092
94092
|
}).catch((error) => {
|
|
94093
|
-
if (!error
|
|
94093
|
+
if (!error) {
|
|
94094
94094
|
return err$1(toError("Failed to get error from response"));
|
|
94095
|
-
} else {
|
|
94096
|
-
const actionErrors = error.getError();
|
|
94097
|
-
if (actionErrors.length > 0) {
|
|
94098
|
-
return err$1(coerceError(actionErrors));
|
|
94099
|
-
} else {
|
|
94100
|
-
return err$1(toError("Error fetching component"));
|
|
94101
|
-
}
|
|
94102
94095
|
}
|
|
94096
|
+
if (!error.getError) {
|
|
94097
|
+
return err$1(toError(error));
|
|
94098
|
+
}
|
|
94099
|
+
const actionErrors = error.getError();
|
|
94100
|
+
if (actionErrors.length > 0) {
|
|
94101
|
+
return err$1(coerceError(actionErrors));
|
|
94102
|
+
}
|
|
94103
|
+
return err$1(toError("Error fetching component"));
|
|
94103
94104
|
});
|
|
94104
94105
|
}
|
|
94105
94106
|
convertFetchResponseToData(response) {
|
|
@@ -94782,16 +94783,17 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
|
|
|
94782
94783
|
} catch {
|
|
94783
94784
|
}
|
|
94784
94785
|
}).catch((error) => {
|
|
94785
|
-
if (!error
|
|
94786
|
+
if (!error) {
|
|
94786
94787
|
return err$1(toError("Failed to get error from response"));
|
|
94787
|
-
} else {
|
|
94788
|
-
const actionErrors = error.getError();
|
|
94789
|
-
if (actionErrors.length > 0) {
|
|
94790
|
-
return err$1(coerceError(actionErrors));
|
|
94791
|
-
} else {
|
|
94792
|
-
return err$1(toError("Error fetching component"));
|
|
94793
|
-
}
|
|
94794
94788
|
}
|
|
94789
|
+
if (!error.getError) {
|
|
94790
|
+
return err$1(toError(error));
|
|
94791
|
+
}
|
|
94792
|
+
const actionErrors = error.getError();
|
|
94793
|
+
if (actionErrors.length > 0) {
|
|
94794
|
+
return err$1(coerceError(actionErrors));
|
|
94795
|
+
}
|
|
94796
|
+
return err$1(toError("Error fetching component"));
|
|
94795
94797
|
});
|
|
94796
94798
|
}
|
|
94797
94799
|
convertFetchResponseToData(response) {
|
|
@@ -94926,16 +94928,17 @@ class AuraCacheControlCommand extends CacheControlCommand {
|
|
|
94926
94928
|
} catch {
|
|
94927
94929
|
}
|
|
94928
94930
|
}).catch((error) => {
|
|
94929
|
-
if (!error
|
|
94931
|
+
if (!error) {
|
|
94930
94932
|
return err$1(toError("Failed to get error from response"));
|
|
94931
|
-
} else {
|
|
94932
|
-
const actionErrors = error.getError();
|
|
94933
|
-
if (actionErrors.length > 0) {
|
|
94934
|
-
return err$1(coerceError(actionErrors));
|
|
94935
|
-
} else {
|
|
94936
|
-
return err$1(toError("Error fetching component"));
|
|
94937
|
-
}
|
|
94938
94933
|
}
|
|
94934
|
+
if (!error.getError) {
|
|
94935
|
+
return err$1(toError(error));
|
|
94936
|
+
}
|
|
94937
|
+
const actionErrors = error.getError();
|
|
94938
|
+
if (actionErrors.length > 0) {
|
|
94939
|
+
return err$1(coerceError(actionErrors));
|
|
94940
|
+
}
|
|
94941
|
+
return err$1(toError("Error fetching component"));
|
|
94939
94942
|
});
|
|
94940
94943
|
}
|
|
94941
94944
|
convertFetchResponseToData(response) {
|
|
@@ -96246,7 +96249,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
96246
96249
|
},
|
|
96247
96250
|
};
|
|
96248
96251
|
}
|
|
96249
|
-
// version: 1.
|
|
96252
|
+
// version: 1.433.0-db129b48d2
|
|
96250
96253
|
|
|
96251
96254
|
/**
|
|
96252
96255
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96272,7 +96275,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
96272
96275
|
},
|
|
96273
96276
|
};
|
|
96274
96277
|
}
|
|
96275
|
-
// version: 1.
|
|
96278
|
+
// version: 1.433.0-db129b48d2
|
|
96276
96279
|
|
|
96277
96280
|
/*!
|
|
96278
96281
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -98929,7 +98932,7 @@ register$1({
|
|
|
98929
98932
|
id: '@salesforce/lds-network-adapter',
|
|
98930
98933
|
instrument: instrument$2,
|
|
98931
98934
|
});
|
|
98932
|
-
// version: 1.
|
|
98935
|
+
// version: 1.433.0-8a15a98f24
|
|
98933
98936
|
|
|
98934
98937
|
const { create: create$2, keys: keys$2 } = Object;
|
|
98935
98938
|
const { stringify, parse } = JSON;
|
|
@@ -106920,7 +106923,7 @@ function registerCallback(cb) {
|
|
|
106920
106923
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
106921
106924
|
}
|
|
106922
106925
|
}
|
|
106923
|
-
// version: 1.
|
|
106926
|
+
// version: 1.433.0-db129b48d2
|
|
106924
106927
|
|
|
106925
106928
|
function createFragmentMap(documentNode) {
|
|
106926
106929
|
const fragments = {};
|
|
@@ -136137,7 +136140,7 @@ register$1({
|
|
|
136137
136140
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
136138
136141
|
instrument: instrument$1,
|
|
136139
136142
|
});
|
|
136140
|
-
// version: 1.
|
|
136143
|
+
// version: 1.433.0-db129b48d2
|
|
136141
136144
|
|
|
136142
136145
|
// On core the unstable adapters are re-exported with different names,
|
|
136143
136146
|
// we want to match them here.
|
|
@@ -136289,7 +136292,7 @@ withDefaultLuvio((luvio) => {
|
|
|
136289
136292
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136290
136293
|
graphQLImperative = ldsAdapter;
|
|
136291
136294
|
});
|
|
136292
|
-
// version: 1.
|
|
136295
|
+
// version: 1.433.0-db129b48d2
|
|
136293
136296
|
|
|
136294
136297
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136295
136298
|
__proto__: null,
|
|
@@ -137088,7 +137091,7 @@ const callbacks$1 = [];
|
|
|
137088
137091
|
function register(r) {
|
|
137089
137092
|
callbacks$1.forEach((callback) => callback(r));
|
|
137090
137093
|
}
|
|
137091
|
-
// version: 1.
|
|
137094
|
+
// version: 1.433.0-8a15a98f24
|
|
137092
137095
|
|
|
137093
137096
|
/**
|
|
137094
137097
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -138384,4 +138387,4 @@ const { luvio } = getRuntime();
|
|
|
138384
138387
|
setDefaultLuvio({ luvio });
|
|
138385
138388
|
|
|
138386
138389
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
138387
|
-
// version: 1.
|
|
138390
|
+
// version: 1.433.0-8a15a98f24
|
|
@@ -4280,7 +4280,7 @@
|
|
|
4280
4280
|
}
|
|
4281
4281
|
callbacks.push(callback);
|
|
4282
4282
|
}
|
|
4283
|
-
// version: 1.
|
|
4283
|
+
// version: 1.433.0-8a15a98f24
|
|
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.
|
|
5327
|
+
// version: 1.433.0-8a15a98f24
|
|
5328
5328
|
|
|
5329
5329
|
function isSupportedEntity(_objectApiName) {
|
|
5330
5330
|
return true;
|
|
@@ -32556,7 +32556,7 @@
|
|
|
32556
32556
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
32557
32557
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
32558
32558
|
});
|
|
32559
|
-
// version: 1.
|
|
32559
|
+
// version: 1.433.0-db129b48d2
|
|
32560
32560
|
|
|
32561
32561
|
var allowUpdatesForNonCachedRecords = {
|
|
32562
32562
|
isOpen: function (e) {
|
|
@@ -94096,16 +94096,17 @@
|
|
|
94096
94096
|
}
|
|
94097
94097
|
return ok$1(auraReturnValue);
|
|
94098
94098
|
}).catch((error) => {
|
|
94099
|
-
if (!error
|
|
94099
|
+
if (!error) {
|
|
94100
94100
|
return err$1(toError("Failed to get error from response"));
|
|
94101
|
-
} else {
|
|
94102
|
-
const actionErrors = error.getError();
|
|
94103
|
-
if (actionErrors.length > 0) {
|
|
94104
|
-
return err$1(coerceError(actionErrors));
|
|
94105
|
-
} else {
|
|
94106
|
-
return err$1(toError("Error fetching component"));
|
|
94107
|
-
}
|
|
94108
94101
|
}
|
|
94102
|
+
if (!error.getError) {
|
|
94103
|
+
return err$1(toError(error));
|
|
94104
|
+
}
|
|
94105
|
+
const actionErrors = error.getError();
|
|
94106
|
+
if (actionErrors.length > 0) {
|
|
94107
|
+
return err$1(coerceError(actionErrors));
|
|
94108
|
+
}
|
|
94109
|
+
return err$1(toError("Error fetching component"));
|
|
94109
94110
|
});
|
|
94110
94111
|
}
|
|
94111
94112
|
convertFetchResponseToData(response) {
|
|
@@ -94788,16 +94789,17 @@
|
|
|
94788
94789
|
} catch {
|
|
94789
94790
|
}
|
|
94790
94791
|
}).catch((error) => {
|
|
94791
|
-
if (!error
|
|
94792
|
+
if (!error) {
|
|
94792
94793
|
return err$1(toError("Failed to get error from response"));
|
|
94793
|
-
} else {
|
|
94794
|
-
const actionErrors = error.getError();
|
|
94795
|
-
if (actionErrors.length > 0) {
|
|
94796
|
-
return err$1(coerceError(actionErrors));
|
|
94797
|
-
} else {
|
|
94798
|
-
return err$1(toError("Error fetching component"));
|
|
94799
|
-
}
|
|
94800
94794
|
}
|
|
94795
|
+
if (!error.getError) {
|
|
94796
|
+
return err$1(toError(error));
|
|
94797
|
+
}
|
|
94798
|
+
const actionErrors = error.getError();
|
|
94799
|
+
if (actionErrors.length > 0) {
|
|
94800
|
+
return err$1(coerceError(actionErrors));
|
|
94801
|
+
}
|
|
94802
|
+
return err$1(toError("Error fetching component"));
|
|
94801
94803
|
});
|
|
94802
94804
|
}
|
|
94803
94805
|
convertFetchResponseToData(response) {
|
|
@@ -94932,16 +94934,17 @@
|
|
|
94932
94934
|
} catch {
|
|
94933
94935
|
}
|
|
94934
94936
|
}).catch((error) => {
|
|
94935
|
-
if (!error
|
|
94937
|
+
if (!error) {
|
|
94936
94938
|
return err$1(toError("Failed to get error from response"));
|
|
94937
|
-
} else {
|
|
94938
|
-
const actionErrors = error.getError();
|
|
94939
|
-
if (actionErrors.length > 0) {
|
|
94940
|
-
return err$1(coerceError(actionErrors));
|
|
94941
|
-
} else {
|
|
94942
|
-
return err$1(toError("Error fetching component"));
|
|
94943
|
-
}
|
|
94944
94939
|
}
|
|
94940
|
+
if (!error.getError) {
|
|
94941
|
+
return err$1(toError(error));
|
|
94942
|
+
}
|
|
94943
|
+
const actionErrors = error.getError();
|
|
94944
|
+
if (actionErrors.length > 0) {
|
|
94945
|
+
return err$1(coerceError(actionErrors));
|
|
94946
|
+
}
|
|
94947
|
+
return err$1(toError("Error fetching component"));
|
|
94945
94948
|
});
|
|
94946
94949
|
}
|
|
94947
94950
|
convertFetchResponseToData(response) {
|
|
@@ -96252,7 +96255,7 @@
|
|
|
96252
96255
|
},
|
|
96253
96256
|
};
|
|
96254
96257
|
}
|
|
96255
|
-
// version: 1.
|
|
96258
|
+
// version: 1.433.0-db129b48d2
|
|
96256
96259
|
|
|
96257
96260
|
/**
|
|
96258
96261
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96278,7 +96281,7 @@
|
|
|
96278
96281
|
},
|
|
96279
96282
|
};
|
|
96280
96283
|
}
|
|
96281
|
-
// version: 1.
|
|
96284
|
+
// version: 1.433.0-db129b48d2
|
|
96282
96285
|
|
|
96283
96286
|
/*!
|
|
96284
96287
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -98935,7 +98938,7 @@
|
|
|
98935
98938
|
id: '@salesforce/lds-network-adapter',
|
|
98936
98939
|
instrument: instrument$2,
|
|
98937
98940
|
});
|
|
98938
|
-
// version: 1.
|
|
98941
|
+
// version: 1.433.0-8a15a98f24
|
|
98939
98942
|
|
|
98940
98943
|
const { create: create$2, keys: keys$2 } = Object;
|
|
98941
98944
|
const { stringify, parse } = JSON;
|
|
@@ -106926,7 +106929,7 @@
|
|
|
106926
106929
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
106927
106930
|
}
|
|
106928
106931
|
}
|
|
106929
|
-
// version: 1.
|
|
106932
|
+
// version: 1.433.0-db129b48d2
|
|
106930
106933
|
|
|
106931
106934
|
function createFragmentMap(documentNode) {
|
|
106932
106935
|
const fragments = {};
|
|
@@ -136143,7 +136146,7 @@
|
|
|
136143
136146
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
136144
136147
|
instrument: instrument$1,
|
|
136145
136148
|
});
|
|
136146
|
-
// version: 1.
|
|
136149
|
+
// version: 1.433.0-db129b48d2
|
|
136147
136150
|
|
|
136148
136151
|
// On core the unstable adapters are re-exported with different names,
|
|
136149
136152
|
// we want to match them here.
|
|
@@ -136295,7 +136298,7 @@
|
|
|
136295
136298
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136296
136299
|
graphQLImperative = ldsAdapter;
|
|
136297
136300
|
});
|
|
136298
|
-
// version: 1.
|
|
136301
|
+
// version: 1.433.0-db129b48d2
|
|
136299
136302
|
|
|
136300
136303
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136301
136304
|
__proto__: null,
|
|
@@ -137094,7 +137097,7 @@
|
|
|
137094
137097
|
function register(r) {
|
|
137095
137098
|
callbacks$1.forEach((callback) => callback(r));
|
|
137096
137099
|
}
|
|
137097
|
-
// version: 1.
|
|
137100
|
+
// version: 1.433.0-8a15a98f24
|
|
137098
137101
|
|
|
137099
137102
|
/**
|
|
137100
137103
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -138411,4 +138414,4 @@
|
|
|
138411
138414
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
138412
138415
|
|
|
138413
138416
|
}));
|
|
138414
|
-
// version: 1.
|
|
138417
|
+
// version: 1.433.0-8a15a98f24
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.433.0",
|
|
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.
|
|
39
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
40
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
41
|
-
"@salesforce/lds-drafts": "^1.
|
|
42
|
-
"@salesforce/lds-graphql-parser": "^1.
|
|
43
|
-
"@salesforce/lds-luvio-engine": "^1.
|
|
44
|
-
"@salesforce/lds-runtime-mobile": "^1.
|
|
45
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.433.0",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.433.0",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.433.0",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.433.0",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.433.0",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.433.0",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.433.0",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.433.0",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|