@mailoo/market 1.35.7 → 1.35.8

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/README.md +12 -7
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -134,16 +134,21 @@ not an authentication bypass; callers should not duplicate it.
134
134
 
135
135
  Run `pnpm --filter @mailoo/market build` then
136
136
  `pnpm --filter @mailoo/market test` (unit),
137
- `pnpm --filter @mailoo/market test:dist`, and
137
+ `pnpm --filter @mailoo/market test:dist`,
138
+ `pnpm --filter @mailoo/market test:dist:idempotency`, and
138
139
  `pnpm --filter @mailoo/market test:dist:next`. `test:dist` packs the built
139
140
  distribution, installs the tarball into isolated temporary consumers and imports
140
141
  it with plain Node in both ESM and CommonJS modes (Next adapter/routes with real
141
- Next peers; Node entry without Next). `test:dist:next` installs the same packed
142
- artifact into a minimal Next **16.4.2** app and runs a Turbopack **production**
143
- `next build` covering a Route Handler **and** a Client Component chain that
144
- imports `@mailoo/market/server` (pre-form host-adapter pattern). No Vite aliases,
145
- source links or inherited credentials are used. CI `build:packages` and local
146
- `ci:precheck` (pre-push) run unit + both dist gates before publish/push.
142
+ Next peers; Node entry without Next). `test:dist:idempotency` is an external
143
+ packed install (no `workspace:`) that asserts the `@mailoo/next-core` peer floor
144
+ covers `proxyMailooWebhookJsonPost` `extraHeaders` and that
145
+ `createMarketQuoteRequestsHandler` forwards `Idempotency-Key` upstream.
146
+ `test:dist:next` installs the same packed artifact into a minimal Next **16.4.2**
147
+ app and runs a Turbopack **production** `next build` covering a Route Handler
148
+ **and** a Client Component chain that imports `@mailoo/market/server` (pre-form
149
+ host-adapter pattern). No Vite aliases, source links or inherited credentials are
150
+ used. CI `build:packages` and local `ci:precheck` (pre-push via `ci:market-compat`)
151
+ run unit + all dist gates before publish/push.
147
152
 
148
153
  `./server` uses dual package exports: bundlers (Next/Turbopack) resolve the
149
154
  default entry with a static bare `next/navigation` import (required for Route
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailoo/market",
3
- "version": "1.35.7",
3
+ "version": "1.35.8",
4
4
  "description": "Mailoo Market typed catalog, writes, pricing, orders and offers clients for Next.js and Node jobs",
5
5
  "license": "LicenseRef-Mailoo-NoModification",
6
6
  "homepage": "https://mailoo.app/en/support/docs/integrations/nextjs-packages",
@@ -48,11 +48,11 @@
48
48
  "LICENSE"
49
49
  ],
50
50
  "peerDependencies": {
51
- "@mailoo/next-core": "^1.18.4",
51
+ "@mailoo/next-core": "^1.35.6",
52
52
  "next": ">=16.4.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@mailoo/next-core": "1.35.7",
55
+ "@mailoo/next-core": "1.35.8",
56
56
  "@types/node": "^25.9.9",
57
57
  "next": "^16.4.3",
58
58
  "tsup": "^8.5.1",
@@ -68,6 +68,7 @@
68
68
  "test": "vitest run",
69
69
  "type-check": "tsc --noEmit",
70
70
  "test:dist": "node --test test/packed-dist.node.mjs",
71
+ "test:dist:idempotency": "node --test test/packed-quote-idempotency.mjs",
71
72
  "test:dist:next": "node --test test/packed-dist.next-turbopack.mjs"
72
73
  }
73
74
  }