From af3af9810d6e22adb82c7c13fd831d85de5e0d01 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:41:54 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#51) --- .stats.yml | 2 +- tests/api-resources/token.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 56d2db4..2a0469d 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-7f2e5b40607d4c5038ac9983c3018631b0b5b6124b7940fde8b146ae420ccf90.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-70d69760b67a227d747163c65793595f2f064cbbce1e6df3a13505a8ca39eb8e.yml diff --git a/tests/api-resources/token.test.ts b/tests/api-resources/token.test.ts index 6b99338..bd60669 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: '0x833110ae77ad7d1f883ffc4f6eb0059143d2754c', + address: '0x66587563e933bbf3974b89156b47bb82b921eb35', chain: 'ethereum', }); const rawResponse = await responsePromise.asResponse(); @@ -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,