@secondlayer/cli 5.10.0 → 5.10.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.
- package/dist/cli.js +15 -4
- package/dist/cli.js.map +3 -3
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -32324,7 +32324,7 @@ var {
|
|
|
32324
32324
|
// package.json
|
|
32325
32325
|
var package_default = {
|
|
32326
32326
|
name: "@secondlayer/cli",
|
|
32327
|
-
version: "5.10.
|
|
32327
|
+
version: "5.10.1",
|
|
32328
32328
|
repository: {
|
|
32329
32329
|
type: "git",
|
|
32330
32330
|
url: "git+https://github.com/ryanwaits/secondlayer.git",
|
|
@@ -32373,10 +32373,10 @@ var package_default = {
|
|
|
32373
32373
|
dependencies: {
|
|
32374
32374
|
"@inquirer/prompts": "^8.2.0",
|
|
32375
32375
|
"@secondlayer/bundler": "^0.3.7",
|
|
32376
|
-
"@secondlayer/sdk": "^5.
|
|
32376
|
+
"@secondlayer/sdk": "^5.8.0",
|
|
32377
32377
|
"@secondlayer/shared": "^6.10.0",
|
|
32378
32378
|
"@secondlayer/stacks": "^2.3.0",
|
|
32379
|
-
"@secondlayer/subgraphs": "^3.
|
|
32379
|
+
"@secondlayer/subgraphs": "^3.5.0",
|
|
32380
32380
|
"@biomejs/js-api": "^0.7.0",
|
|
32381
32381
|
"@biomejs/wasm-nodejs": "^1.9.0",
|
|
32382
32382
|
esbuild: "^0.19.0",
|
|
@@ -34449,6 +34449,7 @@ function buildDevnetCompose(opts = {}) {
|
|
|
34449
34449
|
const apiImage = `ghcr.io/${owner}/secondlayer-api:${tag}`;
|
|
34450
34450
|
const indexerImage = `ghcr.io/${owner}/secondlayer-indexer:${tag}`;
|
|
34451
34451
|
const dbUrl = "postgres://secondlayer:secondlayer@postgres:5432/secondlayer";
|
|
34452
|
+
const DEV_SECRETS_KEY = "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef";
|
|
34452
34453
|
return `# Generated by \`sl devnet connect\` — do not edit by hand.
|
|
34453
34454
|
# Secondlayer app services for local clarinet devnet development.
|
|
34454
34455
|
name: secondlayer-devnet
|
|
@@ -34487,6 +34488,11 @@ services:
|
|
|
34487
34488
|
PORT: 3800
|
|
34488
34489
|
NODE_ENV: production
|
|
34489
34490
|
DATA_DIR: /data
|
|
34491
|
+
# Shared across api + subgraph-processor so the secret the api encrypts
|
|
34492
|
+
# (e.g. a subscription's signing secret) can be decrypted by the emitter.
|
|
34493
|
+
# OSS auto-generates a per-process key when unset — that splits them.
|
|
34494
|
+
# Local-dev fixed value; not a production secret.
|
|
34495
|
+
SECONDLAYER_SECRETS_KEY: ${DEV_SECRETS_KEY}
|
|
34490
34496
|
ports:
|
|
34491
34497
|
- "${apiPort}:3800"
|
|
34492
34498
|
volumes:
|
|
@@ -34549,6 +34555,11 @@ services:
|
|
|
34549
34555
|
# index_progress under NETWORK.
|
|
34550
34556
|
NETWORK: testnet
|
|
34551
34557
|
STACKS_NETWORK: testnet
|
|
34558
|
+
# The emitter blocks webhook delivery to private/loopback IPs by default.
|
|
34559
|
+
# On a local devnet you deliver to your own localhost receiver, so allow it.
|
|
34560
|
+
SECONDLAYER_ALLOW_PRIVATE_EGRESS: "true"
|
|
34561
|
+
# Must match the api's key so the emitter can decrypt signing secrets.
|
|
34562
|
+
SECONDLAYER_SECRETS_KEY: ${DEV_SECRETS_KEY}
|
|
34552
34563
|
volumes:
|
|
34553
34564
|
- subgraphs_data:/data/subgraphs
|
|
34554
34565
|
depends_on:
|
|
@@ -37831,5 +37842,5 @@ registerAccountCommand(program);
|
|
|
37831
37842
|
registerBillingCommand(program);
|
|
37832
37843
|
program.parse();
|
|
37833
37844
|
|
|
37834
|
-
//# debugId=
|
|
37845
|
+
//# debugId=7F4D9295EECF14D064756E2164756E21
|
|
37835
37846
|
//# sourceMappingURL=cli.js.map
|