@interfere/constants 0.0.2-alpha.0 → 0.0.2-alpha.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/dist/api.d.mts CHANGED
@@ -1,7 +1,8 @@
1
1
  //#region src/api.d.ts
2
- declare const API_URL = "https://api.interfere.com";
2
+ declare const API_URL = "https://in.interfere.com";
3
3
  declare const API_PATHS: {
4
- readonly INGEST_V0: "/ingest/v0";
4
+ readonly INGEST: "/v1/ingest";
5
+ readonly SESSION: "/v1/session";
5
6
  };
6
7
  //#endregion
7
8
  export { API_PATHS, API_URL };
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.mts","names":[],"sources":["../src/api.ts"],"sourcesContent":[],"mappings":";cAAa,OAAA;AAAA,cAEA,SAFO,EAAA;EAEP,SAAA,SAEH,EAAA,YAAA"}
1
+ {"version":3,"file":"api.d.mts","names":[],"sources":["../src/api.ts"],"mappings":";cAAa,OAAA;AAAA,cAEA,SAAA;EAAA,SAGH,MAAA;EAAA,SAAA,OAAA;AAAA"}
package/dist/api.mjs CHANGED
@@ -1,6 +1,8 @@
1
1
  //#region src/api.ts
2
- const API_URL = "https://api.interfere.com";
3
- const API_PATHS = { INGEST_V0: "/ingest/v0" };
4
-
2
+ const API_URL = "https://in.interfere.com";
3
+ const API_PATHS = {
4
+ INGEST: "/v1/ingest",
5
+ SESSION: "/v1/session"
6
+ };
5
7
  //#endregion
6
- export { API_PATHS, API_URL };
8
+ export { API_PATHS, API_URL };
package/dist/api.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.mjs","names":[],"sources":["../src/api.ts"],"sourcesContent":["export const API_URL = \"https://api.interfere.com\";\n\nexport const API_PATHS = {\n INGEST_V0: \"/ingest/v0\",\n} as const;\n"],"mappings":";AAAA,MAAa,UAAU;AAEvB,MAAa,YAAY,EACvB,WAAW,cACZ"}
1
+ {"version":3,"file":"api.mjs","names":[],"sources":["../src/api.ts"],"sourcesContent":["export const API_URL = \"https://in.interfere.com\";\n\nexport const API_PATHS = {\n INGEST: \"/v1/ingest\",\n SESSION: \"/v1/session\",\n} as const;\n"],"mappings":";AAAA,MAAa,UAAU;AAEvB,MAAa,YAAY;CACvB,QAAQ;CACR,SAAS;CACV"}
@@ -0,0 +1,2 @@
1
+ import { Status, StatusText } from "better-status-codes";
2
+ export { Status, StatusText };
package/dist/http.mjs ADDED
@@ -0,0 +1,2 @@
1
+ import { Status, StatusText } from "better-status-codes";
2
+ export { Status, StatusText };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interfere/constants",
3
- "version": "0.0.2-alpha.0",
3
+ "version": "0.0.2-alpha.1",
4
4
  "license": "MIT",
5
5
  "description": "Build apps that never break.",
6
6
  "keywords": [
@@ -16,6 +16,11 @@
16
16
  "url": "mailto:support@interfere.com"
17
17
  },
18
18
  "author": "Interfere <support@interfere.com> (https://interfere.com)",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/interfere-inc/interfere.git",
22
+ "directory": "src/packages/public/constants"
23
+ },
19
24
  "files": [
20
25
  "dist"
21
26
  ],
@@ -30,15 +35,18 @@
30
35
  "publishConfig": {
31
36
  "access": "public"
32
37
  },
33
- "devDependencies": {
34
- "@types/node": "^22.19.3",
35
- "tsdown": "^0.18.1",
36
- "typescript": "5.9.3",
37
- "@interfere/typescript-config": "1.0.3-alpha.0"
38
- },
39
38
  "scripts": {
40
39
  "build": "tsdown",
41
40
  "dev": "tsdown --watch",
42
41
  "typecheck": "tsc --noEmit --incremental"
42
+ },
43
+ "dependencies": {
44
+ "better-status-codes": "catalog:"
45
+ },
46
+ "devDependencies": {
47
+ "@interfere/typescript-config": "workspace:*",
48
+ "@types/node": "catalog:",
49
+ "tsdown": "catalog:",
50
+ "typescript": "catalog:"
43
51
  }
44
- }
52
+ }