@jhinresh/elizaos-plugin 0.1.2 → 0.2.1

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.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Adds trust-checking actions and evaluators to any ElizaOS agent so it can **refuse to interact with low-trust addresses** before executing swaps, transfers, or on-chain actions.
6
6
 
7
- Powered by [Maiat Protocol](https://maiat-protocol.vercel.app) — on-chain verified trust scores for tokens, DeFi protocols, and AI agents on Base.
7
+ Powered by [Maiat Protocol](https://app.maiat.io) — on-chain verified trust scores for tokens, DeFi protocols, and AI agents on Base.
8
8
 
9
9
  ## Install
10
10
 
@@ -47,7 +47,7 @@ const agent = new ElizaAgent({
47
47
 
48
48
  ```typescript
49
49
  maiatPlugin({
50
- apiUrl: "https://maiat-protocol.vercel.app", // default
50
+ apiUrl: "https://app.maiat.io", // default
51
51
  apiKey: "your-key", // optional — free tier: 100 req/day
52
52
  minScore: 3.0, // 0–10 scale
53
53
  chain: "base", // base | bnb | solana
@@ -56,8 +56,8 @@ maiatPlugin({
56
56
 
57
57
  ## Links
58
58
 
59
- - 🌐 [Live app](https://maiat-protocol.vercel.app)
60
- - 📖 [API docs](https://maiat-protocol.vercel.app/docs)
59
+ - 🌐 [Live app](https://app.maiat.io)
60
+ - 📖 [API docs](https://app.maiat.io/docs)
61
61
  - 🔗 [GitHub](https://github.com/JhiNResH/maiat-protocol)
62
62
  - 📦 [npm](https://www.npmjs.com/package/@jhinresh/elizaos-plugin)
63
63
 
package/dist/index.js CHANGED
@@ -21,7 +21,7 @@
21
21
  // API Client (lightweight)
22
22
  // ═══════════════════════════════════════════
23
23
  async function queryMaiat(address, config) {
24
- const apiUrl = config.apiUrl || "https://maiat-protocol.vercel.app";
24
+ const apiUrl = config.apiUrl || "https://app.maiat.io";
25
25
  const chain = config.chain || "base";
26
26
  const minScore = config.minScore ?? 3.0;
27
27
  const headers = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jhinresh/elizaos-plugin",
3
- "version": "0.1.2",
3
+ "version": "0.2.1",
4
4
  "description": "Maiat Trust Score plugin for ElizaOS — verify trust before your agent swaps or transacts",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,7 +25,7 @@
25
25
  "type": "git",
26
26
  "url": "https://github.com/JhiNResH/elizaos-plugin-maiat.git"
27
27
  },
28
- "homepage": "https://maiat-protocol.vercel.app",
28
+ "homepage": "https://app.maiat.io",
29
29
  "devDependencies": {
30
30
  "typescript": "^5.5.0"
31
31
  }
package/src/index.ts CHANGED
@@ -46,7 +46,7 @@ async function queryMaiat(
46
46
  address: string,
47
47
  config: MaiatElizaConfig
48
48
  ): Promise<TrustResult> {
49
- const apiUrl = config.apiUrl || "https://maiat-protocol.vercel.app";
49
+ const apiUrl = config.apiUrl || "https://app.maiat.io";
50
50
  const chain = config.chain || "base";
51
51
  const minScore = config.minScore ?? 3.0;
52
52