@jay-framework/wix-server-client 0.15.5 → 0.16.0

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/package.json +13 -12
  2. package/plugin.yaml +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jay-framework/wix-server-client",
3
- "version": "0.15.5",
3
+ "version": "0.16.0",
4
4
  "type": "module",
5
5
  "description": "Wix SDK client configuration and authentication for Jay Framework",
6
6
  "license": "Apache-2.0",
@@ -15,7 +15,8 @@
15
15
  "./plugin.yaml": "./plugin.yaml"
16
16
  },
17
17
  "scripts": {
18
- "build": "npm run clean && npm run build:client && npm run build:server && npm run build:types",
18
+ "build": "npm run clean && npm run build:client && npm run build:server && npm run build:types && npm run validate",
19
+ "validate": "jay-stack-cli validate-plugin",
19
20
  "build:client": "vite build",
20
21
  "build:server": "vite build --ssr",
21
22
  "build:types": "tsup lib/index.ts --dts-only --format esm",
@@ -25,13 +26,13 @@
25
26
  "test": ":"
26
27
  },
27
28
  "dependencies": {
28
- "@jay-framework/component": "^0.15.5",
29
- "@jay-framework/fullstack-component": "^0.15.5",
30
- "@jay-framework/reactive": "^0.15.5",
31
- "@jay-framework/runtime": "^0.15.5",
32
- "@jay-framework/secure": "^0.15.5",
33
- "@jay-framework/stack-client-runtime": "^0.15.5",
34
- "@jay-framework/stack-server-runtime": "^0.15.5",
29
+ "@jay-framework/component": "^0.16.0",
30
+ "@jay-framework/fullstack-component": "^0.16.0",
31
+ "@jay-framework/reactive": "^0.16.0",
32
+ "@jay-framework/runtime": "^0.16.0",
33
+ "@jay-framework/secure": "^0.16.0",
34
+ "@jay-framework/stack-client-runtime": "^0.16.0",
35
+ "@jay-framework/stack-server-runtime": "^0.16.0",
35
36
  "@wix/sdk": "^1.21.5",
36
37
  "@wix/sdk-runtime": "^1.0.11",
37
38
  "js-yaml": "^4.1.0"
@@ -40,9 +41,9 @@
40
41
  "@babel/core": "^7.23.7",
41
42
  "@babel/preset-env": "^7.23.8",
42
43
  "@babel/preset-typescript": "^7.23.3",
43
- "@jay-framework/compiler-jay-stack": "^0.15.5",
44
- "@jay-framework/jay-cli": "^0.15.5",
45
- "@jay-framework/vite-plugin": "^0.15.5",
44
+ "@jay-framework/compiler-jay-stack": "^0.16.0",
45
+ "@jay-framework/jay-cli": "^0.16.0",
46
+ "@jay-framework/vite-plugin": "^0.16.0",
46
47
  "@types/js-yaml": "^4.0.9",
47
48
  "@types/node": "^20.11.0",
48
49
  "nodemon": "^3.0.3",
package/plugin.yaml CHANGED
@@ -4,6 +4,16 @@ name: wix-server-client
4
4
  # Plugin initialization uses makeJayInit pattern in lib/init.ts
5
5
  # Export name defaults to 'init'
6
6
 
7
+ services:
8
+ - name: wix-client
9
+ marker: WIX_CLIENT_SERVICE
10
+ description: Core Wix SDK client with API key authentication
11
+
12
+ contexts:
13
+ - name: wix-client
14
+ marker: WIX_CLIENT_CONTEXT
15
+ description: Client-side OAuth authentication and token management
16
+
7
17
  setup:
8
18
  handler: setupWixServerClient
9
19
  description: Configure Wix API credentials (API key, site ID, OAuth client ID)