@blocklet/meta 1.16.49-beta-20250819-084933-3bcbd851 → 1.16.49-beta-20250822-070545-6d3344cc
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/blocklet.d.ts +1 -1
- package/lib/did-utils.d.ts +3 -3
- package/lib/index.d.ts +1 -1
- package/lib/info.d.ts +1 -1
- package/lib/payment/index.d.ts +4 -4
- package/lib/payment/v1.d.ts +1 -1
- package/lib/util.d.ts +1 -1
- package/package.json +6 -6
package/lib/blocklet.d.ts
CHANGED
package/lib/did-utils.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UserInfo } from '@
|
|
1
|
+
import { UserInfo } from '@blocklet/server-js';
|
|
2
2
|
export declare function getPermanentDid(user: UserInfo): string;
|
|
3
|
-
export declare function getConnectedAccounts(user: UserInfo): import("@
|
|
3
|
+
export declare function getConnectedAccounts(user: UserInfo): import("@blocklet/server-js").ConnectedAccount[];
|
|
4
4
|
export declare function getConnectedDids(user: UserInfo): string[];
|
|
5
|
-
export declare function getWallet(user: UserInfo): import("@
|
|
5
|
+
export declare function getWallet(user: UserInfo): import("@blocklet/server-js").ConnectedAccount;
|
|
6
6
|
export declare function getWalletDid(user: UserInfo): string;
|
|
7
7
|
export declare function getSourceProvider(user: UserInfo): string;
|
|
8
8
|
export declare function getSourceProviders(user: UserInfo): string[];
|
package/lib/index.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ declare const _default: {
|
|
|
69
69
|
fixService: (meta: import("./types").TBlockletMeta) => import("./types").TBlockletMeta;
|
|
70
70
|
toBlockletDid: (name: string | Buffer) => string;
|
|
71
71
|
getBlockletWallet: (didOrSk: string, nodeSk?: string, type?: import("@arcblock/did").DIDType | "default" | "eth" | "ethereum", index?: number) => import("@ocap/wallet").WalletObject;
|
|
72
|
-
getBlockletInfo: (state: import("@
|
|
72
|
+
getBlockletInfo: (state: import("@blocklet/server-js").BlockletState, nodeSk?: string, { returnWallet }?: {
|
|
73
73
|
returnWallet?: boolean;
|
|
74
74
|
}) => {
|
|
75
75
|
did: string;
|
package/lib/info.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WalletObject } from '@ocap/wallet';
|
|
2
|
-
import { BlockletState } from '@
|
|
2
|
+
import { BlockletState } from '@blocklet/server-js';
|
|
3
3
|
declare const getBlockletInfo: (state: BlockletState, nodeSk?: string, { returnWallet }?: {
|
|
4
4
|
returnWallet?: boolean;
|
|
5
5
|
}) => {
|
package/lib/payment/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import v2 from './v2';
|
|
2
2
|
export declare const createNftFactoryItx: ({ meta, tokens, shares, issuers, serviceUrl, }: {
|
|
3
3
|
meta: import("../types").TBlockletMeta;
|
|
4
|
-
tokens: Pick<import("@
|
|
4
|
+
tokens: Pick<import("@blocklet/server-js").BlockletPaymentPrice, "address" | "value">[];
|
|
5
5
|
shares: {
|
|
6
6
|
value: number;
|
|
7
7
|
address: string;
|
|
@@ -15,7 +15,7 @@ export declare const createNftFactoryItx: ({ meta, tokens, shares, issuers, serv
|
|
|
15
15
|
limit: number;
|
|
16
16
|
trustedIssuers: string[];
|
|
17
17
|
input: {
|
|
18
|
-
tokens: Pick<import("@
|
|
18
|
+
tokens: Pick<import("@blocklet/server-js").BlockletPaymentPrice, "value" | "address">[];
|
|
19
19
|
assets: any[];
|
|
20
20
|
variables: any[];
|
|
21
21
|
};
|
|
@@ -85,7 +85,7 @@ export { v2 };
|
|
|
85
85
|
declare const _default: {
|
|
86
86
|
createNftFactoryItx: ({ meta, tokens, shares, issuers, serviceUrl, }: {
|
|
87
87
|
meta: import("../types").TBlockletMeta;
|
|
88
|
-
tokens: Pick<import("@
|
|
88
|
+
tokens: Pick<import("@blocklet/server-js").BlockletPaymentPrice, "address" | "value">[];
|
|
89
89
|
shares: {
|
|
90
90
|
value: number;
|
|
91
91
|
address: string;
|
|
@@ -99,7 +99,7 @@ declare const _default: {
|
|
|
99
99
|
limit: number;
|
|
100
100
|
trustedIssuers: string[];
|
|
101
101
|
input: {
|
|
102
|
-
tokens: Pick<import("@
|
|
102
|
+
tokens: Pick<import("@blocklet/server-js").BlockletPaymentPrice, "value" | "address">[];
|
|
103
103
|
assets: any[];
|
|
104
104
|
variables: any[];
|
|
105
105
|
};
|
package/lib/payment/v1.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlockletPaymentPrice } from '@
|
|
1
|
+
import { BlockletPaymentPrice } from '@blocklet/server-js';
|
|
2
2
|
import { TBlockletMeta } from '../types';
|
|
3
3
|
declare const createShareContract: ({ tokens, shares, }: {
|
|
4
4
|
tokens?: Pick<BlockletPaymentPrice, "address" | "value">[];
|
package/lib/util.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BlockletState, ComponentState } from '@
|
|
1
|
+
import type { BlockletState, ComponentState } from '@blocklet/server-js';
|
|
2
2
|
import type { Request } from 'express';
|
|
3
3
|
import { hasStartEngine, isGatewayBlocklet, isPackBlocklet } from './engine';
|
|
4
4
|
import type { TBlockletMeta, TEnvironment } from './types';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.49-beta-
|
|
6
|
+
"version": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
7
7
|
"description": "Library to parse/validate/fix blocklet meta",
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"typings": "./lib/index.d.ts",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@abtnode/constant": "1.16.49-beta-
|
|
29
|
-
"@abtnode/db-cache": "1.16.49-beta-
|
|
30
|
-
"@abtnode/docker-utils": "1.16.49-beta-
|
|
28
|
+
"@abtnode/constant": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
29
|
+
"@abtnode/db-cache": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
30
|
+
"@abtnode/docker-utils": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
31
31
|
"@arcblock/did": "1.22.2",
|
|
32
32
|
"@arcblock/did-ext": "1.22.2",
|
|
33
33
|
"@arcblock/did-util": "1.22.2",
|
|
34
34
|
"@arcblock/jwt": "1.22.2",
|
|
35
|
-
"@blocklet/constant": "1.16.49-beta-
|
|
35
|
+
"@blocklet/constant": "1.16.49-beta-20250822-070545-6d3344cc",
|
|
36
36
|
"@ocap/asset": "1.22.2",
|
|
37
37
|
"@ocap/mcrypto": "1.22.2",
|
|
38
38
|
"@ocap/types": "1.22.2",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"ts-node": "^10.9.1",
|
|
83
83
|
"typescript": "^5.6.3"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "c5560fe749fe495b03003ac7325da29c71f5e62b"
|
|
86
86
|
}
|