@abtnode/util 1.16.43-beta-20250505-062139-b156e7da → 1.16.43-beta-20250507-124320-c405ab23

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.
@@ -1,7 +1,7 @@
1
1
  const fs = require('fs');
2
2
  const FormData = require('form-data');
3
3
 
4
- const makeFormData = ({ tarFile: file, hasDiff, did, serverVersion, deleteSet, rootDid, mountPoint }) => {
4
+ const makeFormData = ({ tarFile: file, hasDiff, did, serverVersion, deleteSet, rootDid, mountPoint, dist }) => {
5
5
  let varFields = hasDiff
6
6
  ? '$file: Upload!, $did: String, $diffVersion: String, $deleteSet: [String!]'
7
7
  : '$file: Upload!';
@@ -9,8 +9,8 @@ const makeFormData = ({ tarFile: file, hasDiff, did, serverVersion, deleteSet, r
9
9
  ? 'file: $file, did: $did, diffVersion: $diffVersion, deleteSet: $deleteSet'
10
10
  : 'file: $file';
11
11
 
12
- varFields = `${varFields}, $rootDid: String, $mountPoint: String`;
13
- inputFields = `${inputFields}, rootDid: $rootDid, mountPoint: $mountPoint`;
12
+ varFields = `${varFields}, $rootDid: String, $mountPoint: String, $dist: BlockletDistInput`;
13
+ inputFields = `${inputFields}, rootDid: $rootDid, mountPoint: $mountPoint, dist: $dist`;
14
14
 
15
15
  const variables = hasDiff
16
16
  ? {
@@ -25,6 +25,7 @@ const makeFormData = ({ tarFile: file, hasDiff, did, serverVersion, deleteSet, r
25
25
 
26
26
  variables.rootDid = rootDid;
27
27
  variables.mountPoint = mountPoint;
28
+ variables.dist = dist;
28
29
 
29
30
  const apiName = 'installComponent';
30
31
  const query = `
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.43-beta-20250505-062139-b156e7da",
6
+ "version": "1.16.43-beta-20250507-124320-c405ab23",
7
7
  "description": "ArcBlock's JavaScript utility",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -18,11 +18,11 @@
18
18
  "author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@abtnode/constant": "1.16.43-beta-20250505-062139-b156e7da",
21
+ "@abtnode/constant": "1.16.43-beta-20250507-124320-c405ab23",
22
22
  "@arcblock/did": "1.20.4",
23
23
  "@arcblock/pm2": "^5.4.0",
24
- "@blocklet/constant": "1.16.43-beta-20250505-062139-b156e7da",
25
- "@blocklet/meta": "1.16.43-beta-20250505-062139-b156e7da",
24
+ "@blocklet/constant": "1.16.43-beta-20250507-124320-c405ab23",
25
+ "@blocklet/meta": "1.16.43-beta-20250507-124320-c405ab23",
26
26
  "@ocap/client": "1.20.4",
27
27
  "@ocap/mcrypto": "1.20.4",
28
28
  "@ocap/util": "1.20.4",
@@ -86,5 +86,5 @@
86
86
  "fs-extra": "^11.2.0",
87
87
  "jest": "^29.7.0"
88
88
  },
89
- "gitHead": "b1056718bbb5c25aef0cacc08d29762ebc420f66"
89
+ "gitHead": "4e5087dfaa52788676f313d23bfdd3ac68d63503"
90
90
  }