-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40c6c0f
commit 27cad79
Showing
8 changed files
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/api-derive", | ||
"version": "5.1.2-2", | ||
"version": "5.1.2-5", | ||
"description": "Additional polkadot.js derives for Acala Network", | ||
"main": "index.js", | ||
"author": "Acala Developers <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/api", | ||
"version": "5.1.2-2", | ||
"version": "5.1.2-5", | ||
"description": "Acala JS API", | ||
"main": "build/index.js", | ||
"author": "Acala Developers <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/type-definitions", | ||
"version": "5.1.2-2", | ||
"version": "5.1.2-5", | ||
"description": "Polkadot.js type definations for Acala Network", | ||
"main": "index.js", | ||
"author": "Acala Developers <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
import merge from 'lodash.merge'; | ||
|
||
export default function typesAliasFromDefs( | ||
export default function typesAliasFromDefs ( | ||
definitions: Record<string, Record<string, any>>, | ||
initAlias: Record<string, any> = {} | ||
): Record<string, any> { | ||
return Object.values(definitions).reduce( | ||
(res: Record<string, any>, { typesAlias }): Record<string, any> => merge({}, typesAlias, res), | ||
(res: Record<string, any>, { typesAlias }): Record<string, any> => ({ ...typesAlias, ...res }), | ||
initAlias | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/types", | ||
"version": "5.1.2-2", | ||
"version": "5.1.2-5", | ||
"description": "Polkadot.js type definations for Acala Network", | ||
"main": "index.js", | ||
"author": "Acala Developers <[email protected]>", | ||
|