@escro/sdk 0.1.3 → 0.1.4

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.cts CHANGED
@@ -15,7 +15,11 @@ interface EscroOptions {
15
15
  interface CreateEscrowParams {
16
16
  /** Full task specification uploaded to IPFS. */
17
17
  taskSpec: TaskSpec;
18
- /** Payment amount in μUSDC (1 USDC = 1_000_000). Minimum: 5_000_000. */
18
+ /**
19
+ * Worker's net payment in μUSDC (1 USDC = 1_000_000). Minimum: 5_000_000.
20
+ * The buyer is charged `amountUsdc + fee` at creation; the worker receives
21
+ * the full `amountUsdc` on settlement.
22
+ */
19
23
  amountUsdc: number;
20
24
  /** Unix timestamp (seconds) at which the escrow deadline expires. */
21
25
  deadlineSeconds: number;
package/dist/index.d.ts CHANGED
@@ -15,7 +15,11 @@ interface EscroOptions {
15
15
  interface CreateEscrowParams {
16
16
  /** Full task specification uploaded to IPFS. */
17
17
  taskSpec: TaskSpec;
18
- /** Payment amount in μUSDC (1 USDC = 1_000_000). Minimum: 5_000_000. */
18
+ /**
19
+ * Worker's net payment in μUSDC (1 USDC = 1_000_000). Minimum: 5_000_000.
20
+ * The buyer is charged `amountUsdc + fee` at creation; the worker receives
21
+ * the full `amountUsdc` on settlement.
22
+ */
19
23
  amountUsdc: number;
20
24
  /** Unix timestamp (seconds) at which the escrow deadline expires. */
21
25
  deadlineSeconds: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escro/sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "TypeScript SDK for the escro.ai on-chain escrow protocol",
5
5
  "license": "MIT",
6
6
  "repository": {