@trustless-work/blocks 1.0.3 → 1.0.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/bin/index.js CHANGED
@@ -1810,6 +1810,7 @@ if (args[0] === "init") {
1810
1810
 
1811
1811
  --- Dashboard ---
1812
1812
  trustless-work add dashboard
1813
+ trustless-work add dashboard/dashboard-01
1813
1814
 
1814
1815
  --- Indicators ---
1815
1816
  trustless-work add escrows/indicators/balance-progress
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustless-work/blocks",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "author": "Trustless Work",
5
5
  "keywords": [
6
6
  "react",
@@ -10,7 +10,7 @@ import {
10
10
  } from "__UI_BASE__/card";
11
11
  import { Separator } from "__UI_BASE__/separator";
12
12
  import { useDashboard } from "./useDashboard";
13
- import { formatCurrency } from "../helpers/format.helper";
13
+ import { formatCurrency } from "../../helpers/format.helper";
14
14
  import { Activity, Layers3, PiggyBank } from "lucide-react";
15
15
  import {
16
16
  AreaChart,
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
 
3
3
  import React from "react";
4
- import { useWalletContext } from "../wallet-kit/WalletProvider";
5
- import { useEscrowsBySignerQuery } from "../tanstack/useEscrowsBySignerQuery";
4
+ import { useWalletContext } from "../../wallet-kit/WalletProvider";
5
+ import { useEscrowsBySignerQuery } from "../../tanstack/useEscrowsBySignerQuery";
6
6
  import type { GetEscrowsFromIndexerResponse as Escrow } from "@trustless-work/escrow/types";
7
7
 
8
8
  type AmountsByDatePoint = { date: string; amount: number };