@blocklet/meta 1.16.19-beta-e6aac665 → 1.16.19-beta-710018ca
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/blockies.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
export declare function createImageData(size: number): number[];
|
|
2
|
-
export declare function buildOpts(opts: {
|
|
3
|
-
seed: string;
|
|
4
|
-
size?: number;
|
|
5
|
-
scale?: number;
|
|
6
|
-
}): BlockiesOptions;
|
|
7
2
|
export interface BlockiesOptions {
|
|
8
3
|
seed: string;
|
|
9
4
|
size: number;
|
|
@@ -12,4 +7,9 @@ export interface BlockiesOptions {
|
|
|
12
7
|
bgcolor: string;
|
|
13
8
|
spotcolor: string;
|
|
14
9
|
}
|
|
10
|
+
export declare function buildOpts(opts: {
|
|
11
|
+
seed: string;
|
|
12
|
+
size?: number;
|
|
13
|
+
scale?: number;
|
|
14
|
+
}): BlockiesOptions;
|
|
15
15
|
export declare function createBlockiesSvg(address: string, size?: number, caseSensitive?: boolean, scale?: number): string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { checkLink } from './url-path-friendly';
|
|
2
|
-
interface DeepWalkCallback {
|
|
3
|
-
(current: any, parent: any, options: DeepWalkCallbackOptions): void;
|
|
4
|
-
}
|
|
5
2
|
interface DeepWalkCallbackOptions {
|
|
6
3
|
index: number;
|
|
7
4
|
level: number;
|
|
8
5
|
}
|
|
6
|
+
interface DeepWalkCallback {
|
|
7
|
+
(current: any, parent: any, options: DeepWalkCallbackOptions): void;
|
|
8
|
+
}
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
11
11
|
* @param {object} tree 需要深度遍历的数状结构
|
package/lib/payment/v2.js
CHANGED
|
@@ -85,7 +85,9 @@ const getStoreInfo = async (url) => {
|
|
|
85
85
|
*
|
|
86
86
|
* @returns {Array<Component>}
|
|
87
87
|
*/
|
|
88
|
-
const innerGetComponents = async (inputMeta, context = {}
|
|
88
|
+
const innerGetComponents = async (inputMeta, context = {}
|
|
89
|
+
// eslint-disable-next-line no-use-before-define
|
|
90
|
+
) => {
|
|
89
91
|
// FIXME 是否需要验证: 在同一个链上; 重复的 component
|
|
90
92
|
const { ancestors = [], bundles = {} } = context;
|
|
91
93
|
// check ancestor length
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.19-beta-
|
|
6
|
+
"version": "1.16.19-beta-710018ca",
|
|
7
7
|
"description": "Library to parse/validate/fix blocklet meta",
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"typings": "./lib/index.d.ts",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@abtnode/constant": "1.16.19-beta-
|
|
27
|
+
"@abtnode/constant": "1.16.19-beta-710018ca",
|
|
28
28
|
"@arcblock/did": "1.18.95",
|
|
29
29
|
"@arcblock/did-ext": "1.18.95",
|
|
30
30
|
"@arcblock/did-util": "1.18.95",
|
|
31
31
|
"@arcblock/jwt": "1.18.95",
|
|
32
|
-
"@blocklet/constant": "1.16.19-beta-
|
|
32
|
+
"@blocklet/constant": "1.16.19-beta-710018ca",
|
|
33
33
|
"@ocap/asset": "1.18.95",
|
|
34
34
|
"@ocap/mcrypto": "1.18.95",
|
|
35
35
|
"@ocap/types": "1.18.95",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"ts-node": "^10.9.1",
|
|
79
79
|
"typescript": "^5.0.4"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "23518dd7a84664e2a015284d5867cc31540fbdb0"
|
|
82
82
|
}
|