@bitgo/public-types 5.77.0 → 5.78.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.
Files changed (19) hide show
  1. package/dist/src/schema/transactionRequest/intents/intent.d.ts +24 -0
  2. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +2 -0
  3. package/dist/src/schema/transactionRequest/intents/solBuildOptions.d.ts +2 -0
  4. package/dist/src/schema/transactionRequest/intents/solBuildOptions.js +3 -0
  5. package/dist/src/schema/transactionRequest/intents/solBuildOptions.js.map +1 -1
  6. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +2 -0
  7. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +2 -0
  8. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +2 -0
  9. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +2 -0
  10. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +2 -0
  11. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +2 -0
  12. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +2 -0
  13. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +2 -0
  14. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +4 -0
  15. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +4 -0
  16. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +2 -0
  17. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +48 -0
  18. package/package.json +1 -1
  19. package/src/schema/transactionRequest/intents/solBuildOptions.ts +3 -0
@@ -4399,6 +4399,8 @@ 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
+ }>, t.PartialC<{
4403
+ allowOffCurve: t.BooleanC;
4402
4404
  }>]>, t.TypeC<{
4403
4405
  intentType: t.LiteralC<"authorize">;
4404
4406
  transactionMessage: t.StringC;
@@ -4478,6 +4480,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4478
4480
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4479
4481
  }>, t.TypeC<{
4480
4482
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4483
+ }>, t.PartialC<{
4484
+ allowOffCurve: t.BooleanC;
4481
4485
  }>]>, t.TypeC<{
4482
4486
  amount: t.TypeC<{
4483
4487
  value: t.StringC;
@@ -4542,6 +4546,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4542
4546
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4543
4547
  }>, t.TypeC<{
4544
4548
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4549
+ }>, t.PartialC<{
4550
+ allowOffCurve: t.BooleanC;
4545
4551
  }>]>, t.TypeC<{
4546
4552
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
4547
4553
  accountAddress: t.StringC;
@@ -4670,6 +4676,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4670
4676
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4671
4677
  }>, t.TypeC<{
4672
4678
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4679
+ }>, t.PartialC<{
4680
+ allowOffCurve: t.BooleanC;
4673
4681
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4674
4682
  intentType: t.KeyofC<{
4675
4683
  payment: t.LiteralC<"payment">;
@@ -4727,6 +4735,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4727
4735
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4728
4736
  }>, t.TypeC<{
4729
4737
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4738
+ }>, t.PartialC<{
4739
+ allowOffCurve: t.BooleanC;
4730
4740
  }>]>, t.TypeC<{
4731
4741
  intentType: t.LiteralC<"customTx">;
4732
4742
  solInstructions: t.ArrayC<t.TypeC<{
@@ -4795,6 +4805,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4795
4805
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4796
4806
  }>, t.TypeC<{
4797
4807
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4808
+ }>, t.PartialC<{
4809
+ allowOffCurve: t.BooleanC;
4798
4810
  }>]>, t.TypeC<{
4799
4811
  intentType: t.LiteralC<"deactivate">;
4800
4812
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -4856,6 +4868,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4856
4868
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4857
4869
  }>, t.TypeC<{
4858
4870
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4871
+ }>, t.PartialC<{
4872
+ allowOffCurve: t.BooleanC;
4859
4873
  }>]>, t.TypeC<{
4860
4874
  intentType: t.LiteralC<"delegate">;
4861
4875
  validatorAddress: t.StringC;
@@ -4938,6 +4952,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4938
4952
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4939
4953
  }>, t.TypeC<{
4940
4954
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4955
+ }>, t.PartialC<{
4956
+ allowOffCurve: t.BooleanC;
4941
4957
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4942
4958
  intentType: t.KeyofC<{
4943
4959
  payment: t.LiteralC<"payment">;
@@ -5017,6 +5033,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5017
5033
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5018
5034
  }>, t.TypeC<{
5019
5035
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5036
+ }>, t.PartialC<{
5037
+ allowOffCurve: t.BooleanC;
5020
5038
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5021
5039
  intentType: t.KeyofC<{
5022
5040
  payment: t.LiteralC<"payment">;
@@ -5078,6 +5096,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5078
5096
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5079
5097
  }>, t.TypeC<{
5080
5098
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5099
+ }>, t.PartialC<{
5100
+ allowOffCurve: t.BooleanC;
5081
5101
  }>]>, t.TypeC<{
5082
5102
  amount: t.TypeC<{
5083
5103
  value: t.StringC;
@@ -5148,6 +5168,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5148
5168
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5149
5169
  }>, t.TypeC<{
5150
5170
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5171
+ }>, t.PartialC<{
5172
+ allowOffCurve: t.BooleanC;
5151
5173
  }>]>, t.TypeC<{
5152
5174
  stakingAddress: t.StringC;
5153
5175
  }>, t.PartialC<{
@@ -5251,6 +5273,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5251
5273
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5252
5274
  }>, t.TypeC<{
5253
5275
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5276
+ }>, t.PartialC<{
5277
+ allowOffCurve: t.BooleanC;
5254
5278
  }>]>, t.TypeC<{
5255
5279
  intentType: t.LiteralC<"customTx">;
5256
5280
  solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
@@ -56,6 +56,8 @@ 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
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
59
61
  }>]>, t.TypeC<{
60
62
  intentType: t.LiteralC<"authorize">;
61
63
  transactionMessage: t.StringC;
@@ -3,5 +3,7 @@ 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
+ }>, t.PartialC<{
7
+ allowOffCurve: t.BooleanC;
6
8
  }>]>;
7
9
  export type SolBuildOptions = t.TypeOf<typeof SolBuildOptions>;
@@ -32,5 +32,8 @@ exports.SolBuildOptions = t.intersection([
32
32
  t.type({
33
33
  memo: utils_1.optionalString,
34
34
  }),
35
+ t.partial({
36
+ allowOffCurve: t.boolean,
37
+ }),
35
38
  ]);
36
39
  //# 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,0CAAgD;AAChD,uEAAoE;AAEvD,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,iDAAuB;IACvB,CAAC,CAAC,IAAI,CAAC;QACL,IAAI,EAAE,sBAAc;KACrB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,aAAa,EAAE,CAAC,CAAC,OAAO;KACzB,CAAC;CACH,CAAC,CAAC"}
@@ -68,6 +68,8 @@ 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
+ }>, t.PartialC<{
72
+ allowOffCurve: t.BooleanC;
71
73
  }>]>, t.TypeC<{
72
74
  amount: t.TypeC<{
73
75
  value: t.StringC;
@@ -56,6 +56,8 @@ 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
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
59
61
  }>]>, t.TypeC<{
60
62
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
61
63
  accountAddress: t.StringC;
@@ -63,5 +63,7 @@ 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
+ }>, t.PartialC<{
67
+ allowOffCurve: t.BooleanC;
66
68
  }>]>]>;
67
69
  export type SolCreateAssociatedTokenAccountIntent = t.TypeOf<typeof SolCreateAssociatedTokenAccountIntent>;
@@ -56,6 +56,8 @@ 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
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
59
61
  }>]>, t.TypeC<{
60
62
  intentType: t.LiteralC<"customTx">;
61
63
  solInstructions: t.ArrayC<t.TypeC<{
@@ -56,6 +56,8 @@ 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
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
59
61
  }>]>, t.TypeC<{
60
62
  intentType: t.LiteralC<"deactivate">;
61
63
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -56,6 +56,8 @@ 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
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
59
61
  }>]>, t.TypeC<{
60
62
  intentType: t.LiteralC<"delegate">;
61
63
  validatorAddress: t.StringC;
@@ -76,5 +76,7 @@ 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
+ }>, t.PartialC<{
80
+ allowOffCurve: t.BooleanC;
79
81
  }>]>]>;
80
82
  export type SolGoUnstakeIntent = t.TypeOf<typeof SolGoUnstakeIntent>;
@@ -78,5 +78,7 @@ 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
+ }>, t.PartialC<{
82
+ allowOffCurve: t.BooleanC;
81
83
  }>]>]>;
82
84
  export type SolPaymentIntent = t.TypeOf<typeof SolPaymentIntent>;
@@ -60,6 +60,8 @@ 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
+ }>, t.PartialC<{
64
+ allowOffCurve: t.BooleanC;
63
65
  }>]>, t.TypeC<{
64
66
  amount: t.TypeC<{
65
67
  value: t.StringC;
@@ -132,6 +134,8 @@ export declare const SolJitoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Int
132
134
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
133
135
  }>, t.TypeC<{
134
136
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
137
+ }>, t.PartialC<{
138
+ allowOffCurve: t.BooleanC;
135
139
  }>]>, t.TypeC<{
136
140
  amount: t.TypeC<{
137
141
  value: t.StringC;
@@ -60,6 +60,8 @@ 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
+ }>, t.PartialC<{
64
+ allowOffCurve: t.BooleanC;
63
65
  }>]>, t.TypeC<{
64
66
  stakingAddress: t.StringC;
65
67
  }>, t.PartialC<{
@@ -169,6 +171,8 @@ export declare const SolJitoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.I
169
171
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
170
172
  }>, t.TypeC<{
171
173
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
174
+ }>, t.PartialC<{
175
+ allowOffCurve: t.BooleanC;
172
176
  }>]>, t.TypeC<{
173
177
  stakingAddress: t.StringC;
174
178
  }>, t.PartialC<{
@@ -56,6 +56,8 @@ 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
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
59
61
  }>]>, t.TypeC<{
60
62
  intentType: t.LiteralC<"customTx">;
61
63
  solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
@@ -4497,6 +4497,8 @@ 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
+ }>, t.PartialC<{
4501
+ allowOffCurve: t.BooleanC;
4500
4502
  }>]>, t.TypeC<{
4501
4503
  intentType: t.LiteralC<"authorize">;
4502
4504
  transactionMessage: t.StringC;
@@ -4576,6 +4578,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4576
4578
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4577
4579
  }>, t.TypeC<{
4578
4580
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4581
+ }>, t.PartialC<{
4582
+ allowOffCurve: t.BooleanC;
4579
4583
  }>]>, t.TypeC<{
4580
4584
  amount: t.TypeC<{
4581
4585
  value: t.StringC;
@@ -4640,6 +4644,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4640
4644
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4641
4645
  }>, t.TypeC<{
4642
4646
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4647
+ }>, t.PartialC<{
4648
+ allowOffCurve: t.BooleanC;
4643
4649
  }>]>, t.TypeC<{
4644
4650
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
4645
4651
  accountAddress: t.StringC;
@@ -4768,6 +4774,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4768
4774
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4769
4775
  }>, t.TypeC<{
4770
4776
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4777
+ }>, t.PartialC<{
4778
+ allowOffCurve: t.BooleanC;
4771
4779
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4772
4780
  intentType: t.KeyofC<{
4773
4781
  payment: t.LiteralC<"payment">;
@@ -4825,6 +4833,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4825
4833
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4826
4834
  }>, t.TypeC<{
4827
4835
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4836
+ }>, t.PartialC<{
4837
+ allowOffCurve: t.BooleanC;
4828
4838
  }>]>, t.TypeC<{
4829
4839
  intentType: t.LiteralC<"customTx">;
4830
4840
  solInstructions: t.ArrayC<t.TypeC<{
@@ -4893,6 +4903,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4893
4903
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4894
4904
  }>, t.TypeC<{
4895
4905
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4906
+ }>, t.PartialC<{
4907
+ allowOffCurve: t.BooleanC;
4896
4908
  }>]>, t.TypeC<{
4897
4909
  intentType: t.LiteralC<"deactivate">;
4898
4910
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -4954,6 +4966,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4954
4966
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4955
4967
  }>, t.TypeC<{
4956
4968
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4969
+ }>, t.PartialC<{
4970
+ allowOffCurve: t.BooleanC;
4957
4971
  }>]>, t.TypeC<{
4958
4972
  intentType: t.LiteralC<"delegate">;
4959
4973
  validatorAddress: t.StringC;
@@ -5036,6 +5050,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5036
5050
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5037
5051
  }>, t.TypeC<{
5038
5052
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5053
+ }>, t.PartialC<{
5054
+ allowOffCurve: t.BooleanC;
5039
5055
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5040
5056
  intentType: t.KeyofC<{
5041
5057
  payment: t.LiteralC<"payment">;
@@ -5115,6 +5131,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5115
5131
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5116
5132
  }>, t.TypeC<{
5117
5133
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5134
+ }>, t.PartialC<{
5135
+ allowOffCurve: t.BooleanC;
5118
5136
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5119
5137
  intentType: t.KeyofC<{
5120
5138
  payment: t.LiteralC<"payment">;
@@ -5176,6 +5194,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5176
5194
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5177
5195
  }>, t.TypeC<{
5178
5196
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5197
+ }>, t.PartialC<{
5198
+ allowOffCurve: t.BooleanC;
5179
5199
  }>]>, t.TypeC<{
5180
5200
  amount: t.TypeC<{
5181
5201
  value: t.StringC;
@@ -5246,6 +5266,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5246
5266
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5247
5267
  }>, t.TypeC<{
5248
5268
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5269
+ }>, t.PartialC<{
5270
+ allowOffCurve: t.BooleanC;
5249
5271
  }>]>, t.TypeC<{
5250
5272
  stakingAddress: t.StringC;
5251
5273
  }>, t.PartialC<{
@@ -5349,6 +5371,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5349
5371
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5350
5372
  }>, t.TypeC<{
5351
5373
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5374
+ }>, t.PartialC<{
5375
+ allowOffCurve: t.BooleanC;
5352
5376
  }>]>, t.TypeC<{
5353
5377
  intentType: t.LiteralC<"customTx">;
5354
5378
  solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
@@ -13594,6 +13618,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13594
13618
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13595
13619
  }>, t.TypeC<{
13596
13620
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13621
+ }>, t.PartialC<{
13622
+ allowOffCurve: t.BooleanC;
13597
13623
  }>]>, t.TypeC<{
13598
13624
  intentType: t.LiteralC<"authorize">;
13599
13625
  transactionMessage: t.StringC;
@@ -13673,6 +13699,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13673
13699
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13674
13700
  }>, t.TypeC<{
13675
13701
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13702
+ }>, t.PartialC<{
13703
+ allowOffCurve: t.BooleanC;
13676
13704
  }>]>, t.TypeC<{
13677
13705
  amount: t.TypeC<{
13678
13706
  value: t.StringC;
@@ -13737,6 +13765,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13737
13765
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13738
13766
  }>, t.TypeC<{
13739
13767
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13768
+ }>, t.PartialC<{
13769
+ allowOffCurve: t.BooleanC;
13740
13770
  }>]>, t.TypeC<{
13741
13771
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
13742
13772
  accountAddress: t.StringC;
@@ -13865,6 +13895,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13865
13895
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13866
13896
  }>, t.TypeC<{
13867
13897
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13898
+ }>, t.PartialC<{
13899
+ allowOffCurve: t.BooleanC;
13868
13900
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
13869
13901
  intentType: t.KeyofC<{
13870
13902
  payment: t.LiteralC<"payment">;
@@ -13922,6 +13954,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13922
13954
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13923
13955
  }>, t.TypeC<{
13924
13956
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13957
+ }>, t.PartialC<{
13958
+ allowOffCurve: t.BooleanC;
13925
13959
  }>]>, t.TypeC<{
13926
13960
  intentType: t.LiteralC<"customTx">;
13927
13961
  solInstructions: t.ArrayC<t.TypeC<{
@@ -13990,6 +14024,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13990
14024
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13991
14025
  }>, t.TypeC<{
13992
14026
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14027
+ }>, t.PartialC<{
14028
+ allowOffCurve: t.BooleanC;
13993
14029
  }>]>, t.TypeC<{
13994
14030
  intentType: t.LiteralC<"deactivate">;
13995
14031
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -14051,6 +14087,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14051
14087
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14052
14088
  }>, t.TypeC<{
14053
14089
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14090
+ }>, t.PartialC<{
14091
+ allowOffCurve: t.BooleanC;
14054
14092
  }>]>, t.TypeC<{
14055
14093
  intentType: t.LiteralC<"delegate">;
14056
14094
  validatorAddress: t.StringC;
@@ -14133,6 +14171,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14133
14171
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14134
14172
  }>, t.TypeC<{
14135
14173
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14174
+ }>, t.PartialC<{
14175
+ allowOffCurve: t.BooleanC;
14136
14176
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
14137
14177
  intentType: t.KeyofC<{
14138
14178
  payment: t.LiteralC<"payment">;
@@ -14212,6 +14252,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14212
14252
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14213
14253
  }>, t.TypeC<{
14214
14254
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14255
+ }>, t.PartialC<{
14256
+ allowOffCurve: t.BooleanC;
14215
14257
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
14216
14258
  intentType: t.KeyofC<{
14217
14259
  payment: t.LiteralC<"payment">;
@@ -14273,6 +14315,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14273
14315
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14274
14316
  }>, t.TypeC<{
14275
14317
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14318
+ }>, t.PartialC<{
14319
+ allowOffCurve: t.BooleanC;
14276
14320
  }>]>, t.TypeC<{
14277
14321
  amount: t.TypeC<{
14278
14322
  value: t.StringC;
@@ -14343,6 +14387,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14343
14387
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14344
14388
  }>, t.TypeC<{
14345
14389
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14390
+ }>, t.PartialC<{
14391
+ allowOffCurve: t.BooleanC;
14346
14392
  }>]>, t.TypeC<{
14347
14393
  stakingAddress: t.StringC;
14348
14394
  }>, t.PartialC<{
@@ -14446,6 +14492,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14446
14492
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14447
14493
  }>, t.TypeC<{
14448
14494
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14495
+ }>, t.PartialC<{
14496
+ allowOffCurve: t.BooleanC;
14449
14497
  }>]>, t.TypeC<{
14450
14498
  intentType: t.LiteralC<"customTx">;
14451
14499
  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.1",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -7,6 +7,9 @@ export const SolBuildOptions = t.intersection([
7
7
  t.type({
8
8
  memo: optionalString,
9
9
  }),
10
+ t.partial({
11
+ allowOffCurve: t.boolean,
12
+ }),
10
13
  ]);
11
14
 
12
15
  export type SolBuildOptions = t.TypeOf<typeof SolBuildOptions>;