uranio 0.1.17 → 0.1.18

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.
@@ -20,6 +20,6 @@
20
20
  "typescript": "^5.2.2"
21
21
  },
22
22
  "dependencies": {
23
- "uranio": "0.1.17"
23
+ "uranio": "0.1.18"
24
24
  }
25
25
  }
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Uranio
2
2
 
3
- ![uranio logo](./img/LOGO_BANNER_01.png)
3
+ ![uranio logo](./img/uranio_logo_1440x220.png)
4
4
 
5
5
  Uranio is a Typescript Object Document Mapper (ODM) for MongoDB.\
6
6
  It creates a client for querying collections in a database by just parsing
@@ -47,7 +47,7 @@ const db_name = process.env.MONGO_DATABASE_NAME || '';
47
47
  const urn = uranio.Client({uri, db_name});
48
48
 
49
49
  // Get all products
50
- const products = await urn.products.find({});
50
+ const products = await urn.products.get_items({});
51
51
 
52
52
  // Create a product
53
53
  await urn.products.put_item({
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uranio",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Uranio is a type-safe ODM for MongoDB",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
Binary file