@secondlayer/cli 1.2.0 → 1.2.2

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.ts CHANGED
@@ -1,7 +1,7 @@
1
- /**
2
- * Configuration types for @secondlayer/cli
3
- */
1
+ import { AbiContract } from "@secondlayer/stacks/clarity";
2
+ /** Supported Stacks network identifiers for contract resolution. */
4
3
  type NetworkName = "mainnet" | "testnet" | "devnet";
4
+ /** Specifies a contract to generate typed interfaces for, either from a deployed address or local Clarity source file. */
5
5
  interface ContractSource {
6
6
  /**
7
7
  * Contract identifier (address.name) for deployed contracts
@@ -16,6 +16,7 @@ interface ContractSource {
16
16
  */
17
17
  name?: string;
18
18
  }
19
+ /** Configuration for the `@secondlayer/cli` code generator. Defines which contracts to process, output paths, network settings, and plugins. */
19
20
  interface SecondLayerConfig {
20
21
  /**
21
22
  * Contracts to generate interfaces for (optional - plugins can provide these)
@@ -51,7 +52,7 @@ interface ResolvedContract {
51
52
  name: string;
52
53
  address: string;
53
54
  contractName: string;
54
- abi: any;
55
+ abi: AbiContract;
55
56
  source: "api" | "local";
56
57
  }
57
58
  /**