@bitgo/public-types 4.18.1 → 4.18.2
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/src/schema/transactionRequest/intents/intent.d.ts +9 -1
- package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +9 -1
- package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.js +2 -2
- package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.js.map +1 -1
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/taoUnstakeIntent.ts +2 -2
@@ -3453,7 +3453,15 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
3453
3453
|
}>]>, t.TypeC<{
|
3454
3454
|
stakingRequestId: t.StringC;
|
3455
3455
|
}>]>, t.TypeC<{
|
3456
|
-
intentType: t.LiteralC<"
|
3456
|
+
intentType: t.LiteralC<"claim">;
|
3457
|
+
}>, t.PartialC<{
|
3458
|
+
amount: t.UnionC<[t.Type<{
|
3459
|
+
value: string;
|
3460
|
+
symbol: string;
|
3461
|
+
}, {
|
3462
|
+
value: string;
|
3463
|
+
symbol: string;
|
3464
|
+
}, unknown>, t.UndefinedC]>;
|
3457
3465
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3458
3466
|
intentType: t.KeyofC<{
|
3459
3467
|
payment: t.LiteralC<"payment">;
|
@@ -39,7 +39,15 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
39
39
|
}>]>, t.TypeC<{
|
40
40
|
stakingRequestId: t.StringC;
|
41
41
|
}>]>, t.TypeC<{
|
42
|
-
intentType: t.LiteralC<"
|
42
|
+
intentType: t.LiteralC<"claim">;
|
43
|
+
}>, t.PartialC<{
|
44
|
+
amount: t.UnionC<[t.Type<{
|
45
|
+
value: string;
|
46
|
+
symbol: string;
|
47
|
+
}, {
|
48
|
+
value: string;
|
49
|
+
symbol: string;
|
50
|
+
}, unknown>, t.UndefinedC]>;
|
43
51
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
44
52
|
intentType: t.KeyofC<{
|
45
53
|
payment: t.LiteralC<"payment">;
|
@@ -25,10 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
26
|
exports.TaoUnstakeIntent = void 0;
|
27
27
|
const t = __importStar(require("io-ts"));
|
28
|
-
const
|
28
|
+
const withdrawIntent_1 = require("./withdrawIntent");
|
29
29
|
const taoStakingBaseIntent_1 = require("./taoStakingBaseIntent");
|
30
30
|
exports.TaoUnstakeIntent = t.intersection([
|
31
|
-
|
31
|
+
withdrawIntent_1.WithdrawIntent,
|
32
32
|
taoStakingBaseIntent_1.TaoStakingBaseIntent,
|
33
33
|
t.type({
|
34
34
|
amountUnstaked: t.string,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taoUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/taoUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,
|
1
|
+
{"version":3,"file":"taoUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/taoUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,qDAAkD;AAClD,iEAA8D;AAKjD,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,+BAAc;IACd,2CAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,cAAc,EAAE,CAAC,CAAC,MAAM;KACzB,CAAC;CACH,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
import {
|
2
|
+
import { WithdrawIntent } from "./withdrawIntent";
|
3
3
|
import { TaoStakingBaseIntent } from "./taoStakingBaseIntent";
|
4
4
|
|
5
5
|
/**
|
6
6
|
* @title Tao Unstake Intent
|
7
7
|
*/
|
8
8
|
export const TaoUnstakeIntent = t.intersection([
|
9
|
-
|
9
|
+
WithdrawIntent,
|
10
10
|
TaoStakingBaseIntent,
|
11
11
|
t.type({
|
12
12
|
amountUnstaked: t.string,
|