@sats-connect/core 0.8.2-aa3016f → 0.8.2-c1d6388
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 +21 -21
- package/dist/index.d.ts +21 -21
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1078,7 +1078,7 @@ declare const sparkFlashnetCreateConstantProductPoolIntentSchema: v.ObjectSchema
|
|
|
1078
1078
|
readonly assetAAddress: v.StringSchema<undefined>;
|
|
1079
1079
|
readonly assetBAddress: v.StringSchema<undefined>;
|
|
1080
1080
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1081
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1081
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1082
1082
|
readonly nonce: v.StringSchema<undefined>;
|
|
1083
1083
|
}, undefined>;
|
|
1084
1084
|
}, undefined>;
|
|
@@ -1093,7 +1093,7 @@ declare const sparkFlashnetCreateSingleSidedPoolIntentSchema: v.ObjectSchema<{
|
|
|
1093
1093
|
readonly virtualReserveB: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1094
1094
|
readonly threshold: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1095
1095
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1096
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1096
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1097
1097
|
readonly poolOwnerPublicKey: v.StringSchema<undefined>;
|
|
1098
1098
|
readonly nonce: v.StringSchema<undefined>;
|
|
1099
1099
|
}, undefined>;
|
|
@@ -1118,12 +1118,12 @@ declare const sparkFlashnetRouteSwapIntentSchema: v.ObjectSchema<{
|
|
|
1118
1118
|
readonly poolId: v.StringSchema<undefined>;
|
|
1119
1119
|
readonly inputAssetAddress: v.StringSchema<undefined>;
|
|
1120
1120
|
readonly outputAssetAddress: v.StringSchema<undefined>;
|
|
1121
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1121
|
+
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1122
1122
|
}, undefined>, undefined>;
|
|
1123
1123
|
readonly inputAmount: v.StringSchema<undefined>;
|
|
1124
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1124
|
+
readonly maxRouteSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1125
1125
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1126
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1126
|
+
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1127
1127
|
readonly nonce: v.StringSchema<undefined>;
|
|
1128
1128
|
}, undefined>;
|
|
1129
1129
|
}, undefined>;
|
|
@@ -1137,9 +1137,9 @@ declare const sparkFlashnetSwapIntentSchema: v.ObjectSchema<{
|
|
|
1137
1137
|
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1138
1138
|
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1139
1139
|
readonly amountIn: v.StringSchema<undefined>;
|
|
1140
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1140
|
+
readonly maxSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1141
1141
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1142
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1142
|
+
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1143
1143
|
readonly nonce: v.StringSchema<undefined>;
|
|
1144
1144
|
}, undefined>;
|
|
1145
1145
|
}, undefined>;
|
|
@@ -1154,9 +1154,9 @@ declare const sparkFlashnetSignIntentParamsSchema: v.UnionSchema<[v.ObjectSchema
|
|
|
1154
1154
|
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1155
1155
|
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1156
1156
|
readonly amountIn: v.StringSchema<undefined>;
|
|
1157
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1157
|
+
readonly maxSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1158
1158
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1159
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1159
|
+
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1160
1160
|
readonly nonce: v.StringSchema<undefined>;
|
|
1161
1161
|
}, undefined>;
|
|
1162
1162
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1168,12 +1168,12 @@ declare const sparkFlashnetSignIntentParamsSchema: v.UnionSchema<[v.ObjectSchema
|
|
|
1168
1168
|
readonly poolId: v.StringSchema<undefined>;
|
|
1169
1169
|
readonly inputAssetAddress: v.StringSchema<undefined>;
|
|
1170
1170
|
readonly outputAssetAddress: v.StringSchema<undefined>;
|
|
1171
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1171
|
+
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1172
1172
|
}, undefined>, undefined>;
|
|
1173
1173
|
readonly inputAmount: v.StringSchema<undefined>;
|
|
1174
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1174
|
+
readonly maxRouteSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1175
1175
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1176
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1176
|
+
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1177
1177
|
readonly nonce: v.StringSchema<undefined>;
|
|
1178
1178
|
}, undefined>;
|
|
1179
1179
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1212,7 +1212,7 @@ declare const sparkFlashnetSignIntentParamsSchema: v.UnionSchema<[v.ObjectSchema
|
|
|
1212
1212
|
readonly assetAAddress: v.StringSchema<undefined>;
|
|
1213
1213
|
readonly assetBAddress: v.StringSchema<undefined>;
|
|
1214
1214
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1215
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1215
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1216
1216
|
readonly nonce: v.StringSchema<undefined>;
|
|
1217
1217
|
}, undefined>;
|
|
1218
1218
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1225,7 +1225,7 @@ declare const sparkFlashnetSignIntentParamsSchema: v.UnionSchema<[v.ObjectSchema
|
|
|
1225
1225
|
readonly virtualReserveB: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1226
1226
|
readonly threshold: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1227
1227
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1228
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1228
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1229
1229
|
readonly poolOwnerPublicKey: v.StringSchema<undefined>;
|
|
1230
1230
|
readonly nonce: v.StringSchema<undefined>;
|
|
1231
1231
|
}, undefined>;
|
|
@@ -1257,9 +1257,9 @@ declare const sparkFlashnetSignIntentRequestMessageSchema: v.ObjectSchema<{
|
|
|
1257
1257
|
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1258
1258
|
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1259
1259
|
readonly amountIn: v.StringSchema<undefined>;
|
|
1260
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1260
|
+
readonly maxSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1261
1261
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1262
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1262
|
+
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1263
1263
|
readonly nonce: v.StringSchema<undefined>;
|
|
1264
1264
|
}, undefined>;
|
|
1265
1265
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1271,12 +1271,12 @@ declare const sparkFlashnetSignIntentRequestMessageSchema: v.ObjectSchema<{
|
|
|
1271
1271
|
readonly poolId: v.StringSchema<undefined>;
|
|
1272
1272
|
readonly inputAssetAddress: v.StringSchema<undefined>;
|
|
1273
1273
|
readonly outputAssetAddress: v.StringSchema<undefined>;
|
|
1274
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1274
|
+
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1275
1275
|
}, undefined>, undefined>;
|
|
1276
1276
|
readonly inputAmount: v.StringSchema<undefined>;
|
|
1277
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1277
|
+
readonly maxRouteSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1278
1278
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1279
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1279
|
+
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1280
1280
|
readonly nonce: v.StringSchema<undefined>;
|
|
1281
1281
|
}, undefined>;
|
|
1282
1282
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1315,7 +1315,7 @@ declare const sparkFlashnetSignIntentRequestMessageSchema: v.ObjectSchema<{
|
|
|
1315
1315
|
readonly assetAAddress: v.StringSchema<undefined>;
|
|
1316
1316
|
readonly assetBAddress: v.StringSchema<undefined>;
|
|
1317
1317
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1318
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1318
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1319
1319
|
readonly nonce: v.StringSchema<undefined>;
|
|
1320
1320
|
}, undefined>;
|
|
1321
1321
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1328,7 +1328,7 @@ declare const sparkFlashnetSignIntentRequestMessageSchema: v.ObjectSchema<{
|
|
|
1328
1328
|
readonly virtualReserveB: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1329
1329
|
readonly threshold: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1330
1330
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1331
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1331
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1332
1332
|
readonly poolOwnerPublicKey: v.StringSchema<undefined>;
|
|
1333
1333
|
readonly nonce: v.StringSchema<undefined>;
|
|
1334
1334
|
}, undefined>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1078,7 +1078,7 @@ declare const sparkFlashnetCreateConstantProductPoolIntentSchema: v.ObjectSchema
|
|
|
1078
1078
|
readonly assetAAddress: v.StringSchema<undefined>;
|
|
1079
1079
|
readonly assetBAddress: v.StringSchema<undefined>;
|
|
1080
1080
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1081
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1081
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1082
1082
|
readonly nonce: v.StringSchema<undefined>;
|
|
1083
1083
|
}, undefined>;
|
|
1084
1084
|
}, undefined>;
|
|
@@ -1093,7 +1093,7 @@ declare const sparkFlashnetCreateSingleSidedPoolIntentSchema: v.ObjectSchema<{
|
|
|
1093
1093
|
readonly virtualReserveB: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1094
1094
|
readonly threshold: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1095
1095
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1096
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1096
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1097
1097
|
readonly poolOwnerPublicKey: v.StringSchema<undefined>;
|
|
1098
1098
|
readonly nonce: v.StringSchema<undefined>;
|
|
1099
1099
|
}, undefined>;
|
|
@@ -1118,12 +1118,12 @@ declare const sparkFlashnetRouteSwapIntentSchema: v.ObjectSchema<{
|
|
|
1118
1118
|
readonly poolId: v.StringSchema<undefined>;
|
|
1119
1119
|
readonly inputAssetAddress: v.StringSchema<undefined>;
|
|
1120
1120
|
readonly outputAssetAddress: v.StringSchema<undefined>;
|
|
1121
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1121
|
+
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1122
1122
|
}, undefined>, undefined>;
|
|
1123
1123
|
readonly inputAmount: v.StringSchema<undefined>;
|
|
1124
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1124
|
+
readonly maxRouteSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1125
1125
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1126
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1126
|
+
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1127
1127
|
readonly nonce: v.StringSchema<undefined>;
|
|
1128
1128
|
}, undefined>;
|
|
1129
1129
|
}, undefined>;
|
|
@@ -1137,9 +1137,9 @@ declare const sparkFlashnetSwapIntentSchema: v.ObjectSchema<{
|
|
|
1137
1137
|
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1138
1138
|
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1139
1139
|
readonly amountIn: v.StringSchema<undefined>;
|
|
1140
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1140
|
+
readonly maxSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1141
1141
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1142
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1142
|
+
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1143
1143
|
readonly nonce: v.StringSchema<undefined>;
|
|
1144
1144
|
}, undefined>;
|
|
1145
1145
|
}, undefined>;
|
|
@@ -1154,9 +1154,9 @@ declare const sparkFlashnetSignIntentParamsSchema: v.UnionSchema<[v.ObjectSchema
|
|
|
1154
1154
|
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1155
1155
|
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1156
1156
|
readonly amountIn: v.StringSchema<undefined>;
|
|
1157
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1157
|
+
readonly maxSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1158
1158
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1159
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1159
|
+
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1160
1160
|
readonly nonce: v.StringSchema<undefined>;
|
|
1161
1161
|
}, undefined>;
|
|
1162
1162
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1168,12 +1168,12 @@ declare const sparkFlashnetSignIntentParamsSchema: v.UnionSchema<[v.ObjectSchema
|
|
|
1168
1168
|
readonly poolId: v.StringSchema<undefined>;
|
|
1169
1169
|
readonly inputAssetAddress: v.StringSchema<undefined>;
|
|
1170
1170
|
readonly outputAssetAddress: v.StringSchema<undefined>;
|
|
1171
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1171
|
+
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1172
1172
|
}, undefined>, undefined>;
|
|
1173
1173
|
readonly inputAmount: v.StringSchema<undefined>;
|
|
1174
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1174
|
+
readonly maxRouteSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1175
1175
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1176
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1176
|
+
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1177
1177
|
readonly nonce: v.StringSchema<undefined>;
|
|
1178
1178
|
}, undefined>;
|
|
1179
1179
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1212,7 +1212,7 @@ declare const sparkFlashnetSignIntentParamsSchema: v.UnionSchema<[v.ObjectSchema
|
|
|
1212
1212
|
readonly assetAAddress: v.StringSchema<undefined>;
|
|
1213
1213
|
readonly assetBAddress: v.StringSchema<undefined>;
|
|
1214
1214
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1215
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1215
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1216
1216
|
readonly nonce: v.StringSchema<undefined>;
|
|
1217
1217
|
}, undefined>;
|
|
1218
1218
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1225,7 +1225,7 @@ declare const sparkFlashnetSignIntentParamsSchema: v.UnionSchema<[v.ObjectSchema
|
|
|
1225
1225
|
readonly virtualReserveB: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1226
1226
|
readonly threshold: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1227
1227
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1228
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1228
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1229
1229
|
readonly poolOwnerPublicKey: v.StringSchema<undefined>;
|
|
1230
1230
|
readonly nonce: v.StringSchema<undefined>;
|
|
1231
1231
|
}, undefined>;
|
|
@@ -1257,9 +1257,9 @@ declare const sparkFlashnetSignIntentRequestMessageSchema: v.ObjectSchema<{
|
|
|
1257
1257
|
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1258
1258
|
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1259
1259
|
readonly amountIn: v.StringSchema<undefined>;
|
|
1260
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1260
|
+
readonly maxSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1261
1261
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1262
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1262
|
+
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1263
1263
|
readonly nonce: v.StringSchema<undefined>;
|
|
1264
1264
|
}, undefined>;
|
|
1265
1265
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1271,12 +1271,12 @@ declare const sparkFlashnetSignIntentRequestMessageSchema: v.ObjectSchema<{
|
|
|
1271
1271
|
readonly poolId: v.StringSchema<undefined>;
|
|
1272
1272
|
readonly inputAssetAddress: v.StringSchema<undefined>;
|
|
1273
1273
|
readonly outputAssetAddress: v.StringSchema<undefined>;
|
|
1274
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1274
|
+
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1275
1275
|
}, undefined>, undefined>;
|
|
1276
1276
|
readonly inputAmount: v.StringSchema<undefined>;
|
|
1277
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1277
|
+
readonly maxRouteSlippageBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1278
1278
|
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1279
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1279
|
+
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
|
|
1280
1280
|
readonly nonce: v.StringSchema<undefined>;
|
|
1281
1281
|
}, undefined>;
|
|
1282
1282
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1315,7 +1315,7 @@ declare const sparkFlashnetSignIntentRequestMessageSchema: v.ObjectSchema<{
|
|
|
1315
1315
|
readonly assetAAddress: v.StringSchema<undefined>;
|
|
1316
1316
|
readonly assetBAddress: v.StringSchema<undefined>;
|
|
1317
1317
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1318
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1318
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1319
1319
|
readonly nonce: v.StringSchema<undefined>;
|
|
1320
1320
|
}, undefined>;
|
|
1321
1321
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1328,7 +1328,7 @@ declare const sparkFlashnetSignIntentRequestMessageSchema: v.ObjectSchema<{
|
|
|
1328
1328
|
readonly virtualReserveB: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1329
1329
|
readonly threshold: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1330
1330
|
readonly lpFeeRateBps: v.NumberSchema<undefined>;
|
|
1331
|
-
readonly totalHostFeeRateBps: v.NumberSchema<undefined>;
|
|
1331
|
+
readonly totalHostFeeRateBps: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1332
1332
|
readonly poolOwnerPublicKey: v.StringSchema<undefined>;
|
|
1333
1333
|
readonly nonce: v.StringSchema<undefined>;
|
|
1334
1334
|
}, undefined>;
|
package/dist/index.js
CHANGED
|
@@ -1186,7 +1186,7 @@ var sparkFlashnetCreateConstantProductPoolIntentSchema = v16.object({
|
|
|
1186
1186
|
assetAAddress: v16.string(),
|
|
1187
1187
|
assetBAddress: v16.string(),
|
|
1188
1188
|
lpFeeRateBps: v16.number(),
|
|
1189
|
-
totalHostFeeRateBps: v16.number(),
|
|
1189
|
+
totalHostFeeRateBps: v16.union([v16.number(), v16.string()]),
|
|
1190
1190
|
nonce: v16.string()
|
|
1191
1191
|
})
|
|
1192
1192
|
});
|
|
@@ -1203,7 +1203,7 @@ var sparkFlashnetCreateSingleSidedPoolIntentSchema = v17.object({
|
|
|
1203
1203
|
virtualReserveB: v17.union([v17.number(), v17.string()]),
|
|
1204
1204
|
threshold: v17.union([v17.number(), v17.string()]),
|
|
1205
1205
|
lpFeeRateBps: v17.number(),
|
|
1206
|
-
totalHostFeeRateBps: v17.number(),
|
|
1206
|
+
totalHostFeeRateBps: v17.union([v17.number(), v17.string()]),
|
|
1207
1207
|
poolOwnerPublicKey: v17.string(),
|
|
1208
1208
|
nonce: v17.string()
|
|
1209
1209
|
})
|
|
@@ -1233,13 +1233,13 @@ var sparkFlashnetRouteSwapIntentSchema = v19.object({
|
|
|
1233
1233
|
poolId: v19.string(),
|
|
1234
1234
|
inputAssetAddress: v19.string(),
|
|
1235
1235
|
outputAssetAddress: v19.string(),
|
|
1236
|
-
hopIntegratorFeeRateBps: v19.optional(v19.number())
|
|
1236
|
+
hopIntegratorFeeRateBps: v19.optional(v19.union([v19.number(), v19.string()]))
|
|
1237
1237
|
})
|
|
1238
1238
|
),
|
|
1239
1239
|
inputAmount: v19.string(),
|
|
1240
|
-
maxRouteSlippageBps: v19.number(),
|
|
1240
|
+
maxRouteSlippageBps: v19.union([v19.number(), v19.string()]),
|
|
1241
1241
|
minAmountOut: v19.string(),
|
|
1242
|
-
defaultIntegratorFeeRateBps: v19.optional(v19.number()),
|
|
1242
|
+
defaultIntegratorFeeRateBps: v19.optional(v19.union([v19.number(), v19.string()])),
|
|
1243
1243
|
nonce: v19.string()
|
|
1244
1244
|
})
|
|
1245
1245
|
});
|
|
@@ -1255,9 +1255,9 @@ var sparkFlashnetSwapIntentSchema = v20.object({
|
|
|
1255
1255
|
assetInAddress: v20.string(),
|
|
1256
1256
|
assetOutAddress: v20.string(),
|
|
1257
1257
|
amountIn: v20.string(),
|
|
1258
|
-
maxSlippageBps: v20.number(),
|
|
1258
|
+
maxSlippageBps: v20.union([v20.number(), v20.string()]),
|
|
1259
1259
|
minAmountOut: v20.string(),
|
|
1260
|
-
totalIntegratorFeeRateBps: v20.optional(v20.number()),
|
|
1260
|
+
totalIntegratorFeeRateBps: v20.optional(v20.union([v20.number(), v20.string()])),
|
|
1261
1261
|
nonce: v20.string()
|
|
1262
1262
|
})
|
|
1263
1263
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -931,7 +931,7 @@ var sparkFlashnetCreateConstantProductPoolIntentSchema = v16.object({
|
|
|
931
931
|
assetAAddress: v16.string(),
|
|
932
932
|
assetBAddress: v16.string(),
|
|
933
933
|
lpFeeRateBps: v16.number(),
|
|
934
|
-
totalHostFeeRateBps: v16.number(),
|
|
934
|
+
totalHostFeeRateBps: v16.union([v16.number(), v16.string()]),
|
|
935
935
|
nonce: v16.string()
|
|
936
936
|
})
|
|
937
937
|
});
|
|
@@ -948,7 +948,7 @@ var sparkFlashnetCreateSingleSidedPoolIntentSchema = v17.object({
|
|
|
948
948
|
virtualReserveB: v17.union([v17.number(), v17.string()]),
|
|
949
949
|
threshold: v17.union([v17.number(), v17.string()]),
|
|
950
950
|
lpFeeRateBps: v17.number(),
|
|
951
|
-
totalHostFeeRateBps: v17.number(),
|
|
951
|
+
totalHostFeeRateBps: v17.union([v17.number(), v17.string()]),
|
|
952
952
|
poolOwnerPublicKey: v17.string(),
|
|
953
953
|
nonce: v17.string()
|
|
954
954
|
})
|
|
@@ -978,13 +978,13 @@ var sparkFlashnetRouteSwapIntentSchema = v19.object({
|
|
|
978
978
|
poolId: v19.string(),
|
|
979
979
|
inputAssetAddress: v19.string(),
|
|
980
980
|
outputAssetAddress: v19.string(),
|
|
981
|
-
hopIntegratorFeeRateBps: v19.optional(v19.number())
|
|
981
|
+
hopIntegratorFeeRateBps: v19.optional(v19.union([v19.number(), v19.string()]))
|
|
982
982
|
})
|
|
983
983
|
),
|
|
984
984
|
inputAmount: v19.string(),
|
|
985
|
-
maxRouteSlippageBps: v19.number(),
|
|
985
|
+
maxRouteSlippageBps: v19.union([v19.number(), v19.string()]),
|
|
986
986
|
minAmountOut: v19.string(),
|
|
987
|
-
defaultIntegratorFeeRateBps: v19.optional(v19.number()),
|
|
987
|
+
defaultIntegratorFeeRateBps: v19.optional(v19.union([v19.number(), v19.string()])),
|
|
988
988
|
nonce: v19.string()
|
|
989
989
|
})
|
|
990
990
|
});
|
|
@@ -1000,9 +1000,9 @@ var sparkFlashnetSwapIntentSchema = v20.object({
|
|
|
1000
1000
|
assetInAddress: v20.string(),
|
|
1001
1001
|
assetOutAddress: v20.string(),
|
|
1002
1002
|
amountIn: v20.string(),
|
|
1003
|
-
maxSlippageBps: v20.number(),
|
|
1003
|
+
maxSlippageBps: v20.union([v20.number(), v20.string()]),
|
|
1004
1004
|
minAmountOut: v20.string(),
|
|
1005
|
-
totalIntegratorFeeRateBps: v20.optional(v20.number()),
|
|
1005
|
+
totalIntegratorFeeRateBps: v20.optional(v20.union([v20.number(), v20.string()])),
|
|
1006
1006
|
nonce: v20.string()
|
|
1007
1007
|
})
|
|
1008
1008
|
});
|