@bitgo/public-types 5.78.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 -12
  2. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +2 -1
  3. package/dist/src/schema/transactionRequest/intents/solBuildOptions.d.ts +2 -1
  4. package/dist/src/schema/transactionRequest/intents/solBuildOptions.js +3 -1
  5. package/dist/src/schema/transactionRequest/intents/solBuildOptions.js.map +1 -1
  6. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +2 -1
  7. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +2 -1
  8. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +2 -1
  9. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +2 -1
  10. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +2 -1
  11. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +2 -1
  12. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +2 -1
  13. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +2 -1
  14. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +4 -2
  15. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +4 -2
  16. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +2 -1
  17. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +48 -24
  18. package/package.json +1 -1
  19. package/src/schema/transactionRequest/intents/solBuildOptions.ts +4 -2
@@ -4399,7 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4402
+ }>, t.PartialC<{
4403
+ allowOffCurve: t.BooleanC;
4403
4404
  }>]>, t.TypeC<{
4404
4405
  intentType: t.LiteralC<"authorize">;
4405
4406
  transactionMessage: t.StringC;
@@ -4479,7 +4480,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4479
4480
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4480
4481
  }>, t.TypeC<{
4481
4482
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4482
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4483
+ }>, t.PartialC<{
4484
+ allowOffCurve: t.BooleanC;
4483
4485
  }>]>, t.TypeC<{
4484
4486
  amount: t.TypeC<{
4485
4487
  value: t.StringC;
@@ -4544,7 +4546,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4544
4546
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4545
4547
  }>, t.TypeC<{
4546
4548
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4547
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4549
+ }>, t.PartialC<{
4550
+ allowOffCurve: t.BooleanC;
4548
4551
  }>]>, t.TypeC<{
4549
4552
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
4550
4553
  accountAddress: t.StringC;
@@ -4673,7 +4676,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4673
4676
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4674
4677
  }>, t.TypeC<{
4675
4678
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4676
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4679
+ }>, t.PartialC<{
4680
+ allowOffCurve: t.BooleanC;
4677
4681
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4678
4682
  intentType: t.KeyofC<{
4679
4683
  payment: t.LiteralC<"payment">;
@@ -4731,7 +4735,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4731
4735
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4732
4736
  }>, t.TypeC<{
4733
4737
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4734
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4738
+ }>, t.PartialC<{
4739
+ allowOffCurve: t.BooleanC;
4735
4740
  }>]>, t.TypeC<{
4736
4741
  intentType: t.LiteralC<"customTx">;
4737
4742
  solInstructions: t.ArrayC<t.TypeC<{
@@ -4800,7 +4805,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4800
4805
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4801
4806
  }>, t.TypeC<{
4802
4807
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4803
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4808
+ }>, t.PartialC<{
4809
+ allowOffCurve: t.BooleanC;
4804
4810
  }>]>, t.TypeC<{
4805
4811
  intentType: t.LiteralC<"deactivate">;
4806
4812
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -4862,7 +4868,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4862
4868
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4863
4869
  }>, t.TypeC<{
4864
4870
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4865
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4871
+ }>, t.PartialC<{
4872
+ allowOffCurve: t.BooleanC;
4866
4873
  }>]>, t.TypeC<{
4867
4874
  intentType: t.LiteralC<"delegate">;
4868
4875
  validatorAddress: t.StringC;
@@ -4945,7 +4952,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
4945
4952
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4946
4953
  }>, t.TypeC<{
4947
4954
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4948
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4955
+ }>, t.PartialC<{
4956
+ allowOffCurve: t.BooleanC;
4949
4957
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4950
4958
  intentType: t.KeyofC<{
4951
4959
  payment: t.LiteralC<"payment">;
@@ -5025,7 +5033,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5025
5033
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5026
5034
  }>, t.TypeC<{
5027
5035
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5028
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5036
+ }>, t.PartialC<{
5037
+ allowOffCurve: t.BooleanC;
5029
5038
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5030
5039
  intentType: t.KeyofC<{
5031
5040
  payment: t.LiteralC<"payment">;
@@ -5087,7 +5096,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5087
5096
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5088
5097
  }>, t.TypeC<{
5089
5098
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5090
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5099
+ }>, t.PartialC<{
5100
+ allowOffCurve: t.BooleanC;
5091
5101
  }>]>, t.TypeC<{
5092
5102
  amount: t.TypeC<{
5093
5103
  value: t.StringC;
@@ -5158,7 +5168,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5158
5168
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5159
5169
  }>, t.TypeC<{
5160
5170
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5161
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5171
+ }>, t.PartialC<{
5172
+ allowOffCurve: t.BooleanC;
5162
5173
  }>]>, t.TypeC<{
5163
5174
  stakingAddress: t.StringC;
5164
5175
  }>, t.PartialC<{
@@ -5262,7 +5273,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5262
5273
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5263
5274
  }>, t.TypeC<{
5264
5275
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5265
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5276
+ }>, t.PartialC<{
5277
+ allowOffCurve: t.BooleanC;
5266
5278
  }>]>, t.TypeC<{
5267
5279
  intentType: t.LiteralC<"customTx">;
5268
5280
  solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
@@ -56,7 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
60
61
  }>]>, t.TypeC<{
61
62
  intentType: t.LiteralC<"authorize">;
62
63
  transactionMessage: t.StringC;
@@ -3,6 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
6
+ }>, t.PartialC<{
7
+ allowOffCurve: t.BooleanC;
7
8
  }>]>;
8
9
  export type SolBuildOptions = t.TypeOf<typeof SolBuildOptions>;
@@ -31,7 +31,9 @@ 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
+ t.partial({
36
+ allowOffCurve: t.boolean,
35
37
  }),
36
38
  ]);
37
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,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"}
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,7 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
71
+ }>, t.PartialC<{
72
+ allowOffCurve: t.BooleanC;
72
73
  }>]>, t.TypeC<{
73
74
  amount: t.TypeC<{
74
75
  value: t.StringC;
@@ -56,7 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
60
61
  }>]>, t.TypeC<{
61
62
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
62
63
  accountAddress: t.StringC;
@@ -63,6 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
66
+ }>, t.PartialC<{
67
+ allowOffCurve: t.BooleanC;
67
68
  }>]>]>;
68
69
  export type SolCreateAssociatedTokenAccountIntent = t.TypeOf<typeof SolCreateAssociatedTokenAccountIntent>;
@@ -56,7 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
60
61
  }>]>, t.TypeC<{
61
62
  intentType: t.LiteralC<"customTx">;
62
63
  solInstructions: t.ArrayC<t.TypeC<{
@@ -56,7 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
60
61
  }>]>, t.TypeC<{
61
62
  intentType: t.LiteralC<"deactivate">;
62
63
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -56,7 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
60
61
  }>]>, t.TypeC<{
61
62
  intentType: t.LiteralC<"delegate">;
62
63
  validatorAddress: t.StringC;
@@ -76,6 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
79
+ }>, t.PartialC<{
80
+ allowOffCurve: t.BooleanC;
80
81
  }>]>]>;
81
82
  export type SolGoUnstakeIntent = t.TypeOf<typeof SolGoUnstakeIntent>;
@@ -78,6 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
81
+ }>, t.PartialC<{
82
+ allowOffCurve: t.BooleanC;
82
83
  }>]>]>;
83
84
  export type SolPaymentIntent = t.TypeOf<typeof SolPaymentIntent>;
@@ -60,7 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
63
+ }>, t.PartialC<{
64
+ allowOffCurve: t.BooleanC;
64
65
  }>]>, t.TypeC<{
65
66
  amount: t.TypeC<{
66
67
  value: t.StringC;
@@ -133,7 +134,8 @@ export declare const SolJitoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Int
133
134
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
134
135
  }>, t.TypeC<{
135
136
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
136
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
137
+ }>, t.PartialC<{
138
+ allowOffCurve: t.BooleanC;
137
139
  }>]>, t.TypeC<{
138
140
  amount: t.TypeC<{
139
141
  value: t.StringC;
@@ -60,7 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
63
+ }>, t.PartialC<{
64
+ allowOffCurve: t.BooleanC;
64
65
  }>]>, t.TypeC<{
65
66
  stakingAddress: t.StringC;
66
67
  }>, t.PartialC<{
@@ -170,7 +171,8 @@ export declare const SolJitoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.I
170
171
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
171
172
  }>, t.TypeC<{
172
173
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
173
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
174
+ }>, t.PartialC<{
175
+ allowOffCurve: t.BooleanC;
174
176
  }>]>, t.TypeC<{
175
177
  stakingAddress: t.StringC;
176
178
  }>, t.PartialC<{
@@ -56,7 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
59
+ }>, t.PartialC<{
60
+ allowOffCurve: t.BooleanC;
60
61
  }>]>, t.TypeC<{
61
62
  intentType: t.LiteralC<"customTx">;
62
63
  solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
@@ -4497,7 +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
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4500
+ }>, t.PartialC<{
4501
+ allowOffCurve: t.BooleanC;
4501
4502
  }>]>, t.TypeC<{
4502
4503
  intentType: t.LiteralC<"authorize">;
4503
4504
  transactionMessage: t.StringC;
@@ -4577,7 +4578,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4577
4578
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4578
4579
  }>, t.TypeC<{
4579
4580
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4580
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4581
+ }>, t.PartialC<{
4582
+ allowOffCurve: t.BooleanC;
4581
4583
  }>]>, t.TypeC<{
4582
4584
  amount: t.TypeC<{
4583
4585
  value: t.StringC;
@@ -4642,7 +4644,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4642
4644
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4643
4645
  }>, t.TypeC<{
4644
4646
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4645
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4647
+ }>, t.PartialC<{
4648
+ allowOffCurve: t.BooleanC;
4646
4649
  }>]>, t.TypeC<{
4647
4650
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
4648
4651
  accountAddress: t.StringC;
@@ -4771,7 +4774,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4771
4774
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4772
4775
  }>, t.TypeC<{
4773
4776
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4774
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4777
+ }>, t.PartialC<{
4778
+ allowOffCurve: t.BooleanC;
4775
4779
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4776
4780
  intentType: t.KeyofC<{
4777
4781
  payment: t.LiteralC<"payment">;
@@ -4829,7 +4833,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4829
4833
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4830
4834
  }>, t.TypeC<{
4831
4835
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4832
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4836
+ }>, t.PartialC<{
4837
+ allowOffCurve: t.BooleanC;
4833
4838
  }>]>, t.TypeC<{
4834
4839
  intentType: t.LiteralC<"customTx">;
4835
4840
  solInstructions: t.ArrayC<t.TypeC<{
@@ -4898,7 +4903,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4898
4903
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4899
4904
  }>, t.TypeC<{
4900
4905
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4901
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4906
+ }>, t.PartialC<{
4907
+ allowOffCurve: t.BooleanC;
4902
4908
  }>]>, t.TypeC<{
4903
4909
  intentType: t.LiteralC<"deactivate">;
4904
4910
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -4960,7 +4966,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
4960
4966
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4961
4967
  }>, t.TypeC<{
4962
4968
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
4963
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
4969
+ }>, t.PartialC<{
4970
+ allowOffCurve: t.BooleanC;
4964
4971
  }>]>, t.TypeC<{
4965
4972
  intentType: t.LiteralC<"delegate">;
4966
4973
  validatorAddress: t.StringC;
@@ -5043,7 +5050,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5043
5050
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5044
5051
  }>, t.TypeC<{
5045
5052
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5046
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5053
+ }>, t.PartialC<{
5054
+ allowOffCurve: t.BooleanC;
5047
5055
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5048
5056
  intentType: t.KeyofC<{
5049
5057
  payment: t.LiteralC<"payment">;
@@ -5123,7 +5131,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5123
5131
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5124
5132
  }>, t.TypeC<{
5125
5133
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5126
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5134
+ }>, t.PartialC<{
5135
+ allowOffCurve: t.BooleanC;
5127
5136
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5128
5137
  intentType: t.KeyofC<{
5129
5138
  payment: t.LiteralC<"payment">;
@@ -5185,7 +5194,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5185
5194
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5186
5195
  }>, t.TypeC<{
5187
5196
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5188
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5197
+ }>, t.PartialC<{
5198
+ allowOffCurve: t.BooleanC;
5189
5199
  }>]>, t.TypeC<{
5190
5200
  amount: t.TypeC<{
5191
5201
  value: t.StringC;
@@ -5256,7 +5266,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5256
5266
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5257
5267
  }>, t.TypeC<{
5258
5268
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5259
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5269
+ }>, t.PartialC<{
5270
+ allowOffCurve: t.BooleanC;
5260
5271
  }>]>, t.TypeC<{
5261
5272
  stakingAddress: t.StringC;
5262
5273
  }>, t.PartialC<{
@@ -5360,7 +5371,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
5360
5371
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5361
5372
  }>, t.TypeC<{
5362
5373
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5363
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
5374
+ }>, t.PartialC<{
5375
+ allowOffCurve: t.BooleanC;
5364
5376
  }>]>, t.TypeC<{
5365
5377
  intentType: t.LiteralC<"customTx">;
5366
5378
  solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
@@ -13606,7 +13618,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13606
13618
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13607
13619
  }>, t.TypeC<{
13608
13620
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13609
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
13621
+ }>, t.PartialC<{
13622
+ allowOffCurve: t.BooleanC;
13610
13623
  }>]>, t.TypeC<{
13611
13624
  intentType: t.LiteralC<"authorize">;
13612
13625
  transactionMessage: t.StringC;
@@ -13686,7 +13699,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13686
13699
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13687
13700
  }>, t.TypeC<{
13688
13701
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13689
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
13702
+ }>, t.PartialC<{
13703
+ allowOffCurve: t.BooleanC;
13690
13704
  }>]>, t.TypeC<{
13691
13705
  amount: t.TypeC<{
13692
13706
  value: t.StringC;
@@ -13751,7 +13765,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13751
13765
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13752
13766
  }>, t.TypeC<{
13753
13767
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13754
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
13768
+ }>, t.PartialC<{
13769
+ allowOffCurve: t.BooleanC;
13755
13770
  }>]>, t.TypeC<{
13756
13771
  intentType: t.LiteralC<"closeAssociatedTokenAccount">;
13757
13772
  accountAddress: t.StringC;
@@ -13880,7 +13895,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13880
13895
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13881
13896
  }>, t.TypeC<{
13882
13897
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13883
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
13898
+ }>, t.PartialC<{
13899
+ allowOffCurve: t.BooleanC;
13884
13900
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
13885
13901
  intentType: t.KeyofC<{
13886
13902
  payment: t.LiteralC<"payment">;
@@ -13938,7 +13954,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
13938
13954
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
13939
13955
  }>, t.TypeC<{
13940
13956
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
13941
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
13957
+ }>, t.PartialC<{
13958
+ allowOffCurve: t.BooleanC;
13942
13959
  }>]>, t.TypeC<{
13943
13960
  intentType: t.LiteralC<"customTx">;
13944
13961
  solInstructions: t.ArrayC<t.TypeC<{
@@ -14007,7 +14024,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14007
14024
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14008
14025
  }>, t.TypeC<{
14009
14026
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14010
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14027
+ }>, t.PartialC<{
14028
+ allowOffCurve: t.BooleanC;
14011
14029
  }>]>, t.TypeC<{
14012
14030
  intentType: t.LiteralC<"deactivate">;
14013
14031
  stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
@@ -14069,7 +14087,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14069
14087
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14070
14088
  }>, t.TypeC<{
14071
14089
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14072
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14090
+ }>, t.PartialC<{
14091
+ allowOffCurve: t.BooleanC;
14073
14092
  }>]>, t.TypeC<{
14074
14093
  intentType: t.LiteralC<"delegate">;
14075
14094
  validatorAddress: t.StringC;
@@ -14152,7 +14171,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14152
14171
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14153
14172
  }>, t.TypeC<{
14154
14173
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14155
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14174
+ }>, t.PartialC<{
14175
+ allowOffCurve: t.BooleanC;
14156
14176
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
14157
14177
  intentType: t.KeyofC<{
14158
14178
  payment: t.LiteralC<"payment">;
@@ -14232,7 +14252,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14232
14252
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14233
14253
  }>, t.TypeC<{
14234
14254
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14235
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14255
+ }>, t.PartialC<{
14256
+ allowOffCurve: t.BooleanC;
14236
14257
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
14237
14258
  intentType: t.KeyofC<{
14238
14259
  payment: t.LiteralC<"payment">;
@@ -14294,7 +14315,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14294
14315
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14295
14316
  }>, t.TypeC<{
14296
14317
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14297
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14318
+ }>, t.PartialC<{
14319
+ allowOffCurve: t.BooleanC;
14298
14320
  }>]>, t.TypeC<{
14299
14321
  amount: t.TypeC<{
14300
14322
  value: t.StringC;
@@ -14365,7 +14387,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14365
14387
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14366
14388
  }>, t.TypeC<{
14367
14389
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14368
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14390
+ }>, t.PartialC<{
14391
+ allowOffCurve: t.BooleanC;
14369
14392
  }>]>, t.TypeC<{
14370
14393
  stakingAddress: t.StringC;
14371
14394
  }>, t.PartialC<{
@@ -14469,7 +14492,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
14469
14492
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
14470
14493
  }>, t.TypeC<{
14471
14494
  memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
14472
- allowOffCurve: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
14495
+ }>, t.PartialC<{
14496
+ allowOffCurve: t.BooleanC;
14473
14497
  }>]>, t.TypeC<{
14474
14498
  intentType: t.LiteralC<"customTx">;
14475
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.78.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": "",
@@ -1,12 +1,14 @@
1
1
  import * as t from "io-ts";
2
- import { optionalBoolean, optionalString } from "../../../utils";
2
+ import { 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
+ t.partial({
11
+ allowOffCurve: t.boolean,
10
12
  }),
11
13
  ]);
12
14