mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-06-15 17:11:22 +00:00
* Review fixes * remove logs * Fixes * Todo to remove prefix later * Refactor service signatures * Fixes * Update lock file * Fix lockfile * Update deps * More fixes and renames * Fix compiler * Peer refactoring and cutting onConnectionChange API * Revert deleted API
This commit is contained in:
@ -311,12 +311,8 @@ export const builtInServices: Record<
|
||||
return success(args.length === 0 ? {} : args[0]);
|
||||
}),
|
||||
|
||||
concat: withSchema(z.array(z.array(z.unknown())))((args) => {
|
||||
// Schema is used with unknown type to prevent useless runtime check
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
||||
const arr = args as never[][];
|
||||
|
||||
return success(arr.flat());
|
||||
concat: withSchema(z.array(z.array(z.any())))((args) => {
|
||||
return success(args.flat());
|
||||
}),
|
||||
|
||||
string_to_b58: withSchema(z.tuple([z.string()]))(([input]) => {
|
||||
|
Reference in New Issue
Block a user