lucy-cli 2.0.0-alpha.6 → 2.0.0-alpha.9

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.
@@ -27,7 +27,6 @@ const config = (() => {
27
27
  // config.resolver.unstable_conditionsByPlatform = ['ios', 'android']
28
28
  config.resolver.resolveRequest = (context, moduleName, platform) => {
29
29
  if (platform === 'web') {
30
- console.log('Resolving for web:', moduleName);
31
30
  // Check if the module name is in our alias map
32
31
  const alias = ALIASES_WEB[moduleName];
33
32
  if (alias) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "lucy-cli",
4
- "version": "2.0.0-alpha.6",
4
+ "version": "2.0.0-alpha.9",
5
5
  "description": "Lucy Framework for WIX Studio Editor",
6
6
  "main": ".dist/index.js",
7
7
  "scripts": {
package/src/init.ts CHANGED
@@ -325,7 +325,7 @@ const init_expo = () => {
325
325
  "reset": "tsx ./scripts/reset-project.ts",
326
326
  "format": "prettier --write \"./*.json\" \"**/*.{ts,tsx,md,json,jsonc,json5}\"",
327
327
  "prebuild": "expo prebuild",
328
- "pods": "npxpod-install",
328
+ "pods": "npx pod-install",
329
329
  "build:dev": "eas build --local --profile development",
330
330
  "build:sim": "eas build --local --profile ios-simulator",
331
331
  "build:prev": "eas build --local --profile preview",
package/files/expo/.env DELETED
@@ -1 +0,0 @@
1
- EXPO_PUBLIC_WIX_CLIENT_ID=
@@ -1,20 +0,0 @@
1
- diff --git a/build/auth/AppStrategy.js b/build/auth/AppStrategy.js
2
- index 36a3bbf1ef7c6e8e52f0eb3d7a20713c505ed483..1c59bf6eda0acf2a3d094a8f665a4c5f75709175 100644
3
- --- a/build/auth/AppStrategy.js
4
- +++ b/build/auth/AppStrategy.js
5
- @@ -1,5 +1,7 @@
6
- import { parsePublicKeyIfEncoded } from '../helpers.js';
7
- import { getTokenInfo } from '../get-token-info.js';
8
- +import { jwtVerify, importSPKI } from 'jose';
9
- +
10
- /**
11
- * Creates an authentication strategy for Wix Apps OAuth installation process.
12
- * Use this authentication strategy when making requests to Wix APIs from your Wix App backend.
13
- @@ -212,7 +214,6 @@ export function AppStrategy(opts) {
14
- if (!opts.publicKey) {
15
- throw new Error('Missing public key. Make sure to pass it to the AppStrategy');
16
- }
17
- - const { jwtVerify, importSPKI } = await import('jose');
18
- const publicKey = await importSPKI(parsePublicKeyIfEncoded(opts.publicKey), 'RS256');
19
- const decoded = await jwtVerify(token, publicKey, verifyCallerClaims
20
- ? {