diff --git a/package-lock.json b/package-lock.json index 015410712ab..ecc63f29227 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35154,7 +35154,7 @@ "@babel/parser": "^7.22.5", "@babel/traverse": "^7.22.5", "@babel/types": "^7.22.5", - "@nangohq/nango-yaml": "0.48.1", + "@nangohq/nango-yaml": "0.48.2", "@nangohq/shared": "^0.48.2", "@swc/core": "^1.5.25", "ajv": "^8.17.1", @@ -35188,7 +35188,7 @@ "@babel/core": "^7.22.1", "@babel/preset-env": "^7.22.4", "@babel/preset-typescript": "^7.21.5", - "@nangohq/types": "0.48.1", + "@nangohq/types": "0.48.2", "@types/babel__traverse": "^7.20.1", "@types/babel-traverse": "^6.25.7", "@types/commander": "^2.12.2", @@ -35209,22 +35209,6 @@ "node": ">=18.0" } }, - "packages/cli/node_modules/@nangohq/nango-yaml": { - "version": "0.48.1", - "resolved": "https://registry.npmjs.org/@nangohq/nango-yaml/-/nango-yaml-0.48.1.tgz", - "integrity": "sha512-c74BXYPtxuqV740YnkQUVVMwwvHH9Lun2pxCi+RRaDqUGJkwTjB1TtXqAjX/5i6YbgJDNnJkL6u9YsyMlOzNgg==", - "dependencies": { - "js-yaml": "^4.1.0", - "ms": "3.0.0-canary.1" - } - }, - "packages/cli/node_modules/@nangohq/types": { - "version": "0.48.1", - "resolved": "https://registry.npmjs.org/@nangohq/types/-/types-0.48.1.tgz", - "integrity": "sha512-qHubw5zLQo6oreMChZmDMmFAWQyT5aVB8F1p0aZhzuTlep9j35nMNzBEEdTH2xZVsP58LZ2KrQJl+kHtOeVmFQ==", - "dev": true, - "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY" - }, "packages/cli/node_modules/ajv": { "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", @@ -35302,15 +35286,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "packages/cli/node_modules/ms": { - "version": "3.0.0-canary.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-3.0.0-canary.1.tgz", - "integrity": "sha512-kh8ARjh8rMN7Du2igDRO9QJnqCb2xYTJxyQYK7vJJS4TvLLmsbyhiKpSW+t+y26gyOyMd0riphX0GeWKU3ky5g==", - "license": "MIT", - "engines": { - "node": ">=12.13" - } - }, "packages/cli/node_modules/strip-ansi": { "version": "7.1.0", "dev": true, @@ -35636,16 +35611,9 @@ "version": "0.48.2", "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY", "devDependencies": { - "@nangohq/types": "0.48.1" + "@nangohq/types": "0.48.2" } }, - "packages/frontend/node_modules/@nangohq/types": { - "version": "0.48.1", - "resolved": "https://registry.npmjs.org/@nangohq/types/-/types-0.48.1.tgz", - "integrity": "sha512-qHubw5zLQo6oreMChZmDMmFAWQyT5aVB8F1p0aZhzuTlep9j35nMNzBEEdTH2xZVsP58LZ2KrQJl+kHtOeVmFQ==", - "dev": true, - "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY" - }, "packages/integration-template-tests": { "name": "nango-integrations", "version": "1.0.0", @@ -36229,17 +36197,10 @@ "ms": "3.0.0-canary.1" }, "devDependencies": { - "@nangohq/types": "0.48.1", + "@nangohq/types": "0.48.2", "vitest": "2.1.8" } }, - "packages/nango-yaml/node_modules/@nangohq/types": { - "version": "0.48.1", - "resolved": "https://registry.npmjs.org/@nangohq/types/-/types-0.48.1.tgz", - "integrity": "sha512-qHubw5zLQo6oreMChZmDMmFAWQyT5aVB8F1p0aZhzuTlep9j35nMNzBEEdTH2xZVsP58LZ2KrQJl+kHtOeVmFQ==", - "dev": true, - "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY" - }, "packages/nango-yaml/node_modules/ms": { "version": "3.0.0-canary.1", "license": "MIT", @@ -36255,7 +36216,7 @@ "axios": "^1.7.9" }, "devDependencies": { - "@nangohq/types": "0.48.1", + "@nangohq/types": "0.48.2", "tsup": "^8.2.4", "vitest": "2.1.8" }, @@ -36263,13 +36224,6 @@ "node": ">=18.0" } }, - "packages/node-client/node_modules/@nangohq/types": { - "version": "0.48.1", - "resolved": "https://registry.npmjs.org/@nangohq/types/-/types-0.48.1.tgz", - "integrity": "sha512-qHubw5zLQo6oreMChZmDMmFAWQyT5aVB8F1p0aZhzuTlep9j35nMNzBEEdTH2xZVsP58LZ2KrQJl+kHtOeVmFQ==", - "dev": true, - "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY" - }, "packages/orchestrator": { "name": "@nangohq/nango-orchestrator", "version": "1.0.0", @@ -36445,13 +36399,13 @@ "@nangohq/logs": "file:../logs", "@nangohq/records": "file:../records", "@nangohq/shared": "file:../shared", - "@nangohq/types": "file:../types", "@nangohq/utils": "file:../utils", "dd-trace": "5.21.0", "express": "^4.20.0", "zod": "3.24.1" }, "devDependencies": { + "@nangohq/types": "file:../types", "@types/node": "20.12.2", "node-fetch": "^3.3.2", "typescript": "5.7.3", @@ -36973,7 +36927,6 @@ "@nangohq/nango-yaml": "file:../nango-yaml", "@nangohq/records": "file:../records", "@nangohq/shared": "file:../shared", - "@nangohq/types": "file:../types", "@nangohq/utils": "file:../utils", "@nangohq/webhooks": "file:../webhooks", "@workos-inc/node": "6.2.0", @@ -37007,6 +36960,7 @@ "zod": "3.24.1" }, "devDependencies": { + "@nangohq/types": "file:../types", "@types/cookie-parser": "1.4.3", "@types/cors": "2.8.12", "@types/express": "4.17.13", @@ -37251,7 +37205,7 @@ "@datadog/datadog-api-client": "1.26.0", "@hapi/boom": "^10.0.1", "@nangohq/database": "file:../database", - "@nangohq/nango-yaml": "0.48.1", + "@nangohq/nango-yaml": "0.48.2", "@nangohq/node": "^0.48.2", "@nangohq/utils": "file:../utils", "ajv": "^8.17.1", @@ -37279,7 +37233,7 @@ "devDependencies": { "@nangohq/logs": "file:../logs", "@nangohq/nango-orchestrator": "file:../orchestrator", - "@nangohq/types": "0.48.1", + "@nangohq/types": "0.48.2", "@types/braintree": "^3.3.12", "@types/js-yaml": "^4.0.5", "@types/json-schema": "7.0.15", @@ -38834,22 +38788,6 @@ "node": ">=0.4" } }, - "packages/shared/node_modules/@nangohq/nango-yaml": { - "version": "0.48.1", - "resolved": "https://registry.npmjs.org/@nangohq/nango-yaml/-/nango-yaml-0.48.1.tgz", - "integrity": "sha512-c74BXYPtxuqV740YnkQUVVMwwvHH9Lun2pxCi+RRaDqUGJkwTjB1TtXqAjX/5i6YbgJDNnJkL6u9YsyMlOzNgg==", - "dependencies": { - "js-yaml": "^4.1.0", - "ms": "3.0.0-canary.1" - } - }, - "packages/shared/node_modules/@nangohq/types": { - "version": "0.48.1", - "resolved": "https://registry.npmjs.org/@nangohq/types/-/types-0.48.1.tgz", - "integrity": "sha512-qHubw5zLQo6oreMChZmDMmFAWQyT5aVB8F1p0aZhzuTlep9j35nMNzBEEdTH2xZVsP58LZ2KrQJl+kHtOeVmFQ==", - "dev": true, - "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY" - }, "packages/shared/node_modules/@nangohq/utils": { "version": "1.0.0", "resolved": "file:packages/shared/vendor/nangohq-utils-1.0.0.tgz", @@ -39081,37 +39019,11 @@ "acorn": "^8" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/agent-base": { - "version": "7.1.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/async": { "version": "3.2.6", "inBundle": true, "license": "MIT" }, - "packages/shared/node_modules/@nangohq/utils/node_modules/asynckit": { - "version": "0.4.0", - "inBundle": true, - "license": "MIT" - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/axios": { - "version": "1.7.9", - "inBundle": true, - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/cjs-module-lexer": { "version": "1.4.1", "inBundle": true, @@ -39157,17 +39069,6 @@ "text-hex": "1.0.x" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/combined-stream": { - "version": "1.0.8", - "inBundle": true, - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/crypto-randomuuid": { "version": "1.0.0", "inBundle": true, @@ -39221,27 +39122,6 @@ "node": ">=18" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/debug": { - "version": "4.4.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/debug/node_modules/ms": { - "version": "2.1.3", - "inBundle": true, - "license": "MIT" - }, "packages/shared/node_modules/@nangohq/utils/node_modules/delay": { "version": "5.0.0", "inBundle": true, @@ -39253,14 +39133,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/delayed-stream": { - "version": "1.0.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/detect-newline": { "version": "3.1.0", "inBundle": true, @@ -39279,16 +39151,6 @@ "inBundle": true, "license": "MIT" }, - "packages/shared/node_modules/@nangohq/utils/node_modules/exponential-backoff": { - "version": "3.1.1", - "inBundle": true, - "license": "Apache-2.0" - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/fast-safe-stringify": { - "version": "2.1.1", - "inBundle": true, - "license": "MIT" - }, "packages/shared/node_modules/@nangohq/utils/node_modules/fecha": { "version": "4.2.3", "inBundle": true, @@ -39299,70 +39161,6 @@ "inBundle": true, "license": "MIT" }, - "packages/shared/node_modules/@nangohq/utils/node_modules/follow-redirects": { - "version": "1.15.9", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/form-data": { - "version": "4.0.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/guess-json-indent": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=18.18.0" - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/http-proxy-agent": { - "version": "7.0.2", - "inBundle": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.1.0", - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/https-proxy-agent": { - "version": "7.0.4", - "inBundle": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "4" - }, - "engines": { - "node": ">= 14" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/ieee754": { "version": "1.2.1", "funding": [ @@ -39507,25 +39305,6 @@ "node": ">=12" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/mime-db": { - "version": "1.52.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/mime-types": { - "version": "2.1.35", - "inBundle": true, - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/module-details-from-path": { "version": "1.0.3", "inBundle": true, @@ -39640,11 +39419,6 @@ "node": ">=12.0.0" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/proxy-from-env": { - "version": "1.1.0", - "inBundle": true, - "license": "MIT" - }, "packages/shared/node_modules/@nangohq/utils/node_modules/readable-stream": { "version": "3.6.2", "inBundle": true, @@ -39761,22 +39535,6 @@ "safe-buffer": "~5.2.0" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/string-byte-length": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=18.18.0" - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/string-byte-slice": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=18.18.0" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/text-hex": { "version": "1.0.0", "inBundle": true, @@ -39795,19 +39553,6 @@ "node": ">= 14.0.0" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/truncate-json": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "guess-json-indent": "^3.0.0", - "string-byte-length": "^3.0.0", - "string-byte-slice": "^3.0.0" - }, - "engines": { - "node": ">=18.18.0" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/type-fest": { "version": "2.19.0", "inBundle": true, diff --git a/packages/cli/package.json b/packages/cli/package.json index 5dffd85f984..d2d78b72672 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -24,7 +24,7 @@ "@babel/parser": "^7.22.5", "@babel/traverse": "^7.22.5", "@babel/types": "^7.22.5", - "@nangohq/nango-yaml": "0.48.1", + "@nangohq/nango-yaml": "0.48.2", "@nangohq/shared": "^0.48.2", "@swc/core": "^1.5.25", "ajv": "^8.17.1", @@ -55,7 +55,7 @@ "@babel/core": "^7.22.1", "@babel/preset-env": "^7.22.4", "@babel/preset-typescript": "^7.21.5", - "@nangohq/types": "0.48.1", + "@nangohq/types": "0.48.2", "@types/babel__traverse": "^7.20.1", "@types/babel-traverse": "^6.25.7", "@types/commander": "^2.12.2", diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 6c76c02ee70..3105203e434 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -15,7 +15,7 @@ "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY", "scripts": {}, "devDependencies": { - "@nangohq/types": "0.48.1" + "@nangohq/types": "0.48.2" }, "files": [ "dist/**/*.js", diff --git a/packages/nango-yaml/package.json b/packages/nango-yaml/package.json index cf287b93a56..4b6c60f685b 100644 --- a/packages/nango-yaml/package.json +++ b/packages/nango-yaml/package.json @@ -17,7 +17,7 @@ "ms": "3.0.0-canary.1" }, "devDependencies": { - "@nangohq/types": "0.48.1", + "@nangohq/types": "0.48.2", "vitest": "2.1.8" }, "files": [ diff --git a/packages/node-client/package.json b/packages/node-client/package.json index 635354dbce4..1401bd1e38d 100644 --- a/packages/node-client/package.json +++ b/packages/node-client/package.json @@ -36,7 +36,7 @@ "README.md" ], "devDependencies": { - "@nangohq/types": "0.48.1", + "@nangohq/types": "0.48.2", "tsup": "^8.2.4", "vitest": "2.1.8" } diff --git a/packages/persist/package.json b/packages/persist/package.json index 6625d16222c..4d01fce613e 100644 --- a/packages/persist/package.json +++ b/packages/persist/package.json @@ -22,13 +22,13 @@ "@nangohq/logs": "file:../logs", "@nangohq/records": "file:../records", "@nangohq/shared": "file:../shared", - "@nangohq/types": "file:../types", "@nangohq/utils": "file:../utils", "dd-trace": "5.21.0", "express": "^4.20.0", "zod": "3.24.1" }, "devDependencies": { + "@nangohq/types": "file:../types", "@types/node": "20.12.2", "node-fetch": "^3.3.2", "typescript": "5.7.3", diff --git a/packages/server/package.json b/packages/server/package.json index 13c267e8869..0f22d20952e 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -29,7 +29,6 @@ "@nangohq/nango-yaml": "file:../nango-yaml", "@nangohq/records": "file:../records", "@nangohq/shared": "file:../shared", - "@nangohq/types": "file:../types", "@nangohq/utils": "file:../utils", "@nangohq/webhooks": "file:../webhooks", "@nangohq/keystore": "file:../keystore", @@ -65,6 +64,7 @@ "zod": "3.24.1" }, "devDependencies": { + "@nangohq/types": "file:../types", "@types/cookie-parser": "1.4.3", "@types/cors": "2.8.12", "@types/express": "4.17.13", diff --git a/packages/shared/package.json b/packages/shared/package.json index 0ffebdd18b5..58fb88bdacb 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -22,7 +22,7 @@ "@datadog/datadog-api-client": "1.26.0", "@hapi/boom": "^10.0.1", "@nangohq/database": "file:../database", - "@nangohq/nango-yaml": "0.48.1", + "@nangohq/nango-yaml": "0.48.2", "@nangohq/node": "^0.48.2", "@nangohq/utils": "file:../utils", "ajv": "^8.17.1", @@ -54,7 +54,7 @@ "devDependencies": { "@nangohq/logs": "file:../logs", "@nangohq/nango-orchestrator": "file:../orchestrator", - "@nangohq/types": "0.48.1", + "@nangohq/types": "0.48.2", "@types/braintree": "^3.3.12", "@types/js-yaml": "^4.0.5", "@types/json-schema": "7.0.15", diff --git a/packages/webhooks/tsconfig.json b/packages/webhooks/tsconfig.json index f4d3370f1f9..91ea350f6c7 100644 --- a/packages/webhooks/tsconfig.json +++ b/packages/webhooks/tsconfig.json @@ -4,6 +4,16 @@ "rootDir": "lib", "outDir": "dist" }, - "references": [{ "path": "../utils", "path": "../logs" }], + "references": [ + { + "path": "../utils" + }, + { + "path": "../logs" + }, + { + "path": "../types" + } + ], "include": ["lib/**/*", "../utils/lib/vitest.d.ts"] } diff --git a/tsconfig.build.json b/tsconfig.build.json index 349773ae419..a69d6e77cbf 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -66,6 +66,9 @@ }, { "path": "packages/fleet" + }, + { + "path": "packages/types" } ] }