@bitgo/public-types 5.77.0 → 5.78.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.
Files changed (19) hide show
  1. package/dist/src/schema/transactionRequest/intents/intent.d.ts +12 -0
  2. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +1 -0
  3. package/dist/src/schema/transactionRequest/intents/solBuildOptions.d.ts +1 -0
  4. package/dist/src/schema/transactionRequest/intents/solBuildOptions.js +1 -0
  5. package/dist/src/schema/transactionRequest/intents/solBuildOptions.js.map +1 -1
  6. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +1 -0
  7. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +1 -0
  8. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +1 -0
  9. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +1 -0
  10. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +1 -0
  11. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +1 -0
  12. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +1 -0
  13. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +1 -0
  14. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +2 -0
  15. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +2 -0
  16. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +1 -0
  17. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +24 -0
  18. package/package.json +1 -1
  19. package/src/schema/transactionRequest/intents/solBuildOptions.ts +2 -1
@@ -4399,6 +4399,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4399
4399
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4400
4400
  }>, t.TypeC<{
4401
4401
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4402
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4402
4403
  }>]>, t.TypeC<{
4403
4404
  intentType: t.LiteralC<"authorize">;
4404
4405
  transactionMessage: t.StringC;
@@ -4478,6 +4479,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4478
4479
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4479
4480
  }>, t.TypeC<{
4480
4481
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4482
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4481
4483
  }>]>, t.TypeC<{
4482
4484
  amount: t.TypeC<{
4483
4485
  value: t.StringC;
@@ -4542,6 +4544,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4542
4544
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4543
4545
  }>, t.TypeC<{
4544
4546
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4547
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4545
4548
  }>]>, t.TypeC<{
4546
4549
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
4547
4550
  accountAddress: t.StringC;
@@ -4670,6 +4673,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4670
4673
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4671
4674
  }>, t.TypeC<{
4672
4675
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4676
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4673
4677
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4674
4678
  intentType: t.KeyofC<{
4675
4679
  payment: t.LiteralC<"payment">;
@@ -4727,6 +4731,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4727
4731
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4728
4732
  }>, t.TypeC<{
4729
4733
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4734
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4730
4735
  }>]>, t.TypeC<{
4731
4736
  intentType: t.LiteralC<"customTx">;
4732
4737
  solInstructions: t.ArrayC<t.TypeC<{
@@ -4795,6 +4800,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4795
4800
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4796
4801
  }>, t.TypeC<{
4797
4802
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4803
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4798
4804
  }>]>, t.TypeC<{
4799
4805
  intentType: t.LiteralC<"deactivate">;
4800
4806
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -4856,6 +4862,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4856
4862
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4857
4863
  }>, t.TypeC<{
4858
4864
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4865
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4859
4866
  }>]>, t.TypeC<{
4860
4867
  intentType: t.LiteralC<"delegate">;
4861
4868
  validatorAddress: t.StringC;
@@ -4938,6 +4945,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4938
4945
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4939
4946
  }>, t.TypeC<{
4940
4947
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4948
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4941
4949
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4942
4950
  intentType: t.KeyofC<{
4943
4951
  payment: t.LiteralC<"payment">;
@@ -5017,6 +5025,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5017
5025
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5018
5026
  }>, t.TypeC<{
5019
5027
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5028
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5020
5029
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5021
5030
  intentType: t.KeyofC<{
5022
5031
  payment: t.LiteralC<"payment">;
@@ -5078,6 +5087,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5078
5087
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5079
5088
  }>, t.TypeC<{
5080
5089
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5090
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5081
5091
  }>]>, t.TypeC<{
5082
5092
  amount: t.TypeC<{
5083
5093
  value: t.StringC;
@@ -5148,6 +5158,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5148
5158
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5149
5159
  }>, t.TypeC<{
5150
5160
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5161
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5151
5162
  }>]>, t.TypeC<{
5152
5163
  stakingAddress: t.StringC;
5153
5164
  }>, t.PartialC<{
@@ -5251,6 +5262,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5251
5262
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5252
5263
  }>, t.TypeC<{
5253
5264
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5265
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5254
5266
  }>]>, t.TypeC<{
5255
5267
  intentType: t.LiteralC<"customTx">;
5256
5268
  solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
@@ -56,6 +56,7 @@ export declare const SolAuthorizeIntent: t.IntersectionC<[t.IntersectionC<[t.Typ
56
56
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
57
57
  }>, t.TypeC<{
58
58
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
59
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
60
  }>]>, t.TypeC<{
60
61
  intentType: t.LiteralC<"authorize">;
61
62
  transactionMessage: t.StringC;
@@ -3,5 +3,6 @@ export declare const SolBuildOptions: t.IntersectionC<[t.PartialC<{
3
3
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4
4
  }>, t.TypeC<{
5
5
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
6
7
  }>]>;
7
8
  export type SolBuildOptions = t.TypeOf<typeof SolBuildOptions>;
@@ -31,6 +31,7 @@ exports.SolBuildOptions = t.intersection([
31
31
  accountBaseBuildOptions_1.AccountBaseBuildOptions,
32
32
  t.type({
33
33
  memo: utils_1.optionalString,
34
+ allowOffCurve: utils_1.optionalBoolean,
34
35
  }),
35
36
  ]);
36
37
  //# sourceMappingURL=solBuildOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"solBuildOptions.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solBuildOptions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,0CAAgD;AAChD,uEAAoE;AAEvD,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,iDAAuB;IACvB,CAAC,CAAC,IAAI,CAAC;QACL,IAAI,EAAE,sBAAc;KACrB,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"solBuildOptions.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solBuildOptions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,0CAAiE;AACjE,uEAAoE;AAEvD,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,iDAAuB;IACvB,CAAC,CAAC,IAAI,CAAC;QACL,IAAI,EAAE,sBAAc;QACpB,aAAa,EAAE,uBAAe;KAC/B,CAAC;CACH,CAAC,CAAC"}
@@ -68,6 +68,7 @@ export declare const SolClaimIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
68
68
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
69
69
  }>, t.TypeC<{
70
70
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
71
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
71
72
  }>]>, t.TypeC<{
72
73
  amount: t.TypeC<{
73
74
  value: t.StringC;
@@ -56,6 +56,7 @@ export declare const SolCloseAssociatedTokenAccountIntent: t.IntersectionC<[t.In
56
56
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
57
57
  }>, t.TypeC<{
58
58
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
59
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
60
  }>]>, t.TypeC<{
60
61
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
61
62
  accountAddress: t.StringC;
@@ -63,5 +63,6 @@ export declare const SolCreateAssociatedTokenAccountIntent: t.IntersectionC<[t.I
63
63
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
64
64
  }>, t.TypeC<{
65
65
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
66
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
66
67
  }>]>]>;
67
68
  export type SolCreateAssociatedTokenAccountIntent = t.TypeOf<typeof SolCreateAssociatedTokenAccountIntent>;
@@ -56,6 +56,7 @@ export declare const SolCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
56
56
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
57
57
  }>, t.TypeC<{
58
58
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
59
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
60
  }>]>, t.TypeC<{
60
61
  intentType: t.LiteralC<"customTx">;
61
62
  solInstructions: t.ArrayC<t.TypeC<{
@@ -56,6 +56,7 @@ export declare const SolDeactivateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
56
56
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
57
57
  }>, t.TypeC<{
58
58
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
59
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
60
  }>]>, t.TypeC<{
60
61
  intentType: t.LiteralC<"deactivate">;
61
62
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -56,6 +56,7 @@ export declare const SolDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
56
56
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
57
57
  }>, t.TypeC<{
58
58
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
59
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
60
  }>]>, t.TypeC<{
60
61
  intentType: t.LiteralC<"delegate">;
61
62
  validatorAddress: t.StringC;
@@ -76,5 +76,6 @@ export declare const SolGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Int
76
76
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
77
77
  }>, t.TypeC<{
78
78
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
79
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
79
80
  }>]>]>;
80
81
  export type SolGoUnstakeIntent = t.TypeOf<typeof SolGoUnstakeIntent>;
@@ -78,5 +78,6 @@ export declare const SolPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
78
78
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
79
79
  }>, t.TypeC<{
80
80
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
81
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
81
82
  }>]>]>;
82
83
  export type SolPaymentIntent = t.TypeOf<typeof SolPaymentIntent>;
@@ -60,6 +60,7 @@ export declare const SolStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
60
60
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
61
61
  }>, t.TypeC<{
62
62
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
63
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
63
64
  }>]>, t.TypeC<{
64
65
  amount: t.TypeC<{
65
66
  value: t.StringC;
@@ -132,6 +133,7 @@ export declare const SolJitoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Int
132
133
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
133
134
  }>, t.TypeC<{
134
135
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
136
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
135
137
  }>]>, t.TypeC<{
136
138
  amount: t.TypeC<{
137
139
  value: t.StringC;
@@ -60,6 +60,7 @@ export declare const SolUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
60
60
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
61
61
  }>, t.TypeC<{
62
62
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
63
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
63
64
  }>]>, t.TypeC<{
64
65
  stakingAddress: t.StringC;
65
66
  }>, t.PartialC<{
@@ -169,6 +170,7 @@ export declare const SolJitoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.I
169
170
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
170
171
  }>, t.TypeC<{
171
172
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
173
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
172
174
  }>]>, t.TypeC<{
173
175
  stakingAddress: t.StringC;
174
176
  }>, t.PartialC<{
@@ -56,6 +56,7 @@ export declare const SolVersionedCustomTxIntent: t.IntersectionC<[t.Intersection
56
56
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
57
57
  }>, t.TypeC<{
58
58
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
59
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
60
  }>]>, t.TypeC<{
60
61
  intentType: t.LiteralC<"customTx">;
61
62
  solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
@@ -4497,6 +4497,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4497
4497
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4498
4498
  }>, t.TypeC<{
4499
4499
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4500
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4500
4501
  }>]>, t.TypeC<{
4501
4502
  intentType: t.LiteralC<"authorize">;
4502
4503
  transactionMessage: t.StringC;
@@ -4576,6 +4577,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4576
4577
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4577
4578
  }>, t.TypeC<{
4578
4579
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4580
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4579
4581
  }>]>, t.TypeC<{
4580
4582
  amount: t.TypeC<{
4581
4583
  value: t.StringC;
@@ -4640,6 +4642,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4640
4642
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4641
4643
  }>, t.TypeC<{
4642
4644
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4645
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4643
4646
  }>]>, t.TypeC<{
4644
4647
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
4645
4648
  accountAddress: t.StringC;
@@ -4768,6 +4771,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4768
4771
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4769
4772
  }>, t.TypeC<{
4770
4773
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4774
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4771
4775
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4772
4776
  intentType: t.KeyofC<{
4773
4777
  payment: t.LiteralC<"payment">;
@@ -4825,6 +4829,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4825
4829
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4826
4830
  }>, t.TypeC<{
4827
4831
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4832
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4828
4833
  }>]>, t.TypeC<{
4829
4834
  intentType: t.LiteralC<"customTx">;
4830
4835
  solInstructions: t.ArrayC<t.TypeC<{
@@ -4893,6 +4898,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4893
4898
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4894
4899
  }>, t.TypeC<{
4895
4900
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4901
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4896
4902
  }>]>, t.TypeC<{
4897
4903
  intentType: t.LiteralC<"deactivate">;
4898
4904
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -4954,6 +4960,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4954
4960
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4955
4961
  }>, t.TypeC<{
4956
4962
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4963
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4957
4964
  }>]>, t.TypeC<{
4958
4965
  intentType: t.LiteralC<"delegate">;
4959
4966
  validatorAddress: t.StringC;
@@ -5036,6 +5043,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5036
5043
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5037
5044
  }>, t.TypeC<{
5038
5045
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5046
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5039
5047
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5040
5048
  intentType: t.KeyofC<{
5041
5049
  payment: t.LiteralC<"payment">;
@@ -5115,6 +5123,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5115
5123
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5116
5124
  }>, t.TypeC<{
5117
5125
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5126
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5118
5127
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5119
5128
  intentType: t.KeyofC<{
5120
5129
  payment: t.LiteralC<"payment">;
@@ -5176,6 +5185,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5176
5185
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5177
5186
  }>, t.TypeC<{
5178
5187
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5188
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5179
5189
  }>]>, t.TypeC<{
5180
5190
  amount: t.TypeC<{
5181
5191
  value: t.StringC;
@@ -5246,6 +5256,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5246
5256
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5247
5257
  }>, t.TypeC<{
5248
5258
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5259
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5249
5260
  }>]>, t.TypeC<{
5250
5261
  stakingAddress: t.StringC;
5251
5262
  }>, t.PartialC<{
@@ -5349,6 +5360,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5349
5360
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5350
5361
  }>, t.TypeC<{
5351
5362
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5363
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5352
5364
  }>]>, t.TypeC<{
5353
5365
  intentType: t.LiteralC<"customTx">;
5354
5366
  solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
@@ -13594,6 +13606,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13594
13606
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13595
13607
  }>, t.TypeC<{
13596
13608
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13609
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
13597
13610
  }>]>, t.TypeC<{
13598
13611
  intentType: t.LiteralC<"authorize">;
13599
13612
  transactionMessage: t.StringC;
@@ -13673,6 +13686,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13673
13686
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13674
13687
  }>, t.TypeC<{
13675
13688
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13689
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
13676
13690
  }>]>, t.TypeC<{
13677
13691
  amount: t.TypeC<{
13678
13692
  value: t.StringC;
@@ -13737,6 +13751,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13737
13751
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13738
13752
  }>, t.TypeC<{
13739
13753
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13754
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
13740
13755
  }>]>, t.TypeC<{
13741
13756
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
13742
13757
  accountAddress: t.StringC;
@@ -13865,6 +13880,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13865
13880
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13866
13881
  }>, t.TypeC<{
13867
13882
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13883
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
13868
13884
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
13869
13885
  intentType: t.KeyofC<{
13870
13886
  payment: t.LiteralC<"payment">;
@@ -13922,6 +13938,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13922
13938
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13923
13939
  }>, t.TypeC<{
13924
13940
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13941
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
13925
13942
  }>]>, t.TypeC<{
13926
13943
  intentType: t.LiteralC<"customTx">;
13927
13944
  solInstructions: t.ArrayC<t.TypeC<{
@@ -13990,6 +14007,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13990
14007
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13991
14008
  }>, t.TypeC<{
13992
14009
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14010
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
13993
14011
  }>]>, t.TypeC<{
13994
14012
  intentType: t.LiteralC<"deactivate">;
13995
14013
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -14051,6 +14069,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14051
14069
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14052
14070
  }>, t.TypeC<{
14053
14071
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14072
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14054
14073
  }>]>, t.TypeC<{
14055
14074
  intentType: t.LiteralC<"delegate">;
14056
14075
  validatorAddress: t.StringC;
@@ -14133,6 +14152,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14133
14152
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14134
14153
  }>, t.TypeC<{
14135
14154
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14155
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14136
14156
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
14137
14157
  intentType: t.KeyofC<{
14138
14158
  payment: t.LiteralC<"payment">;
@@ -14212,6 +14232,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14212
14232
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14213
14233
  }>, t.TypeC<{
14214
14234
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14235
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14215
14236
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
14216
14237
  intentType: t.KeyofC<{
14217
14238
  payment: t.LiteralC<"payment">;
@@ -14273,6 +14294,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14273
14294
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14274
14295
  }>, t.TypeC<{
14275
14296
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14297
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14276
14298
  }>]>, t.TypeC<{
14277
14299
  amount: t.TypeC<{
14278
14300
  value: t.StringC;
@@ -14343,6 +14365,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14343
14365
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14344
14366
  }>, t.TypeC<{
14345
14367
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14368
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14346
14369
  }>]>, t.TypeC<{
14347
14370
  stakingAddress: t.StringC;
14348
14371
  }>, t.PartialC<{
@@ -14446,6 +14469,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14446
14469
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14447
14470
  }>, t.TypeC<{
14448
14471
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14472
+ allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14449
14473
  }>]>, t.TypeC<{
14450
14474
  intentType: t.LiteralC<"customTx">;
14451
14475
  solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "5.77.0",
3
+ "version": "5.78.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -1,11 +1,12 @@
1
1
  import * as t from "io-ts";
2
- import { optionalString } from "../../../utils";
2
+ import { optionalBoolean, optionalString } from "../../../utils";
3
3
  import { AccountBaseBuildOptions } from "./accountBaseBuildOptions";
4
4
 
5
5
  export const SolBuildOptions = t.intersection([
6
6
  AccountBaseBuildOptions,
7
7
  t.type({
8
8
  memo: optionalString,
9
+ allowOffCurve: optionalBoolean,
9
10
  }),
10
11
  ]);
11
12