Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .changeset/remove-node-polyfills-from-clients.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
"@epilot/access-token-client": minor
"@epilot/address-client": minor
"@epilot/address-suggestions-client": minor
"@epilot/ai-agents-client": minor
"@epilot/app-client": minor
"@epilot/app-sdk": minor
"@epilot/audit-logs-client": minor
"@epilot/automation-client": minor
"@epilot/billing-client": minor
"@epilot/blueprint-manifest-client": minor
"@epilot/calendar-client": minor
"@epilot/configuration-hub-client": minor
"@epilot/consent-client": minor
"@epilot/customer-portal-client": minor
"@epilot/dashboard-client": minor
"@epilot/data-governance-client": minor
"@epilot/deduplication-client": minor
"@epilot/design-client": minor
"@epilot/document-client": minor
"@epilot/email-settings-client": minor
"@epilot/email-template-client": minor
"@epilot/entity-client": minor
"@epilot/entity-mapping-client": minor
"@epilot/environments-client": minor
"@epilot/event-catalog-client": minor
"@epilot/file-client": minor
"@epilot/iban-client": minor
"@epilot/integration-toolkit-client": minor
"@epilot/journey-client": minor
"@epilot/kanban-client": minor
"@epilot/message-client": minor
"@epilot/metering-client": minor
"@epilot/notes-client": minor
"@epilot/notification-client": minor
"@epilot/organization-client": minor
"@epilot/partner-directory-client": minor
"@epilot/permissions-client": minor
"@epilot/pricing-client": minor
"@epilot/pricing-tier-client": minor
"@epilot/purpose-client": minor
"@epilot/query-client": minor
"@epilot/sandbox-client": minor
"@epilot/sharing-client": minor
"@epilot/snapshot-client": minor
"@epilot/submission-client": minor
"@epilot/targeting-client": minor
"@epilot/template-variables-client": minor
"@epilot/user-client": minor
"@epilot/validation-rules-client": minor
"@epilot/webhooks-client": minor
"@epilot/workflow-client": minor
"@epilot/workflow-definition-client": minor
---

Remove node polyfills (`buffer`, `url`, `util`, `stream-http`, `https-browserify`) from these packages' runtime `dependencies`, and drop the unused `openapi-backend` from `@epilot/journey-client` and `@epilot/validation-rules-client`. No client imports any of them — they were installed for consumers' bundlers, not for the clients themselves.

**Action required if your bundler config resolves these modules.** Webpack setups commonly reference them from `resolve.fallback` / `resolve.alias` (for example `require.resolve('https-browserify')` or `require.resolve('util/')`) while relying on them being hoisted from an `@epilot/*-client`. After this release they are gone from the dependency tree, and such a config fails when webpack loads it. Declare the polyfills you use directly in your own `package.json`.

Also moves `msw` to `devDependencies` in `@epilot/app-sdk` (test-only), and moves `openapi-client-axios` from `devDependencies` to `dependencies` in `@epilot/automation-client`, which imports it at runtime from `src/client.ts` — that package was previously unusable on a clean install unless the consumer happened to provide it.
7 changes: 1 addition & 6 deletions clients/access-token-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/address-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"copy-webpack-plugin": "^7.0.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/address-suggestions-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"copy-webpack-plugin": "^7.0.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/ai-agents-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"copy-webpack-plugin": "^7.0.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/app-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/audit-logs-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/automation-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,7 @@
"axios": "^1.0.0 || >=0.25.0 <1.0.0"
},
"dependencies": {
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"@oclif/command": "^1.8.18",
Expand All @@ -63,7 +59,6 @@
"copy-webpack-plugin": "^7.0.0",
"json-loader": "^0.5.7",
"node-fetch": "^3.2.10",
"openapi-client-axios": "^7.8.0",
"openapicmd": "^2.9.2",
"ts-loader": "^8.0.14",
"ts-node": "^10.9.1",
Expand Down
7 changes: 1 addition & 6 deletions clients/billing-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@
"axios": "^1.0.0 || >=0.25.0 <1.0.0"
},
"dependencies": {
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/blueprint-manifest-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/calendar-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/configuration-hub-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,7 @@
"axios": "^1.0.0 || >=0.25.0 <1.0.0"
},
"dependencies": {
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/consent-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/customer-portal-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@
"axios": "^1.0.0 || >=0.25.0 <1.0.0"
},
"dependencies": {
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/dashboard-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/data-governance-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.2.0",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/deduplication-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.2.0",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/design-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/document-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,7 @@
"axios": "^1.0.0 || >=0.25.0 <1.0.0"
},
"dependencies": {
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/email-settings-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/email-template-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/entity-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/entity-mapping-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
7 changes: 1 addition & 6 deletions clients/environments-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@
},
"dependencies": {
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"openapi-client-axios": "^7.8.0",
"stream-http": "^3.1.1",
"url": "^0.11.0",
"util": "^0.12.3"
"openapi-client-axios": "^7.8.0"
},
"devDependencies": {
"axios": "^1.11.0",
Expand Down
Loading
Loading