Skip to content

Commit

Permalink
feat(api): api update (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 5, 2025
1 parent 26af10e commit 99f7491
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 23
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-63288e66fdf1e5107e6d267fd12a78568d07024b6b2808f9c0c9474d00b1a2ca.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-6666210f45f604f7ee686545f656ac31d73e69d76ba8713cb4c35d479b244c3d.yml
4 changes: 2 additions & 2 deletions src/resources/starknet/starknet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export interface StarknetTransactionScanRequest {
/**
* The chain name or chain ID
*/
chain: 'mainnet' | 'sepolia' | 'sepolia_integration' | (string & {});
chain: 'mainnet' | 'sepolia' | (string & {});

/**
* Metadata
Expand Down Expand Up @@ -278,7 +278,7 @@ export namespace StarknetTransactionScanRequest {
/**
* The nonce data availability mode.
*/
nonce_data_availability_mode?: 0;
nonce_data_availability_mode?: number;

/**
* For future use. Currently this value is always empty.
Expand Down
6 changes: 3 additions & 3 deletions src/resources/starknet/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export type TransactionReportResponse = number;
export interface TransactionReportParams {
details: string;

event: 'should_be_malicious' | 'should_be_benign';
event: 'should_be_malicious' | 'should_be_benign' | 'wrong_simulation_result';

report:
| TransactionReportParams.StarknetAppealRequestID
Expand All @@ -58,7 +58,7 @@ export interface TransactionScanParams {
/**
* The chain name or chain ID
*/
chain: 'mainnet' | 'sepolia' | 'sepolia_integration' | (string & {});
chain: 'mainnet' | 'sepolia' | (string & {});

/**
* Metadata
Expand Down Expand Up @@ -169,7 +169,7 @@ export namespace TransactionScanParams {
/**
* The nonce data availability mode.
*/
nonce_data_availability_mode?: 0;
nonce_data_availability_mode?: number;

/**
* For future use. Currently this value is always empty.
Expand Down

0 comments on commit 99f7491

Please sign in to comment.