@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 +5 -1
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
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
|
-
/**
|
|
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
|
-
/**
|
|
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;
|