theauthapi 1.0.12 → 1.0.15

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 (33) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +366 -334
  3. package/dist/endpoints/Accounts/Accounts.d.ts +10 -10
  4. package/dist/endpoints/Accounts/Accounts.js +22 -24
  5. package/dist/endpoints/Accounts/AccountsInterface.d.ts +4 -4
  6. package/dist/endpoints/Accounts/AccountsInterface.js +1 -2
  7. package/dist/endpoints/ApiKeys/ApiKeys.d.ts +19 -19
  8. package/dist/endpoints/ApiKeys/ApiKeys.js +80 -85
  9. package/dist/endpoints/ApiKeys/ApiKeysInterface.d.ts +12 -12
  10. package/dist/endpoints/ApiKeys/ApiKeysInterface.js +1 -2
  11. package/dist/endpoints/Projects/Projects.d.ts +14 -14
  12. package/dist/endpoints/Projects/Projects.js +42 -44
  13. package/dist/endpoints/Projects/ProjectsInterface.d.ts +8 -8
  14. package/dist/endpoints/Projects/ProjectsInterface.js +1 -2
  15. package/dist/index.cjs +336 -0
  16. package/dist/index.d.ts +200 -26
  17. package/dist/index.js +69 -74
  18. package/dist/index.mjs +334 -0
  19. package/dist/libraryMeta.d.ts +1 -1
  20. package/dist/libraryMeta.js +1 -4
  21. package/dist/services/ApiRequest/ApiCall.d.ts +5 -5
  22. package/dist/services/ApiRequest/ApiCall.js +1 -2
  23. package/dist/services/ApiRequest/ApiRequest.d.ts +24 -24
  24. package/dist/services/ApiRequest/ApiRequest.js +110 -115
  25. package/dist/services/ApiRequest/ApiRequestError.d.ts +10 -10
  26. package/dist/services/ApiRequest/ApiRequestError.js +13 -15
  27. package/dist/services/ApiRequest/ApiResponseError.d.ts +12 -12
  28. package/dist/services/ApiRequest/ApiResponseError.js +15 -17
  29. package/dist/services/ApiRequest/HttpMethod.d.ts +7 -7
  30. package/dist/services/ApiRequest/HttpMethod.js +8 -11
  31. package/dist/types/index.d.ts +85 -85
  32. package/dist/types/index.js +10 -13
  33. package/package.json +17 -6
@@ -1,115 +1,110 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const axios_1 = __importDefault(require("axios"));
16
- const libraryMeta_1 = require("../../libraryMeta");
17
- const ApiRequestError_1 = __importDefault(require("./ApiRequestError"));
18
- const axios_retry_1 = __importDefault(require("axios-retry"));
19
- const ApiResponseError_1 = __importDefault(require("./ApiResponseError"));
20
- class ApiRequest {
21
- constructor(config) {
22
- const { host, accessKey, headers, retryCount } = config;
23
- this.host = host;
24
- this.accessKey = accessKey;
25
- this.headers = this._generateDefaultHeaders();
26
- this.retryCount = retryCount !== null && retryCount !== void 0 ? retryCount : 3;
27
- if (headers) {
28
- this.headers = Object.assign(Object.assign({}, this.headers), { headers });
29
- }
30
- this._init();
31
- }
32
- _init() {
33
- var _a;
34
- const isoDateFormat = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d*)?(?:[-+]\d{2}:?\d{2}|Z)?$/;
35
- function isIsoDateString(value) {
36
- return value && typeof value === "string" && isoDateFormat.test(value);
37
- }
38
- function handleDates(body) {
39
- if (body === null || body === undefined || typeof body !== "object") {
40
- return body;
41
- }
42
- for (const key of Object.keys(body)) {
43
- const value = body[key];
44
- if (isIsoDateString(value)) {
45
- body[key] = new Date(value);
46
- }
47
- else if (typeof value === "object") {
48
- handleDates(value);
49
- }
50
- }
51
- }
52
- axios_1.default.interceptors.response.use((response) => {
53
- handleDates(response.data);
54
- return response;
55
- });
56
- (0, axios_retry_1.default)(axios_1.default, {
57
- retries: (_a = this.retryCount) !== null && _a !== void 0 ? _a : 3,
58
- retryCondition: this._isErrorRetryable,
59
- retryDelay: axios_retry_1.default.exponentialDelay,
60
- });
61
- }
62
- request(method, endpoint, payload) {
63
- var _a;
64
- return __awaiter(this, void 0, void 0, function* () {
65
- try {
66
- const response = yield axios_1.default.request({
67
- baseURL: this.host,
68
- method: method,
69
- url: endpoint,
70
- data: payload,
71
- headers: this.headers,
72
- });
73
- return response.data;
74
- }
75
- catch (error) {
76
- if (axios_1.default.isAxiosError(error)) {
77
- if (error.response) {
78
- throw new ApiResponseError_1.default(error.response.status, (_a = error.response.data.message) !== null && _a !== void 0 ? _a : error.response.statusText);
79
- }
80
- else if (error.request) {
81
- throw new ApiRequestError_1.default(error.message);
82
- }
83
- }
84
- throw error;
85
- }
86
- });
87
- }
88
- _generateDefaultHeaders() {
89
- return {
90
- "user-agent": `theauthapi-client-node/${libraryMeta_1.version}`,
91
- "x-api-key": this.accessKey,
92
- "api-key": this.accessKey,
93
- };
94
- }
95
- _isErrorRetryable(error) {
96
- // Retry Network Errors.
97
- if (axios_retry_1.default.isNetworkError(error)) {
98
- return true;
99
- }
100
- if (!error.response) {
101
- // Cannot determine if the request can be retried
102
- return false;
103
- }
104
- // Retry Server Errors (5xx).
105
- if (error.response.status >= 500 && error.response.status <= 599) {
106
- return true;
107
- }
108
- // Retry if rate limited.
109
- if (error.response.status === 429) {
110
- return true;
111
- }
112
- return false;
113
- }
114
- }
115
- exports.default = ApiRequest;
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import axios from "axios";
11
+ import { version } from "../../libraryMeta";
12
+ import ApiRequestError from "./ApiRequestError";
13
+ import axiosRetry from "axios-retry";
14
+ import ApiResponseError from "./ApiResponseError";
15
+ class ApiRequest {
16
+ constructor(config) {
17
+ const { host, accessKey, headers, retryCount } = config;
18
+ this.host = host;
19
+ this.accessKey = accessKey;
20
+ this.headers = this._generateDefaultHeaders();
21
+ this.retryCount = retryCount !== null && retryCount !== void 0 ? retryCount : 3;
22
+ if (headers) {
23
+ this.headers = Object.assign(Object.assign({}, this.headers), { headers });
24
+ }
25
+ this._init();
26
+ }
27
+ _init() {
28
+ var _a;
29
+ const isoDateFormat = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d*)?(?:[-+]\d{2}:?\d{2}|Z)?$/;
30
+ function isIsoDateString(value) {
31
+ return value && typeof value === "string" && isoDateFormat.test(value);
32
+ }
33
+ function handleDates(body) {
34
+ if (body === null || body === undefined || typeof body !== "object") {
35
+ return body;
36
+ }
37
+ for (const key of Object.keys(body)) {
38
+ const value = body[key];
39
+ if (isIsoDateString(value)) {
40
+ body[key] = new Date(value);
41
+ }
42
+ else if (typeof value === "object") {
43
+ handleDates(value);
44
+ }
45
+ }
46
+ }
47
+ axios.interceptors.response.use((response) => {
48
+ handleDates(response.data);
49
+ return response;
50
+ });
51
+ axiosRetry(axios, {
52
+ retries: (_a = this.retryCount) !== null && _a !== void 0 ? _a : 3,
53
+ retryCondition: this._isErrorRetryable,
54
+ retryDelay: axiosRetry.exponentialDelay,
55
+ });
56
+ }
57
+ request(method, endpoint, payload) {
58
+ var _a;
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ try {
61
+ const response = yield axios.request({
62
+ baseURL: this.host,
63
+ method: method,
64
+ url: endpoint,
65
+ data: payload,
66
+ headers: this.headers,
67
+ });
68
+ return response.data;
69
+ }
70
+ catch (error) {
71
+ if (axios.isAxiosError(error)) {
72
+ if (error.response) {
73
+ throw new ApiResponseError(error.response.status, (_a = error.response.data.message) !== null && _a !== void 0 ? _a : error.response.statusText);
74
+ }
75
+ else if (error.request) {
76
+ throw new ApiRequestError(error.message);
77
+ }
78
+ }
79
+ throw error;
80
+ }
81
+ });
82
+ }
83
+ _generateDefaultHeaders() {
84
+ return {
85
+ "user-agent": `theauthapi-client-node/${version}`,
86
+ "x-api-key": this.accessKey,
87
+ "api-key": this.accessKey,
88
+ };
89
+ }
90
+ _isErrorRetryable(error) {
91
+ // Retry Network Errors.
92
+ if (axiosRetry.isNetworkError(error)) {
93
+ return true;
94
+ }
95
+ if (!error.response) {
96
+ // Cannot determine if the request can be retried
97
+ return false;
98
+ }
99
+ // Retry Server Errors (5xx).
100
+ if (error.response.status >= 500 && error.response.status <= 599) {
101
+ return true;
102
+ }
103
+ // Retry if rate limited.
104
+ if (error.response.status === 429) {
105
+ return true;
106
+ }
107
+ return false;
108
+ }
109
+ }
110
+ export default ApiRequest;
@@ -1,10 +1,10 @@
1
- /**
2
- *
3
- * Throws when no response was received from the server
4
- * @param message - error message
5
- *
6
- * */
7
- declare class ApiRequestError extends Error {
8
- constructor(message: string);
9
- }
10
- export default ApiRequestError;
1
+ /**
2
+ *
3
+ * Throws when no response was received from the server
4
+ * @param message - error message
5
+ *
6
+ * */
7
+ declare class ApiRequestError extends Error {
8
+ constructor(message: string);
9
+ }
10
+ export default ApiRequestError;
@@ -1,15 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- *
5
- * Throws when no response was received from the server
6
- * @param message - error message
7
- *
8
- * */
9
- class ApiRequestError extends Error {
10
- constructor(message) {
11
- super(message);
12
- this.name = 'ApiRequestError';
13
- }
14
- }
15
- exports.default = ApiRequestError;
1
+ /**
2
+ *
3
+ * Throws when no response was received from the server
4
+ * @param message - error message
5
+ *
6
+ * */
7
+ class ApiRequestError extends Error {
8
+ constructor(message) {
9
+ super(message);
10
+ this.name = 'ApiRequestError';
11
+ }
12
+ }
13
+ export default ApiRequestError;
@@ -1,12 +1,12 @@
1
- /**
2
- *
3
- * Throws when the server responds with a status code that falls out of the range 2xx
4
- * @param statusCode - HTTP status code the server responded with
5
- * @param message - error message
6
- *
7
- * */
8
- declare class ApiResponseError extends Error {
9
- statusCode: number;
10
- constructor(statusCode: number, message: string);
11
- }
12
- export default ApiResponseError;
1
+ /**
2
+ *
3
+ * Throws when the server responds with a status code that falls out of the range 2xx
4
+ * @param statusCode - HTTP status code the server responded with
5
+ * @param message - error message
6
+ *
7
+ * */
8
+ declare class ApiResponseError extends Error {
9
+ statusCode: number;
10
+ constructor(statusCode: number, message: string);
11
+ }
12
+ export default ApiResponseError;
@@ -1,17 +1,15 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- *
5
- * Throws when the server responds with a status code that falls out of the range 2xx
6
- * @param statusCode - HTTP status code the server responded with
7
- * @param message - error message
8
- *
9
- * */
10
- class ApiResponseError extends Error {
11
- constructor(statusCode, message) {
12
- super(`(${statusCode}): ${message}`);
13
- this.statusCode = statusCode;
14
- this.name = "ApiResponseError";
15
- }
16
- }
17
- exports.default = ApiResponseError;
1
+ /**
2
+ *
3
+ * Throws when the server responds with a status code that falls out of the range 2xx
4
+ * @param statusCode - HTTP status code the server responded with
5
+ * @param message - error message
6
+ *
7
+ * */
8
+ class ApiResponseError extends Error {
9
+ constructor(statusCode, message) {
10
+ super(`(${statusCode}): ${message}`);
11
+ this.statusCode = statusCode;
12
+ this.name = "ApiResponseError";
13
+ }
14
+ }
15
+ export default ApiResponseError;
@@ -1,7 +1,7 @@
1
- export declare enum HttpMethod {
2
- GET = "GET",
3
- POST = "POST",
4
- DELETE = "DELETE",
5
- PATCH = "PATCH",
6
- PUT = "PUT"
7
- }
1
+ export declare enum HttpMethod {
2
+ GET = "GET",
3
+ POST = "POST",
4
+ DELETE = "DELETE",
5
+ PATCH = "PATCH",
6
+ PUT = "PUT"
7
+ }
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HttpMethod = void 0;
4
- var HttpMethod;
5
- (function (HttpMethod) {
6
- HttpMethod["GET"] = "GET";
7
- HttpMethod["POST"] = "POST";
8
- HttpMethod["DELETE"] = "DELETE";
9
- HttpMethod["PATCH"] = "PATCH";
10
- HttpMethod["PUT"] = "PUT";
11
- })(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {}));
1
+ export var HttpMethod;
2
+ (function (HttpMethod) {
3
+ HttpMethod["GET"] = "GET";
4
+ HttpMethod["POST"] = "POST";
5
+ HttpMethod["DELETE"] = "DELETE";
6
+ HttpMethod["PATCH"] = "PATCH";
7
+ HttpMethod["PUT"] = "PUT";
8
+ })(HttpMethod || (HttpMethod = {}));
@@ -1,85 +1,85 @@
1
- export type ApiKey = {
2
- key: string;
3
- name: string;
4
- customMetaData: AnyJson;
5
- customAccountId: string;
6
- customUserId: string;
7
- env: Environment;
8
- createdAt: Date;
9
- updatedAt: Date;
10
- isActive: boolean;
11
- rateLimitConfigs: RateLimitConfiguration;
12
- expiry: Date;
13
- };
14
- export type RateLimitConfiguration = {
15
- rateLimit: number;
16
- rateLimitTtl: number;
17
- };
18
- export type ApiKeyInput = {
19
- name: string;
20
- projectId?: string;
21
- key?: string;
22
- customMetaData?: AnyJson;
23
- customAccountId?: string;
24
- customUserId?: string;
25
- rateLimitConfigs?: RateLimitConfiguration;
26
- expiry?: Date;
27
- };
28
- export type ApiKeyFilter = {
29
- projectId?: string;
30
- name?: string;
31
- customAccountId?: string | null;
32
- customUserId?: string | null;
33
- isActive?: boolean;
34
- };
35
- export type UpdateApiKeyInput = {
36
- name: string;
37
- key?: string;
38
- customMetaData?: AnyJson;
39
- customAccountId?: string;
40
- customUserId?: string;
41
- expiry?: Date | null;
42
- rateLimitConfigs?: RateLimitConfiguration | null;
43
- };
44
- export declare enum AuthedEntityType {
45
- USER = "USER",
46
- ACCESS_KEY = "ACCESS_KEY"
47
- }
48
- export type AuthBaseEntity = {
49
- isActive: boolean;
50
- createdBy: string;
51
- createdByType?: AuthedEntityType;
52
- createdIn: string;
53
- lastChangedBy: string;
54
- lastChangedByType?: AuthedEntityType;
55
- updatedAt: Date;
56
- createdAt: Date;
57
- };
58
- export type Project = AuthBaseEntity & {
59
- id: string;
60
- name: string;
61
- accountId: string;
62
- env: Environment;
63
- };
64
- export declare enum Environment {
65
- LIVE = "live",
66
- TEST = "test"
67
- }
68
- export type CreateProjectInput = {
69
- name: string;
70
- accountId: string;
71
- env: Environment;
72
- };
73
- export type UpdateProjectInput = {
74
- name: string;
75
- };
76
- export type Account = AuthBaseEntity & {
77
- id: string;
78
- name: string;
79
- };
80
- type AnyJson = boolean | number | string | null | JsonArray | JsonMap;
81
- type JsonMap = {
82
- [key: string]: AnyJson;
83
- };
84
- type JsonArray = Array<AnyJson>;
85
- export {};
1
+ export type ApiKey = {
2
+ key: string;
3
+ name: string;
4
+ customMetaData: AnyJson;
5
+ customAccountId: string;
6
+ customUserId: string;
7
+ env: Environment;
8
+ createdAt: Date;
9
+ updatedAt: Date;
10
+ isActive: boolean;
11
+ rateLimitConfigs: RateLimitConfiguration;
12
+ expiry: Date;
13
+ };
14
+ export type RateLimitConfiguration = {
15
+ rateLimit: number;
16
+ rateLimitTtl: number;
17
+ };
18
+ export type ApiKeyInput = {
19
+ name: string;
20
+ projectId?: string;
21
+ key?: string;
22
+ customMetaData?: AnyJson;
23
+ customAccountId?: string;
24
+ customUserId?: string;
25
+ rateLimitConfigs?: RateLimitConfiguration;
26
+ expiry?: Date;
27
+ };
28
+ export type ApiKeyFilter = {
29
+ projectId?: string;
30
+ name?: string;
31
+ customAccountId?: string | null;
32
+ customUserId?: string | null;
33
+ isActive?: boolean;
34
+ };
35
+ export type UpdateApiKeyInput = {
36
+ name: string;
37
+ key?: string;
38
+ customMetaData?: AnyJson;
39
+ customAccountId?: string;
40
+ customUserId?: string;
41
+ expiry?: Date | null;
42
+ rateLimitConfigs?: RateLimitConfiguration | null;
43
+ };
44
+ export declare enum AuthedEntityType {
45
+ USER = "USER",
46
+ ACCESS_KEY = "ACCESS_KEY"
47
+ }
48
+ export type AuthBaseEntity = {
49
+ isActive: boolean;
50
+ createdBy: string;
51
+ createdByType?: AuthedEntityType;
52
+ createdIn: string;
53
+ lastChangedBy: string;
54
+ lastChangedByType?: AuthedEntityType;
55
+ updatedAt: Date;
56
+ createdAt: Date;
57
+ };
58
+ export type Project = AuthBaseEntity & {
59
+ id: string;
60
+ name: string;
61
+ accountId: string;
62
+ env: Environment;
63
+ };
64
+ export declare enum Environment {
65
+ LIVE = "live",
66
+ TEST = "test"
67
+ }
68
+ export type CreateProjectInput = {
69
+ name: string;
70
+ accountId: string;
71
+ env: Environment;
72
+ };
73
+ export type UpdateProjectInput = {
74
+ name: string;
75
+ };
76
+ export type Account = AuthBaseEntity & {
77
+ id: string;
78
+ name: string;
79
+ };
80
+ type AnyJson = boolean | number | string | null | JsonArray | JsonMap;
81
+ type JsonMap = {
82
+ [key: string]: AnyJson;
83
+ };
84
+ type JsonArray = Array<AnyJson>;
85
+ export {};
@@ -1,13 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Environment = exports.AuthedEntityType = void 0;
4
- var AuthedEntityType;
5
- (function (AuthedEntityType) {
6
- AuthedEntityType["USER"] = "USER";
7
- AuthedEntityType["ACCESS_KEY"] = "ACCESS_KEY";
8
- })(AuthedEntityType = exports.AuthedEntityType || (exports.AuthedEntityType = {}));
9
- var Environment;
10
- (function (Environment) {
11
- Environment["LIVE"] = "live";
12
- Environment["TEST"] = "test";
13
- })(Environment = exports.Environment || (exports.Environment = {}));
1
+ export var AuthedEntityType;
2
+ (function (AuthedEntityType) {
3
+ AuthedEntityType["USER"] = "USER";
4
+ AuthedEntityType["ACCESS_KEY"] = "ACCESS_KEY";
5
+ })(AuthedEntityType || (AuthedEntityType = {}));
6
+ export var Environment;
7
+ (function (Environment) {
8
+ Environment["LIVE"] = "live";
9
+ Environment["TEST"] = "test";
10
+ })(Environment || (Environment = {}));
package/package.json CHANGED
@@ -1,9 +1,11 @@
1
1
  {
2
2
  "name": "theauthapi",
3
- "version": "1.0.12",
3
+ "version": "1.0.15",
4
4
  "description": "Client library for TheAuthAPI.com",
5
- "main": "dist/index.js",
5
+ "main": "dist/index.cjs",
6
+ "module": "dist/index.mjs",
6
7
  "types": "dist/index.d.ts",
8
+ "type": "module",
7
9
  "files": [
8
10
  "dist"
9
11
  ],
@@ -14,8 +16,11 @@
14
16
  "scripts": {
15
17
  "test": "jest --runInBand",
16
18
  "test:coverage": "jest --coverage --runInBand",
17
- "build": "tsc",
18
- "prepublish": "npm run build"
19
+ "build": "rollup -c",
20
+ "ci": "npm run build && npm run test",
21
+ "changeset": "npx changeset",
22
+ "prepublishOnly": "npm run ci",
23
+ "local-release": "changeset version && changeset publish"
19
24
  },
20
25
  "repository": {
21
26
  "type": "git",
@@ -29,11 +34,15 @@
29
34
  "homepage": "https://github.com/thatapicompany/theauthapi#readme",
30
35
  "dependencies": {
31
36
  "assert": "^2.0.0",
32
- "axios": "^0.21.4",
37
+ "axios": "^1.8.4",
33
38
  "axios-retry": "^3.1.9",
34
39
  "remove-trailing-slash": "^0.1.1"
35
40
  },
36
41
  "devDependencies": {
42
+ "@changesets/cli": "^2.28.1",
43
+ "@rollup/plugin-commonjs": "^28.0.3",
44
+ "@rollup/plugin-node-resolve": "^16.0.1",
45
+ "@rollup/plugin-typescript": "^12.1.2",
37
46
  "@types/express": "^4.17.13",
38
47
  "@types/jest": "^27.5.2",
39
48
  "@types/lodash.isstring": "^4.0.6",
@@ -48,7 +57,9 @@
48
57
  "express": "^4.15.2",
49
58
  "jest": "^29.7.0",
50
59
  "prettier": "2.6.2",
60
+ "rollup": "^4.37.0",
61
+ "rollup-plugin-dts": "^6.2.1",
51
62
  "ts-jest": "^29.1.1",
52
- "typescript": "^4.6.3"
63
+ "typescript": "^4.9.5"
53
64
  }
54
65
  }