lucid-extension-sdk 0.0.158 → 0.0.159
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.
|
@@ -21,14 +21,7 @@ class DataSourceClient {
|
|
|
21
21
|
const dataSyncUrl = urls.dataSync;
|
|
22
22
|
this.metadataUrl = (0, checks_1.isString)(dataSyncUrl) ? `${dataSyncUrl}dataSource/metadata` : undefined;
|
|
23
23
|
}
|
|
24
|
-
formatBody({
|
|
25
|
-
const upstreamConfig = updateFilterType
|
|
26
|
-
? {
|
|
27
|
-
'upstreamConfig': {
|
|
28
|
-
'UpdateType': updateFilterType,
|
|
29
|
-
},
|
|
30
|
-
}
|
|
31
|
-
: {};
|
|
24
|
+
formatBody({ dataSourceName, collections }) {
|
|
32
25
|
const updateData = {};
|
|
33
26
|
for (const collectionId in collections) {
|
|
34
27
|
updateData[collectionId] = (0, datasourceupdatetypes_1.serializeCollectionPatch)(collections[collectionId]);
|
|
@@ -33,10 +33,6 @@ class SignatureValidator {
|
|
|
33
33
|
exports.SignatureValidator = SignatureValidator;
|
|
34
34
|
/** Mock signature validator, always returns true. */
|
|
35
35
|
class MockSignatureValidator {
|
|
36
|
-
constructor() {
|
|
37
|
-
this.publicKey = false;
|
|
38
|
-
}
|
|
39
|
-
/** Returns true */
|
|
40
36
|
validate() {
|
|
41
37
|
return true;
|
|
42
38
|
}
|