@sats-connect/core 0.11.0-bcadc9e → 0.11.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/index.d.mts CHANGED
@@ -1028,7 +1028,7 @@ declare const sparkFlashnetExecuteRouteSwapParamsSchema: v.ObjectSchema<{
1028
1028
  readonly initialAssetAddress: v.StringSchema<undefined>;
1029
1029
  readonly inputAmount: v.StringSchema<undefined>;
1030
1030
  readonly maxRouteSlippageBps: v.StringSchema<undefined>;
1031
- readonly minAmountOut: v.StringSchema<undefined>;
1031
+ readonly minAmountOut: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1032
1032
  readonly integratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1033
1033
  readonly integratorPublicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1034
1034
  }, undefined>;
@@ -1054,7 +1054,7 @@ declare const sparkFlashnetExecuteRouteSwapRequestMessageSchema: v.ObjectSchema<
1054
1054
  readonly initialAssetAddress: v.StringSchema<undefined>;
1055
1055
  readonly inputAmount: v.StringSchema<undefined>;
1056
1056
  readonly maxRouteSlippageBps: v.StringSchema<undefined>;
1057
- readonly minAmountOut: v.StringSchema<undefined>;
1057
+ readonly minAmountOut: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1058
1058
  readonly integratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1059
1059
  readonly integratorPublicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1060
1060
  }, undefined>;
@@ -1071,7 +1071,7 @@ declare const sparkFlashnetExecuteSwapParamsSchema: v.ObjectSchema<{
1071
1071
  readonly assetOutAddress: v.StringSchema<undefined>;
1072
1072
  readonly amountIn: v.StringSchema<undefined>;
1073
1073
  readonly maxSlippageBps: v.NumberSchema<undefined>;
1074
- readonly minAmountOut: v.StringSchema<undefined>;
1074
+ readonly minAmountOut: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1075
1075
  readonly integratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1076
1076
  readonly integratorPublicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1077
1077
  }, undefined>;
@@ -1096,7 +1096,7 @@ declare const sparkFlashnetExecuteSwapRequestMessageSchema: v.ObjectSchema<{
1096
1096
  readonly assetOutAddress: v.StringSchema<undefined>;
1097
1097
  readonly amountIn: v.StringSchema<undefined>;
1098
1098
  readonly maxSlippageBps: v.NumberSchema<undefined>;
1099
- readonly minAmountOut: v.StringSchema<undefined>;
1099
+ readonly minAmountOut: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1100
1100
  readonly integratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1101
1101
  readonly integratorPublicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1102
1102
  }, undefined>;
package/dist/index.d.ts CHANGED
@@ -1028,7 +1028,7 @@ declare const sparkFlashnetExecuteRouteSwapParamsSchema: v.ObjectSchema<{
1028
1028
  readonly initialAssetAddress: v.StringSchema<undefined>;
1029
1029
  readonly inputAmount: v.StringSchema<undefined>;
1030
1030
  readonly maxRouteSlippageBps: v.StringSchema<undefined>;
1031
- readonly minAmountOut: v.StringSchema<undefined>;
1031
+ readonly minAmountOut: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1032
1032
  readonly integratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1033
1033
  readonly integratorPublicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1034
1034
  }, undefined>;
@@ -1054,7 +1054,7 @@ declare const sparkFlashnetExecuteRouteSwapRequestMessageSchema: v.ObjectSchema<
1054
1054
  readonly initialAssetAddress: v.StringSchema<undefined>;
1055
1055
  readonly inputAmount: v.StringSchema<undefined>;
1056
1056
  readonly maxRouteSlippageBps: v.StringSchema<undefined>;
1057
- readonly minAmountOut: v.StringSchema<undefined>;
1057
+ readonly minAmountOut: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1058
1058
  readonly integratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1059
1059
  readonly integratorPublicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1060
1060
  }, undefined>;
@@ -1071,7 +1071,7 @@ declare const sparkFlashnetExecuteSwapParamsSchema: v.ObjectSchema<{
1071
1071
  readonly assetOutAddress: v.StringSchema<undefined>;
1072
1072
  readonly amountIn: v.StringSchema<undefined>;
1073
1073
  readonly maxSlippageBps: v.NumberSchema<undefined>;
1074
- readonly minAmountOut: v.StringSchema<undefined>;
1074
+ readonly minAmountOut: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1075
1075
  readonly integratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1076
1076
  readonly integratorPublicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1077
1077
  }, undefined>;
@@ -1096,7 +1096,7 @@ declare const sparkFlashnetExecuteSwapRequestMessageSchema: v.ObjectSchema<{
1096
1096
  readonly assetOutAddress: v.StringSchema<undefined>;
1097
1097
  readonly amountIn: v.StringSchema<undefined>;
1098
1098
  readonly maxSlippageBps: v.NumberSchema<undefined>;
1099
- readonly minAmountOut: v.StringSchema<undefined>;
1099
+ readonly minAmountOut: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1100
1100
  readonly integratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1101
1101
  readonly integratorPublicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1102
1102
  }, undefined>;
package/dist/index.js CHANGED
@@ -1144,7 +1144,7 @@ var sparkFlashnetExecuteRouteSwapParamsSchema = v12.object({
1144
1144
  initialAssetAddress: v12.string(),
1145
1145
  inputAmount: v12.string(),
1146
1146
  maxRouteSlippageBps: v12.string(),
1147
- minAmountOut: v12.string(),
1147
+ minAmountOut: v12.optional(v12.string()),
1148
1148
  integratorFeeRateBps: v12.optional(v12.number()),
1149
1149
  integratorPublicKey: v12.optional(v12.string())
1150
1150
  });
@@ -1174,7 +1174,7 @@ var sparkFlashnetExecuteSwapParamsSchema = v13.object({
1174
1174
  assetOutAddress: v13.string(),
1175
1175
  amountIn: v13.string(),
1176
1176
  maxSlippageBps: v13.number(),
1177
- minAmountOut: v13.string(),
1177
+ minAmountOut: v13.optional(v13.string()),
1178
1178
  integratorFeeRateBps: v13.optional(v13.number()),
1179
1179
  integratorPublicKey: v13.optional(v13.string())
1180
1180
  });
package/dist/index.mjs CHANGED
@@ -877,7 +877,7 @@ var sparkFlashnetExecuteRouteSwapParamsSchema = v12.object({
877
877
  initialAssetAddress: v12.string(),
878
878
  inputAmount: v12.string(),
879
879
  maxRouteSlippageBps: v12.string(),
880
- minAmountOut: v12.string(),
880
+ minAmountOut: v12.optional(v12.string()),
881
881
  integratorFeeRateBps: v12.optional(v12.number()),
882
882
  integratorPublicKey: v12.optional(v12.string())
883
883
  });
@@ -907,7 +907,7 @@ var sparkFlashnetExecuteSwapParamsSchema = v13.object({
907
907
  assetOutAddress: v13.string(),
908
908
  amountIn: v13.string(),
909
909
  maxSlippageBps: v13.number(),
910
- minAmountOut: v13.string(),
910
+ minAmountOut: v13.optional(v13.string()),
911
911
  integratorFeeRateBps: v13.optional(v13.number()),
912
912
  integratorPublicKey: v13.optional(v13.string())
913
913
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-connect/core",
3
- "version": "0.11.0-bcadc9e",
3
+ "version": "0.11.0",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",