fix: enhanced provider api key fallback behavior (#2194) #715
Annotations
5 errors
Create Release Pull Request:
packages/rainbowkit/src/core/network/internal/rainbowFetch.ts#L98
Error: Invalid API Key.
β― generateError packages/rainbowkit/src/core/network/internal/rainbowFetch.ts:98:36
β― rainbowFetch packages/rainbowkit/src/core/network/internal/rainbowFetch.ts:55:17
β― packages/rainbowkit/src/core/network/enhancedProvider.test.ts:19:22
β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―
Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'https://enhanced-provider.rainbow.me/healthcheck', redirected: false, status: 401, ok: false, statusText: 'Unauthorized', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, responseBody: { error: 'Invalid API Key.' }, requestBody: undefined }
|
Create Release Pull Request:
packages/rainbowkit/src/core/network/enhancedProvider.test.ts#L28
AssertionError: expected [Function] to throw error including 'Not Found' but got 'Invalid API Key.'
Expected: "Not Found"
Received: "Invalid API Key."
β― packages/rainbowkit/src/core/network/enhancedProvider.test.ts:28:5
|
Create Release Pull Request:
packages/rainbowkit/src/core/network/internal/rainbowFetch.ts#L98
Error: Invalid API Key.
β― generateError packages/rainbowkit/src/core/network/internal/rainbowFetch.ts:98:36
β― rainbowFetch packages/rainbowkit/src/core/network/internal/rainbowFetch.ts:55:17
β― packages/rainbowkit/src/core/network/enhancedProvider.test.ts:35:22
β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―
Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'https://enhanced-provider.rainbow.me/v1/resolve-ens?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', redirected: false, status: 401, ok: false, statusText: 'Unauthorized', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, responseBody: { error: 'Invalid API Key.' }, requestBody: undefined }
|
Create Release Pull Request
Error: The process '/usr/bin/git' failed with exit code 1
|
Create Release Pull Request
The process '/usr/bin/git' failed with exit code 1
|
Loading