@callimacus/thamyr-react 4.13.2 → 4.14.1
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.
- package/CHANGELOG.core.md +14 -0
- package/CHANGELOG.md +30 -0
- package/dist/types/index.d.ts +4 -2
- package/package.json +6 -6
package/CHANGELOG.core.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.14.1](https://github.com/callimacus/thamyr-sdk/compare/thamyr-core-v4.14.0...thamyr-core-v4.14.1) (2026-10-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** intent 2.2.1, react-native 0.88.1, storybook 10.6.5, react-query 5.105 ([#863](https://github.com/callimacus/thamyr-sdk/issues/863)) ([946ea2b](https://github.com/callimacus/thamyr-sdk/commit/946ea2bb8b1af8fc906eb14b51195c1ec3e09b95))
|
|
12
|
+
|
|
13
|
+
## [4.14.0](https://github.com/callimacus/thamyr-sdk/compare/thamyr-core-v4.13.2...thamyr-core-v4.14.0) (2026-10-28)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **shopify:** a site built before its store is known sells from the store connected to its project ([#861](https://github.com/callimacus/thamyr-sdk/issues/861)) ([151bb21](https://github.com/callimacus/thamyr-sdk/commit/151bb2145970f10b98d5d94d8f27bebb943fac0b))
|
|
19
|
+
|
|
6
20
|
## [4.13.2](https://github.com/callimacus/thamyr-sdk/compare/thamyr-core-v4.13.1...thamyr-core-v4.13.2) (2026-10-28)
|
|
7
21
|
|
|
8
22
|
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.14.1](https://github.com/callimacus/thamyr-sdk/compare/thamyr-react-v4.14.0...thamyr-react-v4.14.1) (2026-10-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** intent 2.2.1, react-native 0.88.1, storybook 10.6.5, react-query 5.105 ([#863](https://github.com/callimacus/thamyr-sdk/issues/863)) ([946ea2b](https://github.com/callimacus/thamyr-sdk/commit/946ea2bb8b1af8fc906eb14b51195c1ec3e09b95))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Dependencies
|
|
15
|
+
|
|
16
|
+
* The following workspace dependencies were updated
|
|
17
|
+
* dependencies
|
|
18
|
+
* @callimacus/thamyr bumped from ^4.14.0 to ^4.14.1
|
|
19
|
+
* @callimacus/thamyr-core bumped from ^4.14.0 to ^4.14.1
|
|
20
|
+
|
|
21
|
+
## [4.14.0](https://github.com/callimacus/thamyr-sdk/compare/thamyr-react-v4.13.2...thamyr-react-v4.14.0) (2026-10-28)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **shopify:** a site built before its store is known sells from the store connected to its project ([#861](https://github.com/callimacus/thamyr-sdk/issues/861)) ([151bb21](https://github.com/callimacus/thamyr-sdk/commit/151bb2145970f10b98d5d94d8f27bebb943fac0b))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
* The following workspace dependencies were updated
|
|
32
|
+
* dependencies
|
|
33
|
+
* @callimacus/thamyr bumped from ^4.13.2 to ^4.14.0
|
|
34
|
+
* @callimacus/thamyr-core bumped from ^4.13.2 to ^4.14.0
|
|
35
|
+
|
|
6
36
|
## [4.13.2](https://github.com/callimacus/thamyr-sdk/compare/thamyr-react-v4.13.1...thamyr-react-v4.13.2) (2026-10-28)
|
|
7
37
|
|
|
8
38
|
|
package/dist/types/index.d.ts
CHANGED
|
@@ -42,6 +42,8 @@ type CallimacusInitConfig = {
|
|
|
42
42
|
Shopify in the shopper's browser, tokenless until a storefront token exists. Once the store is connected,
|
|
43
43
|
what Callimacus knows about it (its primary domain, its token, the buyer's country per locale, whether the
|
|
44
44
|
cart is on) wins over these values; the token here stays in use while Callimacus has none.
|
|
45
|
+
A site built before its store is known passes `{}` (or only a token): it sells from the store once
|
|
46
|
+
one is connected to the project. Until then its adds resolve `cart_unavailable`.
|
|
45
47
|
*/
|
|
46
48
|
shopify?: ShopifyConfig;
|
|
47
49
|
};
|
|
@@ -2168,8 +2170,8 @@ type ShopifyCartActions = ShopifyCartClient;
|
|
|
2168
2170
|
/**
|
|
2169
2171
|
The Shopify cart, kept in the shopper's browser: `useCart`'s methods plus `checkout()`, called straight
|
|
2170
2172
|
on the store's Storefront API with the buyer's country, no Callimacus server in the path. The cart
|
|
2171
|
-
survives a reload and is shared by the tabs of the browser. Needs `shopify` in the `useInitThamyr` config
|
|
2172
|
-
or a store connected to
|
|
2173
|
+
survives a reload and is shared by the tabs of the browser. Needs `shopify` in the `useInitThamyr` config: naming
|
|
2174
|
+
the store, or `{}` on a site that sells from the store later connected to its project.
|
|
2173
2175
|
|
|
2174
2176
|
Every method resolves `{data, error, warnings}` and never rejects: `data` is the cart (`undefined` before
|
|
2175
2177
|
the first add), `error.code` says what went wrong (`cart_disabled` on the site's preview, `refused` with
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@callimacus/thamyr-react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "React package for Thamyr",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"storybook": "storybook dev -p 6006"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@callimacus/thamyr": "^4.
|
|
44
|
-
"@callimacus/thamyr-core": "^4.
|
|
43
|
+
"@callimacus/thamyr": "^4.14.1",
|
|
44
|
+
"@callimacus/thamyr-core": "^4.14.1",
|
|
45
45
|
"zustand": "^5.0.16"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@eslint-react/eslint-plugin": "^5.28.8",
|
|
53
|
-
"@storybook/react-vite": "^10.6.
|
|
54
|
-
"@tanstack/react-query": "^5.
|
|
53
|
+
"@storybook/react-vite": "^10.6.5",
|
|
54
|
+
"@tanstack/react-query": "^5.105.0",
|
|
55
55
|
"@testing-library/react": "^16.3.3",
|
|
56
56
|
"@types/react": "^19.3.0",
|
|
57
57
|
"@types/react-dom": "^19.3.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"jsdom": "^30.1.3",
|
|
61
61
|
"react": "^19.3.1",
|
|
62
62
|
"react-dom": "^19.3.1",
|
|
63
|
-
"storybook": "^10.6.
|
|
63
|
+
"storybook": "^10.6.5",
|
|
64
64
|
"vite": "^8.3.5",
|
|
65
65
|
"vitest": "^5.0.5"
|
|
66
66
|
},
|