@jsonfirst/sdk 1.0.0 → 1.0.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.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/index.js +2 -2
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -39,14 +39,14 @@ console.log(valid, errors);
39
39
  ```javascript
40
40
  const client = new JsonFirst({
41
41
  apiKey: 'YOUR_API_KEY',
42
- baseUrl: 'https://jsonfirst.io' // optional override
42
+ baseUrl: 'https://jsonfirst.com' // optional override
43
43
  });
44
44
  ```
45
45
 
46
46
  ## Links
47
47
 
48
- - [Documentation](https://jsonfirst.io/developers)
49
- - [Templates](https://jsonfirst.io/templates)
48
+ - [Documentation](https://jsonfirst.com/developers)
49
+ - [Templates](https://jsonfirst.com/templates)
50
50
  - [GitHub](https://github.com/jsonfirst/sdk)
51
51
 
52
52
  ## License
package/index.js CHANGED
@@ -19,7 +19,7 @@
19
19
  }
20
20
  }(typeof globalThis !== 'undefined' ? globalThis : this, function() {
21
21
 
22
- const DEFAULT_BASE_URL = 'https://jsonfirst.io';
22
+ const DEFAULT_BASE_URL = 'https://jsonfirst.com';
23
23
 
24
24
  class JsonFirstError extends Error {
25
25
  constructor(message, status, body) {
@@ -34,7 +34,7 @@
34
34
  /**
35
35
  * @param {Object} options
36
36
  * @param {string} options.apiKey - Your JSONFIRST API key
37
- * @param {string} [options.baseUrl] - Override base URL (default: https://jsonfirst.io)
37
+ * @param {string} [options.baseUrl] - Override base URL (default: https://jsonfirst.com)
38
38
  */
39
39
  constructor(options = {}) {
40
40
  if (!options.apiKey) throw new Error('JsonFirst: apiKey is required');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsonfirst/sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Official JavaScript/Node.js SDK for the JSONFIRST Protocol — Universal Intent Protocol for AI governance",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -23,13 +23,13 @@
23
23
  "claude",
24
24
  "gemini"
25
25
  ],
26
- "author": "JSONFIRST <contact@jsonfirst.io>",
26
+ "author": "JSONFIRST <contact@jsonfirst.com>",
27
27
  "license": "MIT",
28
28
  "repository": {
29
29
  "type": "git",
30
30
  "url": "https://github.com/jsonfirst/sdk"
31
31
  },
32
- "homepage": "https://jsonfirst.io",
32
+ "homepage": "https://jsonfirst.com",
33
33
  "engines": {
34
34
  "node": ">=14"
35
35
  }