Skip to content

Commit

Permalink
feat(api): api update (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stainless Bot committed Nov 10, 2024
1 parent 2d874ea commit 807fdec
Show file tree
Hide file tree
Showing 7 changed files with 766 additions and 485 deletions.
8 changes: 5 additions & 3 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,16 @@ Types:

- <code><a href="./src/resources/stellar/stellar.ts">StellarAssetContractDetailsSchema</a></code>
- <code><a href="./src/resources/stellar/stellar.ts">StellarAssetTransferDetailsSchema</a></code>
- <code><a href="./src/resources/stellar/stellar.ts">StellarTransactionScanRequest</a></code>
- <code><a href="./src/resources/stellar/stellar.ts">StellarTransactionScanResponse</a></code>

## Transaction

Types:

- <code><a href="./src/resources/stellar/transaction.ts">TransactionScanResponse</a></code>

Methods:

- <code title="post /v0/stellar/transaction/scan">client.stellar.transaction.<a href="./src/resources/stellar/transaction.ts">scan</a>({ ...params }) -> StellarTransactionScanResponse</code>
- <code title="post /v0/stellar/transaction/scan">client.stellar.transaction.<a href="./src/resources/stellar/transaction.ts">scan</a>({ ...params }) -> TransactionScanResponse</code>

# Bitcoin

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "Apache-2.0",
"packageManager": "yarn@1.22.22",
"files": [
"*"
"**/*"
],
"private": false,
"scripts": {
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,6 @@ export namespace Blockaid {
export import Stellar = API.Stellar;
export import StellarAssetContractDetailsSchema = API.StellarAssetContractDetailsSchema;
export import StellarAssetTransferDetailsSchema = API.StellarAssetTransferDetailsSchema;
export import StellarTransactionScanRequest = API.StellarTransactionScanRequest;
export import StellarTransactionScanResponse = API.StellarTransactionScanResponse;

export import Bitcoin = API.Bitcoin;

Expand Down
2 changes: 0 additions & 2 deletions src/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ export { StarknetErc1155Diff, StarknetErc20Diff, StarknetErc721Diff, Starknet }
export {
StellarAssetContractDetailsSchema,
StellarAssetTransferDetailsSchema,
StellarTransactionScanRequest,
StellarTransactionScanResponse,
Stellar,
} from './stellar/stellar';
export { TokenBulkScanResponse, TokenBulkScanParams, TokenBulk } from './token-bulk';
Expand Down
10 changes: 2 additions & 8 deletions src/resources/stellar/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export {
StellarAssetContractDetailsSchema,
StellarAssetTransferDetailsSchema,
StellarTransactionScanRequest,
StellarTransactionScanResponse,
Stellar,
} from './stellar';
export { TransactionScanParams, Transaction } from './transaction';
export { StellarAssetContractDetailsSchema, StellarAssetTransferDetailsSchema, Stellar } from './stellar';
export { TransactionScanResponse, TransactionScanParams, Transaction } from './transaction';
Loading

0 comments on commit 807fdec

Please sign in to comment.