@absolutejs/sync-pack-digest 0.2.3 → 0.2.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": "#a855f7",
5
5
  "category": "sync",
@@ -67,6 +67,16 @@
67
67
  "annotations": {
68
68
  "readOnlyHint": true
69
69
  },
70
+ "authorization": {
71
+ "approval": "never",
72
+ "audience": "owner",
73
+ "effects": [
74
+ "read"
75
+ ],
76
+ "requiredScopes": [
77
+ "sync:packs:read"
78
+ ]
79
+ },
70
80
  "description": "What this digest pack adds to the sync engine: the cursor table it owns, its collection, and the digest schedule with its cron pattern.",
71
81
  "input": {
72
82
  "type": "object",
package/package.json CHANGED
@@ -1,71 +1,83 @@
1
1
  {
2
- "name": "@absolutejs/sync-pack-digest",
3
- "version": "0.2.3",
4
- "description": "Scheduled per-actor digest pack for @absolutejs/sync — cron-fired, cursor-managed, transport-agnostic",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/absolutejs/sync-packs.git",
8
- "directory": "digest"
9
- },
10
- "homepage": "https://github.com/absolutejs/sync-packs/tree/main/digest",
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
- "digest",
28
- "scheduled",
29
- "email"
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.1"
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-digest",
3
+ "version": "0.2.5",
4
+ "description": "Scheduled per-actor digest pack for @absolutejs/sync — cron-fired, cursor-managed, transport-agnostic",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/absolutejs/sync-packs.git",
8
+ "directory": "digest"
9
+ },
10
+ "homepage": "https://github.com/absolutejs/sync-packs/tree/main/digest",
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
+ "digest",
28
+ "scheduled",
29
+ "email"
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
  }