Skip to content

Commit

Permalink
Remove export of 'ObjectID' alias (breaking change).
Browse files Browse the repository at this point in the history
  • Loading branch information
elle-j committed Apr 11, 2024
1 parent cd99fda commit edff888
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion integration-tests/tests/src/tests/sync/partition-values.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe("Partition-values", () => {
-Number.MAX_SAFE_INTEGER,
new BSON.ObjectId("603fa0af4caa9c90ff6e126c"),
new BSON.UUID("f3287217-d1a2-445b-a4f7-af0520413b2a"),
null, // TODO: This causes the call to `new Realm(config)` to throw null pointer exception.
null,
"",
];

Expand Down
2 changes: 0 additions & 2 deletions packages/realm/src/bson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ import * as bson from "bson";
export namespace BSON {
export const ObjectId = bson.ObjectId;
export type ObjectId = bson.ObjectId;
export const ObjectID = bson.ObjectId;
export type ObjectID = bson.ObjectId;
export const Decimal128 = bson.Decimal128;
export type Decimal128 = bson.Decimal128;
export const UUID = bson.UUID;
Expand Down

0 comments on commit edff888

Please sign in to comment.