@remit/account-worker 0.0.18 → 0.0.20

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.
Files changed (2) hide show
  1. package/package.json +2 -13
  2. package/src/config.ts +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/account-worker",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -48,19 +48,8 @@
48
48
  "@types/aws-lambda": "*"
49
49
  },
50
50
  "devDependencies": {
51
- "@aws-sdk/client-cloudfront": "*",
52
- "@aws-sdk/client-cognito-identity-provider": "*",
53
- "@aws-sdk/client-dynamodb": "*",
54
- "@aws-sdk/client-s3": "*",
55
51
  "@aws-sdk/core": "*",
56
- "@aws-sdk/lib-dynamodb": "*",
57
- "@aws-sdk/lib-storage": "*",
58
- "@aws-sdk/s3-request-presigner": "*",
59
- "@remit/domain-enums": "*",
60
- "@remit/search-service": "*",
61
- "aws-sdk-client-mock": "*",
62
- "esbuild": "^0.28.1",
63
- "p-map": "*"
52
+ "esbuild": "^0.28.1"
64
53
  },
65
54
  "license": "MIT",
66
55
  "publishConfig": {
package/src/config.ts CHANGED
@@ -41,11 +41,6 @@ export const getAccountFinalizeQueueUrl = (): string =>
41
41
  export const getAccountPurgeDeleteQueueUrl = (): string =>
42
42
  env.SQS_QUEUE_URL_ACCOUNT_PURGE_DELETE;
43
43
 
44
- const graceSecondsRaw = process.env.ACCOUNT_DELETION_GRACE_SECONDS;
45
- export const graceSeconds = graceSecondsRaw
46
- ? Number.parseInt(graceSecondsRaw, 10)
47
- : 60;
48
-
49
44
  // The RemitClient is resolved lazily and cached, not at module load: the
50
45
  // DynamoDB backend is injected by the composition root before the first cascade
51
46
  // runs, so building at import time would race the registration.