@auspex-ai/core 1.4.1 → 1.4.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 +30 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +10 -2
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @auspex-ai/core
|
|
2
|
+
|
|
3
|
+
Framework-agnostic browser instrumentation for Auspex. It sends usage events from your app to Auspex.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
pnpm add @auspex-ai/core
|
|
9
|
+
# or: npm install @auspex-ai/core
|
|
10
|
+
# or: yarn add @auspex-ai/core
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
You don't use this package directly. Install it with the package for your framework, which provides `AuspexProvider`:
|
|
16
|
+
|
|
17
|
+
- Next.js: [`@auspex-ai/next`](https://www.npmjs.com/package/@auspex-ai/next)
|
|
18
|
+
- React on Vite: [`@auspex-ai/react`](https://www.npmjs.com/package/@auspex-ai/react)
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
pnpm add @auspex-ai/core @auspex-ai/next
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Documentation
|
|
25
|
+
|
|
26
|
+
See the [Auspex documentation](https://docs.auspex.blue).
|
|
27
|
+
|
|
28
|
+
## License
|
|
29
|
+
|
|
30
|
+
Apache-2.0
|
package/dist/index.cjs
CHANGED
|
@@ -645,7 +645,7 @@ function byteLength(s) {
|
|
|
645
645
|
//#endregion
|
|
646
646
|
//#region src/init.ts
|
|
647
647
|
/** "@auspex-ai/core" の version。ビルド時(tsdown/vitest の define)に package.json から埋め込む */
|
|
648
|
-
const VERSION = "1.4.
|
|
648
|
+
const VERSION = "1.4.2";
|
|
649
649
|
const USER_ID = /^[\x21-\x3f\x41-\x7e]{1,128}$/;
|
|
650
650
|
/** identify に渡せる実 ID か(合わなければ identify は何も送らない) */
|
|
651
651
|
function isUserId(value) {
|
package/dist/index.mjs
CHANGED
|
@@ -644,7 +644,7 @@ function byteLength(s) {
|
|
|
644
644
|
//#endregion
|
|
645
645
|
//#region src/init.ts
|
|
646
646
|
/** "@auspex-ai/core" の version。ビルド時(tsdown/vitest の define)に package.json から埋め込む */
|
|
647
|
-
const VERSION = "1.4.
|
|
647
|
+
const VERSION = "1.4.2";
|
|
648
648
|
const USER_ID = /^[\x21-\x3f\x41-\x7e]{1,128}$/;
|
|
649
649
|
/** identify に渡せる実 ID か(合わなければ identify は何も送らない) */
|
|
650
650
|
function isUserId(value) {
|
package/package.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auspex-ai/core",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
|
+
"description": "Framework-agnostic browser instrumentation for Auspex",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"sideEffects": false,
|
|
6
7
|
"license": "Apache-2.0",
|
|
8
|
+
"homepage": "https://docs.auspex.blue/",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"auspex",
|
|
11
|
+
"instrumentation",
|
|
12
|
+
"analytics",
|
|
13
|
+
"events"
|
|
14
|
+
],
|
|
7
15
|
"repository": {
|
|
8
16
|
"type": "git",
|
|
9
17
|
"url": "git+https://github.com/NA-LUDENS/auspex.git",
|
|
@@ -26,7 +34,7 @@
|
|
|
26
34
|
"module": "./dist/index.mjs",
|
|
27
35
|
"types": "./dist/index.d.mts",
|
|
28
36
|
"dependencies": {
|
|
29
|
-
"@auspex-ai/schemas": "^1.4.
|
|
37
|
+
"@auspex-ai/schemas": "^1.4.2",
|
|
30
38
|
"posthog-js-lite": "4.12.1"
|
|
31
39
|
},
|
|
32
40
|
"devDependencies": {
|