@salesforce/lds-worker-api 1.332.0-dev1 → 1.332.0-dev3
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.
|
@@ -597,9 +597,7 @@ function removeDraftNodeActionId(targetDraftId, responseValue) {
|
|
|
597
597
|
...responseValue.data.drafts,
|
|
598
598
|
draftActionIds: responseValue.data.drafts.draftActionIds.filter((x) => x !== targetDraftId),
|
|
599
599
|
};
|
|
600
|
-
return
|
|
601
|
-
data: { drafts: recordDraftsNode },
|
|
602
|
-
});
|
|
600
|
+
return { ...responseValue, data: { ...responseValue.data, drafts: recordDraftsNode } };
|
|
603
601
|
}
|
|
604
602
|
function convertErrorIntoNativeFetchError(error, defaultMessage) {
|
|
605
603
|
let message = defaultMessage;
|
|
@@ -1121,4 +1119,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1121
1119
|
}
|
|
1122
1120
|
|
|
1123
1121
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
1124
|
-
// version: 1.332.0-
|
|
1122
|
+
// version: 1.332.0-dev3-2dc63dbba0
|
|
@@ -4265,7 +4265,7 @@ function withDefaultLuvio(callback) {
|
|
|
4265
4265
|
}
|
|
4266
4266
|
callbacks.push(callback);
|
|
4267
4267
|
}
|
|
4268
|
-
// version: 1.332.0-
|
|
4268
|
+
// version: 1.332.0-dev3-2dc63dbba0
|
|
4269
4269
|
|
|
4270
4270
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4271
4271
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5213,7 +5213,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
5213
5213
|
const { apiFamily, name } = metadata;
|
|
5214
5214
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5215
5215
|
}
|
|
5216
|
-
// version: 1.332.0-
|
|
5216
|
+
// version: 1.332.0-dev3-2dc63dbba0
|
|
5217
5217
|
|
|
5218
5218
|
/**
|
|
5219
5219
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -33850,7 +33850,7 @@ withDefaultLuvio((luvio) => {
|
|
|
33850
33850
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
33851
33851
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
33852
33852
|
});
|
|
33853
|
-
// version: 1.332.0-
|
|
33853
|
+
// version: 1.332.0-dev3-9fb043ed2d
|
|
33854
33854
|
|
|
33855
33855
|
/**
|
|
33856
33856
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -92829,7 +92829,7 @@ register$1({
|
|
|
92829
92829
|
id: '@salesforce/lds-network-adapter',
|
|
92830
92830
|
instrument: instrument$2,
|
|
92831
92831
|
});
|
|
92832
|
-
// version: 1.332.0-
|
|
92832
|
+
// version: 1.332.0-dev3-2dc63dbba0
|
|
92833
92833
|
|
|
92834
92834
|
const { create: create$2, keys: keys$2 } = Object;
|
|
92835
92835
|
const { stringify, parse } = JSON;
|
|
@@ -115396,7 +115396,7 @@ register$1({
|
|
|
115396
115396
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
115397
115397
|
instrument: instrument$1,
|
|
115398
115398
|
});
|
|
115399
|
-
// version: 1.332.0-
|
|
115399
|
+
// version: 1.332.0-dev3-9fb043ed2d
|
|
115400
115400
|
|
|
115401
115401
|
// On core the unstable adapters are re-exported with different names,
|
|
115402
115402
|
// we want to match them here.
|
|
@@ -115548,7 +115548,7 @@ withDefaultLuvio((luvio) => {
|
|
|
115548
115548
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
115549
115549
|
graphQLImperative = ldsAdapter;
|
|
115550
115550
|
});
|
|
115551
|
-
// version: 1.332.0-
|
|
115551
|
+
// version: 1.332.0-dev3-9fb043ed2d
|
|
115552
115552
|
|
|
115553
115553
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
115554
115554
|
__proto__: null,
|
|
@@ -116109,9 +116109,7 @@ function removeDraftNodeActionId(targetDraftId, responseValue) {
|
|
|
116109
116109
|
...responseValue.data.drafts,
|
|
116110
116110
|
draftActionIds: responseValue.data.drafts.draftActionIds.filter((x) => x !== targetDraftId),
|
|
116111
116111
|
};
|
|
116112
|
-
return
|
|
116113
|
-
data: { drafts: recordDraftsNode },
|
|
116114
|
-
});
|
|
116112
|
+
return { ...responseValue, data: { ...responseValue.data, drafts: recordDraftsNode } };
|
|
116115
116113
|
}
|
|
116116
116114
|
function convertErrorIntoNativeFetchError(error, defaultMessage) {
|
|
116117
116115
|
let message = defaultMessage;
|
|
@@ -116333,7 +116331,7 @@ const callbacks$1 = [];
|
|
|
116333
116331
|
function register(r) {
|
|
116334
116332
|
callbacks$1.forEach((callback) => callback(r));
|
|
116335
116333
|
}
|
|
116336
|
-
// version: 1.332.0-
|
|
116334
|
+
// version: 1.332.0-dev3-2dc63dbba0
|
|
116337
116335
|
|
|
116338
116336
|
/**
|
|
116339
116337
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -117396,4 +117394,4 @@ const { luvio } = getRuntime();
|
|
|
117396
117394
|
setDefaultLuvio({ luvio });
|
|
117397
117395
|
|
|
117398
117396
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
117399
|
-
// version: 1.332.0-
|
|
117397
|
+
// version: 1.332.0-dev3-2dc63dbba0
|
|
@@ -4271,7 +4271,7 @@
|
|
|
4271
4271
|
}
|
|
4272
4272
|
callbacks.push(callback);
|
|
4273
4273
|
}
|
|
4274
|
-
// version: 1.332.0-
|
|
4274
|
+
// version: 1.332.0-dev3-2dc63dbba0
|
|
4275
4275
|
|
|
4276
4276
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4277
4277
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5219,7 +5219,7 @@
|
|
|
5219
5219
|
const { apiFamily, name } = metadata;
|
|
5220
5220
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5221
5221
|
}
|
|
5222
|
-
// version: 1.332.0-
|
|
5222
|
+
// version: 1.332.0-dev3-2dc63dbba0
|
|
5223
5223
|
|
|
5224
5224
|
/**
|
|
5225
5225
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -33856,7 +33856,7 @@
|
|
|
33856
33856
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
33857
33857
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
33858
33858
|
});
|
|
33859
|
-
// version: 1.332.0-
|
|
33859
|
+
// version: 1.332.0-dev3-9fb043ed2d
|
|
33860
33860
|
|
|
33861
33861
|
/**
|
|
33862
33862
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -92835,7 +92835,7 @@
|
|
|
92835
92835
|
id: '@salesforce/lds-network-adapter',
|
|
92836
92836
|
instrument: instrument$2,
|
|
92837
92837
|
});
|
|
92838
|
-
// version: 1.332.0-
|
|
92838
|
+
// version: 1.332.0-dev3-2dc63dbba0
|
|
92839
92839
|
|
|
92840
92840
|
const { create: create$2, keys: keys$2 } = Object;
|
|
92841
92841
|
const { stringify, parse } = JSON;
|
|
@@ -115402,7 +115402,7 @@
|
|
|
115402
115402
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
115403
115403
|
instrument: instrument$1,
|
|
115404
115404
|
});
|
|
115405
|
-
// version: 1.332.0-
|
|
115405
|
+
// version: 1.332.0-dev3-9fb043ed2d
|
|
115406
115406
|
|
|
115407
115407
|
// On core the unstable adapters are re-exported with different names,
|
|
115408
115408
|
// we want to match them here.
|
|
@@ -115554,7 +115554,7 @@
|
|
|
115554
115554
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
115555
115555
|
graphQLImperative = ldsAdapter;
|
|
115556
115556
|
});
|
|
115557
|
-
// version: 1.332.0-
|
|
115557
|
+
// version: 1.332.0-dev3-9fb043ed2d
|
|
115558
115558
|
|
|
115559
115559
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
115560
115560
|
__proto__: null,
|
|
@@ -116115,9 +116115,7 @@
|
|
|
116115
116115
|
...responseValue.data.drafts,
|
|
116116
116116
|
draftActionIds: responseValue.data.drafts.draftActionIds.filter((x) => x !== targetDraftId),
|
|
116117
116117
|
};
|
|
116118
|
-
return
|
|
116119
|
-
data: { drafts: recordDraftsNode },
|
|
116120
|
-
});
|
|
116118
|
+
return { ...responseValue, data: { ...responseValue.data, drafts: recordDraftsNode } };
|
|
116121
116119
|
}
|
|
116122
116120
|
function convertErrorIntoNativeFetchError(error, defaultMessage) {
|
|
116123
116121
|
let message = defaultMessage;
|
|
@@ -116339,7 +116337,7 @@
|
|
|
116339
116337
|
function register(r) {
|
|
116340
116338
|
callbacks$1.forEach((callback) => callback(r));
|
|
116341
116339
|
}
|
|
116342
|
-
// version: 1.332.0-
|
|
116340
|
+
// version: 1.332.0-dev3-2dc63dbba0
|
|
116343
116341
|
|
|
116344
116342
|
/**
|
|
116345
116343
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -117421,4 +117419,4 @@
|
|
|
117421
117419
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
117422
117420
|
|
|
117423
117421
|
}));
|
|
117424
|
-
// version: 1.332.0-
|
|
117422
|
+
// version: 1.332.0-dev3-2dc63dbba0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.332.0-
|
|
3
|
+
"version": "1.332.0-dev3",
|
|
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.332.0-
|
|
39
|
-
"@salesforce/lds-adapters-uiapi": "^1.332.0-
|
|
40
|
-
"@salesforce/lds-default-luvio": "^1.332.0-
|
|
41
|
-
"@salesforce/lds-drafts": "^1.332.0-
|
|
42
|
-
"@salesforce/lds-graphql-parser": "^1.332.0-
|
|
43
|
-
"@salesforce/lds-luvio-engine": "^1.332.0-
|
|
44
|
-
"@salesforce/lds-runtime-mobile": "^1.332.0-
|
|
45
|
-
"@salesforce/nimbus-plugin-lds": "^1.332.0-
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.332.0-dev3",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.332.0-dev3",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.332.0-dev3",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.332.0-dev3",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.332.0-dev3",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.332.0-dev3",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.332.0-dev3",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.332.0-dev3",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|