@aggrega-ai/aggrega-abi 0.9.0 → 0.9.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 (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +9 -8
package/README.md CHANGED
@@ -4,6 +4,10 @@ TypeScript codec for the Aggrega Wasm plugin ABI.
4
4
 
5
5
  Package name: `@aggrega-ai/aggrega-abi`.
6
6
 
7
+ ```sh
8
+ npm install @aggrega-ai/aggrega-abi
9
+ ```
10
+
7
11
  The package encodes and decodes the Wasm socket payloads to and from
8
12
  the JSON wire form. It is reflect-free and generated from the canonical
9
13
  schemas, so the wire shape stays byte-stable.
package/package.json CHANGED
@@ -1,8 +1,14 @@
1
1
  {
2
2
  "name": "@aggrega-ai/aggrega-abi",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Portable codec for the Aggrega Wasm plugin ABI.",
5
5
  "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/aggrega-ai/aggrega-abi.git",
9
+ "directory": "typescript"
10
+ },
11
+ "homepage": "https://aggrega.ai",
6
12
  "main": "./dist/index.js",
7
13
  "types": "./dist/index.d.ts",
8
14
  "files": [
@@ -10,10 +16,10 @@
10
16
  "LICENSE"
11
17
  ],
12
18
  "scripts": {
13
- "build": "tsc && npm run typecheck",
19
+ "build": "node -e \"require('fs').copyFileSync('../LICENSE','LICENSE')\" && tsc && npm run typecheck",
14
20
  "typecheck": "tsc -p tsconfig.test.json",
15
21
  "prepack": "npm run build",
16
- "check-pack-contents": "node -e \"const {execFileSync}=require('child_process');const pkg=require('./package.json');const want=[pkg.main,pkg.types].map(p=>p.replace('./',''));const have=JSON.parse(execFileSync('npm',['pack','--dry-run','--json','--ignore-scripts'],{encoding:'utf8'}))[0].files.map(f=>f.path);const missing=want.filter(p=>!have.includes(p));if(missing.length){console.error('packed tarball omits its declared entry point: '+missing.join(', '));process.exit(1);}console.log('packed tarball carries '+want.join(' and ')+' ('+have.length+' files)');\"",
22
+ "check-pack-contents": "node -e \"const {execFileSync}=require('child_process');const pkg=require('./package.json');const want=[pkg.main,pkg.types].map(p=>p.replace('./','')).concat('LICENSE');const have=JSON.parse(execFileSync('npm',['pack','--dry-run','--json','--ignore-scripts'],{encoding:'utf8'}))[0].files.map(f=>f.path);const missing=want.filter(p=>!have.includes(p));if(missing.length){console.error('packed tarball omits its declared entry point or licence text: '+missing.join(', '));process.exit(1);}console.log('packed tarball carries '+want.join(' and ')+' ('+have.length+' files)');\"",
17
23
  "pretest": "npm run build",
18
24
  "test": "npm run check-pack-contents && node --test --experimental-strip-types tests/parity.test.ts tests/orderedmap.test.ts"
19
25
  },
@@ -21,11 +27,6 @@
21
27
  "@types/node": "^24.13.3",
22
28
  "typescript": "^5.6.0"
23
29
  },
24
- "repository": {
25
- "type": "git",
26
- "url": "git+https://github.com/aggrega-ai/aggrega-abi.git",
27
- "directory": "typescript"
28
- },
29
30
  "publishConfig": {
30
31
  "access": "public"
31
32
  }