@xyo-network/module-mongodb 2.74.5 → 2.75.0

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.
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/index.ts
18
+ var src_exports = {};
19
+ module.exports = __toCommonJS(src_exports);
20
+ __reExport(src_exports, require("@xyo-network/module-abstract-mongodb"), module.exports);
21
+ __reExport(src_exports, require("@xyo-network/module-model-mongodb"), module.exports);
22
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xyo-network/module-abstract-mongodb'\nexport * from '@xyo-network/module-model-mongodb'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;;wBAAc,iDAAd;AACA,wBAAc,8CADd;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAA;AACpD,cAAc,mCAAmC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAA;AACpD,cAAc,mCAAmC,CAAA"}
@@ -1,4 +1,4 @@
1
1
  // src/index.ts
2
2
  export * from "@xyo-network/module-abstract-mongodb";
3
3
  export * from "@xyo-network/module-model-mongodb";
4
- //# sourceMappingURL=index.mjs.map
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xyo-network/module-abstract-mongodb'\nexport * from '@xyo-network/module-model-mongodb'\n"],"mappings":";AAAA,cAAc;AACd,cAAc;","names":[]}
@@ -0,0 +1,3 @@
1
+ export * from '@xyo-network/module-abstract-mongodb';
2
+ export * from '@xyo-network/module-model-mongodb';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAA;AACpD,cAAc,mCAAmC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from '@xyo-network/module-abstract-mongodb';
2
+ export * from '@xyo-network/module-model-mongodb';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAA;AACpD,cAAc,mCAAmC,CAAA"}
@@ -13,8 +13,6 @@ var __copyProps = (to, from, except, desc) => {
13
13
  };
14
14
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
-
17
- // src/index.ts
18
16
  var src_exports = {};
19
17
  module.exports = __toCommonJS(src_exports);
20
18
  __reExport(src_exports, require("@xyo-network/module-abstract-mongodb"), module.exports);
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xyo-network/module-abstract-mongodb'\nexport * from '@xyo-network/module-model-mongodb'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;;wBAAc,iDAAd;AACA,wBAAc,8CADd;","names":[]}
@@ -0,0 +1,3 @@
1
+ export * from "@xyo-network/module-abstract-mongodb";
2
+ export * from "@xyo-network/module-model-mongodb";
3
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xyo-network/module-abstract-mongodb'\nexport * from '@xyo-network/module-model-mongodb'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
package/package.json CHANGED
@@ -10,11 +10,11 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/module-abstract-mongodb": "~2.74.5",
14
- "@xyo-network/module-model-mongodb": "~2.74.5"
13
+ "@xyo-network/module-abstract-mongodb": "~2.75.0",
14
+ "@xyo-network/module-model-mongodb": "~2.75.0"
15
15
  },
16
16
  "peerDependencies": {
17
- "@xyo-network/sdk-xyo-mongo-js": "~2.74.5"
17
+ "@xyo-network/sdk-xyo-mongo-js": "~2.75.0"
18
18
  },
19
19
  "peerDependenciesMeta": {
20
20
  "@xyo-network/sdk-xyo-mongo-js": {
@@ -22,36 +22,45 @@
22
22
  }
23
23
  },
24
24
  "devDependencies": {
25
- "@xylabs/ts-scripts-yarn3": "^3.0.28",
26
- "@xylabs/tsconfig": "^3.0.28",
27
- "@xyo-network/sdk-xyo-mongo-js": "~2.74.5",
25
+ "@xylabs/ts-scripts-yarn3": "^3.0.70",
26
+ "@xylabs/tsconfig": "^3.0.70",
27
+ "@xyo-network/sdk-xyo-mongo-js": "~2.75.0",
28
28
  "fake-indexeddb": "^4.0.2",
29
29
  "typescript": "^5.2.2"
30
30
  },
31
31
  "description": "Primary SDK for using XYO Protocol 2.0",
32
32
  "docs": "dist/docs.json",
33
- "types": "dist/index.d.ts",
33
+ "types": "dist/node/index.d.ts",
34
34
  "exports": {
35
35
  ".": {
36
- "require": {
37
- "types": "./dist/index.d.ts",
38
- "default": "./dist/index.js"
36
+ "browser": {
37
+ "require": {
38
+ "types": "./dist/browser/index.d.ts",
39
+ "default": "./dist/browser/index.cjs"
40
+ },
41
+ "import": {
42
+ "types": "./dist/browser/index.d.mts",
43
+ "default": "./dist/browser/index.js"
44
+ }
39
45
  },
40
- "import": {
41
- "types": "./dist/index.d.mts",
42
- "default": "./dist/index.mjs"
46
+ "node": {
47
+ "require": {
48
+ "types": "./dist/node/index.d.ts",
49
+ "default": "./dist/node/index.js"
50
+ },
51
+ "import": {
52
+ "types": "./dist/node/index.d.mts",
53
+ "default": "./dist/node/index.mjs"
54
+ }
43
55
  }
44
56
  },
45
- "./dist/docs.json": {
46
- "default": "./dist/docs.json"
47
- },
48
57
  "./docs": {
49
58
  "default": "./dist/docs.json"
50
59
  },
51
60
  "./package.json": "./package.json"
52
61
  },
53
- "main": "dist/index.js",
54
- "module": "dist/index.mjs",
62
+ "main": "dist/node/index.js",
63
+ "module": "dist/node/index.mjs",
55
64
  "homepage": "https://xyo.network",
56
65
  "license": "LGPL-3.0",
57
66
  "publishConfig": {
@@ -62,5 +71,5 @@
62
71
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
63
72
  },
64
73
  "sideEffects": false,
65
- "version": "2.74.5"
74
+ "version": "2.75.0"
66
75
  }