@absolutejs/sync-pack-counters 0.1.3 → 0.1.5

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "contract": 1,
2
+ "contract": 2,
3
3
  "identity": {
4
4
  "accent": "#06b6d4",
5
5
  "category": "sync",
@@ -42,6 +42,16 @@
42
42
  "annotations": {
43
43
  "readOnlyHint": true
44
44
  },
45
+ "authorization": {
46
+ "approval": "never",
47
+ "audience": "owner",
48
+ "effects": [
49
+ "read"
50
+ ],
51
+ "requiredScopes": [
52
+ "sync:packs:read"
53
+ ]
54
+ },
45
55
  "description": "List the live counters this pack registers on the sync engine.",
46
56
  "input": {
47
57
  "type": "object",
package/package.json CHANGED
@@ -1,71 +1,83 @@
1
1
  {
2
- "name": "@absolutejs/sync-pack-counters",
3
- "version": "0.1.3",
4
- "description": "Read-set-tracked live counters for @absolutejs/sync — define a compute function, get a reactive count derived from host tables",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/absolutejs/sync-packs.git",
8
- "directory": "counters"
9
- },
10
- "homepage": "https://github.com/absolutejs/sync-packs/tree/main/counters",
11
- "bugs": {
12
- "url": "https://github.com/absolutejs/sync-packs/issues"
13
- },
14
- "main": "./dist/index.js",
15
- "module": "./dist/index.js",
16
- "types": "./dist/index.d.ts",
17
- "type": "module",
18
- "license": "Apache-2.0",
19
- "author": "Alex Kahn",
20
- "publishConfig": {
21
- "access": "public"
22
- },
23
- "keywords": [
24
- "absolutejs",
25
- "sync",
26
- "sync-pack",
27
- "counters",
28
- "stats",
29
- "reactive"
30
- ],
31
- "scripts": {
32
- "build": "rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/sync && tsc --project tsconfig.build.json && absolute-manifest emit",
33
- "test": "bun test",
34
- "typecheck": "tsc --noEmit",
35
- "format": "prettier --write \"./**/*.{ts,json,md}\"",
36
- "release": "bun run format && bun run typecheck && bun run test && bun run build && bun publish"
37
- },
38
- "peerDependencies": {
39
- "@absolutejs/sync": ">= 1.9.2"
40
- },
41
- "devDependencies": {
42
- "@absolutejs/sync": "^1.9.2",
43
- "@types/bun": "1.3.14",
44
- "prettier": "3.5.3",
45
- "typescript": "5.8.3"
46
- },
47
- "exports": {
48
- ".": {
49
- "types": "./dist/index.d.ts",
50
- "import": "./dist/index.js",
51
- "default": "./dist/index.js"
52
- },
53
- "./manifest": {
54
- "types": "./dist/manifest.d.ts",
55
- "import": "./dist/manifest.js",
56
- "default": "./dist/manifest.js"
57
- },
58
- "./manifest.json": "./dist/manifest.json"
59
- },
60
- "files": [
61
- "dist",
62
- "README.md"
63
- ],
64
- "absolutejs": {
65
- "manifestContract": 1
66
- },
67
- "dependencies": {
68
- "@absolutejs/manifest": "^0.1.0",
69
- "@sinclair/typebox": "^0.34.0"
70
- }
2
+ "name": "@absolutejs/sync-pack-counters",
3
+ "version": "0.1.5",
4
+ "description": "Read-set-tracked live counters for @absolutejs/sync — define a compute function, get a reactive count derived from host tables",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/absolutejs/sync-packs.git",
8
+ "directory": "counters"
9
+ },
10
+ "homepage": "https://github.com/absolutejs/sync-packs/tree/main/counters",
11
+ "bugs": {
12
+ "url": "https://github.com/absolutejs/sync-packs/issues"
13
+ },
14
+ "main": "./dist/index.js",
15
+ "module": "./dist/index.js",
16
+ "types": "./dist/index.d.ts",
17
+ "type": "module",
18
+ "license": "Apache-2.0",
19
+ "author": "Alex Kahn",
20
+ "publishConfig": {
21
+ "access": "public"
22
+ },
23
+ "keywords": [
24
+ "absolutejs",
25
+ "sync",
26
+ "sync-pack",
27
+ "counters",
28
+ "stats",
29
+ "reactive"
30
+ ],
31
+ "scripts": {
32
+ "build": "rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/sync && tsc --project tsconfig.build.json && absolute-manifest emit",
33
+ "test": "bun test",
34
+ "typecheck": "tsc --noEmit",
35
+ "format": "prettier --write \"./**/*.{ts,json,md}\"",
36
+ "release": "bun run format && bun run typecheck && bun run test && bun run build && bun publish"
37
+ },
38
+ "peerDependencies": {
39
+ "@absolutejs/sync": ">=2.11.0 <3"
40
+ },
41
+ "devDependencies": {
42
+ "@absolutejs/sync": "2.11.0",
43
+ "@types/bun": "1.3.14",
44
+ "prettier": "3.5.3",
45
+ "typescript": "5.8.3"
46
+ },
47
+ "exports": {
48
+ ".": {
49
+ "types": "./dist/index.d.ts",
50
+ "import": "./dist/index.js",
51
+ "default": "./dist/index.js"
52
+ },
53
+ "./manifest": {
54
+ "types": "./dist/manifest.d.ts",
55
+ "import": "./dist/manifest.js",
56
+ "default": "./dist/manifest.js"
57
+ },
58
+ "./manifest.json": "./dist/manifest.json"
59
+ },
60
+ "files": [
61
+ "dist",
62
+ "README.md"
63
+ ],
64
+ "absolutejs": {
65
+ "manifestContract": 2,
66
+ "runtimePeers": {
67
+ "@absolutejs/sync": {
68
+ "artifactImports": [
69
+ "@absolutejs/sync/engine"
70
+ ],
71
+ "buildExternals": [
72
+ "@absolutejs/sync"
73
+ ],
74
+ "range": ">=2.11.0 <3",
75
+ "tested": "2.11.0"
76
+ }
77
+ }
78
+ },
79
+ "dependencies": {
80
+ "@absolutejs/manifest": "^0.7.1",
81
+ "@sinclair/typebox": "^0.34.0"
82
+ }
71
83
  }