@coin-voyage/shared 0.0.7 → 0.0.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.
@@ -29,7 +29,7 @@ export interface DepositPayOrderParams {
29
29
  */
30
30
  destination_currency: CurrencyBase;
31
31
  /**
32
- * Output amount to deposit.
32
+ * Output amount to deposit in human readable format (e.g. "10" for 10 tokens).
33
33
  */
34
34
  destination_amount?: string;
35
35
  /**
@@ -247,13 +247,13 @@ export type PaymentStartedEvent = {
247
247
  };
248
248
  export type PaymentCompletedEvent = {
249
249
  type: "payment_completed";
250
- paymentId: UUID;
250
+ paymentId: string;
251
251
  chainId: number;
252
252
  txHash: Hex | string;
253
253
  };
254
254
  export type PaymentBouncedEvent = {
255
255
  type: "payment_bounced";
256
- paymentId: UUID;
256
+ paymentId: string;
257
257
  chainId: number;
258
258
  txHash: Hex | string;
259
259
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coin-voyage/shared",
3
3
  "description": "Shared utilities for Coin Voyage",
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {
@@ -28,8 +28,8 @@
28
28
  "scripts": {
29
29
  "watch": "tsc -w -p ./tsconfig.json",
30
30
  "build": "tsc --build --force",
31
- "release:build": "pnpm build",
32
- "clean": "rm -rf node_modules",
31
+ "clean": "rm -rf dist tsconfig.tsbuildinfo",
32
+ "release:build": "pnpm clean && pnpm build",
33
33
  "type-check": "tsc --noEmit",
34
34
  "test": "vitest run"
35
35
  }