@mappa-ai/mappa-node 0.1.0 → 0.1.2

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 +6 -6
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -5,13 +5,13 @@ A lightweight JavaScript/TypeScript client for the Mappa API.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install mappa-node
8
+ npm install @mappa-ai/mappa-node
9
9
  # or
10
- yarn add mappa-node
10
+ yarn add @mappa-ai/mappa-node
11
11
  # or
12
- pnpm install mappa-node
12
+ pnpm install @mappa-ai/mappa-node
13
13
  # or
14
- bun add mappa-node
14
+ bun add @mappa-ai/mappa-node
15
15
  ```
16
16
 
17
17
  ## Requirements
@@ -27,7 +27,7 @@ export MAPPA_API_KEY="your-api-key"
27
27
  ```
28
28
 
29
29
  ```ts
30
- import { Mappa } from "mappa-node";
30
+ import { Mappa } from "@mappa-ai/mappa-node";
31
31
 
32
32
  const client = new Mappa("your-api-key");
33
33
  ```
@@ -37,7 +37,7 @@ const client = new Mappa("your-api-key");
37
37
  ### Instantiate the client
38
38
 
39
39
  ```ts
40
- import { Mappa } from "mappa-node";
40
+ import { Mappa } from "@mappa-ai/mappa-node";
41
41
 
42
42
  const mappa = new Mappa(); // Reads MAPPA_API_KEY by default
43
43
  ```
package/package.json CHANGED
@@ -2,12 +2,14 @@
2
2
  "name": "@mappa-ai/mappa-node",
3
3
  "module": "src/index.ts",
4
4
  "type": "module",
5
- "version": "0.1.0",
5
+ "version": "0.1.2",
6
6
  "license": "MIT",
7
- "private": false,
8
7
  "files": [
9
8
  "dist/**"
10
9
  ],
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
11
13
  "exports": {
12
14
  ".": {
13
15
  "import": {