Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 28, 2024
1 parent dfbbdee commit af3af98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-7f2e5b40607d4c5038ac9983c3018631b0b5b6124b7940fde8b146ae420ccf90.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-70d69760b67a227d747163c65793595f2f064cbbce1e6df3a13505a8ca39eb8e.yml
4 changes: 2 additions & 2 deletions tests/api-resources/token.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const blockaid = new Blockaid({
describe('resource token', () => {
test('scan: only required params', async () => {
const responsePromise = blockaid.token.scan({
address: '0x833110ae77ad7d1f883ffc4f6eb0059143d2754c',
address: '0x66587563e933bbf3974b89156b47bb82b921eb35',
chain: 'ethereum',
});
const rawResponse = await responsePromise.asResponse();
Expand All @@ -25,7 +25,7 @@ describe('resource token', () => {

test('scan: required and optional params', async () => {
const response = await blockaid.token.scan({
address: '0x833110ae77ad7d1f883ffc4f6eb0059143d2754c',
address: '0x66587563e933bbf3974b89156b47bb82b921eb35',
chain: 'ethereum',
metadata: { domain: 'string' },
token_id: 0,
Expand Down

0 comments on commit af3af98

Please sign in to comment.