movehat 0.2.7 → 0.2.9

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.
@@ -40,3 +40,27 @@ export interface AccountResource {
40
40
  */
41
41
  data: unknown;
42
42
  }
43
+ export interface CoinStore {
44
+ coin: {
45
+ value: string;
46
+ };
47
+ deposit_events: {
48
+ counter: string;
49
+ guid: {
50
+ id: {
51
+ addr: string;
52
+ creation_num: string;
53
+ };
54
+ };
55
+ };
56
+ withdraw_events: {
57
+ counter: string;
58
+ guid: {
59
+ id: {
60
+ addr: string;
61
+ creation_num: string;
62
+ };
63
+ };
64
+ };
65
+ frozen: boolean;
66
+ }
@@ -24,6 +24,12 @@ export interface MovehatRuntime {
24
24
  * leave this undefined so the default spawn-based adapter is used.
25
25
  */
26
26
  adapter?: ChildProcessAdapter;
27
+ /**
28
+ * Publish the compiled package via the TypeScript SDK instead of the
29
+ * Movement CLI. Internal: setupLocalTesting sets this when the backend
30
+ * is movelite, whose REST responses the Movement CLI cannot consume.
31
+ */
32
+ sdkPublish?: boolean;
27
33
  }) => Promise<DeploymentInfo>;
28
34
  getDeployment: (moduleName: string) => DeploymentInfo | null;
29
35
  getDeployments: () => Record<string, DeploymentInfo>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "movehat",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "type": "module",
5
5
  "description": "Hardhat-like development framework for Movement L1 smart contracts",
6
6
  "bin": {
@@ -70,6 +70,9 @@
70
70
  "prompts": "^2.4.2",
71
71
  "tsx": "^4.7.0"
72
72
  },
73
+ "optionalDependencies": {
74
+ "movelite": "^0.1.0"
75
+ },
73
76
  "devDependencies": {
74
77
  "@types/js-yaml": "^4.0.9",
75
78
  "@types/node": "^24.10.1",