@aloma.io/integration-sdk 3.0.15 → 3.1.1

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.
@@ -61,7 +61,6 @@ class Fetcher {
61
61
  const theURL = `${baseUrl?.endsWith("/") ? baseUrl : baseUrl + "/"}${url}`.replace(/\/\/+/gi, "/");
62
62
  try {
63
63
  await local.customize(options, args);
64
- console.log(options, args);
65
64
  if (!options?.headers || !options?.headers?.Accept) {
66
65
  options.headers = {
67
66
  ...options.headers,
@@ -19,7 +19,7 @@
19
19
  "devDependencies": {
20
20
  "@types/node": "^18",
21
21
  "mocha": "^10",
22
- "prettier": "^2",
22
+ "prettier": "^3",
23
23
  "typescript": "^5"
24
24
  }
25
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.0.15",
3
+ "version": "3.1.1",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -79,8 +79,6 @@ class Fetcher {
79
79
  try {
80
80
  await local.customize(options, args);
81
81
 
82
- console.log(options, args);
83
-
84
82
  if (!options?.headers || !options?.headers?.Accept)
85
83
  {
86
84
  options.headers = {
@@ -12,7 +12,7 @@ COPY ./src ./src
12
12
 
13
13
  RUN set -e; addgroup -g 1111 connector; adduser -S -u 1111 -G connector connector
14
14
 
15
- RUN set -e; apk add --no-cache git; yarn config set --home enableTelemetry 0; chmod 755 /connector/entrypoint.sh; cd /connector/; yarn install --frozen-lockfile;
15
+ RUN set -e; apk add --no-cache git; yarn config set --home enableTelemetry 0; chmod 755 /connector/entrypoint.sh; cd /connector/; yarn install --frozen-lockfile; yarn build; rm -rf src
16
16
 
17
17
  USER connector
18
18
 
@@ -2,4 +2,4 @@
2
2
 
3
3
  cd /connector/
4
4
 
5
- exec node src/index.js $@
5
+ exec node build/index.mjs $@