veryfi-lens-wasm 1.0.8 → 1.0.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.
- package/package.json +2 -2
- package/setup.mjs +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "veryfi-lens-wasm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Lens For Web SDK with WASM",
|
|
5
5
|
"main": "veryfi-lens.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bin": {
|
|
10
10
|
"veryfi-lens-wasm-setup": "./setup.sh"
|
|
11
11
|
},
|
|
12
|
-
"author": "",
|
|
12
|
+
"author": "George Veryfi",
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"fs-extra": "^11.1.1",
|
package/setup.mjs
CHANGED
|
@@ -2,14 +2,15 @@ import inquirer from 'inquirer';
|
|
|
2
2
|
import path from 'path';
|
|
3
3
|
import fs from 'fs-extra';
|
|
4
4
|
|
|
5
|
-
const defaultPath = path.join(process.cwd()
|
|
5
|
+
const defaultPath = path.join(process.cwd());
|
|
6
6
|
|
|
7
7
|
const questions = [
|
|
8
8
|
{
|
|
9
9
|
type: 'input',
|
|
10
10
|
name: 'targetPath',
|
|
11
|
-
message: `Enter the path where you want to copy
|
|
12
|
-
|
|
11
|
+
message: `Enter the path where you want to copy WASM files (They have to be accessible to the browser with relative path)
|
|
12
|
+
current: ${defaultPath} + /public/wasm (you are changing what goes after +):`,
|
|
13
|
+
default: defaultPath + '/public/wasm'
|
|
13
14
|
},
|
|
14
15
|
{
|
|
15
16
|
type: 'confirm',
|