@sentio/cli 3.7.0-rc.1 → 3.7.0-rc.3

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/lib/index.js CHANGED
@@ -109890,7 +109890,8 @@ function getAuthConfig(host) {
109890
109890
  return { domain, clientId, audience, redirectUri };
109891
109891
  }
109892
109892
  function overrideConfigWithOptions(config, options) {
109893
- finalizeProjectName(config, options.owner, options.name);
109893
+ const projectOwner = options.platform === false ? void 0 : options.owner;
109894
+ finalizeProjectName(config, projectOwner, options.name);
109894
109895
  finalizeHost(config, options.host);
109895
109896
  if (options.debug) {
109896
109897
  config.debug = true;
@@ -139190,7 +139191,7 @@ var TESTNET_CONFIG = {
139190
139191
  chainId: 7892101,
139191
139192
  rpcUrl: "https://sentio-testnet.rpc.sentio.xyz",
139192
139193
  explorerUrl: "https://testnet-explorer.sentio.xyz",
139193
- addressBookAddress: "0x11cDDF46f16925aa630Af9D5158028E56309868f"
139194
+ addressBookAddress: "0x94579F0e7873097279B48d7b15043698c522e47c"
139194
139195
  };
139195
139196
  function getSentioNetworkConfig(network) {
139196
139197
  if (network === "testnet" || network === "7892101") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/cli",
3
- "version": "3.7.0-rc.1",
3
+ "version": "3.7.0-rc.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
package/src/config.ts CHANGED
@@ -88,7 +88,14 @@ export function getAuthConfig(host: string): {
88
88
  }
89
89
 
90
90
  export function overrideConfigWithOptions(config: YamlProjectConfig, options: any) {
91
- finalizeProjectName(config, options.owner, options.name)
91
+ // In `--no-platform` (Sentio Network) mode, `--owner` is a 0x-prefixed
92
+ // Ethereum address identifying the on-chain processor owner — completely
93
+ // orthogonal to the platform's "<username>/<slug>" project namespace.
94
+ // Don't let it rewrite `config.project`, since that field is the source
95
+ // of the on-chain processor id and a 42-char address would always
96
+ // overflow `ProcessorRegistry.MAX_PROCESSOR_ID_LENGTH` (32).
97
+ const projectOwner = options.platform === false ? undefined : options.owner
98
+ finalizeProjectName(config, projectOwner, options.name)
92
99
  finalizeHost(config, options.host)
93
100
 
94
101
  if (options.debug) {
package/src/network.ts CHANGED
@@ -17,7 +17,7 @@ const TESTNET_CONFIG: SentioNetworkConfig = {
17
17
  chainId: 7892101,
18
18
  rpcUrl: 'https://sentio-testnet.rpc.sentio.xyz',
19
19
  explorerUrl: 'https://testnet-explorer.sentio.xyz',
20
- addressBookAddress: '0x11cDDF46f16925aa630Af9D5158028E56309868f'
20
+ addressBookAddress: '0x94579F0e7873097279B48d7b15043698c522e47c'
21
21
  }
22
22
 
23
23
  export function getSentioNetworkConfig(network: string): SentioNetworkConfig {