@0xobelisk/sui-common 1.1.5 → 1.1.6
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.d.ts +1 -8
- package/package.json +1 -1
- package/src/codegen/types/index.ts +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -32,12 +32,6 @@ type SchemaData = Record<string, string> | string[];
|
|
|
32
32
|
type SchemaType = string;
|
|
33
33
|
type EventData = Record<string, string>;
|
|
34
34
|
type ErrorData = Record<string, string>;
|
|
35
|
-
type DependencyType = {
|
|
36
|
-
name: string;
|
|
37
|
-
git: string;
|
|
38
|
-
subdir?: string;
|
|
39
|
-
rev: string;
|
|
40
|
-
};
|
|
41
35
|
type DubheConfig = {
|
|
42
36
|
name: string;
|
|
43
37
|
description: string;
|
|
@@ -45,7 +39,6 @@ type DubheConfig = {
|
|
|
45
39
|
schemas: Record<string, SchemaType>;
|
|
46
40
|
events?: Record<string, EventData>;
|
|
47
41
|
errors?: ErrorData;
|
|
48
|
-
dependencies: DependencyType[];
|
|
49
42
|
};
|
|
50
43
|
type MoveType = 'string' | 'vector<string>' | 'String' | 'vector<String>' | 'address' | 'bool' | 'u8' | 'u32' | 'u64' | 'u128' | 'vector<address>' | 'vector<bool>' | 'vector<u8>' | 'vector<vector<u8>>' | 'vector<u32>' | 'vector<u64>' | 'vector<u128>';
|
|
51
44
|
|
|
@@ -56,4 +49,4 @@ declare function resolveConfigPath(configPath: string | undefined, toFileURL?: b
|
|
|
56
49
|
|
|
57
50
|
declare const parseData: (data: any) => any;
|
|
58
51
|
|
|
59
|
-
export { BaseType, BaseValueType,
|
|
52
|
+
export { BaseType, BaseValueType, DubheConfig, ErrorData, EventData, MoveType, SchemaData, SchemaType, StorageDataType, StorageMapType, formatAndWriteMove, formatAndWriteTypescript, formatMove, formatTypescript, loadConfig, parseData, posixPath, resolveConfigPath, schemaGen };
|
package/package.json
CHANGED
|
@@ -52,12 +52,6 @@ export type SchemaData = Record<string, string> | string[]
|
|
|
52
52
|
export type SchemaType = string
|
|
53
53
|
export type EventData = Record<string, string>
|
|
54
54
|
export type ErrorData = Record<string, string>
|
|
55
|
-
export type DependencyType = {
|
|
56
|
-
name: string;
|
|
57
|
-
git: string;
|
|
58
|
-
subdir?: string;
|
|
59
|
-
rev: string;
|
|
60
|
-
}
|
|
61
55
|
|
|
62
56
|
export type DubheConfig = {
|
|
63
57
|
name: string;
|
|
@@ -66,7 +60,6 @@ export type DubheConfig = {
|
|
|
66
60
|
schemas: Record<string, SchemaType>;
|
|
67
61
|
events?: Record<string, EventData>;
|
|
68
62
|
errors?: ErrorData;
|
|
69
|
-
dependencies: DependencyType[];
|
|
70
63
|
};
|
|
71
64
|
|
|
72
65
|
export type MoveType =
|