@jay-framework/wix-server-client 0.16.1 → 0.16.3
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +11 -11
package/dist/index.client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createJayContext, registerGlobalContext } from "@jay-framework/runtime";
|
|
2
2
|
import { createClient, OAuthStrategy } from "@wix/sdk";
|
|
3
3
|
import { makeJayInit } from "@jay-framework/fullstack-component";
|
|
4
|
-
const WIX_CLIENT_CONTEXT = createJayContext();
|
|
4
|
+
const WIX_CLIENT_CONTEXT = createJayContext("wix:cc");
|
|
5
5
|
const TOKENS_STORAGE_KEY = "wix_visitor_tokens";
|
|
6
6
|
function storeTokens(tokens, oauthClientId) {
|
|
7
7
|
try {
|
package/dist/index.js
CHANGED
|
@@ -65,7 +65,7 @@ function provideWixClientService(config) {
|
|
|
65
65
|
});
|
|
66
66
|
registerService(WIX_CLIENT_SERVICE, instance);
|
|
67
67
|
}
|
|
68
|
-
const WIX_CLIENT_CONTEXT = createJayContext();
|
|
68
|
+
const WIX_CLIENT_CONTEXT = createJayContext("wix:cc");
|
|
69
69
|
const init = makeJayInit().withServer(async () => {
|
|
70
70
|
console.log("[wix-server-client] Initializing Wix client configuration...");
|
|
71
71
|
const config = loadConfig();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jay-framework/wix-server-client",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Wix SDK client configuration and authentication for Jay Framework",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"test": ":"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@jay-framework/component": "^0.16.
|
|
30
|
-
"@jay-framework/fullstack-component": "^0.16.
|
|
31
|
-
"@jay-framework/reactive": "^0.16.
|
|
32
|
-
"@jay-framework/runtime": "^0.16.
|
|
33
|
-
"@jay-framework/secure": "^0.16.
|
|
34
|
-
"@jay-framework/stack-client-runtime": "^0.16.
|
|
35
|
-
"@jay-framework/stack-server-runtime": "^0.16.
|
|
29
|
+
"@jay-framework/component": "^0.16.3",
|
|
30
|
+
"@jay-framework/fullstack-component": "^0.16.3",
|
|
31
|
+
"@jay-framework/reactive": "^0.16.3",
|
|
32
|
+
"@jay-framework/runtime": "^0.16.3",
|
|
33
|
+
"@jay-framework/secure": "^0.16.3",
|
|
34
|
+
"@jay-framework/stack-client-runtime": "^0.16.3",
|
|
35
|
+
"@jay-framework/stack-server-runtime": "^0.16.3",
|
|
36
36
|
"@wix/sdk": "^1.21.5",
|
|
37
37
|
"@wix/sdk-runtime": "^1.0.11",
|
|
38
38
|
"js-yaml": "^4.1.0"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"@babel/core": "^7.23.7",
|
|
42
42
|
"@babel/preset-env": "^7.23.8",
|
|
43
43
|
"@babel/preset-typescript": "^7.23.3",
|
|
44
|
-
"@jay-framework/compiler-jay-stack": "^0.16.
|
|
45
|
-
"@jay-framework/jay-cli": "^0.16.
|
|
46
|
-
"@jay-framework/vite-plugin": "^0.16.
|
|
44
|
+
"@jay-framework/compiler-jay-stack": "^0.16.3",
|
|
45
|
+
"@jay-framework/jay-cli": "^0.16.3",
|
|
46
|
+
"@jay-framework/vite-plugin": "^0.16.3",
|
|
47
47
|
"@types/js-yaml": "^4.0.9",
|
|
48
48
|
"@types/node": "^20.11.0",
|
|
49
49
|
"nodemon": "^3.0.3",
|