@blocklet/store 1.16.27-beta-c450492a → 1.16.27-beta-d1555a79
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 +2 -0
- package/dist/index.d.cts +2 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +2 -0
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -102,6 +102,7 @@ async function createConnect({
|
|
|
102
102
|
projectId,
|
|
103
103
|
userDid,
|
|
104
104
|
enableEncrypt = false,
|
|
105
|
+
monikers,
|
|
105
106
|
...restParams
|
|
106
107
|
} = {}) {
|
|
107
108
|
const ENDPOINT_CREATE_SESSION = `/api/did/${connectAction}/token`;
|
|
@@ -132,6 +133,7 @@ async function createConnect({
|
|
|
132
133
|
sourceAppPid: masterSite?.appPid || void 0,
|
|
133
134
|
projectId,
|
|
134
135
|
userDid,
|
|
136
|
+
monikers,
|
|
135
137
|
...restParams
|
|
136
138
|
};
|
|
137
139
|
const res = await request({
|
package/dist/index.d.cts
CHANGED
|
@@ -10,9 +10,10 @@ interface CreateConnectOptions {
|
|
|
10
10
|
enableEncrypt?: boolean;
|
|
11
11
|
wrapSpinner?: typeof baseWrapSpinner;
|
|
12
12
|
projectId?: string;
|
|
13
|
+
monikers?: string;
|
|
13
14
|
userDid?: string;
|
|
14
15
|
}
|
|
15
|
-
declare function createConnect({ connectUrl, openPage, fetchTimeout, fetchInterval, retry, connectAction, wrapSpinner, projectId, userDid, enableEncrypt, ...restParams }?: CreateConnectOptions): Promise<unknown>;
|
|
16
|
+
declare function createConnect({ connectUrl, openPage, fetchTimeout, fetchInterval, retry, connectAction, wrapSpinner, projectId, userDid, enableEncrypt, monikers, ...restParams }?: CreateConnectOptions): Promise<unknown>;
|
|
16
17
|
|
|
17
18
|
interface BlockletMeta {
|
|
18
19
|
name: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -10,9 +10,10 @@ interface CreateConnectOptions {
|
|
|
10
10
|
enableEncrypt?: boolean;
|
|
11
11
|
wrapSpinner?: typeof baseWrapSpinner;
|
|
12
12
|
projectId?: string;
|
|
13
|
+
monikers?: string;
|
|
13
14
|
userDid?: string;
|
|
14
15
|
}
|
|
15
|
-
declare function createConnect({ connectUrl, openPage, fetchTimeout, fetchInterval, retry, connectAction, wrapSpinner, projectId, userDid, enableEncrypt, ...restParams }?: CreateConnectOptions): Promise<unknown>;
|
|
16
|
+
declare function createConnect({ connectUrl, openPage, fetchTimeout, fetchInterval, retry, connectAction, wrapSpinner, projectId, userDid, enableEncrypt, monikers, ...restParams }?: CreateConnectOptions): Promise<unknown>;
|
|
16
17
|
|
|
17
18
|
interface BlockletMeta {
|
|
18
19
|
name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -10,9 +10,10 @@ interface CreateConnectOptions {
|
|
|
10
10
|
enableEncrypt?: boolean;
|
|
11
11
|
wrapSpinner?: typeof baseWrapSpinner;
|
|
12
12
|
projectId?: string;
|
|
13
|
+
monikers?: string;
|
|
13
14
|
userDid?: string;
|
|
14
15
|
}
|
|
15
|
-
declare function createConnect({ connectUrl, openPage, fetchTimeout, fetchInterval, retry, connectAction, wrapSpinner, projectId, userDid, enableEncrypt, ...restParams }?: CreateConnectOptions): Promise<unknown>;
|
|
16
|
+
declare function createConnect({ connectUrl, openPage, fetchTimeout, fetchInterval, retry, connectAction, wrapSpinner, projectId, userDid, enableEncrypt, monikers, ...restParams }?: CreateConnectOptions): Promise<unknown>;
|
|
16
17
|
|
|
17
18
|
interface BlockletMeta {
|
|
18
19
|
name: string;
|
package/dist/index.mjs
CHANGED
|
@@ -85,6 +85,7 @@ async function createConnect({
|
|
|
85
85
|
projectId,
|
|
86
86
|
userDid,
|
|
87
87
|
enableEncrypt = false,
|
|
88
|
+
monikers,
|
|
88
89
|
...restParams
|
|
89
90
|
} = {}) {
|
|
90
91
|
const ENDPOINT_CREATE_SESSION = `/api/did/${connectAction}/token`;
|
|
@@ -115,6 +116,7 @@ async function createConnect({
|
|
|
115
116
|
sourceAppPid: masterSite?.appPid || void 0,
|
|
116
117
|
projectId,
|
|
117
118
|
userDid,
|
|
119
|
+
monikers,
|
|
118
120
|
...restParams
|
|
119
121
|
};
|
|
120
122
|
const res = await request({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/store",
|
|
3
|
-
"version": "1.16.27-beta-
|
|
3
|
+
"version": "1.16.27-beta-d1555a79",
|
|
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.27-beta-
|
|
31
|
-
"@abtnode/util": "1.16.27-beta-
|
|
32
|
-
"@arcblock/did": "1.18.
|
|
33
|
-
"@blocklet/constant": "1.16.27-beta-
|
|
34
|
-
"@blocklet/meta": "1.16.27-beta-
|
|
35
|
-
"@ocap/client": "^1.18.
|
|
36
|
-
"@ocap/util": "1.18.
|
|
37
|
-
"@ocap/wallet": "1.18.
|
|
30
|
+
"@abtnode/constant": "1.16.27-beta-d1555a79",
|
|
31
|
+
"@abtnode/util": "1.16.27-beta-d1555a79",
|
|
32
|
+
"@arcblock/did": "1.18.121",
|
|
33
|
+
"@blocklet/constant": "1.16.27-beta-d1555a79",
|
|
34
|
+
"@blocklet/meta": "1.16.27-beta-d1555a79",
|
|
35
|
+
"@ocap/client": "^1.18.121",
|
|
36
|
+
"@ocap/util": "1.18.121",
|
|
37
|
+
"@ocap/wallet": "1.18.121",
|
|
38
38
|
"form-data": "^4.0.0",
|
|
39
39
|
"fs-extra": "^11.2.0",
|
|
40
40
|
"json-stable-stringify": "^1.0.1",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"typescript": "^5.0.4",
|
|
60
60
|
"unbuild": "^2.0.0"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "10055507ae6190a13ee83e2f6446fd64523dd298"
|
|
63
63
|
}
|