apps-config: keep logion and digitalnative type bundles as data

@logion/node-api (Apache-2.0) and @digitalnative/type-definitions (MIT)
were imported only for their type definitions, and each brought an old
@polkadot/api tree with it (util-crypto 6/7, elliptic, uuid). The
definitions are now in the spec files, with their source and license.

Checked by serialising each resulting bundle with key order and
undefined preserved: byte-identical to what the packages produced
(logion 27715 bytes, standard and opportunity 1778 each).

RegistryTypes does not model a struct's `_alias` map, which the registry
accepts; the merged latest logion types are cast at that one point.
This commit is contained in:
Satoshi Qazi Muhammed authored and SatoshiQaziMuhammed committed 2026-10-10 04:09:47 +04:00
1 parent 09f16d3549
commit 0fd88403bd
4 files changed
+658 -11

No files matched your search

-2
View File
@@ -21,7 +21,6 @@
"@crustio/type-definitions": "1.3.0",
"@darwinia/types": "2.8.10",
"@darwinia/types-known": "2.8.10",
"@digitalnative/type-definitions": "1.1.27",
"@docknetwork/node-types": "0.16.0",
"@edgeware/node-types": "3.6.2-wako",
"@equilab/definitions": "1.4.18",
@@ -31,7 +30,6 @@
"@jamton/teyrchain-ts-interfaces": "npm:@jamton/parachain-ts-interfaces@1.10.4",
"@kiltprotocol/type-definitions": "^1.11502.1",
"@laminar/type-definitions": "0.3.1",
"@logion/node-api": "0.27.0-4",
"@mangata-finance/type-definitions": "^2.1.2",
"@metaverse-network-sdk/type-definitions": "0.0.1-16",
"@moonbeam-network/types-bundle": "1.0.2",