@xyo-network/archivist-model-mongodb 2.82.0 → 2.83.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.
- package/dist/node/index.cjs +33 -0
- package/dist/node/index.cjs.map +1 -0
- package/dist/node/index.js +2 -29
- package/dist/node/index.js.map +1 -1
- package/package.json +13 -13
- package/dist/node/index.mjs +0 -6
- package/dist/node/index.mjs.map +0 -1
|
@@ -0,0 +1,33 @@
|
|
|
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 __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
MongoDBArchivistConfigSchema: () => MongoDBArchivistConfigSchema
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(src_exports);
|
|
26
|
+
|
|
27
|
+
// src/Schema.ts
|
|
28
|
+
var MongoDBArchivistConfigSchema = "network.xyo.archivist.mongodb.config";
|
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
+
0 && (module.exports = {
|
|
31
|
+
MongoDBArchivistConfigSchema
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts"],"sourcesContent":["export * from './Config'\nexport * from './Params'\nexport * from './Schema'\n","export const MongoDBArchivistConfigSchema = 'network.xyo.archivist.mongodb.config'\nexport type MongoDBArchivistConfigSchema = typeof MongoDBArchivistConfigSchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;ACAO,IAAMA,+BAA+B;","names":["MongoDBArchivistConfigSchema"]}
|
package/dist/node/index.js
CHANGED
|
@@ -1,33 +1,6 @@
|
|
|
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 __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
MongoDBArchivistConfigSchema: () => MongoDBArchivistConfigSchema
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(src_exports);
|
|
26
|
-
|
|
27
1
|
// src/Schema.ts
|
|
28
2
|
var MongoDBArchivistConfigSchema = "network.xyo.archivist.mongodb.config";
|
|
29
|
-
|
|
30
|
-
0 && (module.exports = {
|
|
3
|
+
export {
|
|
31
4
|
MongoDBArchivistConfigSchema
|
|
32
|
-
}
|
|
5
|
+
};
|
|
33
6
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export const MongoDBArchivistConfigSchema = 'network.xyo.archivist.mongodb.config'\nexport type MongoDBArchivistConfigSchema = typeof MongoDBArchivistConfigSchema\n"],"mappings":";AAAO,IAAMA,+BAA+B;","names":["MongoDBArchivistConfigSchema"]}
|
package/package.json
CHANGED
|
@@ -10,18 +10,17 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/archivist-model": "^2.
|
|
14
|
-
"@xyo-network/module-model": "^2.
|
|
15
|
-
"@xyo-network/sdk-xyo-mongo-js": "~2.
|
|
13
|
+
"@xyo-network/archivist-model": "^2.86.1",
|
|
14
|
+
"@xyo-network/module-model": "^2.86.1",
|
|
15
|
+
"@xyo-network/sdk-xyo-mongo-js": "~2.83.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@xylabs/ts-scripts-yarn3": "^3.2.
|
|
19
|
-
"@xylabs/tsconfig": "^3.2.
|
|
18
|
+
"@xylabs/ts-scripts-yarn3": "^3.2.28",
|
|
19
|
+
"@xylabs/tsconfig": "^3.2.28",
|
|
20
20
|
"fake-indexeddb": "^4.0.2",
|
|
21
|
-
"typescript": "^5.3.
|
|
21
|
+
"typescript": "^5.3.3"
|
|
22
22
|
},
|
|
23
23
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
24
|
-
"docs": "dist/docs.json",
|
|
25
24
|
"types": "dist/node/index.d.ts",
|
|
26
25
|
"exports": {
|
|
27
26
|
".": {
|
|
@@ -37,19 +36,19 @@
|
|
|
37
36
|
},
|
|
38
37
|
"node": {
|
|
39
38
|
"require": {
|
|
40
|
-
"types": "./dist/node/index.d.
|
|
41
|
-
"default": "./dist/node/index.
|
|
39
|
+
"types": "./dist/node/index.d.cts",
|
|
40
|
+
"default": "./dist/node/index.cjs"
|
|
42
41
|
},
|
|
43
42
|
"import": {
|
|
44
43
|
"types": "./dist/node/index.d.mts",
|
|
45
|
-
"default": "./dist/node/index.
|
|
44
|
+
"default": "./dist/node/index.js"
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
47
|
},
|
|
49
48
|
"./package.json": "./package.json"
|
|
50
49
|
},
|
|
51
|
-
"main": "dist/node/index.
|
|
52
|
-
"module": "dist/node/index.
|
|
50
|
+
"main": "dist/node/index.cjs",
|
|
51
|
+
"module": "dist/node/index.js",
|
|
53
52
|
"homepage": "https://xyo.network",
|
|
54
53
|
"license": "LGPL-3.0-only",
|
|
55
54
|
"publishConfig": {
|
|
@@ -60,5 +59,6 @@
|
|
|
60
59
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
61
60
|
},
|
|
62
61
|
"sideEffects": false,
|
|
63
|
-
"version": "2.
|
|
62
|
+
"version": "2.83.0",
|
|
63
|
+
"type": "module"
|
|
64
64
|
}
|
package/dist/node/index.mjs
DELETED
package/dist/node/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export const MongoDBArchivistConfigSchema = 'network.xyo.archivist.mongodb.config'\nexport type MongoDBArchivistConfigSchema = typeof MongoDBArchivistConfigSchema\n"],"mappings":";AAAO,IAAMA,+BAA+B;","names":["MongoDBArchivistConfigSchema"]}
|