@abtnode/constant 1.8.36 → 1.8.37

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.
Files changed (2) hide show
  1. package/index.js +19 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -272,6 +272,9 @@ const WHO_CAN_ACCESS = {
272
272
  ALL: 'all',
273
273
  };
274
274
 
275
+ const BLOCKLET_STORE_URL = 'https://store.blocklet.dev';
276
+ const BLOCKLET_STORE_URL_DEV = 'https://dev.store.blocklet.dev';
277
+
275
278
  module.exports = Object.freeze({
276
279
  // Blocklet Server
277
280
  NODE_MODES: Object.freeze({
@@ -315,11 +318,25 @@ module.exports = Object.freeze({
315
318
 
316
319
  NODE_REGISTER_URL: 'https://install.arcblock.io/',
317
320
  WEB_WALLET_URL: 'https://web.abtwallet.io',
318
- BLOCKLET_STORE_URL: 'https://store.blocklet.dev',
319
- BLOCKLET_STORE_URL_DEV: 'https://dev.store.blocklet.dev',
321
+ BLOCKLET_STORE_URL,
322
+ BLOCKLET_STORE_URL_DEV,
320
323
  BLOCKLET_STORE_API_PREFIX: '/api',
321
324
  BLOCKLET_STORE_API_BLOCKLET_PREFIX: '/api/blocklets',
322
325
  BLOCKLET_STORE_META_PATH: '/api/store.json',
326
+ BLOCKLET_STORE: {
327
+ name: 'Official Store',
328
+ description: 'ArcBlock official blocklet registry',
329
+ url: BLOCKLET_STORE_URL,
330
+ logoUrl: '/logo.png',
331
+ maintainer: 'arcblock',
332
+ },
333
+ BLOCKLET_STORE_DEV: {
334
+ name: 'Dev Store',
335
+ description: 'ArcBlock dev registry that contains demo and example blocklets',
336
+ url: BLOCKLET_STORE_URL_DEV,
337
+ maintainer: 'arcblock',
338
+ logoUrl: '/logo.png',
339
+ },
323
340
 
324
341
  DEFAULT_DID_REGISTRY: 'https://registry.abtnet.io',
325
342
  DEFAULT_DID_DOMAIN: 'did.abtnet.io',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.36",
6
+ "version": "1.8.37",
7
7
  "description": "ABT Node constants",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -20,5 +20,5 @@
20
20
  "devDependencies": {
21
21
  "jest": "^27.5.1"
22
22
  },
23
- "gitHead": "507e974ce88bad1aa002c593130b32982207f803"
23
+ "gitHead": "f26f451c6e2b1168b36f78269eafdf3f671236bf"
24
24
  }