@chevre/domain 24.0.0-alpha.55 → 24.0.0-alpha.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -206,7 +206,9 @@ function handleMvtkReserveError(error) {
206
206
  }
207
207
  // タイムアウト設定によって中止されたリクエストの場合
208
208
  // const uri: string | undefined = error.requestOptions?.uri;
209
- if (error.name === 'AbortError') {
209
+ if (error.name === 'AbortError'
210
+ || error.name === 'TimeoutError' // native AbortSignalの場合
211
+ ) {
210
212
  handledError = new factory_1.errors.GatewayTimeout(`Gateway Timeout. name:${error.name} type:${error.type} message:${error.message}`);
211
213
  }
212
214
  return handledError;
@@ -160,7 +160,10 @@ function authorize(params) {
160
160
  // "name": "AbortError"
161
161
  // }
162
162
  const rawError = Array.isArray(error) ? error[1] : undefined;
163
- if (rawError !== undefined && rawError.name !== 'AbortError') {
163
+ if (rawError !== undefined
164
+ && rawError.name !== 'AbortError'
165
+ && rawError.name !== 'TimeoutError' // native AbortSignalの場合
166
+ ) {
164
167
  await (0, processVoidPayTransaction_1.processVoidPayTransaction)({
165
168
  project: actionAttributes.project,
166
169
  id: action.id,
package/package.json CHANGED
@@ -11,12 +11,12 @@
11
11
  "dependencies": {
12
12
  "@aws-sdk/client-cognito-identity-provider": "3.600.0",
13
13
  "@aws-sdk/credential-providers": "3.600.0",
14
- "@chevre/factory": "6.2.0-alpha.2",
15
- "@cinerino/sdk": "13.4.0-alpha.0",
14
+ "@chevre/factory": "6.2.0-alpha.3",
15
+ "@cinerino/sdk": "14.0.0-alpha.1",
16
16
  "@motionpicture/coa-service": "9.6.0",
17
17
  "@motionpicture/gmo-service": "5.4.0-alpha.1",
18
18
  "@sendgrid/client": "8.1.4",
19
- "@surfrock/sdk": "2.0.0-alpha.0",
19
+ "@surfrock/sdk": "2.0.0-alpha.1",
20
20
  "debug": "^3.2.7",
21
21
  "google-libphonenumber": "^3.2.18",
22
22
  "http-status": "^1.5.0",
@@ -97,5 +97,5 @@
97
97
  "postversion": "git push origin --tags",
98
98
  "prepublishOnly": "npm run clean && npm run build"
99
99
  },
100
- "version": "24.0.0-alpha.55"
100
+ "version": "24.0.0-alpha.57"
101
101
  }