@carddb/node 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/README.md +1 -4
  2. package/package.json +16 -5
package/README.md CHANGED
@@ -27,10 +27,7 @@ const client = new CardDBClient({
27
27
  // Search for cards with filtering
28
28
  const cards = await client.records.search({
29
29
  datasetKey: 'cards',
30
- filter: (f) =>
31
- f
32
- .where('hp', gte(100))
33
- .where('name', ilike('%pikachu%')),
30
+ filter: (f) => f.where('hp', gte(100)).where('name', ilike('%pikachu%')),
34
31
  })
35
32
 
36
33
  // Iterate through all results (auto-paginates)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carddb/node",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "CardDB client for Node.js, Bun, and Deno",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -18,7 +18,9 @@
18
18
  }
19
19
  }
20
20
  },
21
- "files": ["dist"],
21
+ "files": [
22
+ "dist"
23
+ ],
22
24
  "scripts": {
23
25
  "build": "tsup",
24
26
  "clean": "rm -rf dist",
@@ -26,7 +28,16 @@
26
28
  "test": "bun test",
27
29
  "lint": "tsc --noEmit"
28
30
  },
29
- "keywords": ["carddb", "api", "client", "graphql", "card-games", "node", "bun", "deno"],
31
+ "keywords": [
32
+ "carddb",
33
+ "api",
34
+ "client",
35
+ "graphql",
36
+ "card-games",
37
+ "node",
38
+ "bun",
39
+ "deno"
40
+ ],
30
41
  "author": "CardDB Team",
31
42
  "license": "MIT",
32
43
  "repository": {
@@ -39,8 +50,8 @@
39
50
  "url": "https://github.com/carddb/carddb-js/issues"
40
51
  },
41
52
  "dependencies": {
42
- "@carddb/client": "0.1.3",
43
- "@carddb/core": "0.1.3"
53
+ "@carddb/client": "0.1.4",
54
+ "@carddb/core": "0.1.4"
44
55
  },
45
56
  "engines": {
46
57
  "node": ">=18.0.0"