create-veil-app 0.3.0 → 0.3.1
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.
|
@@ -374,7 +374,7 @@ async function addVeilToProject(projectPath, config) {
|
|
|
374
374
|
generateVeilProvider: generateVeilProvider2,
|
|
375
375
|
generateVeilHooks: generateVeilHooks2,
|
|
376
376
|
generateShadowPayModule: generateShadowPayModule2
|
|
377
|
-
} = await import("./templates-
|
|
377
|
+
} = await import("./templates-XMR2GBMZ.js");
|
|
378
378
|
const dirs = ["privacy", "infra", "contexts", "hooks"];
|
|
379
379
|
for (const dir of dirs) {
|
|
380
380
|
await fs2.ensureDir(path2.join(projectPath, dir));
|
package/dist/index.js
CHANGED
|
@@ -3,8 +3,7 @@ import {
|
|
|
3
3
|
TEMPLATE_INFO,
|
|
4
4
|
runAdd,
|
|
5
5
|
runInit
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-QGM4M3NI.js";
|
|
6
|
+
} from "./chunk-ZVIMTG22.js";
|
|
8
7
|
|
|
9
8
|
// src/index.ts
|
|
10
9
|
import { Command } from "commander";
|
|
@@ -24,7 +23,7 @@ var createDexClient;
|
|
|
24
23
|
var TOKENS;
|
|
25
24
|
async function loadSDK() {
|
|
26
25
|
try {
|
|
27
|
-
const sdk = await import("
|
|
26
|
+
const sdk = await import("@veil-protocol/sdk");
|
|
28
27
|
VeilClient = sdk.VeilClient;
|
|
29
28
|
createShieldedClient = sdk.createShieldedClient;
|
|
30
29
|
createTransferClient = sdk.createTransferClient;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-veil-app",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Privacy-first project scaffolding CLI for Solana - 15 templates with full Veil + ShadowWire stack",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://veil-protocol.io",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@
|
|
40
|
+
"@veil-protocol/sdk": "^0.1.0",
|
|
41
41
|
"@solana/web3.js": "^1.87.0",
|
|
42
42
|
"chalk": "^5.3.0",
|
|
43
43
|
"commander": "^12.0.0",
|
package/dist/chunk-QGM4M3NI.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
8
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
|
-
}) : x)(function(x) {
|
|
10
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
|
-
});
|
|
13
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
14
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
|
-
};
|
|
16
|
-
var __copyProps = (to, from, except, desc) => {
|
|
17
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
18
|
-
for (let key of __getOwnPropNames(from))
|
|
19
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
20
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
21
|
-
}
|
|
22
|
-
return to;
|
|
23
|
-
};
|
|
24
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
25
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
26
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
27
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
28
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
29
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
30
|
-
mod
|
|
31
|
-
));
|
|
32
|
-
|
|
33
|
-
export {
|
|
34
|
-
__require,
|
|
35
|
-
__commonJS,
|
|
36
|
-
__toESM
|
|
37
|
-
};
|