@autonomys/auto-xdm 1.2.7 → 1.2.8
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/types/index.d.ts +16 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/package.json +4 -4
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type Consensus = {
|
|
2
|
+
type: 'consensus';
|
|
3
|
+
};
|
|
4
|
+
export type Domain = {
|
|
5
|
+
type: 'domain';
|
|
6
|
+
domainId: number;
|
|
7
|
+
};
|
|
8
|
+
export type ChainOrDomain = Consensus | Domain;
|
|
9
|
+
export type AccountId20 = {
|
|
10
|
+
accountId20: string;
|
|
11
|
+
};
|
|
12
|
+
export type AccountId32 = {
|
|
13
|
+
accountId32: string;
|
|
14
|
+
};
|
|
15
|
+
export type Account = AccountId20 | AccountId32;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,WAAW,CAAA;CAClB,CAAA;AACD,MAAM,MAAM,MAAM,GAAG;IACnB,IAAI,EAAE,QAAQ,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AACD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,MAAM,CAAA;AAC9C,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AACD,MAAM,MAAM,OAAO,GAAG,WAAW,GAAG,WAAW,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autonomys/auto-xdm",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"README.md"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@autonomys/auto-consensus": "^1.2.
|
|
29
|
-
"@autonomys/auto-utils": "^1.2.
|
|
28
|
+
"@autonomys/auto-consensus": "^1.2.8",
|
|
29
|
+
"@autonomys/auto-utils": "^1.2.8"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/jest": "^29.5.12",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"ts-jest": "^29.1.4",
|
|
37
37
|
"typescript": "^5.4.5"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "680433a2a62e23fad2bb5cc40706be259dcf51c5"
|
|
40
40
|
}
|