s3db.js 7.3.6 → 7.3.8
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.
- package/dist/s3db.cjs.js +19 -1
- package/dist/s3db.cjs.min.js +1 -1
- package/dist/s3db.es.js +19 -1
- package/dist/s3db.es.min.js +1 -1
- package/dist/s3db.iife.js +19 -1
- package/dist/s3db.iife.min.js +1 -1
- package/package.json +1 -1
- package/src/plugins/replicators/bigquery-replicator.class.js +11 -0
- package/src/plugins/replicators/postgres-replicator.class.js +11 -0
- package/src/plugins/replicators/s3db-replicator.class.js +5 -0
- package/src/plugins/replicators/sqs-replicator.class.js +5 -0
package/dist/s3db.iife.js
CHANGED
|
@@ -9089,6 +9089,9 @@ ${JSON.stringify(validation, null, 2)}`,
|
|
|
9089
9089
|
}
|
|
9090
9090
|
}
|
|
9091
9091
|
const success = errors.length === 0;
|
|
9092
|
+
if (errors.length > 0) {
|
|
9093
|
+
console.warn(`[BigqueryReplicator] Replication completed with errors for ${resourceName}:`, errors);
|
|
9094
|
+
}
|
|
9092
9095
|
this.emit("replicated", {
|
|
9093
9096
|
replicator: this.name,
|
|
9094
9097
|
resourceName,
|
|
@@ -9139,6 +9142,9 @@ ${JSON.stringify(validation, null, 2)}`,
|
|
|
9139
9142
|
errors.push({ id: record.id, error: err.message });
|
|
9140
9143
|
}
|
|
9141
9144
|
}
|
|
9145
|
+
if (errors.length > 0) {
|
|
9146
|
+
console.warn(`[BigqueryReplicator] Batch replication completed with ${errors.length} error(s) for ${resourceName}:`, errors);
|
|
9147
|
+
}
|
|
9142
9148
|
return {
|
|
9143
9149
|
success: errors.length === 0,
|
|
9144
9150
|
results,
|
|
@@ -9369,6 +9375,9 @@ ${JSON.stringify(validation, null, 2)}`,
|
|
|
9369
9375
|
}
|
|
9370
9376
|
}
|
|
9371
9377
|
const success = errors.length === 0;
|
|
9378
|
+
if (errors.length > 0) {
|
|
9379
|
+
console.warn(`[PostgresReplicator] Replication completed with errors for ${resourceName}:`, errors);
|
|
9380
|
+
}
|
|
9372
9381
|
this.emit("replicated", {
|
|
9373
9382
|
replicator: this.name,
|
|
9374
9383
|
resourceName,
|
|
@@ -9419,6 +9428,9 @@ ${JSON.stringify(validation, null, 2)}`,
|
|
|
9419
9428
|
errors.push({ id: record.id, error: err.message });
|
|
9420
9429
|
}
|
|
9421
9430
|
}
|
|
9431
|
+
if (errors.length > 0) {
|
|
9432
|
+
console.warn(`[PostgresReplicator] Batch replication completed with ${errors.length} error(s) for ${resourceName}:`, errors);
|
|
9433
|
+
}
|
|
9422
9434
|
return {
|
|
9423
9435
|
success: errors.length === 0,
|
|
9424
9436
|
results,
|
|
@@ -13169,7 +13181,7 @@ ${JSON.stringify(validation, null, 2)}`,
|
|
|
13169
13181
|
super();
|
|
13170
13182
|
this.version = "1";
|
|
13171
13183
|
this.s3dbVersion = (() => {
|
|
13172
|
-
const [ok, err, version] = try_fn_default(() => true ? "7.3.
|
|
13184
|
+
const [ok, err, version] = try_fn_default(() => true ? "7.3.7" : "latest");
|
|
13173
13185
|
return ok ? version : "latest";
|
|
13174
13186
|
})();
|
|
13175
13187
|
this.resources = {};
|
|
@@ -13911,6 +13923,9 @@ ${JSON.stringify(validation, null, 2)}`,
|
|
|
13911
13923
|
errors.push({ id: record.id, error: err.message });
|
|
13912
13924
|
}
|
|
13913
13925
|
}
|
|
13926
|
+
if (errors.length > 0) {
|
|
13927
|
+
console.warn(`[S3dbReplicator] Batch replication completed with ${errors.length} error(s) for ${resourceName}:`, errors);
|
|
13928
|
+
}
|
|
13914
13929
|
this.emit("batch_replicated", {
|
|
13915
13930
|
replicator: this.name,
|
|
13916
13931
|
resourceName,
|
|
@@ -14208,6 +14223,9 @@ ${JSON.stringify(validation, null, 2)}`,
|
|
|
14208
14223
|
}
|
|
14209
14224
|
}
|
|
14210
14225
|
}
|
|
14226
|
+
if (errors.length > 0) {
|
|
14227
|
+
console.warn(`[SqsReplicator] Batch replication completed with ${errors.length} error(s) for ${resource}:`, errors);
|
|
14228
|
+
}
|
|
14211
14229
|
this.emit("batch_replicated", {
|
|
14212
14230
|
replicator: this.name,
|
|
14213
14231
|
resource,
|