Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#50)
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 83f3c0e commit dfbbdee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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-89ba99361c18e81fe5bce95a7486c5de5d6f62498d6db5f62fd1f4cdefc3fb63.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-7f2e5b40607d4c5038ac9983c3018631b0b5b6124b7940fde8b146ae420ccf90.yml
6 changes: 3 additions & 3 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: '0x630acfba8e410d9978ceb68500ce5ffb91f2a05f',
address: '0x833110ae77ad7d1f883ffc4f6eb0059143d2754c',
chain: 'ethereum',
});
const rawResponse = await responsePromise.asResponse();
Expand All @@ -25,9 +25,9 @@ describe('resource token', () => {

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

0 comments on commit dfbbdee

Please sign in to comment.