@jay-framework/wix-stores-v1 0.15.0 → 0.15.4
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/dist/index.client.js +4 -4
- package/package.json +14 -14
package/dist/index.client.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { WIX_CART_CONTEXT
|
|
1
|
+
import { WIX_CART_CONTEXT } from "@jay-framework/wix-cart/client";
|
|
2
|
+
import { WIX_CART_CONTEXT as WIX_CART_CONTEXT2, cartIndicator, cartPage } from "@jay-framework/wix-cart/client";
|
|
2
3
|
import { makeJayStackComponent, makeJayInit } from "@jay-framework/fullstack-component";
|
|
3
4
|
import { registerReactiveGlobalContext, createSignal, createMemo, createEffect } from "@jay-framework/component";
|
|
4
5
|
import { patch, REPLACE } from "@jay-framework/json-patch";
|
|
5
6
|
import { createJayContext, useGlobalContext } from "@jay-framework/runtime";
|
|
6
7
|
import { WIX_CLIENT_CONTEXT } from "@jay-framework/wix-server-client/client";
|
|
7
|
-
import { WIX_CART_CONTEXT as WIX_CART_CONTEXT2 } from "@jay-framework/wix-cart";
|
|
8
8
|
import { products, collections } from "@wix/stores";
|
|
9
9
|
import { createActionCaller } from "@jay-framework/stack-client-runtime";
|
|
10
10
|
var StockStatus = /* @__PURE__ */ ((StockStatus2) => {
|
|
@@ -197,7 +197,7 @@ const WIX_STORES_V1_CONTEXT = createJayContext();
|
|
|
197
197
|
function provideWixStoresV1Context() {
|
|
198
198
|
const wixClientContext = useGlobalContext(WIX_CLIENT_CONTEXT);
|
|
199
199
|
const wixClient = wixClientContext.client;
|
|
200
|
-
const cartContext = useGlobalContext(
|
|
200
|
+
const cartContext = useGlobalContext(WIX_CART_CONTEXT);
|
|
201
201
|
const productsClient = getProductsClient(wixClient);
|
|
202
202
|
const collectionsClient = getCollectionsClient(wixClient);
|
|
203
203
|
const storesContext = registerReactiveGlobalContext(WIX_STORES_V1_CONTEXT, () => {
|
|
@@ -784,7 +784,7 @@ const init = makeJayInit().withClient(async (data) => {
|
|
|
784
784
|
console.log(`[wix-stores-v1] Search enabled: ${data.enableClientSearch}`);
|
|
785
785
|
});
|
|
786
786
|
export {
|
|
787
|
-
WIX_CART_CONTEXT,
|
|
787
|
+
WIX_CART_CONTEXT2 as WIX_CART_CONTEXT,
|
|
788
788
|
WIX_STORES_V1_CONTEXT,
|
|
789
789
|
cartIndicator,
|
|
790
790
|
cartPage,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jay-framework/wix-stores-v1",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Wix Stores Catalog V1 API client for Jay Framework",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"test": ":"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@jay-framework/component": "^0.
|
|
38
|
-
"@jay-framework/fullstack-component": "^0.
|
|
39
|
-
"@jay-framework/reactive": "^0.
|
|
40
|
-
"@jay-framework/runtime": "^0.
|
|
41
|
-
"@jay-framework/secure": "^0.
|
|
42
|
-
"@jay-framework/stack-client-runtime": "^0.
|
|
43
|
-
"@jay-framework/stack-server-runtime": "^0.
|
|
44
|
-
"@jay-framework/wix-cart": "^0.15.
|
|
45
|
-
"@jay-framework/wix-server-client": "^0.15.
|
|
46
|
-
"@jay-framework/wix-utils": "^0.15.
|
|
37
|
+
"@jay-framework/component": "^0.15.4",
|
|
38
|
+
"@jay-framework/fullstack-component": "^0.15.4",
|
|
39
|
+
"@jay-framework/reactive": "^0.15.4",
|
|
40
|
+
"@jay-framework/runtime": "^0.15.4",
|
|
41
|
+
"@jay-framework/secure": "^0.15.4",
|
|
42
|
+
"@jay-framework/stack-client-runtime": "^0.15.4",
|
|
43
|
+
"@jay-framework/stack-server-runtime": "^0.15.4",
|
|
44
|
+
"@jay-framework/wix-cart": "^0.15.4",
|
|
45
|
+
"@jay-framework/wix-server-client": "^0.15.4",
|
|
46
|
+
"@jay-framework/wix-utils": "^0.15.4",
|
|
47
47
|
"@wix/sdk": "^1.21.5",
|
|
48
48
|
"@wix/stores": "^1.0.723"
|
|
49
49
|
},
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"@babel/core": "^7.23.7",
|
|
52
52
|
"@babel/preset-env": "^7.23.8",
|
|
53
53
|
"@babel/preset-typescript": "^7.23.3",
|
|
54
|
-
"@jay-framework/compiler-jay-stack": "^0.
|
|
55
|
-
"@jay-framework/jay-cli": "^0.
|
|
56
|
-
"@jay-framework/vite-plugin": "^0.
|
|
54
|
+
"@jay-framework/compiler-jay-stack": "^0.15.4",
|
|
55
|
+
"@jay-framework/jay-cli": "^0.15.4",
|
|
56
|
+
"@jay-framework/vite-plugin": "^0.15.4",
|
|
57
57
|
"nodemon": "^3.0.3",
|
|
58
58
|
"rimraf": "^5.0.5",
|
|
59
59
|
"tslib": "^2.6.2",
|