@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.
@@ -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
- amount: t.StringC;
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;KACpC,CAAC;CACH,CAAC,CAAC"}
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
- amount: t.StringC;
68
+ alphaAmount: t.StringC;
69
69
  }>]>;
70
70
  export type TaoSwitchValidatorIntent = t.TypeOf<typeof TaoSwitchValidatorIntent>;
@@ -37,7 +37,7 @@ exports.TaoSwitchValidatorIntent = t.intersection([
37
37
  destinationHotkey: t.string,
38
38
  originNetuid: t.string,
39
39
  destinationNetuid: t.string,
40
- amount: t.string,
40
+ alphaAmount: t.string,
41
41
  }),
42
42
  ]);
43
43
  //# sourceMappingURL=taoSwitchValidatorIntent.js.map
@@ -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,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "5.22.0",
3
+ "version": "5.23.1",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -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
 
@@ -15,7 +15,7 @@ export const TaoSwitchValidatorIntent = t.intersection([
15
15
  destinationHotkey: t.string,
16
16
  originNetuid: t.string,
17
17
  destinationNetuid: t.string,
18
- amount: t.string,
18
+ alphaAmount: t.string,
19
19
  }),
20
20
  ]);
21
21