@blocklet/store 1.16.44-beta-20250603-231026-30a9d27f → 1.16.44-beta-20250605-131649-6eaf56d9

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/index.cjs CHANGED
@@ -137,7 +137,9 @@ async function createConnect({
137
137
  method: "GET",
138
138
  timeout: fetchTimeout
139
139
  });
140
- masterSite = blocklet?.settings?.federated?.master;
140
+ if (blocklet?.settings?.federated?.config?.status === "approved") {
141
+ masterSite = blocklet?.settings?.federated?.master;
142
+ }
141
143
  } catch {
142
144
  }
143
145
  try {
package/dist/index.mjs CHANGED
@@ -117,7 +117,9 @@ async function createConnect({
117
117
  method: "GET",
118
118
  timeout: fetchTimeout
119
119
  });
120
- masterSite = blocklet?.settings?.federated?.master;
120
+ if (blocklet?.settings?.federated?.config?.status === "approved") {
121
+ masterSite = blocklet?.settings?.federated?.master;
122
+ }
121
123
  } catch {
122
124
  }
123
125
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/store",
3
- "version": "1.16.44-beta-20250603-231026-30a9d27f",
3
+ "version": "1.16.44-beta-20250605-131649-6eaf56d9",
4
4
  "description": "Connect Store and upload blocklet to Store",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -27,14 +27,14 @@
27
27
  "author": "",
28
28
  "license": "ISC",
29
29
  "dependencies": {
30
- "@abtnode/constant": "1.16.44-beta-20250603-231026-30a9d27f",
31
- "@abtnode/util": "1.16.44-beta-20250603-231026-30a9d27f",
32
- "@arcblock/did": "1.20.12",
33
- "@blocklet/constant": "1.16.44-beta-20250603-231026-30a9d27f",
34
- "@blocklet/meta": "1.16.44-beta-20250603-231026-30a9d27f",
35
- "@ocap/client": "1.20.12",
36
- "@ocap/util": "1.20.12",
37
- "@ocap/wallet": "1.20.12",
30
+ "@abtnode/constant": "1.16.44-beta-20250605-131649-6eaf56d9",
31
+ "@abtnode/util": "1.16.44-beta-20250605-131649-6eaf56d9",
32
+ "@arcblock/did": "1.20.13",
33
+ "@blocklet/constant": "1.16.44-beta-20250605-131649-6eaf56d9",
34
+ "@blocklet/meta": "1.16.44-beta-20250605-131649-6eaf56d9",
35
+ "@ocap/client": "1.20.13",
36
+ "@ocap/util": "1.20.13",
37
+ "@ocap/wallet": "1.20.13",
38
38
  "form-data": "^4.0.0",
39
39
  "fs-extra": "^11.2.0",
40
40
  "js-yaml": "^4.1.0",
@@ -62,5 +62,5 @@
62
62
  "typescript": "^5.6.3",
63
63
  "unbuild": "^2.0.0"
64
64
  },
65
- "gitHead": "c76d07121652516f178de4188d8694fc130767b8"
65
+ "gitHead": "667899e10781e9fcc21c40c2a2f60f3fa2fecc88"
66
66
  }