File tree Expand file tree Collapse file tree 5 files changed +25
-25
lines changed
Expand file tree Collapse file tree 5 files changed +25
-25
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,9 @@ export interface TypesenseCollectionDropFieldSchema {
7070 drop : true
7171}
7272
73- export interface TypesenseCollectionUpdateSchema
74- extends Partial < Omit < TypesenseCollectionCreateSchema , 'name' | 'fields' > > {
73+ export interface TypesenseCollectionUpdateSchema extends Partial <
74+ Omit < TypesenseCollectionCreateSchema , 'name' | 'fields' >
75+ > {
7576 fields ?: ( TypesenseCollectionFieldSchema | TypesenseCollectionDropFieldSchema ) [ ]
7677}
7778
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ export async function getAlgoChecksums(
4848 file . type === 'url'
4949 ? ( file as UrlFileObject ) . url
5050 : file . type === 'arweave'
51- ? urlJoin ( config . arweaveGateway , ( file as ArweaveFileObject ) . transactionId )
52- : file . type === 'ipfs'
53- ? urlJoin ( config . ipfsGateway , ( file as IpfsFileObject ) . hash )
54- : null
51+ ? urlJoin ( config . arweaveGateway , ( file as ArweaveFileObject ) . transactionId )
52+ : file . type === 'ipfs'
53+ ? urlJoin ( config . ipfsGateway , ( file as IpfsFileObject ) . hash )
54+ : null
5555
5656 const { contentChecksum } = await fetchFileMetadata ( url , 'get' , false )
5757 checksums . files = checksums . files . concat ( contentChecksum )
Original file line number Diff line number Diff line change @@ -102,9 +102,8 @@ export async function handleDownloadUrlCommand(
102102 headers [ 'Content-Length' . toLowerCase ( ) ] = fileMetadata . contentLength
103103
104104 if ( ! ( 'Content-Disposition' ?. toLowerCase ( ) in objTemp ) )
105- headers [
106- 'Content-Disposition' . toLowerCase ( )
107- ] = `attachment;filename=${ fileMetadata . name } `
105+ headers [ 'Content-Disposition' . toLowerCase ( ) ] =
106+ `attachment;filename=${ fileMetadata . name } `
108107 if ( encryptFile ) {
109108 // we parse the string into the object again
110109 const encryptedObject = ethCrypto . cipher . parse ( task . aes_encrypted_key )
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ async function formatMetadata(
2828 file . type === 'url'
2929 ? ( file as UrlFileObject ) . url
3030 : file . type === 'arweave'
31- ? urlJoin ( config . arweaveGateway , ( file as ArweaveFileObject ) . transactionId )
32- : file . type === 'ipfs'
33- ? urlJoin ( config . ipfsGateway , ( file as IpfsFileObject ) . hash )
34- : null
31+ ? urlJoin ( config . arweaveGateway , ( file as ArweaveFileObject ) . transactionId )
32+ : file . type === 'ipfs'
33+ ? urlJoin ( config . ipfsGateway , ( file as IpfsFileObject ) . hash )
34+ : null
3535
3636 const { contentLength, contentType, contentChecksum } = await fetchFileMetadata (
3737 url ,
Original file line number Diff line number Diff line change @@ -200,24 +200,24 @@ export class Blockchain {
200200 Number ( aggressiveFeePriorityFeePerGas ) < MIN_GAS_FEE_POLYGON
201201 ? MIN_GAS_FEE_POLYGON
202202 : chainId === BigInt ( SEPOLIA_NETWORK_ID ) &&
203- Number ( aggressiveFeePriorityFeePerGas ) < MIN_GAS_FEE_SEPOLIA
204- ? MIN_GAS_FEE_SEPOLIA
205- : KNOWN_CONFIDENTIAL_EVMS . includes ( chainId ) &&
206- Number ( aggressiveFeePriorityFeePerGas ) < MIN_GAS_FEE_SAPPHIRE
207- ? MIN_GAS_FEE_SAPPHIRE
208- : Number ( aggressiveFeePriorityFeePerGas ) ,
203+ Number ( aggressiveFeePriorityFeePerGas ) < MIN_GAS_FEE_SEPOLIA
204+ ? MIN_GAS_FEE_SEPOLIA
205+ : KNOWN_CONFIDENTIAL_EVMS . includes ( chainId ) &&
206+ Number ( aggressiveFeePriorityFeePerGas ) < MIN_GAS_FEE_SAPPHIRE
207+ ? MIN_GAS_FEE_SAPPHIRE
208+ : Number ( aggressiveFeePriorityFeePerGas ) ,
209209 maxFeePerGas :
210210 ( chainId === BigInt ( MUMBAI_NETWORK_ID ) ||
211211 chainId === BigInt ( POLYGON_NETWORK_ID ) ) &&
212212 Number ( aggressiveFeePerGas ) < MIN_GAS_FEE_POLYGON
213213 ? MIN_GAS_FEE_POLYGON
214214 : chainId === BigInt ( SEPOLIA_NETWORK_ID ) &&
215- Number ( aggressiveFeePerGas ) < MIN_GAS_FEE_SEPOLIA
216- ? MIN_GAS_FEE_SEPOLIA
217- : KNOWN_CONFIDENTIAL_EVMS . includes ( chainId ) &&
218- Number ( aggressiveFeePerGas ) < MIN_GAS_FEE_SAPPHIRE
219- ? MIN_GAS_FEE_SAPPHIRE
220- : Number ( aggressiveFeePerGas )
215+ Number ( aggressiveFeePerGas ) < MIN_GAS_FEE_SEPOLIA
216+ ? MIN_GAS_FEE_SEPOLIA
217+ : KNOWN_CONFIDENTIAL_EVMS . includes ( chainId ) &&
218+ Number ( aggressiveFeePerGas ) < MIN_GAS_FEE_SAPPHIRE
219+ ? MIN_GAS_FEE_SAPPHIRE
220+ : Number ( aggressiveFeePerGas )
221221 }
222222 return overrides
223223 } else {
You can’t perform that action at this time.
0 commit comments