@bitgo/public-types 5.22.0 → 5.23.1
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 +2 -1
- package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.js +1 -0
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.js +1 -1
- package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.js.map +1 -1
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/signMessageIntent.ts +4 -0
- package/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.ts +1 -1
@@ -2559,6 +2559,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2559
2559
|
messageRaw: t.StringC;
|
2560
2560
|
messageEncoded: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2561
2561
|
messageStandardType: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2562
|
+
signerAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2562
2563
|
}>]>, t.TypeC<{
|
2563
2564
|
custodianMessageId: t.StringC;
|
2564
2565
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
@@ -4757,7 +4758,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
4757
4758
|
destinationHotkey: t.StringC;
|
4758
4759
|
originNetuid: t.StringC;
|
4759
4760
|
destinationNetuid: t.StringC;
|
4760
|
-
|
4761
|
+
alphaAmount: t.StringC;
|
4761
4762
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
4762
4763
|
intentType: t.KeyofC<{
|
4763
4764
|
payment: t.LiteralC<"payment">;
|
@@ -46,6 +46,7 @@ export declare const MmiSignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
46
46
|
messageRaw: t.StringC;
|
47
47
|
messageEncoded: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
48
48
|
messageStandardType: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
49
|
+
signerAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
49
50
|
}>]>, t.TypeC<{
|
50
51
|
custodianMessageId: t.StringC;
|
51
52
|
}>]>;
|
@@ -46,5 +46,6 @@ export declare const SignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
46
46
|
messageRaw: t.StringC;
|
47
47
|
messageEncoded: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
48
48
|
messageStandardType: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
49
|
+
signerAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
49
50
|
}>]>;
|
50
51
|
export type SignMessageIntent = t.TypeOf<typeof SignMessageIntent>;
|
@@ -35,6 +35,7 @@ exports.SignMessageIntent = t.intersection([
|
|
35
35
|
messageRaw: t.string,
|
36
36
|
messageEncoded: utils_1.optionalString,
|
37
37
|
messageStandardType: utils_1.optionalString,
|
38
|
+
signerAddress: utils_1.optionalString,
|
38
39
|
}),
|
39
40
|
]);
|
40
41
|
//# sourceMappingURL=signMessageIntent.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"signMessageIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/signMessageIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAC3C,0CAAgD;AAEnC,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,WAAW;QAKnC,UAAU,EAAE,CAAC,CAAC,MAAM;QAKpB,cAAc,EAAE,sBAAc;QAK9B,mBAAmB,EAAE,sBAAc;
|
1
|
+
{"version":3,"file":"signMessageIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/signMessageIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAC3C,0CAAgD;AAEnC,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,WAAW;QAKnC,UAAU,EAAE,CAAC,CAAC,MAAM;QAKpB,cAAc,EAAE,sBAAc;QAK9B,mBAAmB,EAAE,sBAAc;QAInC,aAAa,EAAE,sBAAc;KAC9B,CAAC;CACH,CAAC,CAAC"}
|
@@ -65,6 +65,6 @@ export declare const TaoSwitchValidatorIntent: t.IntersectionC<[t.IntersectionC<
|
|
65
65
|
destinationHotkey: t.StringC;
|
66
66
|
originNetuid: t.StringC;
|
67
67
|
destinationNetuid: t.StringC;
|
68
|
-
|
68
|
+
alphaAmount: t.StringC;
|
69
69
|
}>]>;
|
70
70
|
export type TaoSwitchValidatorIntent = t.TypeOf<typeof TaoSwitchValidatorIntent>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taoSwitchValidatorIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/taoSwitchValidatorIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,yFAAsF;AACtF,6CAA2C;AAK9B,QAAA,wBAAwB,GAAG,CAAC,CAAC,YAAY,CAAC;IACrD,iCAAe;IACf,mEAAgC;IAChC,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,eAAe;QACvC,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,iBAAiB,EAAE,CAAC,CAAC,MAAM;QAC3B,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,iBAAiB,EAAE,CAAC,CAAC,MAAM;QAC3B,
|
1
|
+
{"version":3,"file":"taoSwitchValidatorIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/taoSwitchValidatorIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,yFAAsF;AACtF,6CAA2C;AAK9B,QAAA,wBAAwB,GAAG,CAAC,CAAC,YAAY,CAAC;IACrD,iCAAe;IACf,mEAAgC;IAChC,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,eAAe;QACvC,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,iBAAiB,EAAE,CAAC,CAAC,MAAM;QAC3B,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,iBAAiB,EAAE,CAAC,CAAC,MAAM;QAC3B,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;CACH,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -22,6 +22,10 @@ export const SignMessageIntent = t.intersection([
|
|
22
22
|
* @example for EVM: EIP191
|
23
23
|
*/
|
24
24
|
messageStandardType: optionalString,
|
25
|
+
/**
|
26
|
+
* The address of the signer, could be the root address or a receive address of the wallet
|
27
|
+
*/
|
28
|
+
signerAddress: optionalString,
|
25
29
|
}),
|
26
30
|
]);
|
27
31
|
|