@powersync/service-module-mongodb 0.0.0-dev-20260515144844 → 0.0.0-dev-20260602073133

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.
@@ -17,8 +17,12 @@ import { ErrorCode, ServiceError } from '@powersync/lib-services-framework';
17
17
  import { MongoLSN } from '../common/MongoLSN.js';
18
18
  import { CHECKPOINTS_COLLECTION } from './replication-utils.js';
19
19
 
20
- export function getMongoRelation(source: mongo.ChangeStreamNameSpace): storage.SourceEntityDescriptor {
20
+ export function getMongoRelation(
21
+ source: mongo.ChangeStreamNameSpace,
22
+ connectionTag: string
23
+ ): storage.SourceEntityDescriptor {
21
24
  return {
25
+ connectionTag,
22
26
  name: source.coll,
23
27
  schema: source.db,
24
28
  // Not relevant for MongoDB - we use db + coll name as the identifier