@kedaruma/revlm-client 1.0.6 → 1.0.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/index.d.mts CHANGED
@@ -1,4 +1,6 @@
1
1
  import { Timestamp, Long } from 'bson';
2
+ import * as bson from 'bson';
3
+ export { bson as BSON };
2
4
  export { ObjectId as ObjectID, ObjectId } from 'bson';
3
5
  import { User as User$1 } from '@kedaruma/revlm-shared/models/user-types';
4
6
 
package/dist/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import { Timestamp, Long } from 'bson';
2
+ import * as bson from 'bson';
3
+ export { bson as BSON };
2
4
  export { ObjectId as ObjectID, ObjectId } from 'bson';
3
5
  import { User as User$1 } from '@kedaruma/revlm-shared/models/user-types';
4
6
 
package/dist/index.js CHANGED
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
5
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
8
  var __export = (target, all) => {
7
9
  for (var name in all)
@@ -15,12 +17,21 @@ var __copyProps = (to, from, except, desc) => {
15
17
  }
16
18
  return to;
17
19
  };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
18
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
29
 
20
30
  // src/index.ts
21
31
  var index_exports = {};
22
32
  __export(index_exports, {
23
33
  App: () => App,
34
+ BSON: () => BSON,
24
35
  Credentials: () => Credentials,
25
36
  MdbCollection: () => MdbCollection,
26
37
  MongoDBService: () => MongoDBService,
@@ -395,9 +406,11 @@ var App = class {
395
406
 
396
407
  // src/index.ts
397
408
  var import_bson2 = require("bson");
409
+ var BSON = __toESM(require("bson"));
398
410
  // Annotate the CommonJS export names for ESM import in node:
399
411
  0 && (module.exports = {
400
412
  App,
413
+ BSON,
401
414
  Credentials,
402
415
  MdbCollection,
403
416
  MongoDBService,
package/dist/index.mjs CHANGED
@@ -361,8 +361,10 @@ var App = class {
361
361
 
362
362
  // src/index.ts
363
363
  import { ObjectId, ObjectId as ObjectId2 } from "bson";
364
+ import * as BSON from "bson";
364
365
  export {
365
366
  App,
367
+ BSON,
366
368
  Credentials,
367
369
  MdbCollection,
368
370
  MongoDBService,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kedaruma/revlm-client",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "private": false,
5
5
  "description": "TypeScript client SDK for talking to the Revlm server replacement for MongoDB Realm.",
6
6
  "keywords": [