@ponxa/potatobase-client 0.1.1 → 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.
package/README.md CHANGED
@@ -19,7 +19,7 @@ import { PotatoBaseClient } from '@potatobase/client';
19
19
 
20
20
  // Initialize the client
21
21
  const client = new PotatoBaseClient({
22
- apiUrl: process.env.NEXT_PUBLIC_API_URL || 'https://api.potatobase.com',
22
+ apiUrl: process.env.NEXT_PUBLIC_API_URL || 'https://api.potatobase.dev',
23
23
  projectId: process.env.NEXT_PUBLIC_PROJECT_ID,
24
24
  apiKey: process.env.NEXT_PUBLIC_API_KEY, // Optional, for frontend usage
25
25
  });
@@ -113,7 +113,7 @@ const product = await products.create({
113
113
  Create a `.env.local` file in your project:
114
114
 
115
115
  ```env
116
- NEXT_PUBLIC_API_URL=https://api.potatobase.com
116
+ NEXT_PUBLIC_API_URL=https://api.potatobase.dev
117
117
  NEXT_PUBLIC_PROJECT_ID=your-project-id
118
118
  NEXT_PUBLIC_API_KEY=your-api-key
119
119
  ```
@@ -166,6 +166,6 @@ MIT © PotatoBase Team
166
166
 
167
167
  ## Support
168
168
 
169
- - Documentation: [https://docs.potatobase.com](https://docs.potatobase.com)
169
+ - Documentation: [https://docs.potatobase.dev](https://docs.potatobase.dev)
170
170
  - GitHub Issues: [https://github.com/potatobase/client/issues](https://github.com/potatobase/client/issues)
171
171
  - Discord: [Join our community](https://discord.gg/potatobase)
package/dist/index.js CHANGED
@@ -510,7 +510,7 @@ var PotatoBaseClient = class {
510
510
  }
511
511
  this.config = {
512
512
  ...config,
513
- apiUrl: config.apiUrl || "https://api.potatobase.com",
513
+ apiUrl: config.apiUrl || "https://api.potatobase.dev",
514
514
  debug: config.debug || false
515
515
  };
516
516
  this.tableClients = /* @__PURE__ */ new Map();
package/dist/index.mjs CHANGED
@@ -471,7 +471,7 @@ var PotatoBaseClient = class {
471
471
  }
472
472
  this.config = {
473
473
  ...config,
474
- apiUrl: config.apiUrl || "https://api.potatobase.com",
474
+ apiUrl: config.apiUrl || "https://api.potatobase.dev",
475
475
  debug: config.debug || false
476
476
  };
477
477
  this.tableClients = /* @__PURE__ */ new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ponxa/potatobase-client",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Official JavaScript/TypeScript client for PotatoBase",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -31,7 +31,7 @@
31
31
  "type": "git",
32
32
  "url": "git+https://github.com/ponxa/potatobase-client.git"
33
33
  },
34
- "homepage": "https://potatobase.com",
34
+ "homepage": "https://potatobase.dev",
35
35
  "bugs": {
36
36
  "url": "https://github.com/ponxa/potatobase-client/issues"
37
37
  },