mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-10-27 21:39:48 +00:00
feat: add PAPI rebrand packages
- @pezkuwi/papi-utils (rebrand of @polkadot-api/utils) - @pezkuwi/bizinikiwi-bindings (rebrand of @polkadot-api/substrate-bindings) - @pezkuwi/metadata-builders (rebrand of @polkadot-api/metadata-builders) - @pezkuwi/merkleize-metadata (rebrand of @polkadot-api/merkleize-metadata) All @polkadot-api references replaced with @pezkuwi equivalents.
This commit is contained in:
1 parent
6e91756e5c
commit
31467f90d4
150 files changed
+22742
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
function mapObject(input, mapper) {
|
||||
return Object.fromEntries(
|
||||
Object.entries(input).map(
|
||||
([key, value]) => [key, mapper(value, key)]
|
||||
)
|
||||
);
|
||||
}
|
||||
const mapStringRecord = (input, mapper) => Object.fromEntries(
|
||||
Object.entries(input).map(([key, value]) => [key, mapper(value, key)])
|
||||
);
|
||||
|
||||
export { mapObject, mapStringRecord };
|
||||
//# sourceMappingURL=mapObject.mjs.map
|
||||
Reference in new issue
Block a user