synra 0.0.8 → 0.0.11

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/index.d.ts CHANGED
@@ -24,7 +24,7 @@
24
24
  * - ❌ 让插件把它写进 **`dependencies`**:它零运行时,进运行时依赖只会让人以为它有用。
25
25
  */
26
26
  export type * from '@synra/client';
27
- export type * from '@synra/protocol';
28
27
  export type { SynraClient, SynraError, SynraErrorCode, SynraResponse, Unsubscribe } from '@synra/client';
28
+ export type * from '@synra/protocol';
29
29
  export type { DeviceId, DigestAlgorithm, Envelope, ErrorCode, IntentId, IntentInvocation, IntentOutcome, PairRefusal, Platform, PlatformKind, PluginId, RequestId, SuggestedAction, TraceId, TransferAbortReason, TransferId, TransferKind, TransferProgress, } from '@synra/protocol';
30
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAIH,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,iBAAiB,CAAA;AAIpC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAExG,YAAY,EACV,QAAQ,EACR,eAAe,EACf,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,eAAe,EACf,OAAO,EACP,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,gBAAgB,GACjB,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAIH,mBAAmB,eAAe,CAAA;AAGlC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAExG,mBAAmB,iBAAiB,CAAA;AAEpC,YAAY,EACV,QAAQ,EACR,eAAe,EACf,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,eAAe,EACf,OAAO,EACP,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,gBAAgB,GACjB,MAAM,iBAAiB,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "synra",
3
- "version": "0.0.8",
3
+ "type": "module",
4
+ "version": "0.0.11",
4
5
  "description": "The aggregate type surface for Synra plugin authors. Zero runtime; usually resolved transitively.",
6
+ "author": "imba97",
5
7
  "license": "MIT",
6
8
  "homepage": "https://github.com/synra-rs/synra-js#readme",
7
9
  "repository": {
@@ -12,26 +14,31 @@
12
14
  "bugs": {
13
15
  "url": "https://github.com/synra-rs/synra-js/issues"
14
16
  },
15
- "type": "module",
16
17
  "sideEffects": false,
17
- "files": ["dist", "!dist/.tsbuildinfo"],
18
18
  "exports": {
19
19
  ".": {
20
20
  "types": "./dist/index.d.ts"
21
21
  }
22
22
  },
23
23
  "types": "./dist/index.d.ts",
24
+ "files": [
25
+ "!dist/.tsbuildinfo",
26
+ "dist"
27
+ ],
28
+ "engines": {
29
+ "node": ">=20.19"
30
+ },
24
31
  "publishConfig": {
25
32
  "access": "public"
26
33
  },
34
+ "devDependencies": {
35
+ "typescript": "^5.7.0",
36
+ "vitest": "^3.0.0",
37
+ "@synra/client": "^0.0.11",
38
+ "@synra/protocol": "^0.0.11"
39
+ },
27
40
  "scripts": {
28
41
  "build": "tsc -b",
29
42
  "test": "vitest run --passWithNoTests"
30
- },
31
- "devDependencies": {
32
- "@synra/client": "workspace:^",
33
- "@synra/protocol": "workspace:^",
34
- "typescript": "^5.7.0",
35
- "vitest": "^3.0.0"
36
43
  }
37
44
  }