mboaai-sdk 1.0.3 → 1.0.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 +3 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -24,7 +24,7 @@ npm i mboaai-sdk # or yarn add mboaai-sdk / pnpm add …
24
24
  import { T } from "mboaai-sdk";
25
25
 
26
26
  await T.init({
27
- apiKey: "pk_live_yourKey", // ← required
27
+ apiKey: "yourKey", // ← required
28
28
  defaultType: "website", // optional: default pipeline
29
29
  });
30
30
 
@@ -52,7 +52,7 @@ const { T } = require("mboaai-sdk");
52
52
  <script src="https://cdn.jsdelivr.net/npm/mboaai-sdk"></script>
53
53
  <script>
54
54
  (async () => {
55
- await MboaAI.T.init({ apiKey: "pk_live_xx" });
55
+ await MboaAI.T.init({ apiKey: "yourKey" });
56
56
  const es = await MboaAI.T.translate("Wie geht's?", "ES");
57
57
  console.log(es);
58
58
  })();
@@ -83,7 +83,7 @@ import { T } from "mboaai-sdk";
83
83
  (async () => {
84
84
  /* 1) Initialise once */
85
85
  await T.init({
86
- apiKey : "pk_live_xx", // your secret key
86
+ apiKey : "yourKey", // your secret key
87
87
  defaultType : "website", // optional
88
88
  });
89
89
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mboaai-sdk",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Lightweight JavaScript SDK for calling MboaAI agents",
5
5
  "type": "module",
6
6
  "main": "./dist/mboaai-sdk.umd.js",
@@ -37,4 +37,4 @@
37
37
  "README.md",
38
38
  "LICENSE"
39
39
  ]
40
- }
40
+ }