katanakit-js 6.7.3 → 6.7.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 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -29,7 +29,7 @@ In the browser, use jsDelivr **`/+esm`** so named exports and dependencies resol
29
29
  | **esm.sh** | `https://esm.sh/katanakit-js` |
30
30
  | **Raw ESM file** | `https://cdn.jsdelivr.net/npm/katanakit-js/dist/index.js` (needs bundler or import map) |
31
31
 
32
- Pin a version in production (e.g. `@6.7.3/+esm`). There is no IIFE/UMD build.
32
+ Pin a version in production (e.g. `@6.7.4/+esm`). There is no IIFE/UMD build.
33
33
 
34
34
  ## Quick Start
35
35
 
@@ -70,7 +70,6 @@ export default defineApiConfig({
70
70
  pokeapi: { baseUri: "https://pokeapi.co/api/v2", endpoints: { byId: "/pokemon/:id/" } },
71
71
  debug: true, // boolean flags stay off the registry, on `config`
72
72
  getPokemon: async function () {
73
- // ^^^^^^^^ `function`, never an arrow
74
73
  if (this.config.debug) console.log("fetching…");
75
74
  return useFetch("pokeapi", "byId", { params: { id: 25 } });
76
75
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "katanakit-js",
3
- "version": "6.7.3",
3
+ "version": "6.7.4",
4
4
  "description": "KatanaKit — a sharp, framework-agnostic TypeScript service toolkit organized with hexagonal architecture.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",