Skip to content

Commit

Permalink
Move read to stacks-rpc-api
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Oct 30, 2024
1 parent d1281a8 commit a993828
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
4 changes: 0 additions & 4 deletions src/stacks-api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ export type * as Info from "./info/index.js";
import { proofOfTransfer } from "./proof-of-transfer/index.js";
export type * as ProofOfTransfer from "./proof-of-transfer/index.js";

import { smartContracts } from "./smart-contracts/index.js";
export type * as SmartContracts from "./smart-contracts/index.js";

import { stackingPool } from "./stacking-pool/index.js";
export type * as StackingPool from "./stacking-pool/index.js";

Expand All @@ -28,7 +25,6 @@ export const stacksApi = {
faucets,
info,
proofOfTransfer,
smartContracts,
stackingPool,
transactions,
};
6 changes: 0 additions & 6 deletions src/stacks-api/smart-contracts/index.ts

This file was deleted.

3 changes: 3 additions & 0 deletions src/stacks-rpc-api/smart-contracts/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { mapEntry } from "./map-entry.js";
export type * as MapEntry from "./map-entry.js";
import { readOnly } from "./read-only.js";
export type * as ReadOnly from "./read-only.js";

export const smartContracts = {
mapEntry,
readOnly,
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { error, safePromise, success, type Result } from "../../utils/safe.js";
import type { ApiRequestOptions } from "../types.js";
import type { ApiRequestOptions } from "../../stacks-api/types.js";
import * as v from "valibot";

export type Args = {
Expand Down

0 comments on commit a993828

Please sign in to comment.