@allthings/sdk 10.1.4-beta.1 → 11.1.0-beta.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.
package/dist/cli.cjs CHANGED
@@ -12,7 +12,7 @@ function createTokenStore(initialToken) {
12
12
  };
13
13
  }
14
14
 
15
- const version = "10.1.4-beta.1";
15
+ const version = "11.1.0-beta.1";
16
16
  var packageJson = {
17
17
  version: version};
18
18
 
package/dist/lib.cjs CHANGED
@@ -11,7 +11,7 @@ function createTokenStore(initialToken) {
11
11
  };
12
12
  }
13
13
 
14
- const version = "10.1.4-beta.1";
14
+ const version = "11.1.0-beta.1";
15
15
  var packageJson = {
16
16
  version: version};
17
17
 
package/dist/lib.esm.mjs CHANGED
@@ -9,7 +9,7 @@ function createTokenStore(initialToken) {
9
9
  };
10
10
  }
11
11
 
12
- const version = "10.1.4-beta.1";
12
+ const version = "11.1.0-beta.1";
13
13
  var packageJson = {
14
14
  version: version};
15
15
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allthings/sdk",
3
- "version": "10.1.4-beta.1",
3
+ "version": "11.1.0-beta.1",
4
4
  "description": "",
5
5
  "author": "Allthings GmbH",
6
6
  "keywords": [
@@ -16,7 +16,7 @@
16
16
  "engines": {
17
17
  "node": "^22 || >=24"
18
18
  },
19
- "packageManager": "yarn@4.15.0",
19
+ "packageManager": "yarn@4.16.0",
20
20
  "type": "module",
21
21
  "main": "./dist/lib.cjs",
22
22
  "module": "./dist/lib.esm.mjs",
@@ -73,27 +73,25 @@
73
73
  "bottleneck": "2.19.5"
74
74
  },
75
75
  "devDependencies": {
76
- "@allthings/eslint-config": "4.0.0",
77
- "@commitlint/cli": "21.0.1",
78
- "@commitlint/config-conventional": "21.0.1",
79
- "@rollup/plugin-commonjs": "29.0.2",
76
+ "@allthings/eslint-config": "5.1.0",
77
+ "@commitlint/cli": "21.0.2",
78
+ "@commitlint/config-conventional": "21.0.2",
79
+ "@rollup/plugin-commonjs": "29.0.3",
80
80
  "@rollup/plugin-json": "6.1.0",
81
81
  "@rollup/plugin-node-resolve": "16.0.3",
82
- "@types/node": "24.12.4",
83
- "@vitest/coverage-v8": "4.1.7",
84
- "aws-sdk-client-mock": "4.1.0",
85
- "coveralls": "3.1.1",
86
- "eslint": "10.4.0",
82
+ "@types/node": "24.13.1",
83
+ "@vitest/coverage-v8": "4.1.8",
84
+ "eslint": "10.4.1",
87
85
  "husky": "9.1.7",
88
86
  "jsdom": "29.1.1",
89
- "lint-staged": "17.0.5",
87
+ "lint-staged": "17.0.7",
90
88
  "prettier": "3.8.3",
91
89
  "rimraf": "6.1.3",
92
- "rollup": "4.60.4",
90
+ "rollup": "4.61.1",
93
91
  "rollup-plugin-hashbang": "3.0.0",
94
92
  "semantic-release": "25.0.3",
95
93
  "typescript": "6.0.3",
96
- "vitest": "4.1.7"
94
+ "vitest": "4.1.8"
97
95
  },
98
96
  "prettier": {
99
97
  "printWidth": 80,
@@ -1,4 +1,4 @@
1
1
  import { MethodHttpRequest } from './request';
2
- export type DeleteResult = Promise<any>;
3
- export type MethodHttpDelete = (method: string, body?: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>) => DeleteResult;
4
- export default function del(request: MethodHttpRequest, method: string, body: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>): DeleteResult;
2
+ export type DeleteResult<T = any> = Promise<T>;
3
+ export type MethodHttpDelete = <T = any>(method: string, body?: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>) => DeleteResult<T>;
4
+ export default function del<T = any>(request: MethodHttpRequest, method: string, body: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>): DeleteResult<T>;
@@ -1,4 +1,4 @@
1
1
  import { MethodHttpRequest } from './request';
2
- export type GetResult = Promise<any>;
3
- export type MethodHttpGet = (method: string, query?: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>) => GetResult;
4
- export default function get(request: MethodHttpRequest, method: string, query: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>): GetResult;
2
+ export type GetResult<T = any> = Promise<T>;
3
+ export type MethodHttpGet = <T = any>(method: string, query?: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>) => GetResult<T>;
4
+ export default function get<T = any>(request: MethodHttpRequest, method: string, query: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>): GetResult<T>;
@@ -1,4 +1,4 @@
1
1
  import { MethodHttpRequest } from './request';
2
- export type PatchResult = Promise<any>;
3
- export type MethodHttpPatch = (method: string, body?: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>) => PatchResult;
4
- export default function patch(request: MethodHttpRequest, method: string, body: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>): PatchResult;
2
+ export type PatchResult<T = any> = Promise<T>;
3
+ export type MethodHttpPatch = <T = any>(method: string, body?: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>) => PatchResult<T>;
4
+ export default function patch<T = any>(request: MethodHttpRequest, method: string, body: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>): PatchResult<T>;
@@ -1,4 +1,4 @@
1
1
  import { MethodHttpRequest } from './request';
2
- export type PostResult = Promise<any>;
3
- export type MethodHttpPost = (method: string, body?: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>) => PostResult;
4
- export default function post(request: MethodHttpRequest, method: string, body: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>): PostResult;
2
+ export type PostResult<T = any> = Promise<T>;
3
+ export type MethodHttpPost = <T = any>(method: string, body?: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>) => PostResult<T>;
4
+ export default function post<T = any>(request: MethodHttpRequest, method: string, body: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>): PostResult<T>;
@@ -1,4 +1,4 @@
1
1
  import { MethodHttpRequest } from './request';
2
- export type PutResult = Promise<any>;
3
- export type MethodHttpPut = (method: string, body?: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>) => PutResult;
4
- export default function put(request: MethodHttpRequest, method: string, body: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>): PutResult;
2
+ export type PutResult<T = any> = Promise<T>;
3
+ export type MethodHttpPut = <T = any>(method: string, body?: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>) => PutResult<T>;
4
+ export default function put<T = any>(request: MethodHttpRequest, method: string, body: Record<string, any>, returnRawResultObject?: boolean, headers?: Readonly<Record<string, string>>): PutResult<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allthings/sdk",
3
- "version": "10.1.4-beta.1",
3
+ "version": "11.1.0-beta.1",
4
4
  "description": "",
5
5
  "author": "Allthings GmbH",
6
6
  "keywords": [
@@ -16,7 +16,7 @@
16
16
  "engines": {
17
17
  "node": "^22 || >=24"
18
18
  },
19
- "packageManager": "yarn@4.15.0",
19
+ "packageManager": "yarn@4.16.0",
20
20
  "type": "module",
21
21
  "main": "./dist/lib.cjs",
22
22
  "module": "./dist/lib.esm.mjs",
@@ -73,27 +73,25 @@
73
73
  "bottleneck": "2.19.5"
74
74
  },
75
75
  "devDependencies": {
76
- "@allthings/eslint-config": "4.0.0",
77
- "@commitlint/cli": "21.0.1",
78
- "@commitlint/config-conventional": "21.0.1",
79
- "@rollup/plugin-commonjs": "29.0.2",
76
+ "@allthings/eslint-config": "5.1.0",
77
+ "@commitlint/cli": "21.0.2",
78
+ "@commitlint/config-conventional": "21.0.2",
79
+ "@rollup/plugin-commonjs": "29.0.3",
80
80
  "@rollup/plugin-json": "6.1.0",
81
81
  "@rollup/plugin-node-resolve": "16.0.3",
82
- "@types/node": "24.12.4",
83
- "@vitest/coverage-v8": "4.1.7",
84
- "aws-sdk-client-mock": "4.1.0",
85
- "coveralls": "3.1.1",
86
- "eslint": "10.4.0",
82
+ "@types/node": "24.13.1",
83
+ "@vitest/coverage-v8": "4.1.8",
84
+ "eslint": "10.4.1",
87
85
  "husky": "9.1.7",
88
86
  "jsdom": "29.1.1",
89
- "lint-staged": "17.0.5",
87
+ "lint-staged": "17.0.7",
90
88
  "prettier": "3.8.3",
91
89
  "rimraf": "6.1.3",
92
- "rollup": "4.60.4",
90
+ "rollup": "4.61.1",
93
91
  "rollup-plugin-hashbang": "3.0.0",
94
92
  "semantic-release": "25.0.3",
95
93
  "typescript": "6.0.3",
96
- "vitest": "4.1.7"
94
+ "vitest": "4.1.8"
97
95
  },
98
96
  "prettier": {
99
97
  "printWidth": 80,