@bitgo/public-types 5.7.0 → 5.8.0
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 +1 -0
- 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/package.json +1 -1
- package/src/schema/transactionRequest/intents/signMessageIntent.ts +5 -0
@@ -2559,6 +2559,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2559
2559
|
intentType: t.LiteralC<"signMessage">;
|
2560
2560
|
messageRaw: t.StringC;
|
2561
2561
|
messageEncoded: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2562
|
+
messageStandardType: 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<{
|
@@ -45,6 +45,7 @@ export declare const MmiSignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
45
45
|
intentType: t.LiteralC<"signMessage">;
|
46
46
|
messageRaw: t.StringC;
|
47
47
|
messageEncoded: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
48
|
+
messageStandardType: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
48
49
|
}>]>, t.TypeC<{
|
49
50
|
custodianMessageId: t.StringC;
|
50
51
|
}>]>;
|
@@ -45,5 +45,6 @@ export declare const SignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
45
45
|
intentType: t.LiteralC<"signMessage">;
|
46
46
|
messageRaw: t.StringC;
|
47
47
|
messageEncoded: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
48
|
+
messageStandardType: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
48
49
|
}>]>;
|
49
50
|
export type SignMessageIntent = t.TypeOf<typeof SignMessageIntent>;
|
@@ -34,6 +34,7 @@ exports.SignMessageIntent = t.intersection([
|
|
34
34
|
intentType: intentType_1.intentTypes.signMessage,
|
35
35
|
messageRaw: t.string,
|
36
36
|
messageEncoded: utils_1.optionalString,
|
37
|
+
messageStandardType: utils_1.optionalString,
|
37
38
|
}),
|
38
39
|
]);
|
39
40
|
//# 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;
|
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"}
|
package/package.json
CHANGED
@@ -17,6 +17,11 @@ export const SignMessageIntent = t.intersection([
|
|
17
17
|
* @example for EVM: \x19Ethereum Signed Message:\n12test message
|
18
18
|
*/
|
19
19
|
messageEncoded: optionalString,
|
20
|
+
/**
|
21
|
+
* The type of message standard, e.g. 'EIP191', 'EIP712', 'CIP8' etc.
|
22
|
+
* @example for EVM: EIP191
|
23
|
+
*/
|
24
|
+
messageStandardType: optionalString,
|
20
25
|
}),
|
21
26
|
]);
|
22
27
|
|