From dfbbdee925e789d881c50154fb010db3e2194f82 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 May 2024 19:38:41 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#50) --- .stats.yml | 2 +- tests/api-resources/token.test.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 2e3c341..56d2db4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/tests/api-resources/token.test.ts b/tests/api-resources/token.test.ts index cfe5db5..6b99338 100644 --- a/tests/api-resources/token.test.ts +++ b/tests/api-resources/token.test.ts @@ -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(); @@ -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, }); });