@glide-pool/sdk 0.1.0 → 0.1.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
@@ -1,6 +1,6 @@
1
1
  # @glide-pool/sdk
2
2
 
3
- JavaScript SDK for the [GlidePool](https://github.com/glide-pool/glidepool) autonomous DLMM agent API on Base Mainnet.
3
+ JavaScript SDK for the [GlidePool](https://github.com/GlidePool/glidepool) autonomous DLMM agent API on Base Mainnet.
4
4
 
5
5
  ## Installation
6
6
 
@@ -14,7 +14,7 @@ npm install @glide-pool/sdk
14
14
  import { GlidePoolClient } from '@glide-pool/sdk';
15
15
 
16
16
  const client = new GlidePoolClient({
17
- apiUrl: 'https://your-glidepool-instance.replit.app',
17
+ apiUrl: 'https://api.glidepool.xyz',
18
18
  });
19
19
 
20
20
  // List live Maverick V2 pools
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glide-pool/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "JavaScript SDK for the GlidePool autonomous DLMM agent API on Base Mainnet",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -11,16 +11,30 @@
11
11
  }
12
12
  },
13
13
  "types": "./src/index.d.ts",
14
- "files": ["src", "README.md"],
15
- "keywords": ["glidepool", "dlmm", "maverick", "base", "defi", "liquidity", "agent", "x402"],
14
+ "files": [
15
+ "src",
16
+ "README.md"
17
+ ],
18
+ "keywords": [
19
+ "glidepool",
20
+ "dlmm",
21
+ "maverick",
22
+ "base",
23
+ "defi",
24
+ "liquidity",
25
+ "agent",
26
+ "x402"
27
+ ],
16
28
  "author": "glide-pool",
17
29
  "license": "MIT",
18
- "engines": { "node": ">=18" },
30
+ "engines": {
31
+ "node": ">=18"
32
+ },
19
33
  "repository": {
20
34
  "type": "git",
21
- "url": "https://github.com/glide-pool/glidepool"
35
+ "url": "https://github.com/GlidePool/sdk"
22
36
  },
23
37
  "publishConfig": {
24
38
  "access": "public"
25
39
  }
26
- }
40
+ }
package/src/index.js CHANGED
@@ -14,7 +14,7 @@ export class GlidePoolClient {
14
14
  * @param {string} options.apiUrl - Base URL of your GlidePool API server (no trailing slash)
15
15
  */
16
16
  constructor({ apiUrl } = {}) {
17
- if (!apiUrl) throw new Error('GlidePoolClient requires { apiUrl } — e.g. https://your-glidepool.replit.app');
17
+ if (!apiUrl) throw new Error('GlidePoolClient requires { apiUrl } — e.g. https://api.glidepool.xyz');
18
18
  this.apiUrl = apiUrl.replace(/\/$/, '');
19
19
  }
20
20