-
-
Notifications
You must be signed in to change notification settings - Fork 94
16.0.0 #364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
16.0.0 #364
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Unchanged files with check annotations Beta
// | ||
class BlockCacheStrategy { | ||
private cache: Cache; | ||
Check warning on line 35 in src/block-cache.ts
|
||
constructor() { | ||
this.cache = {}; | ||
) | ||
) { | ||
if ( | ||
!result || | ||
Check warning on line 113 in src/block-cache.ts
|
||
!result.blockHash || | ||
result.blockHash === | ||
'0x0000000000000000000000000000000000000000000000000000000000000000' |
* @deprecated This function was created to support a now-deprecated signature | ||
* for {@link createFetchMiddleware}. It will be removed in a future major | ||
* version. | ||
* @param options - Options | ||
Check warning on line 279 in src/fetch.ts
|
||
* @param options.btoa - Generates a base64-encoded string from a binary string. | ||
* @param options.rpcUrl - The URL to send the request to. | ||
* @param options.originHttpHeaderKey - If provider, the origin field for each JSON-RPC request | ||
* will be attached to each outgoing fetch request under this header. | ||
* @param options.req | ||
Check warning on line 284 in src/fetch.ts
|
||
* @returns The fetch middleware. | ||
*/ | ||
export function createFetchConfigFromReq({ |
}; | ||
/** | ||
* Normalizes the messageData for the eth_signTypedData | ||
Check warning on line 15 in src/utils/normalize.ts
|
||
* | ||
* @param messageData - The messageData to normalize. | ||
* @returns The normalized messageData. | ||
} | ||
/** | ||
* Parses the messageData to obtain the data object for EIP712 normalization | ||
Check warning on line 41 in src/utils/normalize.ts
|
||
* | ||
* @param data - The messageData to parse. | ||
* @returns The data object for EIP712 normalization. | ||
} | ||
/** | ||
* Normalizes the address to standard hexadecimal format | ||
Check warning on line 55 in src/utils/normalize.ts
|
||
* | ||
* @param address - The address to normalize. | ||
* @returns The normalized address. |
jest.advanceTimersByTime(50); | ||
expect(promise).toNeverResolve(); | ||
Check warning on line 48 in src/utils/timeout.test.ts
|
||
}); | ||
it('resolves after the given duration', async () => { |
* | ||
* @param address - The address to validate and normalize. | ||
* @param req - The request object. | ||
* @returns {string} - The normalized address, if valid. Otherwise, throws | ||
Check warning on line 464 in src/wallet.ts
|
||
* an error | ||
*/ | ||
async function validateAndNormalizeKeyholder( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, interesting. It looks like we have two versions of this package in the lock. Do you have a guess for why this is the case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I though that was strange too 😄
Circular dependency via the network controller I believe.