@tangle-network/tcloud 0.4.6 → 0.4.8

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,6 @@
1
1
  import { Hex } from 'viem';
2
- import { a as TCloudConfig, T as TCloudClient, N as SpendAuth } from './client-DkQugNHH.cjs';
2
+ import { a as TCloudConfig, T as TCloudClient, V as SpendAuth } from './client-CF-tpVsi.cjs';
3
+ import '@tangle-network/sandbox';
3
4
 
4
5
  /**
5
6
  * tcloud/shielded — Ephemeral wallet generation, SpendAuth signing, private inference.
@@ -1,5 +1,6 @@
1
1
  import { Hex } from 'viem';
2
- import { a as TCloudConfig, T as TCloudClient, N as SpendAuth } from './client-DkQugNHH.js';
2
+ import { a as TCloudConfig, T as TCloudClient, V as SpendAuth } from './client-CF-tpVsi.js';
3
+ import '@tangle-network/sandbox';
3
4
 
4
5
  /**
5
6
  * tcloud/shielded — Ephemeral wallet generation, SpendAuth signing, private inference.
package/dist/shielded.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  estimateCost,
4
4
  generateWallet,
5
5
  signSpendAuth
6
- } from "./chunk-4ZUVGKVH.js";
7
- import "./chunk-M5K3EFNP.js";
6
+ } from "./chunk-YWN4JOCW.js";
7
+ import "./chunk-CVWEKCQ3.js";
8
8
  export {
9
9
  createShieldedClient,
10
10
  estimateCost,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/tcloud",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "description": "TypeScript SDK and CLI for Tangle AI Cloud — decentralized LLM inference",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -11,6 +11,7 @@
11
11
  },
12
12
  "exports": {
13
13
  ".": {
14
+ "types": "./dist/index.d.ts",
14
15
  "import": {
15
16
  "types": "./dist/index.d.ts",
16
17
  "default": "./dist/index.js"
@@ -21,6 +22,7 @@
21
22
  }
22
23
  },
23
24
  "./attestation": {
25
+ "types": "./dist/attestation.d.ts",
24
26
  "import": {
25
27
  "types": "./dist/attestation.d.ts",
26
28
  "default": "./dist/attestation.js"
@@ -31,6 +33,7 @@
31
33
  }
32
34
  },
33
35
  "./sandbox": {
36
+ "types": "./dist/sandbox.d.ts",
34
37
  "import": {
35
38
  "types": "./dist/sandbox.d.ts",
36
39
  "default": "./dist/sandbox.js"
@@ -41,6 +44,7 @@
41
44
  }
42
45
  },
43
46
  "./shielded": {
47
+ "types": "./dist/shielded.d.ts",
44
48
  "import": {
45
49
  "types": "./dist/shielded.d.ts",
46
50
  "default": "./dist/shielded.js"
@@ -51,6 +55,7 @@
51
55
  }
52
56
  },
53
57
  "./instance": {
58
+ "types": "./dist/instance.d.ts",
54
59
  "node": {
55
60
  "import": {
56
61
  "types": "./dist/instance.d.ts",
@@ -63,13 +68,21 @@
63
68
  }
64
69
  }
65
70
  },
71
+ "scripts": {
72
+ "build": "tsup src/index.ts src/cli.ts src/shielded.ts src/instance.ts src/attestation.ts src/sandbox.ts --format esm,cjs --dts --clean --external socks-proxy-agent",
73
+ "docs": "typedoc src/index.ts --out docs --name tcloud --readme README.md",
74
+ "test": "vitest run",
75
+ "test:e2e": "vitest run --config vitest.e2e.config.ts",
76
+ "dev": "tsx src/cli.ts",
77
+ "prepublishOnly": "npm run build"
78
+ },
66
79
  "dependencies": {
67
80
  "@scure/bip32": "^2.2.0",
68
81
  "@scure/bip39": "^2.2.0",
69
82
  "@tangle-network/sandbox": "^0.1.2",
83
+ "@tangle-network/tcloud-attestation": "workspace:^",
70
84
  "commander": "^14.0.3",
71
- "viem": "^2.48.4",
72
- "@tangle-network/tcloud-attestation": "^0.1.1"
85
+ "viem": "^2.48.4"
73
86
  },
74
87
  "devDependencies": {
75
88
  "@types/node": "^22.0.0",
@@ -105,12 +118,5 @@
105
118
  ],
106
119
  "engines": {
107
120
  "node": ">=18"
108
- },
109
- "scripts": {
110
- "build": "tsup src/index.ts src/cli.ts src/shielded.ts src/instance.ts src/attestation.ts src/sandbox.ts --format esm,cjs --dts --clean --external socks-proxy-agent",
111
- "docs": "typedoc src/index.ts --out docs --name tcloud --readme README.md",
112
- "test": "vitest run",
113
- "test:e2e": "vitest run --config vitest.e2e.config.ts",
114
- "dev": "tsx src/cli.ts"
115
121
  }
116
- }
122
+ }