@xyo-network/module-model-mongodb 6.0.4 → 6.1.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/README.md +3 -1
- package/dist/node/Schema.d.ts +1 -1
- package/dist/node/Schema.d.ts.map +1 -1
- package/dist/node/index.mjs.map +2 -2
- package/package.json +12 -16
package/README.md
CHANGED
|
@@ -38,10 +38,12 @@ bun add {{name}}
|
|
|
38
38
|
|
|
39
39
|
See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
|
|
40
40
|
|
|
41
|
+
## Credits
|
|
41
42
|
|
|
43
|
+
[Made with 🔥 and ❄️ by XYO Foundation](https://xyo.network)
|
|
42
44
|
|
|
43
|
-
[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
|
|
44
45
|
[npm-badge]: https://img.shields.io/npm/v/@xyo-network/module-model-mongodb.svg
|
|
45
46
|
[npm-link]: https://www.npmjs.com/package/@xyo-network/module-model-mongodb
|
|
46
47
|
[license-badge]: https://img.shields.io/npm/l/@xyo-network/module-model-mongodb.svg
|
|
47
48
|
[license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
|
|
49
|
+
[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
|
package/dist/node/Schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const MongoDBModuleConfigSchema:
|
|
1
|
+
export declare const MongoDBModuleConfigSchema: 'network.xyo.module.mongodb.config' & {
|
|
2
2
|
readonly __schema: true;
|
|
3
3
|
};
|
|
4
4
|
export type MongoDBModuleConfigSchema = typeof MongoDBModuleConfigSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,EAAE,mCAAmC,GAAG;IAC5E,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAA;CAC8B,CAAA;AACvD,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAA"}
|
package/dist/node/index.mjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Labels.ts", "../../src/Schema.ts"],
|
|
4
|
-
"sourcesContent": ["import type { Labels } from '@xyo-network/module-model'\n\nexport interface MongoDBStorageClassLabels extends Labels {\n 'network.xyo.storage.class': 'mongodb'\n}\n\nexport const MongoDBStorageClassLabels: MongoDBStorageClassLabels = { 'network.xyo.storage.class': 'mongodb' }\n", "import { asSchema } from '@xyo-network/sdk-protocol-js'\n\nexport const MongoDBModuleConfigSchema = asSchema('network.xyo.module.mongodb.config', true)\nexport type MongoDBModuleConfigSchema = typeof MongoDBModuleConfigSchema\n"],
|
|
5
|
-
"mappings": ";AAMO,IAAM,4BAAuD,EAAE,6BAA6B,UAAU;;;ACN7G,SAAS,gBAAgB;AAElB,IAAM,
|
|
4
|
+
"sourcesContent": ["import type { Labels } from '@xyo-network/module-model'\n\nexport interface MongoDBStorageClassLabels extends Labels {\n 'network.xyo.storage.class': 'mongodb'\n}\n\nexport const MongoDBStorageClassLabels: MongoDBStorageClassLabels = { 'network.xyo.storage.class': 'mongodb' }\n", "import { asSchema } from '@xyo-network/sdk-protocol-js'\n\nexport const MongoDBModuleConfigSchema: 'network.xyo.module.mongodb.config' & {\n readonly __schema: true\n} = asSchema('network.xyo.module.mongodb.config', true)\nexport type MongoDBModuleConfigSchema = typeof MongoDBModuleConfigSchema\n"],
|
|
5
|
+
"mappings": ";AAMO,IAAM,4BAAuD,EAAE,6BAA6B,UAAU;;;ACN7G,SAAS,gBAAgB;AAElB,IAAM,4BAET,SAAS,qCAAqC,IAAI;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/module-model-mongodb",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"README.md"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xyo-network/
|
|
40
|
-
"@xyo-network/
|
|
39
|
+
"@xyo-network/payload-mongodb": "~6.1.0",
|
|
40
|
+
"@xyo-network/module-model": "~6.1.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@bitauth/libauth": "~3.0.0",
|
|
@@ -47,23 +47,21 @@
|
|
|
47
47
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
48
48
|
"@scure/base": "~2.2.0",
|
|
49
49
|
"@scure/bip39": "~2.2.0",
|
|
50
|
-
"@xylabs/geo": "^6.0
|
|
51
|
-
"@xylabs/mongo": "
|
|
52
|
-
"@xylabs/sdk-js": "^6.0
|
|
53
|
-
"@xylabs/threads": "^6.0
|
|
54
|
-
"@xylabs/toolchain": "
|
|
55
|
-
"@xylabs/tsconfig": "
|
|
56
|
-
"@xyo-network/sdk-protocol-js": "
|
|
50
|
+
"@xylabs/geo": "^6.1.0",
|
|
51
|
+
"@xylabs/mongo": "^6.1.0",
|
|
52
|
+
"@xylabs/sdk-js": "^6.1.0",
|
|
53
|
+
"@xylabs/threads": "^6.1.0",
|
|
54
|
+
"@xylabs/toolchain": "^8.1.20",
|
|
55
|
+
"@xylabs/tsconfig": "^8.1.20",
|
|
56
|
+
"@xyo-network/sdk-protocol-js": "^6.1.0",
|
|
57
57
|
"ajv": "^8.20.0",
|
|
58
58
|
"async-mutex": "^0.5.0",
|
|
59
|
-
"bn.js": "^5.2.3",
|
|
60
|
-
"buffer": "^6.0.3",
|
|
61
59
|
"debug": "~4.4.3",
|
|
62
60
|
"eslint": "^10.4.1",
|
|
63
61
|
"ethers": "^6.16.0",
|
|
64
62
|
"hash-wasm": "~4.12.0",
|
|
65
63
|
"idb": "^8.0.3",
|
|
66
|
-
"mongodb": "^7.
|
|
64
|
+
"mongodb": "^7.3.0",
|
|
67
65
|
"observable-fns": "~0.6.1",
|
|
68
66
|
"typescript": "~6.0.3",
|
|
69
67
|
"webextension-polyfill": "^0.12.0",
|
|
@@ -81,11 +79,9 @@
|
|
|
81
79
|
"@xylabs/mongo": "^6.0",
|
|
82
80
|
"@xylabs/sdk-js": "^6.0",
|
|
83
81
|
"@xylabs/threads": "^6.0",
|
|
84
|
-
"@xyo-network/sdk-protocol-js": "
|
|
82
|
+
"@xyo-network/sdk-protocol-js": "^6.1",
|
|
85
83
|
"ajv": "^8.20",
|
|
86
84
|
"async-mutex": "^0.5",
|
|
87
|
-
"bn.js": "^5.2",
|
|
88
|
-
"buffer": "^6.0",
|
|
89
85
|
"debug": "~4.4",
|
|
90
86
|
"ethers": "^6.16",
|
|
91
87
|
"hash-wasm": "~4.12",
|