@waffo/pancake-nextjs 0.1.5 → 0.1.6

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 +11 -0
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ All notable changes to `@waffo/pancake-nextjs` will be documented in this file.
4
4
 
5
5
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.1.6] - 2026-05-17
8
+
9
+ ### Changed
10
+
11
+ - **Bumped peer `@waffo/pancake-ts` to `^0.8.0`** to pick up the envelope-unification fixes:
12
+ - GraphQL queries now actually return data (prior `@waffo/pancake-ts` versions stripped one envelope layer too many, leaving `result.data` undefined). `use-merchant-data.ts` and `use-buyer-data.ts` hooks transitively benefit.
13
+ - GraphQL queries no longer carry `X-Idempotency-Key`, so subsequent identical queries hit the live DB instead of the gateway's 24h cache.
14
+ - REST `warnings` (with `aiHint` migration notices) are no longer dropped on the way back through the SDK.
15
+
16
+ No source changes in this package; behavior changes flow through `@waffo/pancake-ts`. See [`@waffo/pancake-ts` 0.8.0 release notes](../waffo-pancake-sdk-ts/CHANGELOG.md#080---2026-05-17) for full details and caller migration guidance.
17
+
7
18
  ## [0.1.5] - 2026-04-22
8
19
 
9
20
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waffo/pancake-nextjs",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Next.js SDK for Waffo Pancake — checkout components and hooks",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -40,11 +40,15 @@
40
40
  "test": "vitest run",
41
41
  "test:watch": "vitest",
42
42
  "test:coverage": "vitest run --coverage",
43
- "prepare": "husky",
44
- "prepublishOnly": "npm run lint && npm run test && npm run build"
43
+ "prepublishOnly": "npm run lint && npm run test && npm run build",
44
+ "prepare": "husky"
45
45
  },
46
+ "engines": {
47
+ "node": ">=20.0.0"
48
+ },
49
+ "license": "MIT",
46
50
  "dependencies": {
47
- "@waffo/pancake-ts": "^0.5.0",
51
+ "@waffo/pancake-ts": "^0.8.0",
48
52
  "next": ">=14.0.0",
49
53
  "react": ">=18.0.0",
50
54
  "react-dom": ">=18.0.0"
@@ -82,10 +86,6 @@
82
86
  ],
83
87
  "*.{json,md,css}": "prettier --write"
84
88
  },
85
- "engines": {
86
- "node": ">=20.0.0"
87
- },
88
- "license": "MIT",
89
89
  "repository": {
90
90
  "type": "git",
91
91
  "url": "https://github.com/waffo-com/waffo-pancake-sdk-nextjs.git"