chore: update to version 16.5.9, align with pezkuwichain brand and fix tests

This commit is contained in:
2026-01-11 11:32:15 +03:00
parent c97f94045f
commit c2f759f58d
136 changed files with 19370 additions and 2342 deletions
+24 -7
View File
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "16.5.6",
"version": "16.5.9",
"versions": {
"git": "16.5.4",
"npm": "16.5.4"
"git": "16.5.9",
"npm": "16.5.9"
},
"workspaces": [
"packages/*"
@@ -43,13 +43,30 @@
"@pezkuwi/dev": "^0.85.3",
"@pezkuwi/dev-test": "^0.85.3",
"@pezkuwi/dev-ts": "^0.85.3",
"@pezkuwi/typegen": "^16.5.4",
"@pezkuwi/typegen": "workspace:*",
"@types/node": "^22.10.5"
},
"resolutions": {
"@pezkuwi/dev": "0.85.3",
"@pezkuwi/dev-test": "0.85.3",
"@pezkuwi/dev-ts": "0.85.3",
"@pezkuwi/dev": "portal:../pezkuwi-dev/packages/dev",
"@pezkuwi/dev-test": "portal:../pezkuwi-dev/packages/dev-test",
"@pezkuwi/dev-ts": "portal:../pezkuwi-dev/packages/dev-ts",
"@pezkuwi/hw-ledger": "portal:../pezkuwi-common/packages/hw-ledger",
"@pezkuwi/hw-ledger-transports": "portal:../pezkuwi-common/packages/hw-ledger-transports",
"@pezkuwi/keyring": "portal:../pezkuwi-common/packages/keyring",
"@pezkuwi/networks": "portal:../pezkuwi-common/packages/networks",
"@pezkuwi/util": "portal:../pezkuwi-common/packages/util",
"@pezkuwi/util-crypto": "portal:../pezkuwi-common/packages/util-crypto",
"@pezkuwi/wasm-bridge": "7.5.4",
"@pezkuwi/wasm-crypto": "7.5.4",
"@pezkuwi/wasm-util": "7.5.4",
"@pezkuwi/x-bigint": "portal:../pezkuwi-common/packages/x-bigint",
"@pezkuwi/x-bundle": "portal:../pezkuwi-common/packages/x-bundle",
"@pezkuwi/x-fetch": "portal:../pezkuwi-common/packages/x-fetch",
"@pezkuwi/x-global": "portal:../pezkuwi-common/packages/x-global",
"@pezkuwi/x-randomvalues": "portal:../pezkuwi-common/packages/x-randomvalues",
"@pezkuwi/x-textdecoder": "portal:../pezkuwi-common/packages/x-textdecoder",
"@pezkuwi/x-textencoder": "portal:../pezkuwi-common/packages/x-textencoder",
"@pezkuwi/x-ws": "portal:../pezkuwi-common/packages/x-ws",
"typescript": "5.5.4"
}
}
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+437 -9
View File
@@ -15,18 +15,446 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"exports": {
".": {
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./assetHubDicle": {
"module": "./assetHubDicle/index.js",
"require": "./cjs/assetHubDicle/index.js",
"default": "./assetHubDicle/index.js"
},
"./assetHubDicle/consts": {
"module": "./assetHubDicle/consts.js",
"require": "./cjs/assetHubDicle/consts.js",
"default": "./assetHubDicle/consts.js"
},
"./assetHubDicle/errors": {
"module": "./assetHubDicle/errors.js",
"require": "./cjs/assetHubDicle/errors.js",
"default": "./assetHubDicle/errors.js"
},
"./assetHubDicle/events": {
"module": "./assetHubDicle/events.js",
"require": "./cjs/assetHubDicle/events.js",
"default": "./assetHubDicle/events.js"
},
"./assetHubDicle/query": {
"module": "./assetHubDicle/query.js",
"require": "./cjs/assetHubDicle/query.js",
"default": "./assetHubDicle/query.js"
},
"./assetHubDicle/registry": {
"module": "./assetHubDicle/registry.js",
"require": "./cjs/assetHubDicle/registry.js",
"default": "./assetHubDicle/registry.js"
},
"./assetHubDicle/runtime": {
"module": "./assetHubDicle/runtime.js",
"require": "./cjs/assetHubDicle/runtime.js",
"default": "./assetHubDicle/runtime.js"
},
"./assetHubDicle/tx": {
"module": "./assetHubDicle/tx.js",
"require": "./cjs/assetHubDicle/tx.js",
"default": "./assetHubDicle/tx.js"
},
"./assetHubPezkuwi": {
"module": "./assetHubPezkuwi/index.js",
"require": "./cjs/assetHubPezkuwi/index.js",
"default": "./assetHubPezkuwi/index.js"
},
"./assetHubPezkuwi/consts": {
"module": "./assetHubPezkuwi/consts.js",
"require": "./cjs/assetHubPezkuwi/consts.js",
"default": "./assetHubPezkuwi/consts.js"
},
"./assetHubPezkuwi/errors": {
"module": "./assetHubPezkuwi/errors.js",
"require": "./cjs/assetHubPezkuwi/errors.js",
"default": "./assetHubPezkuwi/errors.js"
},
"./assetHubPezkuwi/events": {
"module": "./assetHubPezkuwi/events.js",
"require": "./cjs/assetHubPezkuwi/events.js",
"default": "./assetHubPezkuwi/events.js"
},
"./assetHubPezkuwi/query": {
"module": "./assetHubPezkuwi/query.js",
"require": "./cjs/assetHubPezkuwi/query.js",
"default": "./assetHubPezkuwi/query.js"
},
"./assetHubPezkuwi/registry": {
"module": "./assetHubPezkuwi/registry.js",
"require": "./cjs/assetHubPezkuwi/registry.js",
"default": "./assetHubPezkuwi/registry.js"
},
"./assetHubPezkuwi/runtime": {
"module": "./assetHubPezkuwi/runtime.js",
"require": "./cjs/assetHubPezkuwi/runtime.js",
"default": "./assetHubPezkuwi/runtime.js"
},
"./assetHubPezkuwi/tx": {
"module": "./assetHubPezkuwi/tx.js",
"require": "./cjs/assetHubPezkuwi/tx.js",
"default": "./assetHubPezkuwi/tx.js"
},
"./base": {
"module": {
"types": "./base.d.ts",
"default": "./base.js"
},
"require": {
"types": "./cjs/base.d.ts",
"default": "./cjs/base.js"
},
"default": {
"types": "./base.d.ts",
"default": "./base.js"
}
},
"./bizinikiwi": {
"module": {
"types": "./bizinikiwi/index.d.ts",
"default": "./bizinikiwi/index.js"
},
"require": {
"types": "./cjs/bizinikiwi/index.d.ts",
"default": "./cjs/bizinikiwi/index.js"
},
"default": {
"types": "./bizinikiwi/index.d.ts",
"default": "./bizinikiwi/index.js"
}
},
"./bizinikiwi/consts": {
"module": {
"types": "./bizinikiwi/consts.d.ts",
"default": "./bizinikiwi/consts.js"
},
"require": {
"types": "./cjs/bizinikiwi/consts.d.ts",
"default": "./cjs/bizinikiwi/consts.js"
},
"default": {
"types": "./bizinikiwi/consts.d.ts",
"default": "./bizinikiwi/consts.js"
}
},
"./bizinikiwi/errors": {
"module": {
"types": "./bizinikiwi/errors.d.ts",
"default": "./bizinikiwi/errors.js"
},
"require": {
"types": "./cjs/bizinikiwi/errors.d.ts",
"default": "./cjs/bizinikiwi/errors.js"
},
"default": {
"types": "./bizinikiwi/errors.d.ts",
"default": "./bizinikiwi/errors.js"
}
},
"./bizinikiwi/events": {
"module": {
"types": "./bizinikiwi/events.d.ts",
"default": "./bizinikiwi/events.js"
},
"require": {
"types": "./cjs/bizinikiwi/events.d.ts",
"default": "./cjs/bizinikiwi/events.js"
},
"default": {
"types": "./bizinikiwi/events.d.ts",
"default": "./bizinikiwi/events.js"
}
},
"./bizinikiwi/query": {
"module": {
"types": "./bizinikiwi/query.d.ts",
"default": "./bizinikiwi/query.js"
},
"require": {
"types": "./cjs/bizinikiwi/query.d.ts",
"default": "./cjs/bizinikiwi/query.js"
},
"default": {
"types": "./bizinikiwi/query.d.ts",
"default": "./bizinikiwi/query.js"
}
},
"./bizinikiwi/registry": {
"module": {
"types": "./bizinikiwi/registry.d.ts",
"default": "./bizinikiwi/registry.js"
},
"require": {
"types": "./cjs/bizinikiwi/registry.d.ts",
"default": "./cjs/bizinikiwi/registry.js"
},
"default": {
"types": "./bizinikiwi/registry.d.ts",
"default": "./bizinikiwi/registry.js"
}
},
"./bizinikiwi/runtime": {
"module": {
"types": "./bizinikiwi/runtime.d.ts",
"default": "./bizinikiwi/runtime.js"
},
"require": {
"types": "./cjs/bizinikiwi/runtime.d.ts",
"default": "./cjs/bizinikiwi/runtime.js"
},
"default": {
"types": "./bizinikiwi/runtime.d.ts",
"default": "./bizinikiwi/runtime.js"
}
},
"./bizinikiwi/tx": {
"module": {
"types": "./bizinikiwi/tx.d.ts",
"default": "./bizinikiwi/tx.js"
},
"require": {
"types": "./cjs/bizinikiwi/tx.d.ts",
"default": "./cjs/bizinikiwi/tx.js"
},
"default": {
"types": "./bizinikiwi/tx.d.ts",
"default": "./bizinikiwi/tx.js"
}
},
"./bundle": {
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./cjs/*": "./cjs/*.js",
"./cjs/package.json": "./cjs/package.json",
"./dicle/consts": {
"module": "./dicle/consts.js",
"require": "./cjs/dicle/consts.js",
"default": "./dicle/consts.js"
},
"./dicle/errors": {
"module": "./dicle/errors.js",
"require": "./cjs/dicle/errors.js",
"default": "./dicle/errors.js"
},
"./dicle/events": {
"module": "./dicle/events.js",
"require": "./cjs/dicle/events.js",
"default": "./dicle/events.js"
},
"./dicle/query": {
"module": "./dicle/query.js",
"require": "./cjs/dicle/query.js",
"default": "./dicle/query.js"
},
"./dicle/runtime": {
"module": "./dicle/runtime.js",
"require": "./cjs/dicle/runtime.js",
"default": "./dicle/runtime.js"
},
"./dicle/tx": {
"module": "./dicle/tx.js",
"require": "./cjs/dicle/tx.js",
"default": "./dicle/tx.js"
},
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./pezkuwi": {
"module": {
"types": "./pezkuwi/index.d.ts",
"default": "./pezkuwi/index.js"
},
"require": {
"types": "./cjs/pezkuwi/index.d.ts",
"default": "./cjs/pezkuwi/index.js"
},
"default": {
"types": "./pezkuwi/index.d.ts",
"default": "./pezkuwi/index.js"
}
},
"./pezkuwi/consts": {
"module": {
"types": "./pezkuwi/consts.d.ts",
"default": "./pezkuwi/consts.js"
},
"require": {
"types": "./cjs/pezkuwi/consts.d.ts",
"default": "./cjs/pezkuwi/consts.js"
},
"default": {
"types": "./pezkuwi/consts.d.ts",
"default": "./pezkuwi/consts.js"
}
},
"./pezkuwi/errors": {
"module": {
"types": "./pezkuwi/errors.d.ts",
"default": "./pezkuwi/errors.js"
},
"require": {
"types": "./cjs/pezkuwi/errors.d.ts",
"default": "./cjs/pezkuwi/errors.js"
},
"default": {
"types": "./pezkuwi/errors.d.ts",
"default": "./pezkuwi/errors.js"
}
},
"./pezkuwi/events": {
"module": {
"types": "./pezkuwi/events.d.ts",
"default": "./pezkuwi/events.js"
},
"require": {
"types": "./cjs/pezkuwi/events.d.ts",
"default": "./cjs/pezkuwi/events.js"
},
"default": {
"types": "./pezkuwi/events.d.ts",
"default": "./pezkuwi/events.js"
}
},
"./pezkuwi/query": {
"module": {
"types": "./pezkuwi/query.d.ts",
"default": "./pezkuwi/query.js"
},
"require": {
"types": "./cjs/pezkuwi/query.d.ts",
"default": "./cjs/pezkuwi/query.js"
},
"default": {
"types": "./pezkuwi/query.d.ts",
"default": "./pezkuwi/query.js"
}
},
"./pezkuwi/registry": {
"module": {
"types": "./pezkuwi/registry.d.ts",
"default": "./pezkuwi/registry.js"
},
"require": {
"types": "./cjs/pezkuwi/registry.d.ts",
"default": "./cjs/pezkuwi/registry.js"
},
"default": {
"types": "./pezkuwi/registry.d.ts",
"default": "./pezkuwi/registry.js"
}
},
"./pezkuwi/runtime": {
"module": {
"types": "./pezkuwi/runtime.d.ts",
"default": "./pezkuwi/runtime.js"
},
"require": {
"types": "./cjs/pezkuwi/runtime.d.ts",
"default": "./cjs/pezkuwi/runtime.js"
},
"default": {
"types": "./pezkuwi/runtime.d.ts",
"default": "./pezkuwi/runtime.js"
}
},
"./pezkuwi/tx": {
"module": {
"types": "./pezkuwi/tx.d.ts",
"default": "./pezkuwi/tx.js"
},
"require": {
"types": "./cjs/pezkuwi/tx.d.ts",
"default": "./cjs/pezkuwi/tx.js"
},
"default": {
"types": "./pezkuwi/tx.d.ts",
"default": "./pezkuwi/tx.js"
}
}
},
"dependencies": {
"@pezkuwi/api-base": "16.5.4",
"@pezkuwi/rpc-augment": "16.5.4",
"@pezkuwi/types": "16.5.4",
"@pezkuwi/types-augment": "16.5.4",
"@pezkuwi/types-codec": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/api-base": "16.5.9",
"@pezkuwi/rpc-augment": "16.5.9",
"@pezkuwi/types": "16.5.9",
"@pezkuwi/types-augment": "16.5.9",
"@pezkuwi/types-codec": "16.5.9",
"@pezkuwi/util": "14.0.11",
"tslib": "^2.8.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/api-augment', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/api-augment', path: 'auto', type: 'auto', version: '16.5.9' };
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+240 -6
View File
@@ -15,15 +15,249 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"exports": {
".": {
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./bundle": {
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./cjs/*": "./cjs/*.js",
"./cjs/package.json": "./cjs/package.json",
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./types": {
"module": {
"types": "./types/index.d.ts",
"default": "./types/index.js"
},
"require": {
"types": "./cjs/types/index.d.ts",
"default": "./cjs/types/index.js"
},
"default": {
"types": "./types/index.d.ts",
"default": "./types/index.js"
}
},
"./types/api": {
"module": {
"types": "./types/api.d.ts",
"default": "./types/api.js"
},
"require": {
"types": "./cjs/types/api.d.ts",
"default": "./cjs/types/api.js"
},
"default": {
"types": "./types/api.d.ts",
"default": "./types/api.js"
}
},
"./types/base": {
"module": {
"types": "./types/base.d.ts",
"default": "./types/base.js"
},
"require": {
"types": "./cjs/types/base.d.ts",
"default": "./cjs/types/base.js"
},
"default": {
"types": "./types/base.d.ts",
"default": "./types/base.js"
}
},
"./types/calls": {
"module": {
"types": "./types/calls.d.ts",
"default": "./types/calls.js"
},
"require": {
"types": "./cjs/types/calls.d.ts",
"default": "./cjs/types/calls.js"
},
"default": {
"types": "./types/calls.d.ts",
"default": "./types/calls.js"
}
},
"./types/consts": {
"module": {
"types": "./types/consts.d.ts",
"default": "./types/consts.js"
},
"require": {
"types": "./cjs/types/consts.d.ts",
"default": "./cjs/types/consts.js"
},
"default": {
"types": "./types/consts.d.ts",
"default": "./types/consts.js"
}
},
"./types/derive": {
"module": {
"types": "./types/derive.d.ts",
"default": "./types/derive.js"
},
"require": {
"types": "./cjs/types/derive.d.ts",
"default": "./cjs/types/derive.js"
},
"default": {
"types": "./types/derive.d.ts",
"default": "./types/derive.js"
}
},
"./types/errors": {
"module": {
"types": "./types/errors.d.ts",
"default": "./types/errors.js"
},
"require": {
"types": "./cjs/types/errors.d.ts",
"default": "./cjs/types/errors.js"
},
"default": {
"types": "./types/errors.d.ts",
"default": "./types/errors.js"
}
},
"./types/events": {
"module": {
"types": "./types/events.d.ts",
"default": "./types/events.js"
},
"require": {
"types": "./cjs/types/events.d.ts",
"default": "./cjs/types/events.js"
},
"default": {
"types": "./types/events.d.ts",
"default": "./types/events.js"
}
},
"./types/rpc": {
"module": {
"types": "./types/rpc.d.ts",
"default": "./types/rpc.js"
},
"require": {
"types": "./cjs/types/rpc.d.ts",
"default": "./cjs/types/rpc.js"
},
"default": {
"types": "./types/rpc.d.ts",
"default": "./types/rpc.js"
}
},
"./types/storage": {
"module": {
"types": "./types/storage.d.ts",
"default": "./types/storage.js"
},
"require": {
"types": "./cjs/types/storage.d.ts",
"default": "./cjs/types/storage.js"
},
"default": {
"types": "./types/storage.d.ts",
"default": "./types/storage.js"
}
},
"./types/submittable": {
"module": {
"types": "./types/submittable.d.ts",
"default": "./types/submittable.js"
},
"require": {
"types": "./cjs/types/submittable.d.ts",
"default": "./cjs/types/submittable.js"
},
"default": {
"types": "./types/submittable.d.ts",
"default": "./types/submittable.js"
}
}
},
"dependencies": {
"@pezkuwi/rpc-core": "16.5.4",
"@pezkuwi/types": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/rpc-core": "16.5.9",
"@pezkuwi/types": "16.5.9",
"@pezkuwi/util": "14.0.11",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/api-base', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/api-base', path: 'auto', type: 'auto', version: '16.5.9' };
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+386 -15
View File
@@ -15,25 +15,396 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"exports": {
".": {
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./Abi": {
"module": {
"types": "./Abi/index.d.ts",
"default": "./Abi/index.js"
},
"require": {
"types": "./cjs/Abi/index.d.ts",
"default": "./cjs/Abi/index.js"
},
"default": {
"types": "./Abi/index.d.ts",
"default": "./Abi/index.js"
}
},
"./Abi/toLatestCompatible": {
"module": {
"types": "./Abi/toLatestCompatible.d.ts",
"default": "./Abi/toLatestCompatible.js"
},
"require": {
"types": "./cjs/Abi/toLatestCompatible.d.ts",
"default": "./cjs/Abi/toLatestCompatible.js"
},
"default": {
"types": "./Abi/toLatestCompatible.d.ts",
"default": "./Abi/toLatestCompatible.js"
}
},
"./Abi/toV1": {
"module": {
"types": "./Abi/toV1.d.ts",
"default": "./Abi/toV1.js"
},
"require": {
"types": "./cjs/Abi/toV1.d.ts",
"default": "./cjs/Abi/toV1.js"
},
"default": {
"types": "./Abi/toV1.d.ts",
"default": "./Abi/toV1.js"
}
},
"./Abi/toV2": {
"module": {
"types": "./Abi/toV2.d.ts",
"default": "./Abi/toV2.js"
},
"require": {
"types": "./cjs/Abi/toV2.d.ts",
"default": "./cjs/Abi/toV2.js"
},
"default": {
"types": "./Abi/toV2.d.ts",
"default": "./Abi/toV2.js"
}
},
"./Abi/toV3": {
"module": {
"types": "./Abi/toV3.d.ts",
"default": "./Abi/toV3.js"
},
"require": {
"types": "./cjs/Abi/toV3.d.ts",
"default": "./cjs/Abi/toV3.js"
},
"default": {
"types": "./Abi/toV3.d.ts",
"default": "./Abi/toV3.js"
}
},
"./Abi/toV4": {
"module": {
"types": "./Abi/toV4.d.ts",
"default": "./Abi/toV4.js"
},
"require": {
"types": "./cjs/Abi/toV4.d.ts",
"default": "./cjs/Abi/toV4.js"
},
"default": {
"types": "./Abi/toV4.d.ts",
"default": "./Abi/toV4.js"
}
},
"./augment": {
"module": {
"types": "./augment.d.ts",
"default": "./augment.js"
},
"require": {
"types": "./cjs/augment.d.ts",
"default": "./cjs/augment.js"
},
"default": {
"types": "./augment.d.ts",
"default": "./augment.js"
}
},
"./base": {
"module": {
"types": "./base/index.d.ts",
"default": "./base/index.js"
},
"require": {
"types": "./cjs/base/index.d.ts",
"default": "./cjs/base/index.js"
},
"default": {
"types": "./base/index.d.ts",
"default": "./base/index.js"
}
},
"./base/Base": {
"module": {
"types": "./base/Base.d.ts",
"default": "./base/Base.js"
},
"require": {
"types": "./cjs/base/Base.d.ts",
"default": "./cjs/base/Base.js"
},
"default": {
"types": "./base/Base.d.ts",
"default": "./base/Base.js"
}
},
"./base/Blueprint": {
"module": {
"types": "./base/Blueprint.d.ts",
"default": "./base/Blueprint.js"
},
"require": {
"types": "./cjs/base/Blueprint.d.ts",
"default": "./cjs/base/Blueprint.js"
},
"default": {
"types": "./base/Blueprint.d.ts",
"default": "./base/Blueprint.js"
}
},
"./base/Code": {
"module": {
"types": "./base/Code.d.ts",
"default": "./base/Code.js"
},
"require": {
"types": "./cjs/base/Code.d.ts",
"default": "./cjs/base/Code.js"
},
"default": {
"types": "./base/Code.d.ts",
"default": "./base/Code.js"
}
},
"./base/Contract": {
"module": {
"types": "./base/Contract.d.ts",
"default": "./base/Contract.js"
},
"require": {
"types": "./cjs/base/Contract.d.ts",
"default": "./cjs/base/Contract.js"
},
"default": {
"types": "./base/Contract.d.ts",
"default": "./base/Contract.js"
}
},
"./base/mock": {
"module": {
"types": "./base/mock.d.ts",
"default": "./base/mock.js"
},
"require": {
"types": "./cjs/base/mock.d.ts",
"default": "./cjs/base/mock.js"
},
"default": {
"types": "./base/mock.d.ts",
"default": "./base/mock.js"
}
},
"./base/types": {
"module": {
"types": "./base/types.d.ts",
"default": "./base/types.js"
},
"require": {
"types": "./cjs/base/types.d.ts",
"default": "./cjs/base/types.js"
},
"default": {
"types": "./base/types.d.ts",
"default": "./base/types.js"
}
},
"./base/util": {
"module": {
"types": "./base/util.d.ts",
"default": "./base/util.js"
},
"require": {
"types": "./cjs/base/util.d.ts",
"default": "./cjs/base/util.js"
},
"default": {
"types": "./base/util.d.ts",
"default": "./base/util.js"
}
},
"./bundle": {
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./cjs/*": "./cjs/*.js",
"./cjs/package.json": "./cjs/package.json",
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./promise": {
"module": {
"types": "./promise/index.d.ts",
"default": "./promise/index.js"
},
"require": {
"types": "./cjs/promise/index.d.ts",
"default": "./cjs/promise/index.js"
},
"default": {
"types": "./promise/index.d.ts",
"default": "./promise/index.js"
}
},
"./promise/types": {
"module": {
"types": "./promise/types.d.ts",
"default": "./promise/types.js"
},
"require": {
"types": "./cjs/promise/types.d.ts",
"default": "./cjs/promise/types.js"
},
"default": {
"types": "./promise/types.d.ts",
"default": "./promise/types.js"
}
},
"./rx": {
"module": {
"types": "./rx/index.d.ts",
"default": "./rx/index.js"
},
"require": {
"types": "./cjs/rx/index.d.ts",
"default": "./cjs/rx/index.js"
},
"default": {
"types": "./rx/index.d.ts",
"default": "./rx/index.js"
}
},
"./rx/types": {
"module": {
"types": "./rx/types.d.ts",
"default": "./rx/types.js"
},
"require": {
"types": "./cjs/rx/types.d.ts",
"default": "./cjs/rx/types.js"
},
"default": {
"types": "./rx/types.d.ts",
"default": "./rx/types.js"
}
},
"./types": {
"module": {
"types": "./types.d.ts",
"default": "./types.js"
},
"require": {
"types": "./cjs/types.d.ts",
"default": "./cjs/types.js"
},
"default": {
"types": "./types.d.ts",
"default": "./types.js"
}
},
"./util": {
"module": {
"types": "./util.d.ts",
"default": "./util.js"
},
"require": {
"types": "./cjs/util.d.ts",
"default": "./cjs/util.js"
},
"default": {
"types": "./util.d.ts",
"default": "./util.js"
}
}
},
"dependencies": {
"@pezkuwi/api": "16.5.4",
"@pezkuwi/api-augment": "16.5.4",
"@pezkuwi/types": "16.5.4",
"@pezkuwi/types-codec": "16.5.4",
"@pezkuwi/types-create": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/util-crypto": "^14.0.1",
"@pezkuwi/api": "16.5.9",
"@pezkuwi/api-augment": "16.5.9",
"@pezkuwi/keyring": "14.0.11",
"@pezkuwi/types": "16.5.9",
"@pezkuwi/types-codec": "16.5.9",
"@pezkuwi/types-create": "16.5.9",
"@pezkuwi/types-support": "16.5.9",
"@pezkuwi/util": "14.0.11",
"@pezkuwi/util-crypto": "14.0.11",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@pezkuwi/api-augment": "16.5.4",
"@pezkuwi/keyring": "^14.0.1",
"@pezkuwi/types-support": "16.5.4"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/api-contract', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/api-contract', path: 'auto', type: 'auto', version: '16.5.9' };
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+15 -18
View File
@@ -15,28 +15,25 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"dependencies": {
"@pezkuwi/api": "16.5.4",
"@pezkuwi/api-augment": "16.5.4",
"@pezkuwi/api-base": "16.5.4",
"@pezkuwi/rpc-core": "16.5.4",
"@pezkuwi/types": "16.5.4",
"@pezkuwi/types-codec": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/util-crypto": "^14.0.1",
"@pezkuwi/api": "16.5.9",
"@pezkuwi/api-augment": "16.5.9",
"@pezkuwi/api-base": "16.5.9",
"@pezkuwi/rpc-core": "16.5.9",
"@pezkuwi/rpc-provider": "16.5.9",
"@pezkuwi/types": "16.5.9",
"@pezkuwi/types-codec": "16.5.9",
"@pezkuwi/types-support": "16.5.9",
"@pezkuwi/util": "14.0.11",
"@pezkuwi/util-crypto": "14.0.11",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@pezkuwi/api": "16.5.4",
"@pezkuwi/api-augment": "16.5.4",
"@pezkuwi/rpc-augment": "16.5.4",
"@pezkuwi/rpc-provider": "16.5.4",
"@pezkuwi/types-support": "16.5.4"
}
}
@@ -46,7 +46,7 @@ function createChildKey (info: AllInfo): string {
*/
export function childKey (instanceId: string, api: DeriveApi): (paraId: string | number | BN) => Observable<string | null> {
return memo(instanceId, (paraId: string | number | BN): Observable<string | null> =>
api.query.crowdloan.funds<Option<PezkuwiRuntimeCommonCrowdloanFundInfo>>(paraId).pipe(
api.query['crowdloan']['funds']<Option<PezkuwiRuntimeCommonCrowdloanFundInfo>>(paraId).pipe(
map((optInfo) =>
optInfo.isSome
? createChildKey(optInfo.unwrap())
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/api-derive', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/api-derive', path: 'auto', type: 'auto', version: '16.5.9' };
+6 -6
View File
@@ -90,14 +90,14 @@ function parse (id: ParaId, [active, retryQueue, selectedThreads, didUpdate, inf
*/
export function info (instanceId: string, api: DeriveApi): (id: ParaId | number) => Observable<DeriveTeyrchainFull | null> {
return memo(instanceId, (id: ParaId | number): Observable<DeriveTeyrchainFull | null> =>
api.query.registrar && api.query['teyrchains']
api.query['registrar'] && api.query['teyrchains']
? api.queryMulti<Result>([
api.query.registrar['active'],
api.query.registrar['retryQueue'],
api.query.registrar['selectedThreads'],
api.query['registrar']['active'],
api.query['registrar']['retryQueue'],
api.query['registrar']['selectedThreads'],
api.query['teyrchains']['didUpdate'],
[api.query.registrar.paras, id],
[api.query.registrar.pendingSwap, id],
[api.query['registrar']['paras'], id],
[api.query['registrar']['pendingSwap'], id],
[api.query['teyrchains']['heads'], id],
[api.query['teyrchains']['relayDispatchQueue'], id]
])
@@ -45,15 +45,15 @@ function parse ([ids, didUpdate, relayDispatchQueueSizes, infos, pendingSwaps]:
*/
export function overview (instanceId: string, api: DeriveApi): () => Observable<DeriveTeyrchain[]> {
return memo(instanceId, (): Observable<DeriveTeyrchain[]> =>
api.query.registrar?.['teyrchains'] && api.query['teyrchains']
? api.query.registrar['teyrchains']<ParaId[]>().pipe(
api.query['registrar']?.['teyrchains'] && api.query['teyrchains']
? api.query['registrar']['teyrchains']<ParaId[]>().pipe(
switchMap((paraIds) =>
combineLatest([
of(paraIds),
api.query['teyrchains']['didUpdate']<DidUpdate>(),
api.query['teyrchains']['relayDispatchQueueSize'].multi<RelayDispatchQueueSize>(paraIds),
api.query.registrar.paras.multi<ParaInfoResult>(paraIds),
api.query.registrar.pendingSwap.multi<PendingSwap>(paraIds)
api.query['registrar']['paras'].multi<ParaInfoResult>(paraIds),
api.query['registrar']['pendingSwap'].multi<PendingSwap>(paraIds)
])
),
map(parse)
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+588 -21
View File
@@ -15,32 +15,599 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"exports": {
".": {
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./augment": {
"module": {
"types": "./augment.d.ts",
"default": "./augment.js"
},
"require": {
"types": "./cjs/augment.d.ts",
"default": "./cjs/augment.js"
},
"default": {
"types": "./augment.d.ts",
"default": "./augment.js"
}
},
"./base": {
"module": {
"types": "./base/index.d.ts",
"default": "./base/index.js"
},
"require": {
"types": "./cjs/base/index.d.ts",
"default": "./cjs/base/index.js"
},
"default": {
"types": "./base/index.d.ts",
"default": "./base/index.js"
}
},
"./base/Decorate": {
"module": {
"types": "./base/Decorate.d.ts",
"default": "./base/Decorate.js"
},
"require": {
"types": "./cjs/base/Decorate.d.ts",
"default": "./cjs/base/Decorate.js"
},
"default": {
"types": "./base/Decorate.d.ts",
"default": "./base/Decorate.js"
}
},
"./base/Events": {
"module": {
"types": "./base/Events.d.ts",
"default": "./base/Events.js"
},
"require": {
"types": "./cjs/base/Events.d.ts",
"default": "./cjs/base/Events.js"
},
"default": {
"types": "./base/Events.d.ts",
"default": "./base/Events.js"
}
},
"./base/find": {
"module": {
"types": "./base/find.d.ts",
"default": "./base/find.js"
},
"require": {
"types": "./cjs/base/find.d.ts",
"default": "./cjs/base/find.js"
},
"default": {
"types": "./base/find.d.ts",
"default": "./base/find.js"
}
},
"./base/Getters": {
"module": {
"types": "./base/Getters.d.ts",
"default": "./base/Getters.js"
},
"require": {
"types": "./cjs/base/Getters.d.ts",
"default": "./cjs/base/Getters.js"
},
"default": {
"types": "./base/Getters.d.ts",
"default": "./base/Getters.js"
}
},
"./base/Init": {
"module": {
"types": "./base/Init.d.ts",
"default": "./base/Init.js"
},
"require": {
"types": "./cjs/base/Init.d.ts",
"default": "./cjs/base/Init.js"
},
"default": {
"types": "./base/Init.d.ts",
"default": "./base/Init.js"
}
},
"./base/types": {
"module": {
"types": "./base/types.d.ts",
"default": "./base/types.js"
},
"require": {
"types": "./cjs/base/types.d.ts",
"default": "./cjs/base/types.js"
},
"default": {
"types": "./base/types.d.ts",
"default": "./base/types.js"
}
},
"./bundle": {
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./cjs/*": "./cjs/*.js",
"./cjs/package.json": "./cjs/package.json",
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./promise": {
"module": {
"types": "./promise/index.d.ts",
"default": "./promise/index.js"
},
"require": {
"types": "./cjs/promise/index.d.ts",
"default": "./cjs/promise/index.js"
},
"default": {
"types": "./promise/index.d.ts",
"default": "./promise/index.js"
}
},
"./promise/Api": {
"module": {
"types": "./promise/Api.d.ts",
"default": "./promise/Api.js"
},
"require": {
"types": "./cjs/promise/Api.d.ts",
"default": "./cjs/promise/Api.js"
},
"default": {
"types": "./promise/Api.d.ts",
"default": "./promise/Api.js"
}
},
"./promise/Combinator": {
"module": {
"types": "./promise/Combinator.d.ts",
"default": "./promise/Combinator.js"
},
"require": {
"types": "./cjs/promise/Combinator.d.ts",
"default": "./cjs/promise/Combinator.js"
},
"default": {
"types": "./promise/Combinator.d.ts",
"default": "./promise/Combinator.js"
}
},
"./promise/decorateMethod": {
"module": {
"types": "./promise/decorateMethod.d.ts",
"default": "./promise/decorateMethod.js"
},
"require": {
"types": "./cjs/promise/decorateMethod.d.ts",
"default": "./cjs/promise/decorateMethod.js"
},
"default": {
"types": "./promise/decorateMethod.d.ts",
"default": "./promise/decorateMethod.js"
}
},
"./promise/types": {
"module": {
"types": "./promise/types.d.ts",
"default": "./promise/types.js"
},
"require": {
"types": "./cjs/promise/types.d.ts",
"default": "./cjs/promise/types.js"
},
"default": {
"types": "./promise/types.d.ts",
"default": "./promise/types.js"
}
},
"./rx": {
"module": {
"types": "./rx/index.d.ts",
"default": "./rx/index.js"
},
"require": {
"types": "./cjs/rx/index.d.ts",
"default": "./cjs/rx/index.js"
},
"default": {
"types": "./rx/index.d.ts",
"default": "./rx/index.js"
}
},
"./rx/Api": {
"module": {
"types": "./rx/Api.d.ts",
"default": "./rx/Api.js"
},
"require": {
"types": "./cjs/rx/Api.d.ts",
"default": "./cjs/rx/Api.js"
},
"default": {
"types": "./rx/Api.d.ts",
"default": "./rx/Api.js"
}
},
"./rx/decorateMethod": {
"module": {
"types": "./rx/decorateMethod.d.ts",
"default": "./rx/decorateMethod.js"
},
"require": {
"types": "./cjs/rx/decorateMethod.d.ts",
"default": "./cjs/rx/decorateMethod.js"
},
"default": {
"types": "./rx/decorateMethod.d.ts",
"default": "./rx/decorateMethod.js"
}
},
"./submittable": {
"module": {
"types": "./submittable/index.d.ts",
"default": "./submittable/index.js"
},
"require": {
"types": "./cjs/submittable/index.d.ts",
"default": "./cjs/submittable/index.js"
},
"default": {
"types": "./submittable/index.d.ts",
"default": "./submittable/index.js"
}
},
"./submittable/createClass": {
"module": {
"types": "./submittable/createClass.d.ts",
"default": "./submittable/createClass.js"
},
"require": {
"types": "./cjs/submittable/createClass.d.ts",
"default": "./cjs/submittable/createClass.js"
},
"default": {
"types": "./submittable/createClass.d.ts",
"default": "./submittable/createClass.js"
}
},
"./submittable/createSubmittable": {
"module": {
"types": "./submittable/createSubmittable.d.ts",
"default": "./submittable/createSubmittable.js"
},
"require": {
"types": "./cjs/submittable/createSubmittable.d.ts",
"default": "./cjs/submittable/createSubmittable.js"
},
"default": {
"types": "./submittable/createSubmittable.d.ts",
"default": "./submittable/createSubmittable.js"
}
},
"./submittable/Result": {
"module": {
"types": "./submittable/Result.d.ts",
"default": "./submittable/Result.js"
},
"require": {
"types": "./cjs/submittable/Result.d.ts",
"default": "./cjs/submittable/Result.js"
},
"default": {
"types": "./submittable/Result.d.ts",
"default": "./submittable/Result.js"
}
},
"./submittable/types": {
"module": {
"types": "./submittable/types.d.ts",
"default": "./submittable/types.js"
},
"require": {
"types": "./cjs/submittable/types.d.ts",
"default": "./cjs/submittable/types.js"
},
"default": {
"types": "./submittable/types.d.ts",
"default": "./submittable/types.js"
}
},
"./types": {
"module": {
"types": "./types/index.d.ts",
"default": "./types/index.js"
},
"require": {
"types": "./cjs/types/index.d.ts",
"default": "./cjs/types/index.js"
},
"default": {
"types": "./types/index.d.ts",
"default": "./types/index.js"
}
},
"./types/calls": {
"module": {
"types": "./types/calls.d.ts",
"default": "./types/calls.js"
},
"require": {
"types": "./cjs/types/calls.d.ts",
"default": "./cjs/types/calls.js"
},
"default": {
"types": "./types/calls.d.ts",
"default": "./types/calls.js"
}
},
"./types/consts": {
"module": {
"types": "./types/consts.d.ts",
"default": "./types/consts.js"
},
"require": {
"types": "./cjs/types/consts.d.ts",
"default": "./cjs/types/consts.js"
},
"default": {
"types": "./types/consts.d.ts",
"default": "./types/consts.js"
}
},
"./types/errors": {
"module": {
"types": "./types/errors.d.ts",
"default": "./types/errors.js"
},
"require": {
"types": "./cjs/types/errors.d.ts",
"default": "./cjs/types/errors.js"
},
"default": {
"types": "./types/errors.d.ts",
"default": "./types/errors.js"
}
},
"./types/events": {
"module": {
"types": "./types/events.d.ts",
"default": "./types/events.js"
},
"require": {
"types": "./cjs/types/events.d.ts",
"default": "./cjs/types/events.js"
},
"default": {
"types": "./types/events.d.ts",
"default": "./types/events.js"
}
},
"./types/storage": {
"module": {
"types": "./types/storage.d.ts",
"default": "./types/storage.js"
},
"require": {
"types": "./cjs/types/storage.d.ts",
"default": "./cjs/types/storage.js"
},
"default": {
"types": "./types/storage.d.ts",
"default": "./types/storage.js"
}
},
"./types/submittable": {
"module": {
"types": "./types/submittable.d.ts",
"default": "./types/submittable.js"
},
"require": {
"types": "./cjs/types/submittable.d.ts",
"default": "./cjs/types/submittable.js"
},
"default": {
"types": "./types/submittable.d.ts",
"default": "./types/submittable.js"
}
},
"./util": {
"module": {
"types": "./util/index.d.ts",
"default": "./util/index.js"
},
"require": {
"types": "./cjs/util/index.d.ts",
"default": "./cjs/util/index.js"
},
"default": {
"types": "./util/index.d.ts",
"default": "./util/index.js"
}
},
"./util/augmentObject": {
"module": {
"types": "./util/augmentObject.d.ts",
"default": "./util/augmentObject.js"
},
"require": {
"types": "./cjs/util/augmentObject.d.ts",
"default": "./cjs/util/augmentObject.js"
},
"default": {
"types": "./util/augmentObject.d.ts",
"default": "./util/augmentObject.js"
}
},
"./util/decorate": {
"module": {
"types": "./util/decorate.d.ts",
"default": "./util/decorate.js"
},
"require": {
"types": "./cjs/util/decorate.d.ts",
"default": "./cjs/util/decorate.js"
},
"default": {
"types": "./util/decorate.d.ts",
"default": "./util/decorate.js"
}
},
"./util/filterEvents": {
"module": {
"types": "./util/filterEvents.d.ts",
"default": "./util/filterEvents.js"
},
"require": {
"types": "./cjs/util/filterEvents.d.ts",
"default": "./cjs/util/filterEvents.js"
},
"default": {
"types": "./util/filterEvents.d.ts",
"default": "./util/filterEvents.js"
}
},
"./util/isKeyringPair": {
"module": {
"types": "./util/isKeyringPair.d.ts",
"default": "./util/isKeyringPair.js"
},
"require": {
"types": "./cjs/util/isKeyringPair.d.ts",
"default": "./cjs/util/isKeyringPair.js"
},
"default": {
"types": "./util/isKeyringPair.d.ts",
"default": "./util/isKeyringPair.js"
}
},
"./util/logging": {
"module": {
"types": "./util/logging.d.ts",
"default": "./util/logging.js"
},
"require": {
"types": "./cjs/util/logging.d.ts",
"default": "./cjs/util/logging.js"
},
"default": {
"types": "./util/logging.d.ts",
"default": "./util/logging.js"
}
},
"./util/validate": {
"module": {
"types": "./util/validate.d.ts",
"default": "./util/validate.js"
},
"require": {
"types": "./cjs/util/validate.d.ts",
"default": "./cjs/util/validate.js"
},
"default": {
"types": "./util/validate.d.ts",
"default": "./util/validate.js"
}
}
},
"dependencies": {
"@pezkuwi/api-augment": "16.5.4",
"@pezkuwi/api-base": "16.5.4",
"@pezkuwi/api-derive": "16.5.4",
"@pezkuwi/keyring": "^14.0.1",
"@pezkuwi/rpc-augment": "16.5.4",
"@pezkuwi/rpc-core": "16.5.4",
"@pezkuwi/rpc-provider": "16.5.4",
"@pezkuwi/types": "16.5.4",
"@pezkuwi/types-augment": "16.5.4",
"@pezkuwi/types-codec": "16.5.4",
"@pezkuwi/types-create": "16.5.4",
"@pezkuwi/types-known": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/util-crypto": "^14.0.1",
"@pezkuwi/api-augment": "16.5.9",
"@pezkuwi/api-base": "16.5.9",
"@pezkuwi/api-derive": "16.5.9",
"@pezkuwi/keyring": "14.0.11",
"@pezkuwi/rpc-augment": "16.5.9",
"@pezkuwi/rpc-core": "16.5.9",
"@pezkuwi/rpc-provider": "16.5.9",
"@pezkuwi/types": "16.5.9",
"@pezkuwi/types-augment": "16.5.9",
"@pezkuwi/types-codec": "16.5.9",
"@pezkuwi/types-create": "16.5.9",
"@pezkuwi/types-known": "16.5.9",
"@pezkuwi/types-support": "16.5.9",
"@pezkuwi/util": "14.0.11",
"@pezkuwi/util-crypto": "14.0.11",
"eventemitter3": "^5.0.1",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@pezkuwi/api-augment": "16.5.4",
"@pezkuwi/types-support": "16.5.4"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/api', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/api', path: 'auto', type: 'auto', version: '16.5.9' };
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+115 -7
View File
@@ -15,16 +15,124 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"exports": {
".": {
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./augment": {
"module": {
"types": "./augment/index.d.ts",
"default": "./augment/index.js"
},
"require": {
"types": "./cjs/augment/index.d.ts",
"default": "./cjs/augment/index.js"
},
"default": {
"types": "./augment/index.d.ts",
"default": "./augment/index.js"
}
},
"./augment/jsonrpc": {
"module": {
"types": "./augment/jsonrpc.d.ts",
"default": "./augment/jsonrpc.js"
},
"require": {
"types": "./cjs/augment/jsonrpc.d.ts",
"default": "./cjs/augment/jsonrpc.js"
},
"default": {
"types": "./augment/jsonrpc.d.ts",
"default": "./augment/jsonrpc.js"
}
},
"./bundle": {
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./cjs/*": "./cjs/*.js",
"./cjs/package.json": "./cjs/package.json",
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
}
},
"dependencies": {
"@pezkuwi/rpc-core": "16.5.4",
"@pezkuwi/types": "16.5.4",
"@pezkuwi/types-codec": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/rpc-core": "16.5.9",
"@pezkuwi/types": "16.5.9",
"@pezkuwi/types-codec": "16.5.9",
"@pezkuwi/util": "14.0.11",
"tslib": "^2.8.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/rpc-augment', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/rpc-augment', path: 'auto', type: 'auto', version: '16.5.9' };
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+186 -11
View File
@@ -15,21 +15,196 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"exports": {
".": {
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./bundle": {
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./cjs/*": "./cjs/*.js",
"./cjs/package.json": "./cjs/package.json",
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./types": {
"module": {
"types": "./types/index.d.ts",
"default": "./types/index.js"
},
"require": {
"types": "./cjs/types/index.d.ts",
"default": "./cjs/types/index.js"
},
"default": {
"types": "./types/index.d.ts",
"default": "./types/index.js"
}
},
"./types/base": {
"module": {
"types": "./types/base.d.ts",
"default": "./types/base.js"
},
"require": {
"types": "./cjs/types/base.d.ts",
"default": "./cjs/types/base.js"
},
"default": {
"types": "./types/base.d.ts",
"default": "./types/base.js"
}
},
"./types/jsonrpc": {
"module": {
"types": "./types/jsonrpc.d.ts",
"default": "./types/jsonrpc.js"
},
"require": {
"types": "./cjs/types/jsonrpc.d.ts",
"default": "./cjs/types/jsonrpc.js"
},
"default": {
"types": "./types/jsonrpc.d.ts",
"default": "./types/jsonrpc.js"
}
},
"./util": {
"module": {
"types": "./util/index.d.ts",
"default": "./util/index.js"
},
"require": {
"types": "./cjs/util/index.d.ts",
"default": "./cjs/util/index.js"
},
"default": {
"types": "./util/index.d.ts",
"default": "./util/index.js"
}
},
"./util/drr": {
"module": {
"types": "./util/drr.d.ts",
"default": "./util/drr.js"
},
"require": {
"types": "./cjs/util/drr.d.ts",
"default": "./cjs/util/drr.js"
},
"default": {
"types": "./util/drr.d.ts",
"default": "./util/drr.js"
}
},
"./util/memo": {
"module": {
"types": "./util/memo.d.ts",
"default": "./util/memo.js"
},
"require": {
"types": "./cjs/util/memo.d.ts",
"default": "./cjs/util/memo.js"
},
"default": {
"types": "./util/memo.d.ts",
"default": "./util/memo.js"
}
},
"./util/refCountDelay": {
"module": {
"types": "./util/refCountDelay.d.ts",
"default": "./util/refCountDelay.js"
},
"require": {
"types": "./cjs/util/refCountDelay.d.ts",
"default": "./cjs/util/refCountDelay.js"
},
"default": {
"types": "./util/refCountDelay.d.ts",
"default": "./util/refCountDelay.js"
}
}
},
"dependencies": {
"@pezkuwi/rpc-augment": "16.5.4",
"@pezkuwi/rpc-provider": "16.5.4",
"@pezkuwi/types": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/keyring": "14.0.11",
"@pezkuwi/rpc-augment": "16.5.9",
"@pezkuwi/rpc-provider": "16.5.9",
"@pezkuwi/types": "16.5.9",
"@pezkuwi/util": "14.0.11",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@pezkuwi/keyring": "^14.0.1",
"@pezkuwi/rpc-augment": "16.5.4"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/rpc-core', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/rpc-core', path: 'auto', type: 'auto', version: '16.5.9' };
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+315 -14
View File
@@ -15,28 +15,329 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"exports": {
".": {
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./bizinikiwi-connect": {
"module": {
"types": "./bizinikiwi-connect/index.d.ts",
"default": "./bizinikiwi-connect/index.js"
},
"require": {
"types": "./cjs/bizinikiwi-connect/index.d.ts",
"default": "./cjs/bizinikiwi-connect/index.js"
},
"default": {
"types": "./bizinikiwi-connect/index.d.ts",
"default": "./bizinikiwi-connect/index.js"
}
},
"./bizinikiwi-connect/Health": {
"module": {
"types": "./bizinikiwi-connect/Health.d.ts",
"default": "./bizinikiwi-connect/Health.js"
},
"require": {
"types": "./cjs/bizinikiwi-connect/Health.d.ts",
"default": "./cjs/bizinikiwi-connect/Health.js"
},
"default": {
"types": "./bizinikiwi-connect/Health.d.ts",
"default": "./bizinikiwi-connect/Health.js"
}
},
"./bizinikiwi-connect/types": {
"module": {
"types": "./bizinikiwi-connect/types.d.ts",
"default": "./bizinikiwi-connect/types.js"
},
"require": {
"types": "./cjs/bizinikiwi-connect/types.d.ts",
"default": "./cjs/bizinikiwi-connect/types.js"
},
"default": {
"types": "./bizinikiwi-connect/types.d.ts",
"default": "./bizinikiwi-connect/types.js"
}
},
"./bundle": {
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./cjs/*": "./cjs/*.js",
"./cjs/package.json": "./cjs/package.json",
"./coder": {
"module": {
"types": "./coder/index.d.ts",
"default": "./coder/index.js"
},
"require": {
"types": "./cjs/coder/index.d.ts",
"default": "./cjs/coder/index.js"
},
"default": {
"types": "./coder/index.d.ts",
"default": "./coder/index.js"
}
},
"./coder/error": {
"module": {
"types": "./coder/error.d.ts",
"default": "./coder/error.js"
},
"require": {
"types": "./cjs/coder/error.d.ts",
"default": "./cjs/coder/error.js"
},
"default": {
"types": "./coder/error.d.ts",
"default": "./coder/error.js"
}
},
"./defaults": {
"module": {
"types": "./defaults.d.ts",
"default": "./defaults.js"
},
"require": {
"types": "./cjs/defaults.d.ts",
"default": "./cjs/defaults.js"
},
"default": {
"types": "./defaults.d.ts",
"default": "./defaults.js"
}
},
"./http": {
"module": {
"types": "./http/index.d.ts",
"default": "./http/index.js"
},
"require": {
"types": "./cjs/http/index.d.ts",
"default": "./cjs/http/index.js"
},
"default": {
"types": "./http/index.d.ts",
"default": "./http/index.js"
}
},
"./http/types": {
"module": {
"types": "./http/types.d.ts",
"default": "./http/types.js"
},
"require": {
"types": "./cjs/http/types.d.ts",
"default": "./cjs/http/types.js"
},
"default": {
"types": "./http/types.d.ts",
"default": "./http/types.js"
}
},
"./lru": {
"module": {
"types": "./lru.d.ts",
"default": "./lru.js"
},
"require": {
"types": "./cjs/lru.d.ts",
"default": "./cjs/lru.js"
},
"default": {
"types": "./lru.d.ts",
"default": "./lru.js"
}
},
"./mock": {
"module": {
"types": "./mock/index.d.ts",
"default": "./mock/index.js"
},
"require": {
"types": "./cjs/mock/index.d.ts",
"default": "./cjs/mock/index.js"
},
"default": {
"types": "./mock/index.d.ts",
"default": "./mock/index.js"
}
},
"./mock/mockHttp": {
"module": {
"types": "./mock/mockHttp.d.ts",
"default": "./mock/mockHttp.js"
},
"require": {
"types": "./cjs/mock/mockHttp.d.ts",
"default": "./cjs/mock/mockHttp.js"
},
"default": {
"types": "./mock/mockHttp.d.ts",
"default": "./mock/mockHttp.js"
}
},
"./mock/mockWs": {
"module": {
"types": "./mock/mockWs.d.ts",
"default": "./mock/mockWs.js"
},
"require": {
"types": "./cjs/mock/mockWs.d.ts",
"default": "./cjs/mock/mockWs.js"
},
"default": {
"types": "./mock/mockWs.d.ts",
"default": "./mock/mockWs.js"
}
},
"./mock/types": {
"module": {
"types": "./mock/types.d.ts",
"default": "./mock/types.js"
},
"require": {
"types": "./cjs/mock/types.d.ts",
"default": "./cjs/mock/types.js"
},
"default": {
"types": "./mock/types.d.ts",
"default": "./mock/types.js"
}
},
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./types": {
"module": {
"types": "./types.d.ts",
"default": "./types.js"
},
"require": {
"types": "./cjs/types.d.ts",
"default": "./cjs/types.js"
},
"default": {
"types": "./types.d.ts",
"default": "./types.js"
}
},
"./ws": {
"module": {
"types": "./ws/index.d.ts",
"default": "./ws/index.js"
},
"require": {
"types": "./cjs/ws/index.d.ts",
"default": "./cjs/ws/index.js"
},
"default": {
"types": "./ws/index.d.ts",
"default": "./ws/index.js"
}
},
"./ws/errors": {
"module": {
"types": "./ws/errors.d.ts",
"default": "./ws/errors.js"
},
"require": {
"types": "./cjs/ws/errors.d.ts",
"default": "./cjs/ws/errors.js"
},
"default": {
"types": "./ws/errors.d.ts",
"default": "./ws/errors.js"
}
}
},
"dependencies": {
"@pezkuwi/keyring": "^14.0.1",
"@pezkuwi/types": "16.5.4",
"@pezkuwi/types-support": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/util-crypto": "^14.0.1",
"@pezkuwi/x-fetch": "^14.0.1",
"@pezkuwi/x-global": "^14.0.1",
"@pezkuwi/x-ws": "^14.0.1",
"@pezkuwi/keyring": "14.0.11",
"@pezkuwi/types": "16.5.9",
"@pezkuwi/types-support": "16.5.9",
"@pezkuwi/util": "14.0.11",
"@pezkuwi/util-crypto": "14.0.11",
"@pezkuwi/x-fetch": "14.0.11",
"@pezkuwi/x-global": "14.0.11",
"@pezkuwi/x-ws": "14.0.11",
"eventemitter3": "^5.0.1",
"mock-socket": "^9.3.1",
"nock": "^13.5.5",
"tslib": "^2.8.1"
},
"devDependencies": {
"@bizinikiwi/connect": "2.1.9"
},
"optionalDependencies": {
"@bizinikiwi/connect": "2.1.9"
}
@@ -471,6 +471,8 @@ describe('ScProvider', () => {
subscription: token
}
});
await wait(0);
expect(cb).toHaveBeenCalledTimes(1);
expect(cb).toHaveBeenLastCalledWith(null, 1);
@@ -482,6 +484,8 @@ describe('ScProvider', () => {
subscription: token
}
});
await wait(0);
expect(cb).toHaveBeenCalledTimes(2);
expect(cb).toHaveBeenLastCalledWith(null, 2);
@@ -575,9 +579,9 @@ describe('ScProvider', () => {
}
});
expect(token).toBe(unsubscribeToken);
await wait(0);
expect(cb).toHaveBeenCalledTimes(1);
expect(cb).toHaveBeenLastCalledWith(expect.any(Error), undefined);
expect(cb).toHaveBeenLastCalledWith(new Error('boom!'), undefined);
});
it('errors when subscribing to an unsupported method', async () => {
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/rpc-provider', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/rpc-provider', path: 'auto', type: 'auto', version: '16.5.9' };
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+5
View File
@@ -0,0 +1,5 @@
import type { Definitions } from '@pezkuwi/types/types';
import type { HexString } from '@pezkuwi/util/types';
import { type ExtraTypes } from './types.js';
/** @internal */
export declare function generateDefaultConsts(dest: string, data: HexString, extraTypes?: ExtraTypes, isStrict?: boolean, customLookupDefinitions?: Definitions): void;
+87
View File
@@ -0,0 +1,87 @@
import Handlebars from 'handlebars';
import * as defaultDefs from '@pezkuwi/types/interfaces/definitions';
import lookupDefinitions from '@pezkuwi/types-augment/lookup/definitions';
import { stringCamelCase } from '@pezkuwi/util';
import { compareName, createImports, formatType, initMeta, readTemplate, rebrandTypeName, setImports, writeFile } from '../util/index.js';
import { ignoreUnusedLookups } from './lookup.js';
import { getDeprecationNotice } from './types.js';
const generateForMetaTemplate = Handlebars.compile(readTemplate('consts'));
/** @internal */
function generateForMeta(meta, dest, extraTypes, isStrict, customLookupDefinitions) {
writeFile(dest, () => {
const allTypes = {
'@pezkuwi/types-augment': {
lookup: {
...lookupDefinitions,
...customLookupDefinitions
}
},
'@pezkuwi/types/interfaces': defaultDefs,
...extraTypes
};
const imports = createImports(allTypes);
const allDefs = Object.entries(allTypes).reduce((defs, [path, obj]) => {
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
}, {});
const { lookup, pallets, registry } = meta.asLatest;
const usedTypes = new Set([]);
const modules = pallets
.filter(({ constants }) => constants.length > 0)
.map(({ constants, name }) => {
if (!isStrict) {
setImports(allDefs, imports, ['Codec']);
}
const items = constants
.map(({ deprecationInfo, docs, name, type }) => {
const typeDef = lookup.getTypeDef(type);
const returnType = rebrandTypeName(typeDef.lookupName || '') || formatType(registry, allDefs, typeDef, imports);
if (!deprecationInfo.isNotDeprecated) {
const deprecationNotice = getDeprecationNotice(deprecationInfo, stringCamelCase(name), 'Constant');
const items = docs.length
? ['', deprecationNotice]
: [deprecationNotice];
docs.push(...items.map((text) => registry.createType('Text', text)));
}
// Add the type to the list of used types
if (!(imports.primitiveTypes[returnType])) {
usedTypes.add(returnType);
}
setImports(allDefs, imports, [returnType]);
return {
docs,
name: stringCamelCase(name),
type: returnType
};
})
.sort(compareName);
return {
items,
name: stringCamelCase(name)
};
})
.sort(compareName);
// filter out the unused lookup types from imports
ignoreUnusedLookups([...usedTypes], imports);
return generateForMetaTemplate({
headerType: 'chain',
imports,
isStrict,
modules,
types: [
...Object.keys(imports.localTypes).sort().map((packagePath) => ({
file: packagePath.replace('@pezkuwi/types-augment', '@pezkuwi/types'),
types: Object.keys(imports.localTypes[packagePath])
})),
{
file: '@pezkuwi/api-base/types',
types: ['ApiTypes', 'AugmentedConst']
}
]
});
});
}
/** @internal */
export function generateDefaultConsts(dest, data, extraTypes = {}, isStrict = false, customLookupDefinitions) {
const { metadata } = initMeta(data, extraTypes);
return generateForMeta(metadata, dest, extraTypes, isStrict, customLookupDefinitions);
}
+4
View File
@@ -0,0 +1,4 @@
import type { HexString } from '@pezkuwi/util/types';
import { type ExtraTypes } from './types.js';
/** @internal */
export declare function generateDefaultErrors(dest: string, data: HexString, extraTypes?: ExtraTypes, isStrict?: boolean): void;
+55
View File
@@ -0,0 +1,55 @@
import Handlebars from 'handlebars';
import { stringCamelCase } from '@pezkuwi/util';
import { compareName, createImports, initMeta, readTemplate, writeFile } from '../util/index.js';
import { getDeprecationNotice } from './types.js';
const generateForMetaTemplate = Handlebars.compile(readTemplate('errors'));
/** @internal */
function generateForMeta(meta, dest, isStrict) {
writeFile(dest, () => {
const imports = createImports({});
const { lookup, pallets } = meta.asLatest;
const modules = pallets
.filter(({ errors }) => errors.isSome)
.map((data) => {
const name = data.name;
const errors = data.errors.unwrap();
const deprecationInfo = errors.deprecationInfo.toJSON();
return {
items: lookup.getSiType(errors.type).def.asVariant.variants
.map(({ docs, index, name }) => {
const rawStatus = deprecationInfo?.[index.toNumber()];
if (rawStatus) {
const deprecationVariantInfo = meta.registry.createTypeUnsafe('VariantDeprecationInfoV16', [rawStatus]);
const deprecationNotice = getDeprecationNotice(deprecationVariantInfo, name.toString());
const notice = docs.length ? ['', deprecationNotice] : [deprecationNotice];
docs.push(...notice.map((text) => meta.registry.createType('Text', text)));
}
return {
docs,
name: name.toString()
};
})
.sort(compareName),
name: stringCamelCase(name)
};
})
.sort(compareName);
return generateForMetaTemplate({
headerType: 'chain',
imports,
isStrict,
modules,
types: [
{
file: '@pezkuwi/api-base/types',
types: ['ApiTypes', 'AugmentedError']
}
]
});
});
}
/** @internal */
export function generateDefaultErrors(dest, data, extraTypes = {}, isStrict = false) {
const { metadata } = initMeta(data, extraTypes);
return generateForMeta(metadata, dest, isStrict);
}
+5
View File
@@ -0,0 +1,5 @@
import type { Definitions } from '@pezkuwi/types/types';
import type { HexString } from '@pezkuwi/util/types';
import { type ExtraTypes } from './types.js';
/** @internal */
export declare function generateDefaultEvents(dest: string, data: HexString, extraTypes?: ExtraTypes, isStrict?: boolean, customLookupDefinitions?: Definitions): void;
+135
View File
@@ -0,0 +1,135 @@
import Handlebars from 'handlebars';
import * as defaultDefs from '@pezkuwi/types/interfaces/definitions';
import lookupDefinitions from '@pezkuwi/types-augment/lookup/definitions';
import { stringCamelCase } from '@pezkuwi/util';
import { compareName, createImports, formatType, initMeta, readTemplate, rebrandTypeName, setImports, writeFile } from '../util/index.js';
import { ignoreUnusedLookups } from './lookup.js';
import { getDeprecationNotice } from './types.js';
const generateForMetaTemplate = Handlebars.compile(readTemplate('events'));
const ALIAS = [
'symbol',
'break',
'case',
'catch',
'class',
'const',
'continue',
'debugger',
'default',
'delete',
'do',
'else',
'export',
'extends',
'false',
'finally',
'for',
'function',
'if',
'import',
'in',
'instanceof',
'new',
'null',
'return',
'static',
'super',
'switch',
'this',
'throw',
'true',
'try',
'typeof',
'var',
'void',
'while',
'with',
'yield'
];
/** @internal */
function generateForMeta(meta, dest, extraTypes, isStrict, customLookupDefinitions) {
writeFile(dest, () => {
const allTypes = {
'@pezkuwi/types-augment': {
lookup: {
...lookupDefinitions,
...customLookupDefinitions
}
},
'@pezkuwi/types/interfaces': defaultDefs,
...extraTypes
};
const imports = createImports(allTypes);
const allDefs = Object.entries(allTypes).reduce((defs, [path, obj]) => {
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
}, {});
const { lookup, pallets, registry } = meta.asLatest;
const usedTypes = new Set([]);
const modules = pallets
.filter(({ events }) => events.isSome)
.map((data) => {
const name = data.name;
const events = data.events.unwrap();
const deprecationInfo = events.deprecationInfo.toJSON();
return {
items: lookup.getSiType(events.type).def.asVariant.variants
.map(({ docs, fields, index, name }) => {
const rawStatus = deprecationInfo?.[index.toNumber()];
if (rawStatus) {
const deprecationVariantInfo = meta.registry.createTypeUnsafe('VariantDeprecationInfoV16', [rawStatus]);
const deprecationNotice = getDeprecationNotice(deprecationVariantInfo, name.toString());
const notice = docs.length ? ['', deprecationNotice] : [deprecationNotice];
docs.push(...notice.map((text) => meta.registry.createType('Text', text)));
}
const args = fields
.map(({ type }) => lookup.getTypeDef(type))
.map((typeDef) => {
const arg = rebrandTypeName(typeDef.lookupName || '') || formatType(registry, allDefs, typeDef, imports);
// Add the type to the list of used types
if (!(imports.primitiveTypes[arg])) {
usedTypes.add(arg);
}
return arg;
});
const names = fields
.map(({ name }) => registry.lookup.sanitizeField(name)[0])
.filter((n) => !!n);
setImports(allDefs, imports, args);
return {
docs,
name: name.toString(),
type: names.length !== 0 && names.length === args.length
? `[${names.map((n, i) => `${ALIAS.includes(n) ? `${n}_` : n}: ${args[i]}`).join(', ')}], { ${names.map((n, i) => `${n}: ${args[i]}`).join(', ')} }`
: `[${args.join(', ')}]`
};
})
.sort(compareName),
name: stringCamelCase(name)
};
})
.sort(compareName);
// filter out the unused lookup types from imports
ignoreUnusedLookups([...usedTypes], imports);
return generateForMetaTemplate({
headerType: 'chain',
imports,
isStrict,
modules,
types: [
...Object.keys(imports.localTypes).sort().map((packagePath) => ({
file: packagePath.replace('@pezkuwi/types-augment', '@pezkuwi/types'),
types: Object.keys(imports.localTypes[packagePath])
})),
{
file: '@pezkuwi/api-base/types',
types: ['ApiTypes', 'AugmentedEvent']
}
]
});
});
}
/** @internal */
export function generateDefaultEvents(dest, data, extraTypes = {}, isStrict = false, customLookupDefinitions) {
const { metadata } = initMeta(data, extraTypes);
return generateForMeta(metadata, dest, extraTypes, isStrict, customLookupDefinitions);
}
+4
View File
@@ -0,0 +1,4 @@
import type { ModuleTypes } from '../util/imports.js';
/** @internal */
export declare function generateInterfaceTypes(importDefinitions: Record<string, Record<string, ModuleTypes>>, dest: string): void;
export declare function generateDefaultInterface(): void;
@@ -0,0 +1,59 @@
import Handlebars from 'handlebars';
import { Json, Raw } from '@pezkuwi/types/codec';
import { TypeRegistry } from '@pezkuwi/types/create';
import * as defaultDefinitions from '@pezkuwi/types/interfaces/definitions';
import * as defaultPrimitives from '@pezkuwi/types/primitive';
import { createImports, readTemplate, setImports, writeFile } from '../util/index.js';
const primitiveClasses = {
...defaultPrimitives,
Json,
Raw
};
const generateInterfaceTypesTemplate = Handlebars.compile(readTemplate('interfaceRegistry'));
/** @internal */
export function generateInterfaceTypes(importDefinitions, dest) {
const registry = new TypeRegistry();
writeFile(dest, () => {
Object.entries(importDefinitions).reduce((acc, def) => Object.assign(acc, def), {});
const imports = createImports(importDefinitions);
const definitions = imports.definitions;
const items = [];
// first we create imports for our known classes from the API
Object
.keys(primitiveClasses)
.filter((name) => !name.includes('Generic'))
.forEach((primitiveName) => {
setImports(definitions, imports, [primitiveName]);
items.push(primitiveName);
});
const existingTypes = {};
// ensure we have everything registered since we will get the definition
// form the available types (so any unknown should show after this)
Object.values(definitions).forEach(({ types }) => {
registry.register(types);
});
// create imports for everything that we have available
Object.values(definitions).forEach(({ types }) => {
setImports(definitions, imports, Object.keys(types));
const uniqueTypes = Object.keys(types).filter((type) => !existingTypes[type]);
uniqueTypes.forEach((type) => {
existingTypes[type] = true;
items.push(type);
});
});
return generateInterfaceTypesTemplate({
headerType: 'defs',
imports,
items: items.sort((a, b) => a.localeCompare(b)),
types: [
...Object.keys(imports.localTypes).sort().map((packagePath) => ({
file: packagePath,
types: Object.keys(imports.localTypes[packagePath])
}))
]
});
});
}
export function generateDefaultInterface() {
generateInterfaceTypes({ '@pezkuwi/types/interfaces': defaultDefinitions }, 'packages/types-augment/src/registry/interfaces.ts');
}
+4
View File
@@ -0,0 +1,4 @@
import type { HexString } from '@pezkuwi/util/types';
import { type TypeImports } from '../util/index.js';
export declare function generateDefaultLookup(destDir?: string, staticData?: HexString): void;
export declare function ignoreUnusedLookups(usedTypes: string[], imports: TypeImports): void;
+235
View File
@@ -0,0 +1,235 @@
import Handlebars from 'handlebars';
import path from 'node:path';
import * as defaultDefinitions from '@pezkuwi/types/interfaces/definitions';
import staticAhDicle from '@pezkuwi/types-support/metadata/v15/asset-hub-dicle-hex';
import staticAhPezkuwi from '@pezkuwi/types-support/metadata/v15/asset-hub-pezkuwi-hex';
import staticBizinikiwi from '@pezkuwi/types-support/metadata/v15/bizinikiwi-hex';
import staticDicle from '@pezkuwi/types-support/metadata/v15/dicle-hex';
import staticPezkuwi from '@pezkuwi/types-support/metadata/v15/pezkuwi-hex';
import { isString, stringify } from '@pezkuwi/util';
import { createImports, exportInterface, initMeta, readTemplate, rebrandTypeName, writeFile } from '../util/index.js';
import { typeEncoders } from './tsDef.js';
function deepRebrandTypeDef(typeDef, isTopLevel = true) {
const rebrandedLookupName = typeDef.lookupName ? rebrandTypeName(typeDef.lookupName) : typeDef.lookupName;
const rebranded = {
...typeDef,
type: rebrandTypeName(typeDef.type),
// For top-level types: set name from lookupName (mimics original: typeDef.name = typeDef.lookupName)
// For sub types (enum variants, struct fields): preserve the original name (field/variant name)
name: isTopLevel ? (rebrandedLookupName || typeDef.name) : typeDef.name,
lookupName: rebrandedLookupName,
lookupNameRoot: typeDef.lookupNameRoot ? rebrandTypeName(typeDef.lookupNameRoot) : typeDef.lookupNameRoot
};
// Recursively rebrand sub types (mark as not top-level)
if (typeDef.sub) {
if (Array.isArray(typeDef.sub)) {
rebranded.sub = typeDef.sub.map((s) => deepRebrandTypeDef(s, false));
}
else {
rebranded.sub = deepRebrandTypeDef(typeDef.sub, false);
}
}
return rebranded;
}
const WITH_TYPEDEF = false;
const generateLookupDefsTmpl = Handlebars.compile(readTemplate('lookup/defs'));
const generateLookupDefsNamedTmpl = Handlebars.compile(readTemplate('lookup/defs-named'));
const generateLookupIndexTmpl = Handlebars.compile(readTemplate('lookup/index'));
const generateLookupTypesTmpl = Handlebars.compile(readTemplate('lookup/types'));
const generateRegistryTmpl = Handlebars.compile(readTemplate('interfaceRegistry'));
function generateParamType(registry, { name, type }) {
if (type.isSome) {
const link = registry.lookup.types[type.unwrap().toNumber()];
if (link.type.path.length) {
return generateTypeDocs(registry, null, link.type.path, link.type.params);
}
}
return name.toString();
}
function generateTypeDocs(registry, id, path, params) {
return `${id ? `${registry.createLookupType(id)}${path.length ? ': ' : ''}` : ''}${path.map((p) => p.toString()).join('::')}${params.length ? `<${params.map((p) => generateParamType(registry, p)).join(', ')}>` : ''}`;
}
function formatObject(lines) {
const max = lines.length - 1;
return [
'{',
...lines.map((l, index) => (l.endsWith(',') || l.endsWith('{') || index === max || lines[index + 1].endsWith('}') || lines[index + 1].endsWith('}'))
? l
: `${l},`),
'}'
];
}
function expandSet(parsed) {
return formatObject(Object.entries(parsed).reduce((all, [k, v]) => {
all.push(`${k}: ${v}`);
return all;
}, []));
}
function expandObject(parsed) {
if (parsed._set) {
return expandSet(parsed._set);
}
return formatObject(Object.entries(parsed).reduce((all, [k, v]) => {
const inner = isString(v)
? expandType(v)
: Array.isArray(v)
? [`[${v.map((e) => `'${e}'`).join(', ')}]`]
: expandObject(v);
inner.forEach((l, index) => {
all.push(`${index === 0
? `${k}: ${l}`
: `${l}`}`);
});
return all;
}, []));
}
function expandType(encoded) {
if (!encoded.startsWith('{')) {
return [`'${rebrandTypeName(encoded)}'`];
}
return expandObject(JSON.parse(encoded));
}
function expandDefToString({ lookupNameRoot, type }, indent) {
if (lookupNameRoot) {
return `'${rebrandTypeName(lookupNameRoot)}'`;
}
const lines = expandType(type);
let inc = 0;
return lines.map((l, index) => {
let r;
if (l.endsWith('{')) {
r = index === 0
? l
: `${' '.padStart(indent + inc)}${l}`;
inc += 2;
}
else {
if (l.endsWith('},') || l.endsWith('}')) {
inc -= 2;
}
r = index === 0
? l
: `${' '.padStart(indent + inc)}${l}`;
}
return r;
}).join('\n');
}
function getFilteredTypes(lookup, exclude = []) {
const named = lookup.types.filter(({ id }) => !!lookup.getTypeDef(id).lookupName);
const names = named.map(({ id }) => lookup.getName(id));
return named
.filter((_, index) => !names.some((n, iindex) => index > iindex &&
n === names[index]))
.map((p) => [p, lookup.getTypeDef(p.id)])
.filter(([, typeDef]) => !exclude.includes(typeDef.lookupName || '<invalid>'));
}
function generateLookupDefs(registry, filtered, destDir, subPath) {
writeFile(path.join(destDir, `${subPath || 'definitions'}.ts`), () => {
const all = filtered.map(([{ id, type: { params, path } }, typeDef]) => {
const typeLookup = registry.createLookupType(id);
const def = expandDefToString(typeDef, subPath ? 2 : 4);
return {
docs: [
generateTypeDocs(registry, id, path, params),
WITH_TYPEDEF
? `@typeDef ${stringify(typeDef)}`
: null
].filter((d) => !!d),
type: { def, typeLookup, typeName: typeDef.lookupName ? rebrandTypeName(typeDef.lookupName) : undefined }
};
});
const max = all.length - 1;
return (subPath ? generateLookupDefsNamedTmpl : generateLookupDefsTmpl)({
defs: all.map(({ docs, type }, i) => {
const { def, typeLookup, typeName } = type;
return {
defs: [
[typeName || typeLookup, `${def}${i !== max ? ',' : ''}`]
].map(([n, t]) => `${n}: ${t}`),
docs
};
}),
headerType: 'defs'
});
});
}
function generateLookupTypes(registry, filtered, destDir, subPath) {
const imports = {
...createImports({ '@pezkuwi/types/interfaces': defaultDefinitions }, { types: {} }),
interfaces: []
};
const items = filtered
.map(([, typeDef]) => {
// Deep rebrand the type names (including nested sub types) before generating interfaces
const rebranded = deepRebrandTypeDef(typeDef);
return rebranded.lookupNameRoot && rebranded.lookupName
? exportInterface(rebranded.lookupIndex, rebranded.lookupName, rebranded.lookupNameRoot)
: typeEncoders[rebranded.info](registry, imports.definitions, rebranded, imports);
})
.filter((t) => !!t)
.map((t) => t.replace(/\nexport /, '\n'));
writeFile(path.join(destDir, `types${subPath ? `-${subPath}` : ''}.ts`), () => generateLookupTypesTmpl({
headerType: 'defs',
imports,
items: items.map((l) => l
.split('\n')
.map((l) => l.length ? ` ${l}` : '')
.join('\n')),
types: [
...Object.keys(imports.localTypes).sort().map((packagePath) => ({
file: packagePath,
types: Object.keys(imports.localTypes[packagePath])
}))
]
}), true);
writeFile(path.join(destDir, 'index.ts'), () => generateLookupIndexTmpl({ headerType: 'defs' }), true);
}
function generateRegistry(_registry, filtered, destDir, subPath) {
writeFile(path.join(destDir, `${subPath}.ts`), () => {
const items = filtered
.map(([, { lookupName }]) => lookupName ? rebrandTypeName(lookupName) : lookupName)
.filter((n) => !!n)
.sort()
.reduce((all, n) => all.includes(n) ? all : all.concat(n), []);
const imports = createImports({}, { types: {} });
imports.lookupTypes = items.reduce((all, n) => ({ ...all, [n]: true }), {});
return generateRegistryTmpl({
headerType: 'defs',
imports,
items,
types: []
});
}, true);
}
function generateLookup(destDir, entries) {
entries.reduce((exclude, [subPath, staticMeta]) => {
const { lookup, registry } = initMeta(staticMeta).metadata.asLatest;
const filtered = getFilteredTypes(lookup, exclude);
generateLookupDefs(registry, filtered, destDir, subPath);
generateLookupTypes(registry, filtered, destDir, subPath);
generateRegistry(registry, filtered, destDir, subPath === 'lookup' ? 'registry' : `../registry/${subPath}`);
return exclude.concat(...filtered
.map(([, typeDef]) => typeDef.lookupName)
.filter((n) => !!n));
}, []);
}
export function generateDefaultLookup(destDir = 'packages/types-augment/src/lookup', staticData) {
generateLookup(destDir, staticData
? [['lookup', staticData]]
: [
['bizinikiwi', staticBizinikiwi],
['pezkuwi', staticPezkuwi],
['dicle', staticDicle],
['assetHubPezkuwi', staticAhPezkuwi],
['assetHubDicle', staticAhDicle]
]);
}
export function ignoreUnusedLookups(usedTypes, imports) {
const usedStringified = usedTypes.toString();
const [lookupKey, typeDefinitions] = Object.entries(imports.localTypes).find(([typeModule, _]) => typeModule.includes('/lookup')) || ['', {}];
Object.keys(typeDefinitions).forEach((typeDef) => {
if (!(usedStringified.includes(typeDef))) {
delete (imports.localTypes[lookupKey])[typeDef];
}
});
}
+5
View File
@@ -0,0 +1,5 @@
import type { Definitions } from '@pezkuwi/types/types';
import type { HexString } from '@pezkuwi/util/types';
import { type ExtraTypes } from './types.js';
/** @internal */
export declare function generateDefaultQuery(dest: string, data: HexString, extraTypes?: ExtraTypes, isStrict?: boolean, customLookupDefinitions?: Definitions): void;
+136
View File
@@ -0,0 +1,136 @@
import Handlebars from 'handlebars';
import * as defaultDefs from '@pezkuwi/types/interfaces/definitions';
import { unwrapStorageSi } from '@pezkuwi/types/util';
import lookupDefinitions from '@pezkuwi/types-augment/lookup/definitions';
import { stringCamelCase } from '@pezkuwi/util';
import { compareName, createImports, formatType, getSimilarTypes, initMeta, readTemplate, rebrandTypeName, setImports, writeFile } from '../util/index.js';
import { ignoreUnusedLookups } from './lookup.js';
import { getDeprecationNotice } from './types.js';
const generateForMetaTemplate = Handlebars.compile(readTemplate('query'));
/** @internal */
function entrySignature(lookup, allDefs, registry, section, storageEntry, imports) {
try {
const outputType = lookup.getTypeDef(unwrapStorageSi(storageEntry.type));
if (storageEntry.type.isPlain) {
const typeDef = lookup.getTypeDef(storageEntry.type.asPlain);
setImports(allDefs, imports, [
rebrandTypeName(typeDef.lookupName || typeDef.type),
storageEntry.modifier.isOptional
? 'Option'
: null
]);
return [storageEntry.modifier.isOptional, '', '', formatType(registry, allDefs, outputType, imports)];
}
else if (storageEntry.type.isMap) {
const { hashers, key, value } = storageEntry.type.asMap;
const keyDefs = hashers.length === 1
? [lookup.getTypeDef(key)]
: lookup.getSiType(key).def.asTuple.map((k) => lookup.getTypeDef(k));
const similarTypes = keyDefs.map((k) => getSimilarTypes(registry, allDefs, k.lookupName || k.type, imports));
const keyTypes = similarTypes.map((t) => t.join(' | '));
const defValue = lookup.getTypeDef(value);
setImports(allDefs, imports, [
...similarTypes.reduce((all, t) => all.concat(t), []),
storageEntry.modifier.isOptional
? 'Option'
: null,
rebrandTypeName(defValue.lookupName || defValue.type)
]);
return [
storageEntry.modifier.isOptional,
keyDefs.map((k) => formatType(registry, allDefs, k.lookupName || k.type, imports)).join(', '),
keyTypes.map((t, i) => `arg${keyTypes.length === 1 ? '' : (i + 1)}: ${t}`).join(', '),
rebrandTypeName(outputType.lookupName || '') || formatType(registry, allDefs, outputType, imports)
];
}
throw new Error(`Expected Plain or Map type, found ${storageEntry.type.type}`);
}
catch (error) {
throw new Error(`entrySignature: Cannot create signature for query ${section}.${storageEntry.name.toString()}:: ${error.message}`);
}
}
/** @internal */
function generateForMeta(registry, meta, dest, extraTypes, isStrict, customLookupDefinitions) {
writeFile(dest, () => {
const allTypes = {
'@pezkuwi/types-augment': {
lookup: {
...lookupDefinitions,
...customLookupDefinitions
}
},
'@pezkuwi/types/interfaces': defaultDefs,
...extraTypes
};
const imports = createImports(allTypes);
const allDefs = Object.entries(allTypes).reduce((defs, [path, obj]) => {
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
}, {});
const { lookup, pallets } = meta.asLatest;
const usedTypes = new Set([]);
const modules = pallets
.filter(({ storage }) => storage.isSome)
.map(({ name, storage }) => {
const items = storage.unwrap().items
.map((storageEntry) => {
const { deprecationInfo, docs, name } = storageEntry;
const [isOptional, args, params, _returnType] = entrySignature(lookup, allDefs, registry, name.toString(), storageEntry, imports);
if (!deprecationInfo.isNotDeprecated) {
const deprecationNotice = getDeprecationNotice(deprecationInfo, stringCamelCase(name));
const items = docs.length
? ['', deprecationNotice]
: [deprecationNotice];
docs.push(...items.map((text) => registry.createType('Text', text)));
}
// Add the type and args to the list of used types
if (!(imports.primitiveTypes[_returnType])) {
usedTypes.add(_returnType);
}
if (!(imports.primitiveTypes[args])) {
usedTypes.add(args);
}
const returnType = isOptional
? `Option<${_returnType}>`
: _returnType;
return {
args,
docs,
entryType: 'AugmentedQuery',
name: stringCamelCase(storageEntry.name),
params,
returnType
};
})
.sort(compareName);
return {
items,
name: stringCamelCase(name)
};
})
.sort(compareName);
imports.typesTypes['Observable'] = true;
// filter out the unused lookup types from imports
ignoreUnusedLookups([...usedTypes], imports);
return generateForMetaTemplate({
headerType: 'chain',
imports,
isStrict,
modules,
types: [
...Object.keys(imports.localTypes).sort().map((packagePath) => ({
file: packagePath.replace('@pezkuwi/types-augment', '@pezkuwi/types'),
types: Object.keys(imports.localTypes[packagePath])
})),
{
file: '@pezkuwi/api-base/types',
types: ['ApiTypes', 'AugmentedQuery', 'QueryableStorageEntry']
}
]
});
});
}
/** @internal */
export function generateDefaultQuery(dest, data, extraTypes = {}, isStrict = false, customLookupDefinitions) {
const { metadata, registry } = initMeta(data, extraTypes);
return generateForMeta(registry, metadata, dest, extraTypes, isStrict, customLookupDefinitions);
}
+6
View File
@@ -0,0 +1,6 @@
import type { TypeRegistry } from '@pezkuwi/types/create';
import type { Definitions } from '@pezkuwi/types/types';
import type { ExtraTypes } from './types.js';
/** @internal */
export declare function generateRpcTypes(registry: TypeRegistry, importDefinitions: Record<string, Definitions>, dest: string, extraTypes: ExtraTypes): void;
export declare function generateDefaultRpc(dest?: string, extraTypes?: ExtraTypes): void;
+110
View File
@@ -0,0 +1,110 @@
import Handlebars from 'handlebars';
import * as defaultDefinitions from '@pezkuwi/types/interfaces/definitions';
import staticBizinikiwi from '@pezkuwi/types-support/metadata/static-bizinikiwi';
import { createImports, formatType, getSimilarTypes, initMeta, readTemplate, setImports, writeFile } from '../util/index.js';
const StorageKeyType = 'StorageKey | string | Uint8Array | any';
const generateRpcTypesTemplate = Handlebars.compile(readTemplate('rpc'));
/** @internal */
export function generateRpcTypes(registry, importDefinitions, dest, extraTypes) {
writeFile(dest, () => {
const allTypes = { '@pezkuwi/types/interfaces': importDefinitions, ...extraTypes };
const imports = createImports(allTypes);
const definitions = imports.definitions;
const allDefs = Object.entries(allTypes).reduce((defs, [path, obj]) => {
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
}, {});
const rpcKeys = Object
.keys(definitions)
.filter((key) => Object.keys(definitions[key].rpc || {}).length !== 0)
.sort();
const additional = {};
const modules = rpcKeys.map((sectionFullName) => {
const rpc = definitions[sectionFullName].rpc || {};
const section = sectionFullName.split('/').pop();
const allMethods = Object.keys(rpc).sort().map((methodName) => {
const def = rpc[methodName];
let args;
let type;
let generic;
// These are too hard to type with generics, do manual overrides
if (section === 'state') {
setImports(allDefs, imports, ['Codec', 'Hash', 'StorageKey', 'Vec']);
if (methodName === 'getStorage') {
generic = 'T = Codec';
args = [`key: ${StorageKeyType}, block?: Hash | Uint8Array | string`];
type = 'T';
}
else if (methodName === 'queryStorage') {
generic = 'T = Codec[]';
args = [`keys: Vec<StorageKey> | (${StorageKeyType})[], fromBlock?: Hash | Uint8Array | string, toBlock?: Hash | Uint8Array | string`];
type = '[Hash, T][]';
}
else if (methodName === 'queryStorageAt') {
generic = 'T = Codec[]';
args = [`keys: Vec<StorageKey> | (${StorageKeyType})[], at?: Hash | Uint8Array | string`];
type = 'T';
}
else if (methodName === 'subscribeStorage') {
generic = 'T = Codec[]';
args = [`keys?: Vec<StorageKey> | (${StorageKeyType})[]`];
type = 'T';
}
}
if (args === undefined) {
setImports(allDefs, imports, [def.type]);
args = def.params.map((param) => {
const similarTypes = getSimilarTypes(registry, definitions, param.type, imports);
setImports(allDefs, imports, [param.type, ...similarTypes]);
return `${param.name}${param.isOptional ? '?' : ''}: ${similarTypes.join(' | ')}`;
});
type = formatType(registry, allDefs, def.type, imports);
generic = '';
}
const item = {
args: args.join(', '),
docs: def.deprecated
? [`@deprecated ${def.deprecated}`, def.description]
: [def.description],
generic,
name: methodName,
type
};
if (def.aliasSection) {
if (!additional[def.aliasSection]) {
additional[def.aliasSection] = {
items: [],
name: def.aliasSection
};
}
additional[def.aliasSection].items.push(item);
return null;
}
return item;
}).filter((item) => !!item);
return {
items: allMethods,
name: section || 'unknown'
};
}).concat(...Object.values(additional)).sort((a, b) => a.name.localeCompare(b.name));
imports.typesTypes['Observable'] = true;
return generateRpcTypesTemplate({
headerType: 'chain',
imports,
modules,
types: [
...Object.keys(imports.localTypes).sort().map((packagePath) => ({
file: packagePath.replace('@pezkuwi/types-augment', '@pezkuwi/types'),
types: Object.keys(imports.localTypes[packagePath])
})),
{
file: '@pezkuwi/rpc-core/types',
types: ['AugmentedRpc']
}
]
});
});
}
export function generateDefaultRpc(dest = 'packages/rpc-augment/src/augment/jsonrpc.ts', extraTypes = {}) {
const { registry } = initMeta(staticBizinikiwi, extraTypes);
generateRpcTypes(registry, defaultDefinitions, dest, extraTypes);
}
+7
View File
@@ -0,0 +1,7 @@
import type { Metadata } from '@pezkuwi/types/metadata/Metadata';
import type { Definitions, Registry } from '@pezkuwi/types/types';
import type { HexString } from '@pezkuwi/util/types';
import { type ExtraTypes } from './types.js';
/** @internal */
export declare function generateCallTypes(registry: Registry, meta: Metadata, dest: string, extraTypes: ExtraTypes, isStrict: boolean, customLookupDefinitions?: Definitions): void;
export declare function generateDefaultRuntime(dest: string, data: HexString, extraTypes?: ExtraTypes, isStrict?: boolean, customLookupDefinitions?: Definitions): void;
+228
View File
@@ -0,0 +1,228 @@
import Handlebars from 'handlebars';
import * as defaultDefs from '@pezkuwi/types/interfaces/definitions';
import lookupDefinitions from '@pezkuwi/types-augment/lookup/definitions';
import { objectSpread, stringCamelCase } from '@pezkuwi/util';
import { blake2AsHex } from '@pezkuwi/util-crypto';
import { createImports, formatType, getSimilarTypes, initMeta, readTemplate, rebrandTypeName, setImports, writeFile } from '../util/index.js';
import { getDeprecationNotice } from './types.js';
const generateCallsTypesTemplate = Handlebars.compile(readTemplate('calls'));
const aliases = {
AssetHubZagrosRuntimeRuntimeCall: 'RuntimeCall',
AssetHubPezkuwiRuntimeRuntimeCall: 'RuntimeCall',
AssetHubDicleRuntimeOriginCaller: 'OriginCaller',
AssetHubDicleRuntimeRuntimeCall: 'RuntimeCall',
DicleRuntimeConstantsProxyProxyType: 'ProxyType',
KitchensinkRuntimeRuntimeCall: 'RuntimeCall',
KitchensinkRuntimeRuntimeParametersKey: 'RuntimeParametersKey',
OpaqueValue: 'Bytes',
PezkuwiTeyrchainPrimitivesPrimitivesId: 'ParaId',
PezkuwiTeyrchainPrimitivesPrimitivesValidationCodeHash: 'ValidationCodeHash',
PezkuwiPrimitivesV7SlashingOpaqueKeyOwnershipProof: 'OpaqueKeyOwnershipProof',
PezkuwiPrimitivesV8SlashingOpaqueKeyOwnershipProof: 'OpaqueKeyOwnershipProof',
PezkuwiRuntimeRuntimeCall: 'RuntimeCall',
PrimitiveTypesH160: 'H160',
PrimitiveTypesH256: 'H256',
PrimitiveTypesU256: 'U256',
PezspConsensusBabeOpaqueKeyOwnershipProof: 'OpaqueKeyOwnershipProof',
PezspConsensusSlotsSlot: 'Slot',
PezspConsensusSlotsSlotDuration: 'SlotDuration',
PezspCoreCryptoAccountId32: 'AccountId32',
PezspCoreOpaqueMetadata: 'OpaqueMetadata',
PezspRuntimeOpaqueValue: 'Bytes',
PezspRuntimeUncheckedExtrinsic: 'Extrinsic',
StagingDicleRuntimeOriginCaller: 'OriginCaller',
StagingDicleRuntimeRuntimeCall: 'RuntimeCall',
StagingDicleRuntimeRuntimeParameters: 'RuntimeParameters',
StagingDicleRuntimeRuntimeParametersKey: 'RuntimeParametersKey',
StagingZagrosRuntimeRuntimeCall: 'RuntimeCall'
};
const getTypesViaAlias = (registry, id) => {
const rawTypeName = registry.lookup.getName(id) || registry.lookup.getTypeDef(id).type;
const typeName = rebrandTypeName(rawTypeName);
if (aliases[typeName]) {
return aliases[typeName];
}
return typeName;
};
/** @internal */
function getMethods(registry, methods) {
const result = {};
methods.forEach((m) => {
const { deprecationInfo, docs, inputs, name, output } = m;
let description = docs.map((d) => d.toString()).join();
if (!deprecationInfo.isNotDeprecated) {
const deprecationNotice = getDeprecationNotice(deprecationInfo, stringCamelCase(name));
const notice = description.length ? `\n * ${deprecationNotice}` : ` * ${deprecationNotice}`;
description += notice;
}
result[name.toString()] = {
description,
params: inputs.map(({ name, type }) => {
return { name: name.toString(), type: getTypesViaAlias(registry, type) };
}),
type: getTypesViaAlias(registry, output)
};
});
return result;
}
/** @internal */
function getRuntimeDefViaMetadata(registry) {
const result = {};
const { apis } = registry.metadata;
for (let i = 0, count = apis.length; i < count; i++) {
const { methods, name } = apis[i];
result[name.toString()] = [{
methods: getMethods(registry, methods),
// We set the version to 0 here since it will not be relevant when we are grabbing the runtime apis
// from the Metadata.
version: 0
}];
}
return Object.entries(result);
}
/** @internal */
function getDefs(apis, defs, registry) {
const named = {};
const all = Object.values(defs);
const isApiInMetadata = registry.metadata.apis.length > 0;
if (isApiInMetadata) {
const sections = getRuntimeDefViaMetadata(registry);
for (let j = 0, jcount = sections.length; j < jcount; j++) {
const [_section, secs] = sections[j];
const sec = secs[0];
const sectionHash = blake2AsHex(_section, 64);
const section = stringCamelCase(_section);
const methods = Object.entries(sec.methods);
if (!named[section]) {
named[section] = {};
}
for (let m = 0, mcount = methods.length; m < mcount; m++) {
const [_method, def] = methods[m];
const method = stringCamelCase(_method);
named[section][method] = objectSpread({ method, name: `${_section}_${_method}`, section, sectionHash }, def);
}
}
}
else {
for (let j = 0, jcount = all.length; j < jcount; j++) {
const set = all[j].runtime;
if (set) {
const sections = Object.entries(set);
for (let i = 0, scount = sections.length; i < scount; i++) {
const [_section, sec] = sections[i];
const sectionHash = blake2AsHex(_section, 64);
const api = apis?.find(([h]) => h === sectionHash);
if (api) {
const ver = sec.find(({ version }) => version === api[1]);
if (ver) {
const methods = Object.entries(ver.methods);
const mcount = methods.length;
if (mcount) {
const section = stringCamelCase(_section);
if (!named[section]) {
named[section] = {};
}
for (let m = 0; m < mcount; m++) {
const [_method, def] = methods[m];
const method = stringCamelCase(_method);
named[section][method] = objectSpread({ method, name: `${_section}_${method}`, section, sectionHash, version: ver.version }, def);
}
}
}
else {
console.warn(`Unable to find matching version for runtime ${_section}, expected ${api[1]}`);
}
}
}
}
}
}
return named;
}
/** @internal */
export function generateCallTypes(registry, meta, dest, extraTypes, isStrict, customLookupDefinitions) {
writeFile(dest, () => {
const allTypes = {
'@pezkuwi/types-augment': {
lookup: {
...lookupDefinitions,
...customLookupDefinitions
}
},
'@pezkuwi/types/interfaces': defaultDefs,
...extraTypes
};
const imports = createImports(allTypes);
// find the system.Version in metadata
let apis = null;
const sysp = meta.asLatest.pallets.find(({ name }) => name.eq('System'));
if (sysp) {
const verc = sysp.constants.find(({ name }) => name.eq('Version'));
if (verc) {
apis = registry.createType('RuntimeVersion', verc.value).apis.map(([k, v]) => [k.toHex(), v.toNumber()]);
}
else {
console.error('Unable to find System.Version pallet, skipping API extraction');
}
}
else {
console.error('Unable to find System pallet, skipping API extraction');
}
const allDefs = Object.entries(allTypes).reduce((defs, [path, obj]) => {
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
}, {});
const definitions = getDefs(apis, imports.definitions, registry);
const callKeys = Object.keys(definitions);
const modules = callKeys.map((section) => {
const calls = definitions[section];
const allMethods = Object.keys(calls).sort().map((methodName) => {
const def = calls[methodName];
setImports(allDefs, imports, [def.type]);
const args = def.params.map((param) => {
const similarTypes = getSimilarTypes(registry, imports.definitions, param.type, imports);
setImports(allDefs, imports, [param.type, ...similarTypes]);
return `${param.name}: ${similarTypes.join(' | ')}`;
});
return {
args: args.join(', '),
docs: [def.description],
name: methodName,
sectionHash: def.sectionHash,
sectionName: def.section,
sectionVersion: def.version,
type: formatType(registry, allDefs, def.type, imports)
};
}).sort((a, b) => a.name.localeCompare(b.name));
return {
items: allMethods,
name: section || 'unknown',
sectionHash: allMethods.length && allMethods[0].sectionHash,
sectionName: allMethods.length && allMethods[0].sectionName,
sectionVersion: allMethods.length && allMethods[0].sectionVersion
};
}).filter(({ items }) => items.length).sort((a, b) => a.name.localeCompare(b.name));
if (modules.length) {
imports.typesTypes['Observable'] = true;
}
return generateCallsTypesTemplate({
headerType: 'chain',
imports,
isStrict,
modules,
types: [
...Object.keys(imports.localTypes).sort().map((packagePath) => ({
file: packagePath.replace('@pezkuwi/types-augment', '@pezkuwi/types'),
types: Object.keys(imports.localTypes[packagePath])
})),
{
file: '@pezkuwi/api-base/types',
types: ['ApiTypes', 'AugmentedCall', 'DecoratedCallBase']
}
]
});
});
}
export function generateDefaultRuntime(dest, data, extraTypes = {}, isStrict = false, customLookupDefinitions) {
const { metadata, registry } = initMeta(data, extraTypes);
generateCallTypes(registry, metadata, dest, extraTypes, isStrict, customLookupDefinitions);
}
+16
View File
@@ -0,0 +1,16 @@
import type { Registry } from '@pezkuwi/types/types';
import type { TypeDef } from '@pezkuwi/types-create/types';
import type { ModuleTypes } from '../util/imports.js';
import type { TypeImports } from '../util/index.js';
import { TypeDefInfo } from '@pezkuwi/types-create';
/** @internal */
export declare function createGetter(definitions: Record<string, ModuleTypes>, name: string | undefined, type: string, imports: TypeImports): string;
export declare const typeEncoders: Record<TypeDefInfo, (registry: Registry, definitions: Record<string, ModuleTypes>, def: TypeDef, imports: TypeImports) => string>;
/** @internal */
export declare function generateTsDefFor(registry: Registry, importDefinitions: Record<string, Record<string, ModuleTypes>>, defName: string, { types }: {
types: Record<string, any>;
}, outputDir: string): void;
/** @internal */
export declare function generateTsDef(importDefinitions: Record<string, Record<string, ModuleTypes>>, outputDir: string, generatingPackage: string): void;
/** @internal */
export declare function generateDefaultTsDef(): void;
+246
View File
@@ -0,0 +1,246 @@
import Handlebars from 'handlebars';
import path from 'node:path';
import { TypeRegistry } from '@pezkuwi/types/create';
import * as defaultDefinitions from '@pezkuwi/types/interfaces/definitions';
import { getTypeDef, TypeDefInfo } from '@pezkuwi/types-create';
import { assert, isString, stringify, stringPascalCase } from '@pezkuwi/util';
import { createImports, exportInterface, formatType, readTemplate, setImports, writeFile } from '../util/index.js';
const generateTsDefIndexTemplate = Handlebars.compile(readTemplate('tsDef/index'));
const generateTsDefModuleTypesTemplate = Handlebars.compile(readTemplate('tsDef/moduleTypes'));
const generateTsDefTypesTemplate = Handlebars.compile(readTemplate('tsDef/types'));
/** @internal */
export function createGetter(definitions, name = '', type, imports) {
setImports(definitions, imports, [type]);
return ` readonly ${name}: ${type};\n`;
}
/** @internal */
function errorUnhandled(_, _definitions, def, _imports) {
throw new Error(`Generate: ${def.name || ''}: Unhandled type ${TypeDefInfo[def.info]}`);
}
/** @internal */
function tsExport(registry, definitions, def, imports) {
return exportInterface(def.lookupIndex, def.name, formatType(registry, definitions, def, imports, false));
}
/** @internal */
function tsEnum(registry, definitions, { lookupIndex, name: enumName, sub }, imports, withShortcut = false) {
setImports(definitions, imports, ['Enum']);
const indent = withShortcut ? ' ' : '';
const named = sub.filter(({ name }) => !!name && !name.startsWith('__Unused'));
const keys = named.map((def) => {
const { info, lookupName, name = '', sub, type } = def;
const getter = stringPascalCase(name.replace(' ', '_'));
const isComplex = [TypeDefInfo.Option, TypeDefInfo.Range, TypeDefInfo.RangeInclusive, TypeDefInfo.Result, TypeDefInfo.Struct, TypeDefInfo.Tuple, TypeDefInfo.Vec, TypeDefInfo.VecFixed].includes(info);
let extractedLookupName;
// When the parent type does not have a lookupName, and the sub type is the same
// type as the parent we can take the lookupName from the sub.
// This is specific to `StagingXcmV4Junction`.
// see: https://github.com/pezkuwichain/pezkuwi-api/pull/5812
if (sub && !Array.isArray(sub) && type.includes(`${sub.type};`)) {
if (sub.lookupName === 'StagingXcmV4Junction') {
extractedLookupName = sub.lookupName;
}
else if (sub.lookupName === 'StagingXcmV5Junction') {
extractedLookupName = `Vec<${sub.lookupName}>`;
}
}
const asGetter = type === 'Null' || info === TypeDefInfo.DoNotConstruct
? ''
: createGetter(definitions, `as${getter}`, lookupName || extractedLookupName || (isComplex ? formatType(registry, definitions, info === TypeDefInfo.Struct ? def : type, imports, withShortcut) : type), imports);
const isGetter = info === TypeDefInfo.DoNotConstruct
? ''
: createGetter(definitions, `is${getter}`, 'boolean', imports);
switch (info) {
case TypeDefInfo.Compact:
case TypeDefInfo.Plain:
case TypeDefInfo.Range:
case TypeDefInfo.RangeInclusive:
case TypeDefInfo.Result:
case TypeDefInfo.Si:
case TypeDefInfo.Struct:
case TypeDefInfo.Tuple:
case TypeDefInfo.Vec:
case TypeDefInfo.BTreeMap:
case TypeDefInfo.BTreeSet:
case TypeDefInfo.Option:
case TypeDefInfo.VecFixed:
case TypeDefInfo.WrapperKeepOpaque:
case TypeDefInfo.WrapperOpaque:
return `${indent}${isGetter}${indent}${asGetter}`;
case TypeDefInfo.DoNotConstruct:
case TypeDefInfo.Null:
return `${indent}${isGetter}`;
default:
throw new Error(`Enum: ${enumName || 'undefined'}: Unhandled type ${TypeDefInfo[info]}, ${stringify(def)}`);
}
});
return exportInterface(lookupIndex, enumName, 'Enum', `${keys.join('')} ${indent}readonly type: ${named.map(({ name = '' }) => `'${stringPascalCase(name.replace(' ', '_'))}'`).join(' | ')};\n`, withShortcut);
}
function tsInt(_, definitions, def, imports, type = 'Int') {
setImports(definitions, imports, [type]);
return exportInterface(def.lookupIndex, def.name, type);
}
/** @internal */
function tsNull(_registry, definitions, { lookupIndex = -1, name }, imports) {
setImports(definitions, imports, ['Null']);
// * @description extends [[${base}]]
const doc = `/** @name ${name || ''}${lookupIndex !== -1 ? ` (${lookupIndex})` : ''} */\n`;
return `${doc}export type ${name || ''} = Null;`;
}
/** @internal */
function tsResultGetter(registry, definitions, resultName = '', getter, def, imports) {
const { info, lookupName, type } = def;
const asGetter = type === 'Null'
? ''
: createGetter(definitions, `as${getter}`, lookupName || (info === TypeDefInfo.Tuple ? formatType(registry, definitions, def, imports, false) : type), imports);
const isGetter = createGetter(definitions, `is${getter}`, 'boolean', imports);
switch (info) {
case TypeDefInfo.Option:
case TypeDefInfo.Plain:
case TypeDefInfo.Si:
case TypeDefInfo.Tuple:
case TypeDefInfo.Vec:
case TypeDefInfo.BTreeMap:
case TypeDefInfo.BTreeSet:
case TypeDefInfo.WrapperKeepOpaque:
case TypeDefInfo.WrapperOpaque:
return `${isGetter}${asGetter}`;
case TypeDefInfo.Null:
return `${isGetter}`;
default:
throw new Error(`Result: ${resultName}: Unhandled type ${TypeDefInfo[info]}, ${stringify(def)}`);
}
}
/** @internal */
function tsResult(registry, definitions, def, imports) {
const [okDef, errorDef] = def.sub;
const inner = [
tsResultGetter(registry, definitions, def.name, 'Err', errorDef, imports),
tsResultGetter(registry, definitions, def.name, 'Ok', okDef, imports)
].join('');
setImports(definitions, imports, [def.type]);
const fmtType = def.lookupName && def.name !== def.lookupName
? def.lookupName
: formatType(registry, definitions, def, imports, false);
return exportInterface(def.lookupIndex, def.name, fmtType, inner);
}
/** @internal */
function tsSi(_registry, _definitions, typeDef, _imports) {
// FIXME
return `// SI: ${stringify(typeDef)}`;
}
/** @internal */
function tsSet(_, definitions, { lookupIndex, name: setName, sub }, imports) {
setImports(definitions, imports, ['Set']);
const types = sub.map(({ name }) => {
assert(name, 'Invalid TypeDef found, no name specified');
return createGetter(definitions, `is${name}`, 'boolean', imports);
});
return exportInterface(lookupIndex, setName, 'Set', types.join(''));
}
/** @internal */
function tsStruct(registry, definitions, { lookupIndex, name: structName, sub }, imports) {
setImports(definitions, imports, ['Struct']);
const keys = sub.map((def) => {
const fmtType = def.lookupName && def.name !== def.lookupName
? def.lookupName
: def.info === TypeDefInfo.Enum
? `${tsEnum(registry, definitions, def, imports, true)} & Enum`
: formatType(registry, definitions, def, imports, false);
return createGetter(definitions, def.name, fmtType, imports);
});
return exportInterface(lookupIndex, structName, 'Struct', keys.join(''));
}
/** @internal */
function tsUInt(registry, definitions, def, imports) {
return tsInt(registry, definitions, def, imports, 'UInt');
}
/** @internal */
function tsVec(registry, definitions, def, imports) {
const type = def.sub.type;
if (type === 'u8') {
if (def.info === TypeDefInfo.VecFixed) {
setImports(definitions, imports, ['U8aFixed']);
return exportInterface(def.lookupIndex, def.name, 'U8aFixed');
}
else {
setImports(definitions, imports, ['Bytes']);
return exportInterface(def.lookupIndex, def.name, 'Bytes');
}
}
const fmtType = def.lookupName && def.name !== def.lookupName
? def.lookupName
: formatType(registry, definitions, def, imports, false);
return exportInterface(def.lookupIndex, def.name, fmtType);
}
export const typeEncoders = {
[TypeDefInfo.BTreeMap]: tsExport,
[TypeDefInfo.BTreeSet]: tsExport,
[TypeDefInfo.Compact]: tsExport,
[TypeDefInfo.DoNotConstruct]: tsExport,
[TypeDefInfo.Enum]: tsEnum,
[TypeDefInfo.HashMap]: tsExport,
[TypeDefInfo.Int]: tsInt,
[TypeDefInfo.Linkage]: errorUnhandled,
[TypeDefInfo.Null]: tsNull,
[TypeDefInfo.Option]: tsExport,
[TypeDefInfo.Plain]: tsExport,
[TypeDefInfo.Range]: tsExport,
[TypeDefInfo.RangeInclusive]: tsExport,
[TypeDefInfo.Result]: tsResult,
[TypeDefInfo.Set]: tsSet,
[TypeDefInfo.Si]: tsSi,
[TypeDefInfo.Struct]: tsStruct,
[TypeDefInfo.Tuple]: tsExport,
[TypeDefInfo.UInt]: tsUInt,
[TypeDefInfo.Vec]: tsVec,
[TypeDefInfo.VecFixed]: tsVec,
[TypeDefInfo.WrapperKeepOpaque]: tsExport,
[TypeDefInfo.WrapperOpaque]: tsExport
};
/** @internal */
function generateInterfaces(registry, definitions, { types }, imports) {
return Object.entries(types).map(([name, type]) => {
const def = getTypeDef(isString(type) ? type : stringify(type), { name });
return [name, typeEncoders[def.info](registry, definitions, def, imports)];
});
}
/** @internal */
export function generateTsDefFor(registry, importDefinitions, defName, { types }, outputDir) {
const imports = { ...createImports(importDefinitions, { types }), interfaces: [] };
const definitions = imports.definitions;
const interfaces = generateInterfaces(registry, definitions, { types }, imports);
const items = interfaces.sort((a, b) => a[0].localeCompare(b[0])).map(([, definition]) => definition);
writeFile(path.join(outputDir, defName, 'types.ts'), () => generateTsDefModuleTypesTemplate({
headerType: 'defs',
imports,
items,
name: defName,
types: [
...Object.keys(imports.localTypes).sort().map((packagePath) => ({
file: packagePath.replace('@pezkuwi/types/augment', '@pezkuwi/types'),
types: Object.keys(imports.localTypes[packagePath])
}))
]
}), true);
writeFile(path.join(outputDir, defName, 'index.ts'), () => generateTsDefIndexTemplate({ headerType: 'defs' }), true);
}
/** @internal */
export function generateTsDef(importDefinitions, outputDir, generatingPackage) {
const registry = new TypeRegistry();
writeFile(path.join(outputDir, 'types.ts'), () => {
const definitions = importDefinitions[generatingPackage];
Object.entries(definitions).forEach(([defName, obj]) => {
console.log(`\tExtracting interfaces for ${defName}`);
generateTsDefFor(registry, importDefinitions, defName, obj, outputDir);
});
return generateTsDefTypesTemplate({
headerType: 'defs',
items: Object.keys(definitions)
});
});
writeFile(path.join(outputDir, 'index.ts'), () => generateTsDefIndexTemplate({ headerType: 'defs' }), true);
}
/** @internal */
export function generateDefaultTsDef() {
generateTsDef({ '@pezkuwi/types/interfaces': defaultDefinitions }, 'packages/types/src/interfaces', '@pezkuwi/types/interfaces');
}
+5
View File
@@ -0,0 +1,5 @@
import type { Definitions } from '@pezkuwi/types/types';
import type { HexString } from '@pezkuwi/util/types';
import { type ExtraTypes } from './types.js';
/** @internal */
export declare function generateDefaultTx(dest: string, data: HexString, extraTypes?: ExtraTypes, isStrict?: boolean, customLookupDefinitions?: Definitions): void;
+117
View File
@@ -0,0 +1,117 @@
import Handlebars from 'handlebars';
import * as defaultDefs from '@pezkuwi/types/interfaces/definitions';
import lookupDefinitions from '@pezkuwi/types-augment/lookup/definitions';
import { stringCamelCase } from '@pezkuwi/util';
import { compareName, createImports, formatType, getSimilarTypes, initMeta, readTemplate, rebrandTypeName, setImports, writeFile } from '../util/index.js';
import { ignoreUnusedLookups } from './lookup.js';
import { getDeprecationNotice } from './types.js';
const MAPPED_NAMES = {
class: 'clazz',
new: 'updated'
};
const generateForMetaTemplate = Handlebars.compile(readTemplate('tx'));
function mapName(_name) {
const name = stringCamelCase(_name);
return MAPPED_NAMES[name] || name;
}
/** @internal */
function generateForMeta(registry, meta, dest, extraTypes, isStrict, customLookupDefinitions) {
writeFile(dest, () => {
const allTypes = {
'@pezkuwi/types-augment': {
lookup: {
...lookupDefinitions,
...customLookupDefinitions
}
},
'@pezkuwi/types/interfaces': defaultDefs,
...extraTypes
};
const imports = createImports(allTypes);
const allDefs = Object.entries(allTypes).reduce((defs, [path, obj]) => {
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
}, {});
const { lookup, pallets } = meta.asLatest;
const usedTypes = new Set([]);
const modules = pallets
.sort(compareName)
.filter(({ calls }) => calls.isSome)
.map((data) => {
const name = data.name;
const calls = data.calls.unwrap();
const deprecationInfo = calls.deprecationInfo.toJSON();
setImports(allDefs, imports, ['SubmittableExtrinsic']);
const sectionName = stringCamelCase(name);
const items = lookup.getSiType(calls.type).def.asVariant.variants
.map(({ docs, fields, index, name }) => {
const rawStatus = deprecationInfo?.[index.toNumber()];
if (rawStatus) {
const deprecationVariantInfo = meta.registry.createTypeUnsafe('VariantDeprecationInfoV16', [rawStatus]);
const deprecationNotice = getDeprecationNotice(deprecationVariantInfo, name.toString(), 'Call');
const notice = docs.length ? ['', deprecationNotice] : [deprecationNotice];
docs.push(...notice.map((text) => meta.registry.createType('Text', text)));
}
const typesInfo = fields.map(({ name, type, typeName }, index) => {
const typeDef = registry.lookup.getTypeDef(type);
return [
name.isSome
? mapName(name.unwrap())
: `param${index}`,
rebrandTypeName(typeName.isSome
? typeName.toString()
: typeDef.type),
rebrandTypeName(typeDef.isFromSi
? typeDef.type
: typeDef.lookupName || typeDef.type)
];
});
const params = typesInfo
.map(([name, , typeStr]) => {
const similarTypes = getSimilarTypes(registry, allDefs, typeStr, imports);
setImports(allDefs, imports, [typeStr, ...similarTypes]);
// Add the type to the list of used types
if (!(imports.primitiveTypes[typeStr])) {
usedTypes.add(typeStr);
}
return `${name}: ${similarTypes.join(' | ')}`;
})
.join(', ');
return {
args: typesInfo.map(([, , typeStr]) => formatType(registry, allDefs, typeStr, imports)).join(', '),
docs,
name: stringCamelCase(name),
params
};
})
.sort(compareName);
return {
items,
name: sectionName
};
})
.sort(compareName);
// filter out the unused lookup types from imports
ignoreUnusedLookups([...usedTypes], imports);
return generateForMetaTemplate({
headerType: 'chain',
imports,
isStrict,
modules,
types: [
...Object.keys(imports.localTypes).sort().map((packagePath) => ({
file: packagePath.replace('@pezkuwi/types-augment', '@pezkuwi/types'),
types: Object.keys(imports.localTypes[packagePath])
})),
{
file: '@pezkuwi/api-base/types',
types: ['ApiTypes', 'AugmentedSubmittable', 'SubmittableExtrinsic', 'SubmittableExtrinsicFunction']
}
]
});
});
}
/** @internal */
export function generateDefaultTx(dest, data, extraTypes = {}, isStrict = false, customLookupDefinitions) {
const { metadata, registry } = initMeta(data, extraTypes);
return generateForMeta(registry, metadata, dest, extraTypes, isStrict, customLookupDefinitions);
}
+12
View File
@@ -0,0 +1,12 @@
import type { Option, Text } from '@pezkuwi/types-codec';
export type ExtraTypes = Record<string, Record<string, {
runtime?: Record<string, any>;
types: Record<string, any>;
}>>;
export declare function getDeprecationNotice<T extends {
isDeprecated: boolean;
asDeprecated: {
note: Text;
since: Option<Text>;
};
}>(deprecationInfo: T, name: string, label?: string): string;
+13
View File
@@ -0,0 +1,13 @@
export function getDeprecationNotice(deprecationInfo, name, label) {
let deprecationNotice = '@deprecated';
if (deprecationInfo.isDeprecated) {
const { note, since } = deprecationInfo.asDeprecated;
const sinceText = since.isSome ? ` Since ${since.unwrap().toString()}.` : '';
deprecationNotice += ` ${note.toString()}${sinceText}`;
}
else {
const labelText = label ? `${label} ` : '';
deprecationNotice += ` ${labelText}${name} has been deprecated`;
}
return deprecationNotice;
}
+515 -19
View File
@@ -15,11 +15,13 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"bin": {
"pezkuwi-types-chain-info": "./scripts/pezkuwi-types-chain-info.mjs",
"pezkuwi-types-from-chain": "./scripts/pezkuwi-types-from-chain.mjs",
@@ -27,26 +29,520 @@
"pezkuwi-types-internal-interfaces": "./scripts/pezkuwi-types-internal-interfaces.mjs",
"pezkuwi-types-internal-metadata": "./scripts/pezkuwi-types-internal-metadata.mjs"
},
"exports": {
".": {
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./augment": {
"module": {
"types": "./augment.d.ts",
"default": "./augment.js"
},
"require": {
"types": "./cjs/augment.d.ts",
"default": "./cjs/augment.js"
},
"default": {
"types": "./augment.d.ts",
"default": "./augment.js"
}
},
"./bundle": {
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./cjs/*": "./cjs/*.js",
"./cjs/package.json": "./cjs/package.json",
"./extractChain": {
"module": {
"types": "./extractChain.d.ts",
"default": "./extractChain.js"
},
"require": {
"types": "./cjs/extractChain.d.ts",
"default": "./cjs/extractChain.js"
},
"default": {
"types": "./extractChain.d.ts",
"default": "./extractChain.js"
}
},
"./fromChain": {
"module": {
"types": "./fromChain.d.ts",
"default": "./fromChain.js"
},
"require": {
"types": "./cjs/fromChain.d.ts",
"default": "./cjs/fromChain.js"
},
"default": {
"types": "./fromChain.d.ts",
"default": "./fromChain.js"
}
},
"./fromDefs": {
"module": {
"types": "./fromDefs.d.ts",
"default": "./fromDefs.js"
},
"require": {
"types": "./cjs/fromDefs.d.ts",
"default": "./cjs/fromDefs.js"
},
"default": {
"types": "./fromDefs.d.ts",
"default": "./fromDefs.js"
}
},
"./generate": {
"module": {
"types": "./generate/index.d.ts",
"default": "./generate/index.js"
},
"require": {
"types": "./cjs/generate/index.d.ts",
"default": "./cjs/generate/index.js"
},
"default": {
"types": "./generate/index.d.ts",
"default": "./generate/index.js"
}
},
"./generate/consts": {
"module": {
"types": "./generate/consts.d.ts",
"default": "./generate/consts.js"
},
"require": {
"types": "./cjs/generate/consts.d.ts",
"default": "./cjs/generate/consts.js"
},
"default": {
"types": "./generate/consts.d.ts",
"default": "./generate/consts.js"
}
},
"./generate/errors": {
"module": {
"types": "./generate/errors.d.ts",
"default": "./generate/errors.js"
},
"require": {
"types": "./cjs/generate/errors.d.ts",
"default": "./cjs/generate/errors.js"
},
"default": {
"types": "./generate/errors.d.ts",
"default": "./generate/errors.js"
}
},
"./generate/events": {
"module": {
"types": "./generate/events.d.ts",
"default": "./generate/events.js"
},
"require": {
"types": "./cjs/generate/events.d.ts",
"default": "./cjs/generate/events.js"
},
"default": {
"types": "./generate/events.d.ts",
"default": "./generate/events.js"
}
},
"./generate/interfaceRegistry": {
"module": {
"types": "./generate/interfaceRegistry.d.ts",
"default": "./generate/interfaceRegistry.js"
},
"require": {
"types": "./cjs/generate/interfaceRegistry.d.ts",
"default": "./cjs/generate/interfaceRegistry.js"
},
"default": {
"types": "./generate/interfaceRegistry.d.ts",
"default": "./generate/interfaceRegistry.js"
}
},
"./generate/lookup": {
"module": {
"types": "./generate/lookup.d.ts",
"default": "./generate/lookup.js"
},
"require": {
"types": "./cjs/generate/lookup.d.ts",
"default": "./cjs/generate/lookup.js"
},
"default": {
"types": "./generate/lookup.d.ts",
"default": "./generate/lookup.js"
}
},
"./generate/query": {
"module": {
"types": "./generate/query.d.ts",
"default": "./generate/query.js"
},
"require": {
"types": "./cjs/generate/query.d.ts",
"default": "./cjs/generate/query.js"
},
"default": {
"types": "./generate/query.d.ts",
"default": "./generate/query.js"
}
},
"./generate/rpc": {
"module": {
"types": "./generate/rpc.d.ts",
"default": "./generate/rpc.js"
},
"require": {
"types": "./cjs/generate/rpc.d.ts",
"default": "./cjs/generate/rpc.js"
},
"default": {
"types": "./generate/rpc.d.ts",
"default": "./generate/rpc.js"
}
},
"./generate/runtime": {
"module": {
"types": "./generate/runtime.d.ts",
"default": "./generate/runtime.js"
},
"require": {
"types": "./cjs/generate/runtime.d.ts",
"default": "./cjs/generate/runtime.js"
},
"default": {
"types": "./generate/runtime.d.ts",
"default": "./generate/runtime.js"
}
},
"./generate/tsDef": {
"module": {
"types": "./generate/tsDef.d.ts",
"default": "./generate/tsDef.js"
},
"require": {
"types": "./cjs/generate/tsDef.d.ts",
"default": "./cjs/generate/tsDef.js"
},
"default": {
"types": "./generate/tsDef.d.ts",
"default": "./generate/tsDef.js"
}
},
"./generate/tx": {
"module": {
"types": "./generate/tx.d.ts",
"default": "./generate/tx.js"
},
"require": {
"types": "./cjs/generate/tx.d.ts",
"default": "./cjs/generate/tx.js"
},
"default": {
"types": "./generate/tx.d.ts",
"default": "./generate/tx.js"
}
},
"./generate/types": {
"module": {
"types": "./generate/types.d.ts",
"default": "./generate/types.js"
},
"require": {
"types": "./cjs/generate/types.d.ts",
"default": "./cjs/generate/types.js"
},
"default": {
"types": "./generate/types.d.ts",
"default": "./generate/types.js"
}
},
"./interfacesTs": {
"module": {
"types": "./interfacesTs.d.ts",
"default": "./interfacesTs.js"
},
"require": {
"types": "./cjs/interfacesTs.d.ts",
"default": "./cjs/interfacesTs.js"
},
"default": {
"types": "./interfacesTs.d.ts",
"default": "./interfacesTs.js"
}
},
"./metadataMd": {
"module": {
"types": "./metadataMd.d.ts",
"default": "./metadataMd.js"
},
"require": {
"types": "./cjs/metadataMd.d.ts",
"default": "./cjs/metadataMd.js"
},
"default": {
"types": "./metadataMd.d.ts",
"default": "./metadataMd.js"
}
},
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./scripts/pezkuwi-types-chain-info": "./scripts/pezkuwi-types-chain-info.mjs",
"./scripts/pezkuwi-types-chain-info.mjs": "./scripts/pezkuwi-types-chain-info.mjs",
"./scripts/pezkuwi-types-from-chain": "./scripts/pezkuwi-types-from-chain.mjs",
"./scripts/pezkuwi-types-from-chain.mjs": "./scripts/pezkuwi-types-from-chain.mjs",
"./scripts/pezkuwi-types-from-defs": "./scripts/pezkuwi-types-from-defs.mjs",
"./scripts/pezkuwi-types-from-defs.mjs": "./scripts/pezkuwi-types-from-defs.mjs",
"./scripts/pezkuwi-types-internal-interfaces": "./scripts/pezkuwi-types-internal-interfaces.mjs",
"./scripts/pezkuwi-types-internal-interfaces.mjs": "./scripts/pezkuwi-types-internal-interfaces.mjs",
"./scripts/pezkuwi-types-internal-metadata": "./scripts/pezkuwi-types-internal-metadata.mjs",
"./scripts/pezkuwi-types-internal-metadata.mjs": "./scripts/pezkuwi-types-internal-metadata.mjs",
"./templates/calls.hbs": "./templates/calls.hbs",
"./templates/consts.hbs": "./templates/consts.hbs",
"./templates/docs.hbs": "./templates/docs.hbs",
"./templates/errors.hbs": "./templates/errors.hbs",
"./templates/events.hbs": "./templates/events.hbs",
"./templates/header.hbs": "./templates/header.hbs",
"./templates/interfaceRegistry.hbs": "./templates/interfaceRegistry.hbs",
"./templates/lookup/defs-named.hbs": "./templates/lookup/defs-named.hbs",
"./templates/lookup/defs.hbs": "./templates/lookup/defs.hbs",
"./templates/lookup/index.hbs": "./templates/lookup/index.hbs",
"./templates/lookup/types.hbs": "./templates/lookup/types.hbs",
"./templates/query.hbs": "./templates/query.hbs",
"./templates/rpc.hbs": "./templates/rpc.hbs",
"./templates/tsDef/index.hbs": "./templates/tsDef/index.hbs",
"./templates/tsDef/moduleTypes.hbs": "./templates/tsDef/moduleTypes.hbs",
"./templates/tsDef/types.hbs": "./templates/tsDef/types.hbs",
"./templates/tx.hbs": "./templates/tx.hbs",
"./util": {
"module": {
"types": "./util/index.d.ts",
"default": "./util/index.js"
},
"require": {
"types": "./cjs/util/index.d.ts",
"default": "./cjs/util/index.js"
},
"default": {
"types": "./util/index.d.ts",
"default": "./util/index.js"
}
},
"./util/assert": {
"module": {
"types": "./util/assert.d.ts",
"default": "./util/assert.js"
},
"require": {
"types": "./cjs/util/assert.d.ts",
"default": "./cjs/util/assert.js"
},
"default": {
"types": "./util/assert.d.ts",
"default": "./util/assert.js"
}
},
"./util/derived": {
"module": {
"types": "./util/derived.d.ts",
"default": "./util/derived.js"
},
"require": {
"types": "./cjs/util/derived.d.ts",
"default": "./cjs/util/derived.js"
},
"default": {
"types": "./util/derived.d.ts",
"default": "./util/derived.js"
}
},
"./util/docs": {
"module": {
"types": "./util/docs.d.ts",
"default": "./util/docs.js"
},
"require": {
"types": "./cjs/util/docs.d.ts",
"default": "./cjs/util/docs.js"
},
"default": {
"types": "./util/docs.d.ts",
"default": "./util/docs.js"
}
},
"./util/file": {
"module": {
"types": "./util/file.d.ts",
"default": "./util/file.js"
},
"require": {
"types": "./cjs/util/file.d.ts",
"default": "./cjs/util/file.js"
},
"default": {
"types": "./util/file.d.ts",
"default": "./util/file.js"
}
},
"./util/formatting": {
"module": {
"types": "./util/formatting.d.ts",
"default": "./util/formatting.js"
},
"require": {
"types": "./cjs/util/formatting.d.ts",
"default": "./cjs/util/formatting.js"
},
"default": {
"types": "./util/formatting.d.ts",
"default": "./util/formatting.js"
}
},
"./util/imports": {
"module": {
"types": "./util/imports.d.ts",
"default": "./util/imports.js"
},
"require": {
"types": "./cjs/util/imports.d.ts",
"default": "./cjs/util/imports.js"
},
"default": {
"types": "./util/imports.d.ts",
"default": "./util/imports.js"
}
},
"./util/initMeta": {
"module": {
"types": "./util/initMeta.d.ts",
"default": "./util/initMeta.js"
},
"require": {
"types": "./cjs/util/initMeta.d.ts",
"default": "./cjs/util/initMeta.js"
},
"default": {
"types": "./util/initMeta.d.ts",
"default": "./util/initMeta.js"
}
},
"./util/register": {
"module": {
"types": "./util/register.d.ts",
"default": "./util/register.js"
},
"require": {
"types": "./cjs/util/register.d.ts",
"default": "./cjs/util/register.js"
},
"default": {
"types": "./util/register.d.ts",
"default": "./util/register.js"
}
},
"./util/wsMeta": {
"module": {
"types": "./util/wsMeta.d.ts",
"default": "./util/wsMeta.js"
},
"require": {
"types": "./cjs/util/wsMeta.d.ts",
"default": "./cjs/util/wsMeta.js"
},
"default": {
"types": "./util/wsMeta.d.ts",
"default": "./util/wsMeta.js"
}
}
},
"dependencies": {
"@pezkuwi/api": "16.5.4",
"@pezkuwi/api-augment": "16.5.4",
"@pezkuwi/api-derive": "16.5.4",
"@pezkuwi/rpc-augment": "16.5.4",
"@pezkuwi/rpc-provider": "16.5.4",
"@pezkuwi/types": "16.5.4",
"@pezkuwi/types-augment": "16.5.4",
"@pezkuwi/types-codec": "16.5.4",
"@pezkuwi/types-create": "16.5.4",
"@pezkuwi/types-support": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/util-crypto": "^14.0.1",
"@pezkuwi/x-ws": "^14.0.1",
"@pezkuwi/api": "16.5.9",
"@pezkuwi/api-augment": "16.5.9",
"@pezkuwi/api-derive": "16.5.9",
"@pezkuwi/rpc-augment": "16.5.9",
"@pezkuwi/rpc-provider": "16.5.9",
"@pezkuwi/types": "16.5.9",
"@pezkuwi/types-augment": "16.5.9",
"@pezkuwi/types-codec": "16.5.9",
"@pezkuwi/types-create": "16.5.9",
"@pezkuwi/types-support": "16.5.9",
"@pezkuwi/util": "14.0.11",
"@pezkuwi/util-crypto": "14.0.11",
"@pezkuwi/x-ws": "14.0.11",
"comment-parser": "^1.4.1",
"handlebars": "^4.7.8",
"tslib": "^2.8.1",
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/yargs": "^17.0.33"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/typegen', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/typegen', path: 'auto', type: 'auto', version: '16.5.9' };
+30
View File
@@ -0,0 +1,30 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/calls';
{{{ importsAll }}}
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
declare module '@pezkuwi/api-base/types/calls' {
interface AugmentedCalls<ApiType extends ApiTypes> {
{{#each modules}}
/** {{{sectionHash}}}/{{{sectionVersion}}} */
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: AugmentedCall<ApiType, ({{{args}}}) => Observable<{{{type}}}>>;
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
{{/unless}}
};
{{/each}}
} // AugmentedCalls
} // declare module
+28
View File
@@ -0,0 +1,28 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/consts';
{{{ importsAll }}}
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
declare module '@pezkuwi/api-base/types/consts' {
interface AugmentedConsts<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: {{{type}}} & AugmentedConst<ApiType>;
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic const
**/
[key: string]: Codec;
{{/unless}}
};
{{/each}}
} // AugmentedConsts
} // declare module
+7
View File
@@ -0,0 +1,7 @@
{{#if docs.length}}
/**
{{#each docs}}
* {{#trim}}{{{this}}}{{/trim}}
{{/each}}
**/
{{/if}}
+28
View File
@@ -0,0 +1,28 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/errors';
{{{ importsAll }}}
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
declare module '@pezkuwi/api-base/types/errors' {
interface AugmentedErrors<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: AugmentedError<ApiType>;
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
{{/unless}}
};
{{/each}}
} // AugmentedErrors
} // declare module
+28
View File
@@ -0,0 +1,28 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/events';
{{{ importsAll }}}
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
declare module '@pezkuwi/api-base/types/events' {
interface AugmentedEvents<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: AugmentedEvent<ApiType, {{{type}}}>;
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
{{/unless}}
};
{{/each}}
} // AugmentedEvents
} // declare module
+2
View File
@@ -0,0 +1,2 @@
// Auto-generated via `yarn polkadot-types-from-{{headerType}}`, do not edit
/* eslint-disable */
@@ -0,0 +1,15 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/types/types/registry';
{{{ importsAll }}}
declare module '@pezkuwi/types/types/registry' {
interface InterfaceTypes {
{{#each items}}
{{{this}}}: {{{this}}};
{{/each}}
} // InterfaceTypes
} // declare module
@@ -0,0 +1,12 @@
{{> header }}
/* eslint-disable sort-keys */
export default {
{{#each defs}}
{{> docs}}
{{#each defs}}
{{{this}}}
{{/each}}
{{/each}}
};
@@ -0,0 +1,15 @@
{{> header }}
/* eslint-disable sort-keys */
export default {
rpc: {},
types: {
{{#each defs}}
{{> docs}}
{{#each defs}}
{{{this}}}
{{/each}}
{{/each}}
}
};
@@ -0,0 +1,3 @@
{{> header }}
export * from './types.js';
@@ -0,0 +1,14 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/types/lookup';
{{{ importsAll }}}
declare module '@pezkuwi/types/lookup' {
{{#each items}}
{{{this}}}
{{/each}}
} // declare module
+29
View File
@@ -0,0 +1,29 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/storage';
{{{ importsAll }}}
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
declare module '@pezkuwi/api-base/types/storage' {
interface AugmentedQueries<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: {{{entryType}}}<ApiType, ({{{params}}}) => Observable<{{{returnType}}}>, [{{{args}}}]>{{#unless @root.isStrict}} & QueryableStorageEntry<ApiType, [{{{args}}}]>{{/unless}};
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
{{/unless}}
};
{{/each}}
} // AugmentedQueries
} // declare module
+22
View File
@@ -0,0 +1,22 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/rpc-core/types/jsonrpc';
{{{ importsAll }}}
export type __AugmentedRpc = AugmentedRpc<() => unknown>;
declare module '@pezkuwi/rpc-core/types/jsonrpc' {
interface RpcInterface {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: AugmentedRpc<{{#if generic}}<{{{generic}}}>{{/if}}({{{args}}}) => Observable<{{{type}}}>>;
{{/each}}
};
{{/each}}
} // RpcInterface
} // declare module
@@ -0,0 +1,3 @@
{{> header }}
export * from './types.js';
@@ -0,0 +1,10 @@
{{> header }}
{{{ importsAll }}}
{{#each items}}
{{{this}}}
{{/each}}
export type PHANTOM_{{#upper}}{{{name}}}{{/upper}} = '{{{name}}}';
@@ -0,0 +1,7 @@
{{> header }}
{{#each items}}
export * from './{{{this}}}/types.js';
{{/each}}
export type PHANTOM_GENERATED = 'generated';
+30
View File
@@ -0,0 +1,30 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/submittable';
{{{ importsAll }}}
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
declare module '@pezkuwi/api-base/types/submittable' {
interface AugmentedSubmittables<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: AugmentedSubmittable<({{{params}}}) => SubmittableExtrinsic<ApiType>, [{{{args}}}]>;
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
{{/unless}}
};
{{/each}}
} // AugmentedSubmittables
} // declare module
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+380 -6
View File
@@ -15,15 +15,389 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"exports": {
".": {
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./augment": {
"module": {
"types": "./augment.d.ts",
"default": "./augment.js"
},
"require": {
"types": "./cjs/augment.d.ts",
"default": "./cjs/augment.js"
},
"default": {
"types": "./augment.d.ts",
"default": "./augment.js"
}
},
"./bundle": {
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./cjs/*": "./cjs/*.js",
"./cjs/package.json": "./cjs/package.json",
"./lookup": {
"module": {
"types": "./lookup/index.d.ts",
"default": "./lookup/index.js"
},
"require": {
"types": "./cjs/lookup/index.d.ts",
"default": "./cjs/lookup/index.js"
},
"default": {
"types": "./lookup/index.d.ts",
"default": "./lookup/index.js"
}
},
"./lookup/assetHubDicle": {
"module": {
"types": "./lookup/assetHubDicle.d.ts",
"default": "./lookup/assetHubDicle.js"
},
"require": {
"types": "./cjs/lookup/assetHubDicle.d.ts",
"default": "./cjs/lookup/assetHubDicle.js"
},
"default": {
"types": "./lookup/assetHubDicle.d.ts",
"default": "./lookup/assetHubDicle.js"
}
},
"./lookup/assetHubPezkuwi": {
"module": {
"types": "./lookup/assetHubPezkuwi.d.ts",
"default": "./lookup/assetHubPezkuwi.js"
},
"require": {
"types": "./cjs/lookup/assetHubPezkuwi.d.ts",
"default": "./cjs/lookup/assetHubPezkuwi.js"
},
"default": {
"types": "./lookup/assetHubPezkuwi.d.ts",
"default": "./lookup/assetHubPezkuwi.js"
}
},
"./lookup/bizinikiwi": {
"module": {
"types": "./lookup/bizinikiwi.d.ts",
"default": "./lookup/bizinikiwi.js"
},
"require": {
"types": "./cjs/lookup/bizinikiwi.d.ts",
"default": "./cjs/lookup/bizinikiwi.js"
},
"default": {
"types": "./lookup/bizinikiwi.d.ts",
"default": "./lookup/bizinikiwi.js"
}
},
"./lookup/definitions": {
"module": {
"types": "./lookup/definitions.d.ts",
"default": "./lookup/definitions.js"
},
"require": {
"types": "./cjs/lookup/definitions.d.ts",
"default": "./cjs/lookup/definitions.js"
},
"default": {
"types": "./lookup/definitions.d.ts",
"default": "./lookup/definitions.js"
}
},
"./lookup/dicle": {
"module": {
"types": "./lookup/dicle.d.ts",
"default": "./lookup/dicle.js"
},
"require": {
"types": "./cjs/lookup/dicle.d.ts",
"default": "./cjs/lookup/dicle.js"
},
"default": {
"types": "./lookup/dicle.d.ts",
"default": "./lookup/dicle.js"
}
},
"./lookup/pezkuwi": {
"module": {
"types": "./lookup/pezkuwi.d.ts",
"default": "./lookup/pezkuwi.js"
},
"require": {
"types": "./cjs/lookup/pezkuwi.d.ts",
"default": "./cjs/lookup/pezkuwi.js"
},
"default": {
"types": "./lookup/pezkuwi.d.ts",
"default": "./lookup/pezkuwi.js"
}
},
"./lookup/types": {
"module": {
"types": "./lookup/types.d.ts",
"default": "./lookup/types.js"
},
"require": {
"types": "./cjs/lookup/types.d.ts",
"default": "./cjs/lookup/types.js"
},
"default": {
"types": "./lookup/types.d.ts",
"default": "./lookup/types.js"
}
},
"./lookup/types-assetHubDicle": {
"module": {
"types": "./lookup/types-assetHubDicle.d.ts",
"default": "./lookup/types-assetHubDicle.js"
},
"require": {
"types": "./cjs/lookup/types-assetHubDicle.d.ts",
"default": "./cjs/lookup/types-assetHubDicle.js"
},
"default": {
"types": "./lookup/types-assetHubDicle.d.ts",
"default": "./lookup/types-assetHubDicle.js"
}
},
"./lookup/types-assetHubPezkuwi": {
"module": {
"types": "./lookup/types-assetHubPezkuwi.d.ts",
"default": "./lookup/types-assetHubPezkuwi.js"
},
"require": {
"types": "./cjs/lookup/types-assetHubPezkuwi.d.ts",
"default": "./cjs/lookup/types-assetHubPezkuwi.js"
},
"default": {
"types": "./lookup/types-assetHubPezkuwi.d.ts",
"default": "./lookup/types-assetHubPezkuwi.js"
}
},
"./lookup/types-bizinikiwi": {
"module": {
"types": "./lookup/types-bizinikiwi.d.ts",
"default": "./lookup/types-bizinikiwi.js"
},
"require": {
"types": "./cjs/lookup/types-bizinikiwi.d.ts",
"default": "./cjs/lookup/types-bizinikiwi.js"
},
"default": {
"types": "./lookup/types-bizinikiwi.d.ts",
"default": "./lookup/types-bizinikiwi.js"
}
},
"./lookup/types-dicle": {
"module": {
"types": "./lookup/types-dicle.d.ts",
"default": "./lookup/types-dicle.js"
},
"require": {
"types": "./cjs/lookup/types-dicle.d.ts",
"default": "./cjs/lookup/types-dicle.js"
},
"default": {
"types": "./lookup/types-dicle.d.ts",
"default": "./lookup/types-dicle.js"
}
},
"./lookup/types-pezkuwi": {
"module": {
"types": "./lookup/types-pezkuwi.d.ts",
"default": "./lookup/types-pezkuwi.js"
},
"require": {
"types": "./cjs/lookup/types-pezkuwi.d.ts",
"default": "./cjs/lookup/types-pezkuwi.js"
},
"default": {
"types": "./lookup/types-pezkuwi.d.ts",
"default": "./lookup/types-pezkuwi.js"
}
},
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./registry": {
"module": {
"types": "./registry/index.d.ts",
"default": "./registry/index.js"
},
"require": {
"types": "./cjs/registry/index.d.ts",
"default": "./cjs/registry/index.js"
},
"default": {
"types": "./registry/index.d.ts",
"default": "./registry/index.js"
}
},
"./registry/assetHubDicle": {
"module": {
"types": "./registry/assetHubDicle.d.ts",
"default": "./registry/assetHubDicle.js"
},
"require": {
"types": "./cjs/registry/assetHubDicle.d.ts",
"default": "./cjs/registry/assetHubDicle.js"
},
"default": {
"types": "./registry/assetHubDicle.d.ts",
"default": "./registry/assetHubDicle.js"
}
},
"./registry/assetHubPezkuwi": {
"module": {
"types": "./registry/assetHubPezkuwi.d.ts",
"default": "./registry/assetHubPezkuwi.js"
},
"require": {
"types": "./cjs/registry/assetHubPezkuwi.d.ts",
"default": "./cjs/registry/assetHubPezkuwi.js"
},
"default": {
"types": "./registry/assetHubPezkuwi.d.ts",
"default": "./registry/assetHubPezkuwi.js"
}
},
"./registry/bizinikiwi": {
"module": {
"types": "./registry/bizinikiwi.d.ts",
"default": "./registry/bizinikiwi.js"
},
"require": {
"types": "./cjs/registry/bizinikiwi.d.ts",
"default": "./cjs/registry/bizinikiwi.js"
},
"default": {
"types": "./registry/bizinikiwi.d.ts",
"default": "./registry/bizinikiwi.js"
}
},
"./registry/dicle": {
"module": {
"types": "./registry/dicle.d.ts",
"default": "./registry/dicle.js"
},
"require": {
"types": "./cjs/registry/dicle.d.ts",
"default": "./cjs/registry/dicle.js"
},
"default": {
"types": "./registry/dicle.d.ts",
"default": "./registry/dicle.js"
}
},
"./registry/interfaces": {
"module": {
"types": "./registry/interfaces.d.ts",
"default": "./registry/interfaces.js"
},
"require": {
"types": "./cjs/registry/interfaces.d.ts",
"default": "./cjs/registry/interfaces.js"
},
"default": {
"types": "./registry/interfaces.d.ts",
"default": "./registry/interfaces.js"
}
},
"./registry/pezkuwi": {
"module": {
"types": "./registry/pezkuwi.d.ts",
"default": "./registry/pezkuwi.js"
},
"require": {
"types": "./cjs/registry/pezkuwi.d.ts",
"default": "./cjs/registry/pezkuwi.js"
},
"default": {
"types": "./registry/pezkuwi.d.ts",
"default": "./registry/pezkuwi.js"
}
}
},
"dependencies": {
"@pezkuwi/types": "16.5.4",
"@pezkuwi/types-codec": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/types": "16.5.9",
"@pezkuwi/types-codec": "16.5.9",
"@pezkuwi/util": "14.0.11",
"tslib": "^2.8.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/types-augment', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/types-augment', path: 'auto', type: 'auto', version: '16.5.9' };
@@ -57,7 +57,7 @@ import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@pezkuwi/typ
import type { AccountStatus, AccountValidity } from '@pezkuwi/types/interfaces/purchase';
import type { ActiveRecovery, RecoveryConfig } from '@pezkuwi/types/interfaces/recovery';
import type { RpcMethods } from '@pezkuwi/types/interfaces/rpc';
import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicInclusionMode, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, Pays, PerU16, Perbill, Percent, Permill, Perquintill, PezpalletId, PezpalletVersion, PezpalletsOrigin, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@pezkuwi/types/interfaces/runtime';
import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicInclusionMode, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, ParachainsInherentData, Pays, PerU16, Perbill, Percent, Permill, Perquintill, PezpalletId, PezpalletVersion, PezpalletsOrigin, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@pezkuwi/types/interfaces/runtime';
import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@pezkuwi/types/interfaces/scaleInfo';
import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@pezkuwi/types/interfaces/scheduler';
import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@pezkuwi/types/interfaces/session';
@@ -856,6 +856,8 @@ declare module '@pezkuwi/types/types/registry' {
Owner: Owner;
PageCounter: PageCounter;
PageIndexData: PageIndexData;
PalletId: PalletId;
ParachainsInherentData: ParachainsInherentData;
ParaGenesisArgs: ParaGenesisArgs;
ParaId: ParaId;
ParaInfo: ParaInfo;
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/types-codec', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/types-codec', path: 'auto', type: 'auto', version: '16.5.9' };
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+269 -9
View File
@@ -15,17 +15,277 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"dependencies": {
"@pezkuwi/types-codec": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"tslib": "^2.8.1"
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"exports": {
".": {
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./bundle": {
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./cjs/*": "./cjs/*.js",
"./cjs/package.json": "./cjs/package.json",
"./create": {
"module": {
"types": "./create/index.d.ts",
"default": "./create/index.js"
},
"require": {
"types": "./cjs/create/index.d.ts",
"default": "./cjs/create/index.js"
},
"default": {
"types": "./create/index.d.ts",
"default": "./create/index.js"
}
},
"./create/class": {
"module": {
"types": "./create/class.d.ts",
"default": "./create/class.js"
},
"require": {
"types": "./cjs/create/class.d.ts",
"default": "./cjs/create/class.js"
},
"default": {
"types": "./create/class.d.ts",
"default": "./create/class.js"
}
},
"./create/type": {
"module": {
"types": "./create/type.d.ts",
"default": "./create/type.js"
},
"require": {
"types": "./cjs/create/type.d.ts",
"default": "./cjs/create/type.js"
},
"default": {
"types": "./create/type.d.ts",
"default": "./create/type.js"
}
},
"./exports": {
"module": {
"types": "./exports.d.ts",
"default": "./exports.js"
},
"require": {
"types": "./cjs/exports.d.ts",
"default": "./cjs/exports.js"
},
"default": {
"types": "./exports.d.ts",
"default": "./exports.js"
}
},
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./types": {
"module": {
"types": "./types/index.d.ts",
"default": "./types/index.js"
},
"require": {
"types": "./cjs/types/index.d.ts",
"default": "./cjs/types/index.js"
},
"default": {
"types": "./types/index.d.ts",
"default": "./types/index.js"
}
},
"./types/augmentRegistry": {
"module": {
"types": "./types/augmentRegistry.d.ts",
"default": "./types/augmentRegistry.js"
},
"require": {
"types": "./cjs/types/augmentRegistry.d.ts",
"default": "./cjs/types/augmentRegistry.js"
},
"default": {
"types": "./types/augmentRegistry.d.ts",
"default": "./types/augmentRegistry.js"
}
},
"./types/lookup": {
"module": {
"types": "./types/lookup.d.ts",
"default": "./types/lookup.js"
},
"require": {
"types": "./cjs/types/lookup.d.ts",
"default": "./cjs/types/lookup.js"
},
"default": {
"types": "./types/lookup.d.ts",
"default": "./types/lookup.js"
}
},
"./types/types": {
"module": {
"types": "./types/types.d.ts",
"default": "./types/types.js"
},
"require": {
"types": "./cjs/types/types.d.ts",
"default": "./cjs/types/types.js"
},
"default": {
"types": "./types/types.d.ts",
"default": "./types/types.js"
}
},
"./util": {
"module": {
"types": "./util/index.d.ts",
"default": "./util/index.js"
},
"require": {
"types": "./cjs/util/index.d.ts",
"default": "./cjs/util/index.js"
},
"default": {
"types": "./util/index.d.ts",
"default": "./util/index.js"
}
},
"./util/encodeTypes": {
"module": {
"types": "./util/encodeTypes.d.ts",
"default": "./util/encodeTypes.js"
},
"require": {
"types": "./cjs/util/encodeTypes.d.ts",
"default": "./cjs/util/encodeTypes.js"
},
"default": {
"types": "./util/encodeTypes.d.ts",
"default": "./util/encodeTypes.js"
}
},
"./util/getTypeDef": {
"module": {
"types": "./util/getTypeDef.d.ts",
"default": "./util/getTypeDef.js"
},
"require": {
"types": "./cjs/util/getTypeDef.d.ts",
"default": "./cjs/util/getTypeDef.js"
},
"default": {
"types": "./util/getTypeDef.d.ts",
"default": "./util/getTypeDef.js"
}
},
"./util/typeSplit": {
"module": {
"types": "./util/typeSplit.d.ts",
"default": "./util/typeSplit.js"
},
"require": {
"types": "./cjs/util/typeSplit.d.ts",
"default": "./cjs/util/typeSplit.js"
},
"default": {
"types": "./util/typeSplit.d.ts",
"default": "./util/typeSplit.js"
}
},
"./util/xcm": {
"module": {
"types": "./util/xcm.d.ts",
"default": "./util/xcm.js"
},
"require": {
"types": "./cjs/util/xcm.d.ts",
"default": "./cjs/util/xcm.js"
},
"default": {
"types": "./util/xcm.d.ts",
"default": "./util/xcm.js"
}
}
},
"devDependencies": {
"@pezkuwi/types": "16.5.4"
"dependencies": {
"@pezkuwi/types": "16.5.9",
"@pezkuwi/types-codec": "16.5.9",
"@pezkuwi/util": "14.0.11",
"tslib": "^2.8.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/types-create', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/types-create', path: 'auto', type: 'auto', version: '16.5.9' };
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+425 -9
View File
@@ -15,20 +15,436 @@
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
"./cjs/packageDetect.js"
],
"type": "module",
"version": "16.5.6",
"main": "index.js",
"types": "./index.d.ts",
"version": "16.5.9",
"main": "./cjs/index.js",
"module": "./index.js",
"exports": {
".": {
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./bundle": {
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./chain": {
"module": {
"types": "./chain/index.d.ts",
"default": "./chain/index.js"
},
"require": {
"types": "./cjs/chain/index.d.ts",
"default": "./cjs/chain/index.js"
},
"default": {
"types": "./chain/index.d.ts",
"default": "./chain/index.js"
}
},
"./cjs/*": "./cjs/*.js",
"./cjs/package.json": "./cjs/package.json",
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./spec": {
"module": {
"types": "./spec/index.d.ts",
"default": "./spec/index.js"
},
"require": {
"types": "./cjs/spec/index.d.ts",
"default": "./cjs/spec/index.js"
},
"default": {
"types": "./spec/index.d.ts",
"default": "./spec/index.js"
}
},
"./spec/centrifuge-chain": {
"module": {
"types": "./spec/centrifuge-chain.d.ts",
"default": "./spec/centrifuge-chain.js"
},
"require": {
"types": "./cjs/spec/centrifuge-chain.d.ts",
"default": "./cjs/spec/centrifuge-chain.js"
},
"default": {
"types": "./spec/centrifuge-chain.d.ts",
"default": "./spec/centrifuge-chain.js"
}
},
"./spec/dicle": {
"module": {
"types": "./spec/dicle.d.ts",
"default": "./spec/dicle.js"
},
"require": {
"types": "./cjs/spec/dicle.d.ts",
"default": "./cjs/spec/dicle.js"
},
"default": {
"types": "./spec/dicle.d.ts",
"default": "./spec/dicle.js"
}
},
"./spec/node": {
"module": {
"types": "./spec/node.d.ts",
"default": "./spec/node.js"
},
"require": {
"types": "./cjs/spec/node.d.ts",
"default": "./cjs/spec/node.js"
},
"default": {
"types": "./spec/node.d.ts",
"default": "./spec/node.js"
}
},
"./spec/node-template": {
"module": {
"types": "./spec/node-template.d.ts",
"default": "./spec/node-template.js"
},
"require": {
"types": "./cjs/spec/node-template.d.ts",
"default": "./cjs/spec/node-template.js"
},
"default": {
"types": "./spec/node-template.d.ts",
"default": "./spec/node-template.js"
}
},
"./spec/pezkuwi": {
"module": {
"types": "./spec/pezkuwi.d.ts",
"default": "./spec/pezkuwi.js"
},
"require": {
"types": "./cjs/spec/pezkuwi.d.ts",
"default": "./cjs/spec/pezkuwi.js"
},
"default": {
"types": "./spec/pezkuwi.d.ts",
"default": "./spec/pezkuwi.js"
}
},
"./spec/pezkuwichain": {
"module": {
"types": "./spec/pezkuwichain.d.ts",
"default": "./spec/pezkuwichain.js"
},
"require": {
"types": "./cjs/spec/pezkuwichain.d.ts",
"default": "./cjs/spec/pezkuwichain.js"
},
"default": {
"types": "./spec/pezkuwichain.d.ts",
"default": "./spec/pezkuwichain.js"
}
},
"./spec/shell": {
"module": {
"types": "./spec/shell.d.ts",
"default": "./spec/shell.js"
},
"require": {
"types": "./cjs/spec/shell.d.ts",
"default": "./cjs/spec/shell.js"
},
"default": {
"types": "./spec/shell.d.ts",
"default": "./spec/shell.js"
}
},
"./spec/statemine": {
"module": {
"types": "./spec/statemine.d.ts",
"default": "./spec/statemine.js"
},
"require": {
"types": "./cjs/spec/statemine.d.ts",
"default": "./cjs/spec/statemine.js"
},
"default": {
"types": "./spec/statemine.d.ts",
"default": "./spec/statemine.js"
}
},
"./spec/statemint": {
"module": {
"types": "./spec/statemint.d.ts",
"default": "./spec/statemint.js"
},
"require": {
"types": "./cjs/spec/statemint.d.ts",
"default": "./cjs/spec/statemint.js"
},
"default": {
"types": "./spec/statemint.d.ts",
"default": "./spec/statemint.js"
}
},
"./spec/westmint": {
"module": {
"types": "./spec/westmint.d.ts",
"default": "./spec/westmint.js"
},
"require": {
"types": "./cjs/spec/westmint.d.ts",
"default": "./cjs/spec/westmint.js"
},
"default": {
"types": "./spec/westmint.d.ts",
"default": "./spec/westmint.js"
}
},
"./spec/zagros": {
"module": {
"types": "./spec/zagros.d.ts",
"default": "./spec/zagros.js"
},
"require": {
"types": "./cjs/spec/zagros.d.ts",
"default": "./cjs/spec/zagros.js"
},
"default": {
"types": "./spec/zagros.d.ts",
"default": "./spec/zagros.js"
}
},
"./upgrades": {
"module": {
"types": "./upgrades/index.d.ts",
"default": "./upgrades/index.js"
},
"require": {
"types": "./cjs/upgrades/index.d.ts",
"default": "./cjs/upgrades/index.js"
},
"default": {
"types": "./upgrades/index.d.ts",
"default": "./upgrades/index.js"
}
},
"./upgrades/e2e": {
"module": {
"types": "./upgrades/e2e/index.d.ts",
"default": "./upgrades/e2e/index.js"
},
"require": {
"types": "./cjs/upgrades/e2e/index.d.ts",
"default": "./cjs/upgrades/e2e/index.js"
},
"default": {
"types": "./upgrades/e2e/index.d.ts",
"default": "./upgrades/e2e/index.js"
}
},
"./upgrades/e2e/dicle": {
"module": {
"types": "./upgrades/e2e/dicle.d.ts",
"default": "./upgrades/e2e/dicle.js"
},
"require": {
"types": "./cjs/upgrades/e2e/dicle.d.ts",
"default": "./cjs/upgrades/e2e/dicle.js"
},
"default": {
"types": "./upgrades/e2e/dicle.d.ts",
"default": "./upgrades/e2e/dicle.js"
}
},
"./upgrades/e2e/pezkuwi": {
"module": {
"types": "./upgrades/e2e/pezkuwi.d.ts",
"default": "./upgrades/e2e/pezkuwi.js"
},
"require": {
"types": "./cjs/upgrades/e2e/pezkuwi.d.ts",
"default": "./cjs/upgrades/e2e/pezkuwi.js"
},
"default": {
"types": "./upgrades/e2e/pezkuwi.d.ts",
"default": "./upgrades/e2e/pezkuwi.js"
}
},
"./upgrades/e2e/zagros": {
"module": {
"types": "./upgrades/e2e/zagros.d.ts",
"default": "./upgrades/e2e/zagros.js"
},
"require": {
"types": "./cjs/upgrades/e2e/zagros.d.ts",
"default": "./cjs/upgrades/e2e/zagros.js"
},
"default": {
"types": "./upgrades/e2e/zagros.d.ts",
"default": "./upgrades/e2e/zagros.js"
}
},
"./upgrades/manual": {
"module": {
"types": "./upgrades/manual/index.d.ts",
"default": "./upgrades/manual/index.js"
},
"require": {
"types": "./cjs/upgrades/manual/index.d.ts",
"default": "./cjs/upgrades/manual/index.js"
},
"default": {
"types": "./upgrades/manual/index.d.ts",
"default": "./upgrades/manual/index.js"
}
},
"./upgrades/manual/dicle": {
"module": {
"types": "./upgrades/manual/dicle.d.ts",
"default": "./upgrades/manual/dicle.js"
},
"require": {
"types": "./cjs/upgrades/manual/dicle.d.ts",
"default": "./cjs/upgrades/manual/dicle.js"
},
"default": {
"types": "./upgrades/manual/dicle.d.ts",
"default": "./upgrades/manual/dicle.js"
}
},
"./upgrades/manual/pezkuwi": {
"module": {
"types": "./upgrades/manual/pezkuwi.d.ts",
"default": "./upgrades/manual/pezkuwi.js"
},
"require": {
"types": "./cjs/upgrades/manual/pezkuwi.d.ts",
"default": "./cjs/upgrades/manual/pezkuwi.js"
},
"default": {
"types": "./upgrades/manual/pezkuwi.d.ts",
"default": "./upgrades/manual/pezkuwi.js"
}
},
"./upgrades/manual/zagros": {
"module": {
"types": "./upgrades/manual/zagros.d.ts",
"default": "./upgrades/manual/zagros.js"
},
"require": {
"types": "./cjs/upgrades/manual/zagros.d.ts",
"default": "./cjs/upgrades/manual/zagros.js"
},
"default": {
"types": "./upgrades/manual/zagros.d.ts",
"default": "./upgrades/manual/zagros.js"
}
},
"./upgrades/types": {
"module": {
"types": "./upgrades/types.d.ts",
"default": "./upgrades/types.js"
},
"require": {
"types": "./cjs/upgrades/types.d.ts",
"default": "./cjs/upgrades/types.js"
},
"default": {
"types": "./upgrades/types.d.ts",
"default": "./upgrades/types.js"
}
},
"./util": {
"module": {
"types": "./util.d.ts",
"default": "./util.js"
},
"require": {
"types": "./cjs/util.d.ts",
"default": "./cjs/util.js"
},
"default": {
"types": "./util.d.ts",
"default": "./util.js"
}
}
},
"dependencies": {
"@pezkuwi/networks": "^14.0.1",
"@pezkuwi/types": "16.5.4",
"@pezkuwi/types-codec": "16.5.4",
"@pezkuwi/types-create": "16.5.4",
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/networks": "16.5.9",
"@pezkuwi/types": "16.5.9",
"@pezkuwi/types-codec": "16.5.9",
"@pezkuwi/types-create": "16.5.9",
"@pezkuwi/util": "14.0.11",
"tslib": "^2.8.1"
},
"devDependencies": {
"@pezkuwi/api": "16.5.4"
"@pezkuwi/api": "workspace:*"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/types-known', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@pezkuwi/types-known', path: 'auto', type: 'auto', version: '16.5.9' };
@@ -19,28 +19,20 @@ interface TestDef {
const TESTS: TestDef[] = [
{
genesisHash: '0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe',
network: 'dicle',
versions: [
[0, [0, 1020]],
[17, [901442, 1045]]
]
},
{
genesisHash: '0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3',
network: 'pezkuwi',
versions: [
[0, [0, 0]],
[19, [2436698, 26]]
]
},
{
genesisHash: '0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e',
genesisHash: '0xd9d3cd7c1e5d890d969b957f4c5b71a111bbeeabc968f1d0d4538c2663f080a7',
network: 'dicle',
versions: [
[0, [214356, 4]],
[23, [4207800, 48]]
]
},
{
genesisHash: '0x41693961995d879073269a008d0a52832caa3e0ae73869f02127f3d5daa4934c',
network: 'pezkuwi',
versions: [
[0, [0, 0]],
[19, [2436698, 26]]
]
}
];
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,16 @@
{
"jsonrpc": "2.0",
"method": "state_storage",
"params": {
"result": {
"block": "0x3265584ff8e6a66cb6c334cdaf8bb6938b49b96e644b5bacc0d06f2b13f75230",
"changes": [
[
"0x329586a7b97f2ac15f6c26a02c3c5621",
"0x2082c39b31a2b79a90f8e66e7a77fdb85a4ed5517f2ae39f6a80565e8ecae85cf54de37a07567ebcbf8c64568428a835269a566723687058e017b6d69db00a77e758d67e0f9be62dce75adbb005e8097de5c45f32b1ba7264717df2db4ae9f276e8101764f45778d4980dadaceee6e8af2517d3ab91ac9bec9cd1714fa5994081ca070532405ebf20fba389cbabfe1885cc134ee18028d488714eae621b47baf9d227cee94fa4e88d8d25abe706f15aca03b1d753d433f5ef9aa9ad1bcf5e5b81e040c8dc048a6d129803caa851c4c9633610068e4ef9eaa0bfbf40dfbfd43d9222347812ef77d9fd3cca1673e1b2bde54da96fddcf79d92832b1e2a819724f140"
]
]
},
"subscription": 43614
}
}
@@ -0,0 +1,16 @@
{
"jsonrpc": "2.0",
"method": "state_storage",
"params": {
"result": {
"block": "0x4c51fb36c859f9d2554ef0dadf53351c343f2746221a963d630bfe396728842d",
"changes": [
[
"0xcc956bdb7605e3547539f321ac2bc95c",
"0x0400000000000000"
]
]
},
"subscription": 14
}
}
@@ -0,0 +1,16 @@
{
"jsonrpc": "2.0",
"method": "state_storage",
"params": {
"result": {
"block": "0xa7f1ac9f18dded8e5825205d3e5260cf53ba01f629d9ebc1b80601b45ed8c358",
"changes": [
[
"0xcc956bdb7605e3547539f321ac2bc95c",
"0x10000000000000000001000000010037e027d776cd005c12bcf6722421374a9037167a0ceaf918f341c4ad68d54e59070000000000010000000102d2de7394ae047a5502ad9adb9cc69ff6fe484033bfce874d775da947487cd83237e027d776cd005c12bcf6722421374a9037167a0ceaf918f341c4ad68d54e59e80300000000000000000000000000000000000000000000000000000000000000010000000000"
]
]
},
"subscription": 19
}
}
@@ -0,0 +1,16 @@
{
"jsonrpc": "2.0",
"method": "state_storage",
"params": {
"result": {
"block": "0x49e40de6af6524a6bbe1654cd261907073f0d76fc0e73ded942f1fd867096fa8",
"changes": [
[
"0xcc956bdb7605e3547539f321ac2bc95c",
"0x08000000000000000000010000000000000000000000000000"
]
]
},
"subscription": 119
}
}
@@ -0,0 +1,10 @@
{
"jsonrpc": "2.0",
"method": "author_extrinsicUpdate",
"params": {
"result": {
"finalized": "0xc465b92a72b1d20918d64cd4effa70c2bb58b53a3f8c24c3ac8fd8f465f059b4"
},
"subscription": 9
}
}
@@ -0,0 +1,523 @@
{
"jsonrpc": "2.0",
"result": {
"background": [],
"best": {
"precommits": {
"currentWeight": 0,
"missing": [
"Cc2YhyWFfeXv5jfAsFnBKaHr2V5atN4wf6LubeSMpWBUNpa",
"CfTYiCjhcit9N7EJNjAYv3rku6H8uSn6E6TTmmM1NrwdYKB",
"Cicfcxq9fNSVV64wsgqHpLSBedY5TzB1hr6fESXoL5UYZ4x",
"CiqujmJXHwNkg2WVNn6DR9e5TrYD7YkQZ3myExygkKqhpz8",
"CkXk1WRGEb8ZJU1M5W5oHcEgAq9drBRdLac4QjHQwE4bGep",
"CmdHZ3MLTHJhgHTkyC1bm6kwFyGuhCSWcvs5e5DnRWJULRX",
"CoHt3KzCuuFsoT3sftmARcvJ8NF414RvPfaXrRKUg5HAHFh",
"CoUxi1tafPBMRx9yAwsuHZKR9qC8cXkp3d3h63jQJiWJN3Z",
"Cp5Yg6ZUYXFWPpXfkjfQC2Vq9UMtRdAkBVx8BgV94ted3kU",
"CpUj9JPRwKi27GPtxEznxKDbYVW9MYCcz4pJy5VUFVoyEks",
"Cq5fjZKywKh3pNrNNEHyYsAXgfXZD6TMEc8B7BP2CjG5gHQ",
"Cqix2rD93Mdf7ytg8tBavAig2TvhXPgPZ2mejQvkq7qgRPq",
"Cs9HdXcS6hXdAnCMDqCqx1ncqAteiLSQD7GLJLDEStfzRoB",
"CtaGcLbdjMEY3MCm8pS2VuLQ6ZZ3HV1ou6eQvX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fX6XVNhKFyQLYfULkVMWymDUf7pA",
"J4BMGF4W9yWiJz4pkhQW73X6QMGpKUzmPppVnqzBCqw5dQq",
"J4ibGw1bqrSkwsw43rUf9w6hyXCxZKrdZJEkcfH7E4yzAL6",
"J62bGdbHT4f3R7aeG1Tt5y9f11bJZLBZUAeZpDaX3HR3oXx",
"J6f5w6eydwAi7pcPy8TNDnYMnBvvZyVXwjQVnJvH8YzUQvd",
"J8jwjHCEGAhWSiTAUyC62Df1H8hUKqQsVYdCKvusRipHWHy",
"J8vr5XuCMjUXfnvQdrZ2M2cWsykk8Wae79uCDEiWymmU8Bh",
"JAXs5Hp5AEB2nHDbJUsUZdnGaH8TnEyv3pquPHAorK5kkh1",
"JBsSffyWTv5vvy3VJ4ro3VSg4NwiiHGe9aCcLTfW2TLWiCt",
"JCBp59HSq5mZigc2v57PFeafPVg5KcSu3e2DCW39aPxSzvY",
"JE3pk8v6QYhHGJtuPh2R82DDPLQBFsMSBYbqXMsa4bbJpVC",
"JEnSTZJpLh91cSryptj57RtFxq9xXqf4U5wBH3qoP91ZZhN",
"JH4xgpSTLqMn4Mo8xBtUitezsvpqTwYN9G7GDpH6wWwyMCG",
"JKyTzmQVXE17pu1wbqHphyaKoTdqg1J5g7C15iEuK8LGKC4",
"JLnxrPb3QEXhVVBxKWaQhchDWgmwJKhY957iz19f1X8kiv2"
]
},
"round": 2195,
"thresholdWeight": 167,
"totalWeight": 250
},
"setId": 961
},
"id": 35
}
@@ -0,0 +1,13 @@
{
"jsonrpc": "2.0",
"result": {
"digest": {
"logs": []
},
"extrinsicsRoot": "0x45b0cfc220ceec5b7c1c62c4d4193d38e4eba48e8815729ce75f9c0ab0e4c1c0",
"number": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"stateRoot": "0x294c3470ae3be7555240b9d034ec19c3715ba2c3f20b92441f8cea0cab66ab56"
},
"id": 1
}
@@ -0,0 +1,20 @@
{
"jsonrpc": "2.0",
"result": {
"digest": {
"logs": [
{
"Seal": [
256804359,
"0x2c0e0ee8a5d1a073da3f8db002b8eaebcd7b1a7eb25662e09f9ef0ac58d96bf17896256cd5f0bc672f96aab49fe5163ca5cb4c1a0f047dc39e89cd4a9eb2ea05"
]
}
]
},
"extrinsicsRoot": "0x1da0d30001d07991baef3c5c65234c2e88bec659dc0d7138a7e7267e2bacbeb7",
"number": "0xb66",
"parentHash": "0xb58e4d84c2e0db1cdc8c8830aa719015f8c855f29a0dff2b158a160f29f73ba0",
"stateRoot": "0x22f6f5b6992ab87ea5f52b2732ed9e22a88643ed3a97251986857633687fbc54"
},
"id": 1
}
@@ -0,0 +1,15 @@
{
"jsonrpc": "2.0",
"result": {
"digest": {
"logs": [
"0x0461757261210169c97e0f00000000479c09f7ace12ed3e1af2dba6cca6831e257e80feef56c7474d6c69bae6f4e8a6e0045a87afe14296992c38b7d55abcbe617c441cd35e8667abbcb1678f31802"
]
},
"extrinsicsRoot": "0x4133a7c2e9ab3d0c75f93bfba8730011668c697036adb2f22916a8731f68c2fa",
"number": "0x193046",
"parentHash": "0x596b8c3ced242052921135e9b44dba2ba3752b2a92f1cfa361d59b10016cb5b0",
"stateRoot": "0xd9d32d2f3f4af14c506aa59ff5a3132ca0fe5d7f82cdf1e4967a638042e849a6"
},
"id": 16
}
@@ -0,0 +1,16 @@
{
"jsonrpc": "2.0",
"result": {
"digest": {
"logs": [
"0x0642414245b5010100000000d968651f00000000c8a188930c6c1a8fb15316992a36f29671049dfdb96d9248747e90b80c48547af89b3238620eaec599e6a5bfedf3ae538a6cb4e19326ac2af9c21494713fc70af38629db7bcc42bf8110655d7b3bb1cec3790e39c660111e7fac4a0cba058305",
"0x05424142450101168781581fefb96e500cfd56dbf5b9709a6babb19f74369ea7b660ea861e180c08899182e4beb8da95848b87a16a64132f497cea3cb7aa6e3f3224adb9945989"
]
},
"extrinsicsRoot": "0x82faad984718975bccbfd58fdc67f59d367d678419a918f79c7a58cbb8e34a5b",
"number": "0x14fd",
"parentHash": "0xf0b30ecdc94c481ca96234d2a17408fef6c401f705a1f5f911e58d2a1f33fcb6",
"stateRoot": "0xaa796217f92ed5a40ec03d184b05ad1e1824d2824559719b9bef3304ee3bff55"
},
"id": 1
}
@@ -0,0 +1,45 @@
{
"jsonrpc": "2.0",
"result": {
"apis": [
[
"0xdf6acb689907609b",
2
],
[
"0x37e397fc7c91f5e4",
1
],
[
"0x40fe3ad401f8959a",
3
],
[
"0xd2bc9897eed08f15",
1
],
[
"0xf78b278be53f454c",
1
],
[
"0xed99c5acb25eedf5",
2
],
[
"0xdd718d5cc53262d4",
1
],
[
"0x7801759919ee83e5",
1
]
],
"authoringVersion": 10,
"implName": "bizinikiwi-node",
"implVersion": 60,
"specName": "node",
"specVersion": 60
},
"id": 21
}
@@ -0,0 +1,58 @@
{
"jsonrpc": "2.0",
"result": {
"block": {
"extrinsics": [
"0x010300b0b1c85b00000000"
],
"header": {
"digest": {
"logs": [
{
"AuthoritiesChange": [
"0x8101764f45778d4980dadaceee6e8af2517d3ab91ac9bec9cd1714fa5994081c",
"0x4de37a07567ebcbf8c64568428a835269a566723687058e017b6d69db00a77e7",
"0x063d7787ebca768b7445dfebe7d62cbb1625ff4dba288ea34488da266dd6dca5",
"0x82c39b31a2b79a90f8e66e7a77fdb85a4ed5517f2ae39f6a80565e8ecae85cf5",
"0x040c8dc048a6d129803caa851c4c9633610068e4ef9eaa0bfbf40dfbfd43d922",
"0x2347812ef77d9fd3cca1673e1b2bde54da96fddcf79d92832b1e2a819724f140",
"0x673bda1eda2aa719d707473163d45300819f2da9fe6fdad6d74ce222ada2665a"
]
}
]
},
"extrinsicsRoot": "0x295fe0f63daaa9552f497f6c4afcbab59ca5c681da9219907f188c765b73fb92",
"number": 262560,
"parentHash": "0x99b5b6d28a18c1fee26aa18a7f15b5ab20d416bc70319b4c3b3a7ae5a98284ea",
"stateRoot": "0x24bab7fe0fee187a57bd0029ba151e81a0bae0fea96ad9f85c579c1ba9d88948"
}
},
"justification": {
"hash": "0x44bc10702350e3548eb8ea52354e8e07a5646e108f0aceef9488131f6f929f3b",
"round_number": 0,
"signatures": [
[
"0x063d7787ebca768b7445dfebe7d62cbb1625ff4dba288ea34488da266dd6dca5",
"0xe551027d14a2107328685f14a6e6b6a217d0e587ed40b55e3a356f4d02468fb968d9d1dd9d0c7026b712bf4d2eac3bc3ff9eeb2c9560a40575f41df69e769804"
],
[
"0x8101764f45778d4980dadaceee6e8af2517d3ab91ac9bec9cd1714fa5994081c",
"0xf303671e97a9b1811d3c0e1b87ebeb89f340ccc5d0d634c9596ca4764943561304df268498c133e88ab3a859d86821d85ad48ac53c54df9ec85e2a515adb0b00"
],
[
"0x82c39b31a2b79a90f8e66e7a77fdb85a4ed5517f2ae39f6a80565e8ecae85cf5",
"0xb2e326eb1ea3a803e6f331cbf2da8add553f08450a14fe1a26ba31039e3e1a70c6dcffd3361b94b973cdc7422f9e9b99edaea98117dda35275e6a36e6c54e30d"
],
[
"0x4de37a07567ebcbf8c64568428a835269a566723687058e017b6d69db00a77e7",
"0x1f739aa8cfcaa81362e3eb9c574844df40e3db009676d6065a7b5662d5e00b1385526257ba43a43cf84e7873354e3919e0dc2ac85a0426b43b3f37d311f64907"
],
[
"0x2347812ef77d9fd3cca1673e1b2bde54da96fddcf79d92832b1e2a819724f140",
"0x01370b87621008e9ee55476dc0c4246862aed787b94c27105eaba9c09e197882c6f40436ce2f45f0dbae03ff81af117bdaabc18f627b72aa6318326f6a067b05"
]
]
}
},
"id": 8
}
@@ -0,0 +1,23 @@
{
"jsonrpc": "2.0",
"result": {
"block": {
"extrinsics": [
],
"header": {
"digest": {
"logs": [
"0x066175726120614c411700000000",
"0x05617572610101c4dd7f7d2a7521a91b821c44d0b8a628e4d804c0428b20a8e281aeaff575001cd55f4540db0fa78e5521b330d1a7ef9e8b922ca723097b4ab83e59a13fb44f0c"
]
},
"extrinsicsRoot": "0x907510396823ad5299bd8b7e3d922e182f117032a0653a85f9ad3cb58044a086",
"number": "0x9e",
"parentHash": "0xf17a9ca2e515a68c6e1b0315c5182d237580507c60487f5a6b75c703aa3e84ab",
"stateRoot": "0x5a4cfd95c29f8db93119a11e012c3905767cc4b7e3a3a2f6bc72879e51a47cd4"
}
},
"justification": null
},
"id": 86
}
@@ -0,0 +1 @@
{"jsonrpc":"2.0","result":{"block":{"extrinsics":["0x20010100038831055d","0x140109007902"],"header":{"digest":{"logs":["0x066175726120624c411700000000","0x05617572610101d64f44f8c3bb3deeaa8323aadfa943c3510546bf85817788b55a4aa27e21b8492ea574300966c60bd42571bfbca9f53bb682fb6c7e703aade3489680764bb109"]},"extrinsicsRoot":"0x9ffac24de7dd587cbd38862fa1cef38d47b7cfb82d3313b926d60c855b203405","number":"0x9f","parentHash":"0x78b13ce0daf54a5940554f7dbe4af4e97120e4ab2a073043f48889cee25859cf","stateRoot":"0x2671c3c7bac9098af71ebc15998c2fb5e366da4db5a0b0287ba13d8afc9b2bd4"}},"justification":null},"id":75}

Some files were not shown because too many files have changed in this diff Show More