File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88//
99// yarn prepack
1010//
11- import pRetry from 'p-retry'
11+ import pRetry , { AbortError } from 'p-retry'
1212import { Transloadit , ApiError } from 'transloadit'
1313
1414const transloadit = new Transloadit ( {
@@ -24,7 +24,7 @@ async function run() {
2424 } catch ( err ) {
2525 if ( err instanceof ApiError && err . code === 'INVALID_SIGNATURE' ) {
2626 // This is an unrecoverable error, abort retry
27- throw new pRetry . AbortError ( 'INVALID_SIGNATURE' )
27+ throw new AbortError ( 'INVALID_SIGNATURE' )
2828 }
2929 throw err
3030 }
Original file line number Diff line number Diff line change 11import { AssemblyInstructions , AssemblyInstructionsInput } from './alphalib/types/template.js'
22
3- export { assemblyInstructionsSchema } from './alphalib/types/template.js' ;
3+ export { assemblyInstructionsSchema } from './alphalib/types/template.js'
44
55export interface OptionalAuthParams {
66 auth ?: { key ?: string ; expires ?: string }
You can’t perform that action at this time.
0 commit comments