Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): api update #302

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 19
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-55118c53a81dd5c570c3bc3138f2a9e569da2b05f570880459c7e20bb43c297c.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-46d8eab626e61bba9c77116adbcfcbc34a35b2742976789e9f3643f399386f2c.yml
8 changes: 5 additions & 3 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,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 @@ -321,8 +321,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 @@ -77,8 +77,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