@unito/integration-cli 1.0.2 → 1.0.3

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.
@@ -17,18 +17,18 @@
17
17
  "email": "hello@unito.io"
18
18
  },
19
19
  "engines": {
20
- "node": ">=22"
20
+ "node": ">=24"
21
21
  },
22
22
  "dependencies": {
23
- "@unito/integration-sdk": "^2.x"
23
+ "@unito/integration-sdk": "^5.0.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "22.x",
27
- "@typescript-eslint/eslint-plugin": "^8.29.0",
28
- "@typescript-eslint/parser": "^8.29.0",
26
+ "@eslint/js": "9.x",
27
+ "@types/node": "24.x",
29
28
  "eslint": "9.x",
29
+ "typescript-eslint": "^8.58.0",
30
30
  "prettier": "3.x",
31
31
  "tsx": "4.x",
32
- "typescript": "5.x"
32
+ "typescript": "6.x"
33
33
  }
34
34
  }
@@ -1,5 +1,6 @@
1
1
  import { GetCredentialAccountHandler } from '@unito/integration-sdk';
2
2
 
3
+ // eslint-disable-next-line @typescript-eslint/require-await -- Remove when adding async provider calls
3
4
  export const getCredentialAccount: GetCredentialAccountHandler = async () => {
4
5
  return {
5
6
  id: 'me',
@@ -1,5 +1,6 @@
1
1
  import { GetItemHandler } from '@unito/integration-sdk';
2
2
 
3
+ // eslint-disable-next-line @typescript-eslint/require-await -- Remove when adding async provider calls
3
4
  export const getItem: GetItemHandler = async () => {
4
5
  return {
5
6
  fields: {},
@@ -20,7 +20,7 @@ import { Credentials, Secrets } from '@unito/integration-sdk';
20
20
  * @param context The object containing the raw credentials
21
21
  * @returns The enriched credentials object
22
22
  */
23
- export const getCredentials = (context: { credentials: Credentials }) => {
23
+ export const getCredentials = (_context: { credentials: Credentials }) => {
24
24
  return {
25
25
  // Tweak these properties to suit your needs
26
26
  };
@@ -36,7 +36,7 @@ export const getCredentials = (context: { credentials: Credentials }) => {
36
36
  * @param context The object containing the raw secrets
37
37
  * @returns The enriched secrets object
38
38
  */
39
- export const getSecrets = (context: { secrets: Secrets }) => {
39
+ export const getSecrets = (_context: { secrets: Secrets }) => {
40
40
  return {
41
41
  // Tweak these properties to suit your needs
42
42
  };
@@ -4,7 +4,7 @@
4
4
  import { Provider } from '@unito/integration-sdk';
5
5
 
6
6
  const provider = new Provider({
7
- prepareRequest: options => {
7
+ prepareRequest: _options => {
8
8
  return {
9
9
  url: 'api.provider.com',
10
10
  headers: {
@@ -1,28 +1,20 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "baseUrl": ".",
4
3
  "declaration": true,
5
4
  "declarationMap": true,
6
- "emitDecoratorMetadata": true,
7
- "esModuleInterop": true,
8
- "experimentalDecorators": true,
9
5
  "forceConsistentCasingInFileNames": true,
10
6
  "incremental": true,
11
- "isolatedModules": false,
12
- "lib": ["dom", "ES2022"],
7
+ "lib": ["ES2024"],
13
8
  "module": "NodeNext",
9
+ "moduleResolution": "NodeNext",
14
10
  "noImplicitAny": true,
15
11
  "noFallthroughCasesInSwitch": true,
16
12
  "noUnusedLocals": true,
17
13
  "outDir": "./dist",
18
14
  "pretty": true,
19
- "moduleResolution": "NodeNext",
20
15
  "rootDir": ".",
21
16
  "sourceMap": true,
22
17
  "strict": true,
23
- "strictFunctionTypes": true,
24
- "strictNullChecks": true,
25
- "strictPropertyInitialization": false,
26
18
  "target": "esnext"
27
19
  }
28
20
  }
@@ -1007,5 +1007,5 @@
1007
1007
  ]
1008
1008
  }
1009
1009
  },
1010
- "version": "1.0.2"
1010
+ "version": "1.0.3"
1011
1011
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Integration CLI",
5
5
  "bin": {
6
6
  "integration-cli": "./bin/run"