@swapkit/helpers 4.15.1 → 4.15.2

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 (2) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @swapkit/helpers
2
2
 
3
+ ## 4.15.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#294](https://github.com/swapkit/sdk/pull/294) [`01a1d86`](https://github.com/swapkit/sdk/commit/01a1d869ec879ee80f4118719d7746c1b4f8e9bf) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Leaner published bundles: externalize sibling `@swapkit/*` workspace packages and enable ESM code-splitting for every package (builder change in `@swapkit/tools-builder`).
8
+
9
+ `packages: "external"` only excluded node_modules, so Bun followed the workspace symlinks and inlined a full copy of each `@swapkit/*` dependency (a declared `workspace:*` dep) into every entry. ESM splitting was also disabled for `@swapkit/toolboxes`, even though `splitting: false` is only required for the CJS build (Bun 1.4.0 panics on split CommonJS chunks). The builder now adds `external: ["@swapkit/*"]` and keeps ESM `splitting: true` everywhere (CJS stays `splitting: false`), so workspace deps resolve at install time instead of being duplicated into every bundle.
10
+
11
+ No runtime/API change. Clean-build JS bundle sizes drop sharply: `core` 2.66 MB → 12 KB, `passkey`/`server`/`wallet-keystore` ~2.6 MB → ~9 KB, `plugins` 11.7 MB → 98 KB, `helpers` 4.2 MB → 281 KB (and `toolboxes` 35 MB → 0.7 MB, tracked separately). Built ESM and CJS entries verified to load under both Bun and Node.
12
+
13
+ - Updated dependencies []:
14
+ - @swapkit/tokens@4.3.1
15
+
3
16
  ## 4.15.1
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "swapkit-dev",
3
3
  "dependencies": { "@swapkit/contracts": "4.1.5", "@swapkit/tokens": "4.3.1", "@swapkit/types": "0.9.0" },
4
4
  "description": "SwapKit - Helpers",
5
- "devDependencies": { "@near-js/providers": "2.5.1", "@swapkit/toolboxes": "4.18.0", "ethers": "6.16.0" },
5
+ "devDependencies": { "@near-js/providers": "2.5.1", "@swapkit/toolboxes": "4.20.0", "ethers": "6.16.0" },
6
6
  "exports": {
7
7
  ".": { "default": "./dist/index.js", "require": "./dist/index.cjs", "types": "./dist/types/index.d.ts" },
8
8
  "./api": {
@@ -39,5 +39,5 @@
39
39
  "type-check:go": "tsgo"
40
40
  },
41
41
  "type": "module",
42
- "version": "4.15.1"
42
+ "version": "4.15.2"
43
43
  }