Compare commits

..

2638 Commits
v1.5.1 ... main

Author SHA1 Message Date
0480bfcbc5 build: packageInfo at 14.0.3-quantus.3, as published
Some checks failed
Lock Threads / lock (push) Has been cancelled
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-16 22:13:53 +03:00
a5157ef592 build: version the forks 14.0.3-quantus.3, on @quantus/crypto 0.3.0
The post-quantum-only change is a breaking one for every consumer. The keyring
and util-crypto surfaces both shrink, so it gets its own version rather than a
republish of quantus.2. @quantus/crypto moves to ^0.3.0, the version the
extension already resolves (wormhole addresses and nullifiers), so the two
share one copy of the WASM.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-16 21:10:31 +03:00
e1d88c6f63 feat!: post-quantum only: remove ed25519, sr25519, ecdsa and ethereum keys
KeypairType is now 'dilithium65' | 'dilithium87'. Upstream's four types are
gone with their primitives, not merely unoffered. Each falls to Shor's
algorithm, and a keyring that can hold such a key invites someone to keep funds
under it, inside a tool whose premise is that this is unsafe.

This was deferred until post-quantum signing was proven end to end (real
transfers on Heisenberg, a real mainnet wallet in the extension), so that
tearing out half of util-crypto could not muddy the diagnosis of a first
rejected extrinsic. That has happened.

util-crypto, removed:
- ed25519/, sr25519/, secp256k1/, and signature/ (signatureVerify, which only
  knew those three; dilithiumVerify is the verifier);
- hd/ethereum and hd/ledger;
- key/fromPath and keyHdkd{Ecdsa,Ed25519,Sr25519}, the junction derivation;
- address/derive (sr25519 soft derivation);
- mnemonic/toMiniSecret, Substrate's classical seeding.

util-crypto, kept because none of it holds a key:
- ethereumEncode, isEthereumAddress and isEthereumChecksum. @polkadot/types and
  the identicon renderer format 20-byte addresses with them, and a wallet has
  to be able to show an Ethereum address to recognise and refuse one.
  ethereumEncode now refuses a secp256k1 public key, saying why.
- evm ↔ substrate address conversion (its blake2/keccak hasher moved out of
  secp256k1/ into address/), derived and multi addresses, BIP39, and suri
  parsing.

keyring:
- Only ML-DSA arms remain. The default type is dilithium65.
- Every entry point (constructor, createFromUri, createFromPair, addFromAddress
  and, above all, createFromJson for a backup the user chose) refuses a
  quantum-unsafe type with "<type> keys are not quantum-safe and cannot be held
  here", not "unknown crypto type", which reads like a bug in this software.
- pair.verify handles ML-DSA, a bare signature or signature ‖ publicKey, under
  a context that defaults to the empty raw-bytes one. Derivation and VRF
  refuse.
- The test keyring is the Quantus dev accounts (crystal_alice, dilithium_bob,
  crystal_charlie: ML-DSA-87 from seeds of 0, 1 and 2) in place of sr25519
  Alice…Ferdie and ethereum Alith…Faith.

Fixed along the way: addFromAddress passed the decoded address as a public key.
That is the same bytes on Substrate. Here it is the account id, a hash of the
key, so every watch-only account reported the hash of its own address. It now
carries the address as an account id.

Specs:
- Upstream's per-scheme keyring specs (index, pair, encode, decode, toJson,
  vrf, suri, testingPairs) are replaced by keyring.spec.ts. It covers refusals
  at every entry point (including a polkadot{.js} ed25519 JSON backup), the
  dev-account addresses, watch-only addresses, JSON round trips for both
  schemes, verify in both signature forms and failing under the wrong context
  or signer, and the absence of derivation and VRF.
- The "classical paths unchanged" pins in the ML-DSA specs are gone with the
  paths.
- The BIP39 vectors toEntropy.spec used moved from sr25519/ to
  mnemonic/bip39Vectors.spec.ts.

yarn test: 2747 passing, 0 failing. yarn lint: clean.

hw-ledger and hw-ledger-transports remain. They are device transports holding
no primitives, and nothing consumes them.

Closes #6. Refs #1: signatureVerify is gone rather than made to take a
context; dilithiumVerify is the replacement.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-16 21:05:52 +03:00
7f23d0a609 fix: gate quantum-safe chains in the wallet, not in the network list
Filtering `filterAvailable` by `isQuantumSafe` removed Polkadot and Kusama from
`selectableNetworks`, and `@polkadot/types-known` throws for a chain it holds
upgrade history for but cannot find:

    Error: Unable to find info for chain kusama
      at mapRaw (@polkadot/types-known/upgrades/index.js:13:15)

which made `@polkadot/api` fail at *import* — nothing to do with Quantus, and
not diagnosable from the message.

The mistake was gating a library primitive. These lists say what Substrate
knows about; what a wallet offers is the wallet's decision, and `isQuantumSafe`
stays exported so the extension can make it in its own chain list. Keeping them
complete also means a pasted Polkadot address still decodes and renders as what
it is — recognisable, and therefore refusable. A wallet that cannot decode an
address it will not accept can only say "invalid", which reads as a typo rather
than a warning.

`index.spec.ts` is restored from upstream with only the testnet-exposure and
shared-prefix deltas re-applied, since its network-ordering assertions had
started passing vacuously once Polkadot and Kusama left the list.

Also corrects Heisenberg's token symbol to HEI; `system_properties` on
wss://a1-heisenberg.quantus.cat says HEI, not QTC.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-15 14:14:58 +03:00
rob thijssen
49f3442e5c build: version the forked packages 14.0.3-quantus.1, not upstream's 14.0.3
Publishing under upstream's exact version was not merely confusing in a lockfile
— it was unsafe.

@polkadot/util-crypto pins @polkadot/networks at an exact version, and
@polkadot/keyring pins util-crypto the same way. With every fork numbered
14.0.3, a consumer that forgot one resolution would have yarn quietly satisfy
that pin from npm: the *unforked* upstream package, installing cleanly, with no
Quantus network entry or no isDilithium, and nothing to indicate anything was
wrong until something failed much later for an unrelated-looking reason.

Renaming the forks makes that a resolution failure instead. Verified by deleting
the @polkadot/networks resolution in quantus/ui and running an install:

  YN0082: @polkadot/networks@npm:14.0.3-quantus.1: No candidates found

Unforked dependencies keep upstream's numbers — @polkadot/util, x-bigint,
x-randomvalues, wasm-* — because they come from npm and should.

Published with `--tag quantus`, which npm requires for a prerelease version and
which is the honest dist-tag anyway: these are not upstream's `latest`. The tag
is informational, since consumers pin by tarball URL. The old 14.0.3 artifacts
have been deleted from the registry so nothing can resolve to them.

Refs quantus/extension#2

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-15 11:27:59 +03:00
rob thijssen
b39241c840 build: take @quantus/crypto from the Gitea registry, not a symlink
Replaces the `link:../wasm/packages/quantus-crypto/build` resolution with an
npmScopes entry routing @quantus to https://git.lair.cafe/api/packages/quantus/npm/.

Routing the whole scope is safe here because we own every name in it. The forked
@polkadot packages cannot be handled the same way — most of that scope is
unforked and lives on npm — which is why downstream repos pin those to tarball
URLs instead.

The symlink approach had run out of road. node resolves a portal or link to its
realpath, so a consumer's transitive dependencies then resolve inside the *linked
package's* tree, where workspace entries point at source directories with no
exports map. That cost one workaround here and four in quantus/ui.

Reads from the registry are anonymous; publishing uses
`pass gitea/package-publisher-token`. Note that a version cannot be overwritten
in place — npm refuses — so republishing is delete-then-publish, which that token
can also do.

Refs quantus/extension#2

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-15 11:08:27 +03:00
rob thijssen
74e1e0cc6a feat(util-crypto): export quantus-cli wallet files
The counterpart to the importer, and the thing that stops it being a one-way
door. Without it an extension backup is readable only by polkadot-js-format
tooling, so a user who brought a wallet in could not take it back out.

The assumption that blocked this — that we cannot write the CLI format because we
do not store a mnemonic — turns out to be false. The format has a null-mnemonic
shape and the CLI writes one itself for every raw-seed wallet; crystal_alice,
which `quantus developer create-test-wallets` produces, has exactly that
alongside `derivation_path: "m/"`.

Verified against quantus-cli 2.2.2 rather than inferred. Exports of both schemes
were written into ~/.quantus/wallets and the CLI listed them with the correct
address, scheme and human checkphrase, showed them under `wallet view`, and
answered `export --format mnemonic` with "Mnemonic phrase is not available for
this wallet" — which is a correct statement about the file, and only reachable by
deriving the Argon2 key, opening the AES-GCM box and parsing the payload. Those
probes were removed; the committed test round-trips through our own importer,
since CI has no CLI.

What a null-mnemonic export costs the user is exactly one thing, and it is not
spending: the CLI cannot re-export a phrase from it or derive further accounts.
That is the honest consequence of never storing a phrase we showed once, and it
is the same position a raw-seed CLI wallet is already in.

Argon2 parameters match the CLI's rather than being raised. They travel in the
file and the CLI reads them, so in principle anything works — but "in principle"
is load-bearing there, and a wallet a slightly older CLI cannot open is worse
than a conservatively tuned KDF. Salt and nonce are fresh per export.

metadata.exported_by marks the file, so a CLI maintainer reading a bug report can
tell where it came from without inferring from shape.

Refs quantus/common#8

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-15 10:33:20 +03:00
rob thijssen
e55352aa4e feat(util-crypto): import quantus-cli wallet files
A must-have per the UX decision in quantus/extension#8: the extension has to be
able to take a wallet a user already has. My earlier recommendation against this
was withdrawn — the reasoning was that a file importer would pull the mnemonic
into storage, which is a property of an implementation rather than of the format.
This one derives and discards.

Converts at the edge rather than teaching the keyring a second container.
Decrypt (Argon2id -> AES-256-GCM), take the key material, and hand back a plain
keypair for the caller to re-encrypt as the extension's own PKCS8 under a
password the user chooses. decodePair does not learn about Argon2 and the keyring
keeps exactly one on-disk format.

The CLI stores a mnemonic in every HD wallet. This returns `hadMnemonic` and not
the phrase — the posture is that a storage password unlocks signing and nothing
on disk regenerates the tree, and an import must leave us holding exactly what
importing the same mnemonic by hand would leave us holding. Matching upstream,
which stores key material only.

No new dependencies: @noble/hashes/argon2 was already a util-crypto dependency
and AES-GCM is WebCrypto. Async only because WebCrypto has no synchronous form,
which is a second reason this belongs at the edge — createFromJson is sync and
should stay so.

Three things are refused rather than worked around:

Argon2 parameters are read from the file, not assumed. They are stored because
they are expected to change, and a build that hardcoded m=19456,t=2,p=1 would
reject a correct password on an older or newer wallet — the least useful thing it
could say.

Non-empty kyber_ciphertext/kyber_public_key, and any encryption_version other
than 2, are refused with a message. Those fields are an ML-KEM envelope mode that
is planned or optional; decrypting by the path we know and ignoring them would
fail later and more confusingly, most likely as a bad-password error.

The address sits outside the encrypted blob, so it is the one field an attacker
can edit without the password. cliWalletAddressMatches is exposed separately so
a caller can say "this file's address does not match its key" rather than
"wrong password" — a user can act on the difference.

Fixtures are genuine CLI 2.2.2 output, not blobs this repo encrypted; testing a
decoder against its own encryption proves only self-consistency. They contain no
secret: the mnemonic inside each is the public Substrate dev phrase and the
password is empty, which is the only reason committing a decryptable wallet is
acceptable. The strongest test reaches the same account two ways — through the
CLI container and by deriving from that phrase ourselves.

Refs quantus/common#7

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-15 09:44:07 +03:00
rob thijssen
f7dc72e32c feat(keyring,util-crypto): BIP44 derivation for ML-DSA, in place of junctions
createFromUri now derives ML-DSA pairs from the mnemonic along a hardened BIP44
path rather than from a seed along a junction chain. Lattice keys have no public
derivability, so there is no soft junction to emulate and the chain's own
Pair::derive refuses for the same reason.

The path is m/44'/189189'/<account>'/0'/<0 for 87 | 1 for 65>'. Two things about
it are unusual and both are deliberate: the account index sits at the third level
rather than the last, and the trailing index carries the scheme rather than an
address index. It is what quantus-cli and the mobile wallet already derive, so
anything else produces addresses no other Quantus tool can find.

The ML-DSA branch sits before the existing seeding, not after, because that
seeding is the wrong one for us. mnemonicToMiniSecret is Substrate's variant and
the default reach in this file; using it here yields a perfectly well-formed key
for an account nobody owns. We need the 64-byte BIP39 seed and the HMAC-SHA512
chain keyed with "Dilithium seed", which is what the hdwallet crate does.

Accepted suri forms are nothing (account 0, matching quantus-cli's default),
//<n> for an account index, and //m/44'/… for a full path. Everything else
throws. That matters more than it looks: the syntax was built for curve
junctions, where /foo is soft and //foo hard over arbitrary bytes, and quietly
reinterpreting //Alice as something would hand back an address no other tool
derives and no seed phrase obviously recovers.

A raw hex seed is taken undederived — that is how the dev-genesis accounts are
defined — and combining one with a derivation path is refused rather than
guessed, since whether such a seed is the master or already derived is
unanswerable.

pair.derive() refuses with its own message. Not "not implemented" but not
possible: a child would have to come from this pair's key material, and ML-DSA
keys are not derivable from one another at all. The caller needs the mnemonic, so
the error says so rather than being generically unhelpful.

Verified against quantus-cli for both schemes from the public Substrate dev
phrase, plus index separation, explicit paths agreeing with indices, passphrase
sensitivity, and every refusal.

Refs quantus/common#4

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-15 08:56:20 +03:00
rob thijssen
506b77351c fix(keyring): make account backup and restore work for ML-DSA pairs
Before this, an exported Quantus account could not be imported by anything.
decodePair located its divider by trying the two secret lengths every curve
scheme uses, 64 then 32; an ML-DSA secret is 4032 or 4896 bytes, so neither
matched and restore threw "Invalid encoding divider found in body". That is a
data-durability bug rather than a convenience one, which is why it lands before
any build lets a user create an account.

decodePair now takes an optional secretLength. The caller passes it rather than
this function searching for the divider: searching would work almost always and
fail catastrophically when it did not, since PAIR_DIV is five bytes and a
4032-byte secret contains a false match about once in 270 million keys — and the
result would be a silently wrong key rather than an error. The public key is read
as the remainder, because its length also varies and the body ends there.

The harder half is ordering. createFromJson returns a *locked* pair and callers
read pair.address off it long before any password appears. Every other scheme
manages because the address is the public key; an ML-DSA account id is a one-way
Poseidon2 hash and the public key is inside the encrypted blob. So PairInfo gains
an optional accountId, carried as data and used for the address while locked,
which decodePkcs8 clears once the real key arrives.

It also checks them against each other, and that check is not paranoia. For the
curve schemes a JSON file with an edited `address` field cannot decode at all.
Here it decodes perfectly and yields a pair reporting an address its key does not
control — a user would see someone else's address in their own wallet and believe
they held it. Pinned by a test that tampers exactly that field.

One more silent-wrong-key path closed: decodePkcs8 decided "secret key or seed?"
by length, so a 4032-byte ML-DSA secret took the seed branch and was fed to keygen
as entropy, producing a valid and entirely wrong key. The type knows the answer,
so it is asked.

Refs quantus/common#3

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-15 08:50:56 +03:00
rob thijssen
2bffbc62bc feat(keyring,util-crypto): ML-DSA arms for createPair, alongside the curve ones
Wires @quantus/crypto into the four TYPE_* maps, so a keyring pair of type
dilithium65/dilithium87 can be created, addressed, signed with and verified.
The curve arms are untouched: quantus/common#6 removes them, but only once
post-quantum signing is proven end to end, so that a rejected first extrinsic has
two suspects rather than three.

util-crypto gains thin dilithium/ wrappers so keyring composes primitives the way
it already does for ed25519, rather than reaching into @quantus/crypto directly.

TYPE_ADDRESS is the interesting arm. Every other entry is identity or a cheap
re-encoding because on Substrate the address *is* the public key; ML-DSA takes
1952 or 2592 bytes to 32 with no way back. dilithiumVerify therefore mirrors the
runtime's Verify::verify rather than inventing anything: split sig||pk, hash the
embedded public key, check it equals the account being verified against, and only
then check the signature. Skipping the account check would accept a valid
signature from *some* key rather than *the* key, which is the whole property.

TYPE_PREFIX gets 0 for dilithium87 and 1 for dilithium65. For the curve types
those index Substrate's MultiSignature; here they index the runtime's
DilithiumSignatureScheme — a different enum reached by the same withType
mechanism, so nothing upstream of createPair needs to know.

Signing takes a mandatory context, which is quantus/common#5 arriving early
because the two are inseparable: TYPE_SIGNATURE cannot have an ML-DSA arm without
one. There is deliberately no default. Extrinsics on spec >= 148 verify under
QUANTUS_EXTRINSIC and earlier ones under the empty context, and the wrong choice
is a valid signature the chain rejects, indistinguishable locally. Only the
caller knows the spec version.

The curve sign functions are wrapped rather than passed by reference: ed25519Sign
and sr25519Sign take a third argument of their own (onlyJs), and letting it line
up with the context slot would silently reinterpret a Uint8Array as a boolean.

VRF signing refuses for ML-DSA. The construction fakes a VRF from an ordinary
signature, which is sound only given properties ML-DSA's signature does not have;
producing something that looks like a VRF proof and cannot be verified as one is
worse than refusing.

Two runtime whitelists sat behind the KeypairType union and silently rejected the
new types — the Keyring constructor and createFromJson. The compiler cannot see
those, and the first failed at construction with a message listing four types.
Both now use one named KEYPAIR_TYPES so the next change to the union has a single
place to look and the message cannot drift from the check.

Verified against quantus-cli, not against ourselves: keyring.addFromSeed with 32
zero bytes yields crystal_alice's address, signs to the runtime's wire length,
verifies under the extrinsic context and fails under the spec-147 one, and
another account's signature is rejected for it.

Refs quantus/common#2, quantus/common#5

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-10 18:43:25 +03:00
rob thijssen
c616a0d949 feat(networks): offer only chains whose accounts are post-quantum
Deployments built on this fork should gate on chains using PQ algorithms, so
`availableNetworks` and `selectableNetworks` now exclude anything whose
standardAccount is a discrete-log scheme. *25519, Ed25519, Sr25519 and secp256k1
are all broken at once by Shor's algorithm, so a chain using one has no
quantum-safe account type to offer whatever else is true of it. A null
standardAccount counts as unsafe: unknown is not the same as safe, and being
wrong in that direction means a user holding funds under a recoverable key.

`allNetworks` is deliberately left complete. Gating what we offer must not gate
what we can read — a pasted Polkadot address has to render as a Polkadot address
so it can be recognised and refused. A wallet that cannot decode an address it
will not accept can only say "invalid", which reads as a typo rather than as a
warning.

Five upstream tests asserted the shape of a list that now holds two entries
instead of a hundred and fifty. Each is rewritten to assert the rule that
displaced it rather than deleted:
  - starting order 0/2/42 and tail 'ZERO'/'Zeitgeist' become "offers only
    post-quantum chains", plus an explicit test that non-PQ chains remain
    decodable, since that distinction is the whole design
  - the ledger slip44 check becomes its inverse: nothing offered should claim
    hardware support, because no PQ chain has a Ledger app — the devices speak
    ed25519 over the Substrate app. knownLedger is left intact rather than
    emptied so a rebase has nothing to reconcile; it simply matches nothing
  - the Polkadot field fixture becomes the Quantus one

Refs quantus/common#1

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-10 18:28:13 +03:00
rob thijssen
6ed8b1ea6d feat(util-crypto,networks): open KeypairType to ML-DSA, register Quantus
Adds dilithium65 and dilithium87 to KeypairType, and Quantus to the network
registry at SS58 prefix 189.

Two types rather than one because the parameter set is not an implementation
detail: it selects the signature enum variant byte the chain reads off the wire,
it selects the trailing hardened index of the derivation path, and it fixes the
key and signature lengths. New accounts use dilithium65; dilithium87 is legacy,
used by accounts predating the recorded scheme and by the dev-genesis accounts,
so it is supported but never chosen.

Opening the union turns every table keyed by KeypairType into a type error,
which is the point — it enumerates precisely the places needing a post-quantum
answer. Where that answer is not written yet, assertSubstrateType() expresses the
gap as a named, typed refusal at the call site rather than a silent undefined
from an object index. It throws rather than degrading because all of these paths
produce key material or an address, and a wrong-but-plausible value means funds
at an address nobody controls. Call sites disappear as quantus/common#2 and #4
land. keyFromPath throws for the same reason: silently ignoring a derivation
path would hand back the parent key under a child's name.

Quantus is appended to the registry rather than merged — @substrate/ss58-registry
does not carry it and nothing occupies prefixes 185..195, so there is nothing to
override, and appending means a registry bump cannot silently drop it.
standardAccount is 'ml-dsa', a value upstream's closed union does not allow,
hence the widened KnownSubstrate; it is load-bearing, since a missing
standardAccount makes toExpanded mark the network isIgnored.

Testnets are first-class in this fork. Upstream drops any testnet from
availableNetworks however complete its entry is, which suits a production chain
picker and not us: Quantus is under active development and a wallet that cannot
reach Heisenberg can only be tested against real funds. The exception is an
allowlist (exposedTestnet) rather than removing the rule — removing it exposed
all fifteen of upstream's testnets too, moving the sorted tail from 'ZERO' to
'ZERO Alphaville', which is a change we have no reason to make. isTestnet is
still reported honestly so consumers can label or filter; we just stop deciding
for them.

Genesis hashes come from blackbeard.observer's config, which records their
provenance: mainnet read from the node with chain_getBlockHash(0) on 2026-09-09,
its launch day, and explicitly not the staging chain that telemetry calls
"Quantus Staging Mainnet". Symbol and decimals (QTC, 12) agree between the
chain's chain_spec.rs and the Dart SDK's AppConstants.

Three upstream tests encoded rules this fork no longer follows. Each is rewritten
to assert the new rule rather than deleted:
  - genesis entries for testnets are now allowed, for ones we opted into
  - an exposed testnet must still be labelled a testnet, since a user cannot tell
    play money from real money by looking at an address
  - one network per SS58 prefix stops holding when a chain has a testnet;
    mainnet and Heisenberg are both 189 because an address is valid on either,
    and consumers key on genesisHash rather than prefix

Refs quantus/common#1

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-10 14:50:49 +03:00
github-actions[bot]
9281daa14c [CI Skip] release/stable 14.0.3
Some checks failed
Lock Threads / lock (push) Has been cancelled
skip-checks: true
2026-03-23 12:53:26 +00:00
Tarik Gul
c7ed69fe55 14.0.3 (#2025) 2026-03-23 14:48:13 +02:00
github-actions[bot]
22a1246672 [CI Skip] bump/beta 14.0.3-0-x
skip-checks: true
2026-03-22 21:42:26 +00:00
Francis O'Brien
4a5b6acc78 Fix(hw-ledger): reset transport on operation errors and add explicit disconnect API (#2024)
* fix(hw-ledger): close transport on withApp errors

* feat(hw-ledger): add disconnect method to close active transport connection
2026-03-22 17:37:13 -04:00
github-actions[bot]
152d4609a4 [CI Skip] release/stable 14.0.2
skip-checks: true
2026-03-16 18:24:20 +00:00
Tarik Gul
4ab957e568 14.0.2 (#2023) 2026-03-16 20:19:11 +02:00
github-actions[bot]
610c8bb15f [CI Skip] bump/beta 14.0.2-1-x
skip-checks: true
2026-03-13 20:55:22 +00:00
AndreasGassmann
372d460f1a fix(util-crypto): use correct x/y getters in secp256k1Expand (#2018) 2026-03-13 16:50:22 -04:00
github-actions[bot]
a8732a99aa [CI Skip] bump/beta 14.0.2-0-x
skip-checks: true
2026-03-12 16:59:11 +00:00
Tarik Gul
8d3cb0eb6b Set headers to 2026 (#2021) 2026-03-12 18:53:56 +02:00
github-actions[bot]
fe0886be23 [CI Skip] release/stable 14.0.1
skip-checks: true
2025-12-09 08:34:53 +00:00
rajk93
bac357ae10 14.0.1 (#2014)
* 14.0.1

* chore: update CHANGELOG.md
2025-12-09 14:01:18 +05:30
github-actions[bot]
4ab7a5bfe0 [CI Skip] bump/beta 13.5.10-1-x
skip-checks: true
2025-12-09 07:34:50 +00:00
rajk93
440b146a24 fix(x-randomvalues): prioritize native RN modules over polyfilled crypto (#2013) 2025-12-09 13:01:07 +05:30
github-actions[bot]
ae0735ccda [CI Skip] bump/beta 13.5.10-0-x
skip-checks: true
2025-12-08 13:13:55 +00:00
Paul Miller
57551b38a0 sr25519: switch from wasm to micro-sr25519 (#1971)
* sr25519: switch from wasm to micro-sr25519

* commit yarn lockfile

* Update to scure/sr25519 v0.2

* Fix build

* Commit
2025-12-08 18:40:16 +05:30
github-actions[bot]
bf63a0ebf6 [CI Skip] release/stable 13.5.9
skip-checks: true
2025-11-25 08:17:11 +00:00
rajk93
d78344d000 13.5.9 (#2012) 2025-11-25 13:43:32 +05:30
github-actions[bot]
169a702c88 [CI Skip] bump/beta 13.5.9-0-x
skip-checks: true
2025-11-25 08:02:38 +00:00
rajk93
b4d73ef49a chore: bump polkadot dependencies (#2011) 2025-11-25 13:28:57 +05:30
github-actions[bot]
21ef853fbd [CI Skip] release/stable 13.5.8
skip-checks: true
2025-11-11 06:04:48 +00:00
rajk93
a4d940cb69 13.5.8 (#2010) 2025-11-11 11:31:13 +05:30
github-actions[bot]
6423537dbe [CI Skip] bump/beta 13.5.8-0-x
skip-checks: true
2025-11-11 04:05:17 +00:00
rajk93
61125b3582 chore: bump polkadot dependencies (#2009) 2025-11-11 09:31:28 +05:30
github-actions[bot]
7d77f89f34 [CI Skip] release/stable 13.5.7
skip-checks: true
2025-10-13 14:54:53 +00:00
Valentin Fernandez
bee7204f95 13.5.7 (#2008) 2025-10-13 11:51:23 -03:00
github-actions[bot]
bb0715ec2f [CI Skip] bump/beta 13.5.7-0-x
skip-checks: true
2025-10-13 14:24:21 +00:00
Valentin Fernandez
2212f31f9a Revert "Set pbkdf2Encode rounds to default to 210,000 (#1983)" (#2007)
This reverts commit e5e6bdd814.
2025-10-13 11:20:32 -03:00
github-actions[bot]
047840319e [CI Skip] release/stable 13.5.6
skip-checks: true
2025-08-26 16:49:24 +00:00
Arjun Porwal
3fbf0b98c2 13.5.6 (#2004) 2025-08-26 13:45:40 -03:00
github-actions[bot]
e6b0411e9c [CI Skip] bump/beta 13.5.6-2-x
skip-checks: true
2025-08-26 14:00:47 +00:00
Valentin Fernandez
6e8199bab7 Bump @polkadot/wasm deps (#2002)
* bump  deps

* small tweak
2025-08-26 10:56:53 -03:00
github-actions[bot]
8ca4525570 [CI Skip] bump/beta 13.5.6-1-x
skip-checks: true
2025-08-22 14:13:55 +00:00
henrikdent
0c3a71145a Add DENTNet ledger support (via generic Polkadot app) (#1942) 2025-08-22 11:10:05 -03:00
github-actions[bot]
9c1be4f19b [CI Skip] bump/beta 13.5.6-0-x
skip-checks: true
2025-08-20 15:59:22 +00:00
Tarik Gul
e5e6bdd814 Set pbkdf2Encode rounds to default to 210,000 (#1983)
* Set pbkdf2Encode rounds to default to 210,000

* Cap amount of rounds to 2048 when onlyJS = true to prevent overflow issues.

* Patch tests to use a consistent amount of encoding rounds.

* lint

* Add additional docs

* lint

---------

Co-authored-by: Valentin Fernandez <tinchofernandez8@gmail.com>
2025-08-20 12:55:25 -03:00
github-actions[bot]
55a3201bd5 [CI Skip] release/stable 13.5.5
skip-checks: true
2025-08-11 15:47:48 +00:00
Valentin Fernandez
de2538c18d 13.5.5. (#2000) 2025-08-11 12:44:05 -03:00
github-actions[bot]
e8dced9fed [CI Skip] bump/beta 13.5.5-0-x
skip-checks: true
2025-08-04 17:54:26 +00:00
José Molina Colmenero
0afe1144d1 Add ledger support for Mythos (#1969)
* Add ledger support for Mythos

* Fix linting issues

* Remove Mythos from prevLedgerRecord

* allow mythos ss58

* ss58 Exceptions list

---------

Co-authored-by: Valentin Fernandez <tinchofernandez8@gmail.com>
2025-08-04 14:50:37 -03:00
github-actions[bot]
5a04d67bb2 [CI Skip] release/stable 13.5.4
skip-checks: true
2025-07-28 16:16:48 +00:00
Arjun Porwal
41481c1e3a 13.5.4 (#1999) 2025-07-28 21:43:02 +05:30
github-actions[bot]
8a8b583f81 [CI Skip] bump/beta 13.5.4-0-x
skip-checks: true
2025-07-28 15:59:37 +00:00
Salina
03c8169cd9 Add Creditcoin3 support to Generic Ledger App (#1985)
* Update genesis.ts with creditcoin3 geneis hash

* Update defaults.ts with a Creditcoin3

* Update ledger.ts with creditcoin3

* Update defaults.ts to move creditcoin3 in sorted order

* chore: move creditcoin3 to genericLedgerApps

* chore: add cc3 testnet, drynet and devnet

* chore: yarn lint

---------

Co-authored-by: Beqa Abuladze <beqaabuladze.00@gmail.com>
2025-07-28 21:25:51 +05:30
github-actions[bot]
f9ee358442 [CI Skip] release/stable 13.5.3
skip-checks: true
2025-07-01 15:36:43 +00:00
rajk93
ef5cfc728c 13.5.3 (#1996) 2025-07-01 12:32:55 -03:00
github-actions[bot]
88b8a54018 [CI Skip] bump/beta 13.5.3-2-x
skip-checks: true
2025-07-01 14:46:07 +00:00
rajk93
8c666725b2 chore: update polkadot dependencies (#1995) 2025-07-01 11:42:12 -03:00
github-actions[bot]
daabdfac45 [CI Skip] bump/beta 13.5.3-1-x
skip-checks: true
2025-06-30 10:23:33 +00:00
Arjun Porwal
538359fd49 Add Optional Strict Input Checking to u8aToU8a (#1994)
* fix: add error handling for null and undefined inputs in u8aToU8a function

* fix: update u8aToU8a function to handle null/undefined inputs with strict checking

* docs: update documentation for u8aToU8a
2025-06-30 15:49:42 +05:30
github-actions[bot]
df044669e2 [CI Skip] bump/beta 13.5.3-0-x
skip-checks: true
2025-06-18 16:10:04 +00:00
Arjun Porwal
60374f417a Update scrypt parameter validation (#1993)
* feat: update scrypt parameter validation to use ALLOWED_PARAMS

* fix: lint
2025-06-18 21:36:13 +05:30
github-actions[bot]
5235009f4c [CI Skip] release/stable 13.5.2
skip-checks: true
2025-06-17 14:57:41 +00:00
Valentin Fernandez
21bfff5a51 13.5.2 (#1992) 2025-06-17 11:54:01 -03:00
github-actions[bot]
963025daab [CI Skip] bump/beta 13.5.2-2-x
skip-checks: true
2025-06-17 04:38:45 +00:00
rajk93
ec7ef17b64 chore: add error handling for secure rng in react native (#1991) 2025-06-17 10:04:59 +05:30
github-actions[bot]
ef94fed1fe [CI Skip] bump/beta 13.5.2-1-x
skip-checks: true
2025-06-13 13:20:09 +00:00
Arjun Porwal
43ac361806 Add input length validation in scryptFromU8a function (#1990)
* fix: add input length validation in scryptFromU8a function

* fix: improve input validation in scryptFromU8a function

* fix: linting

* fix: update default Scrypt parameters for improved security

* revert: 9070615

* fix: remove dymanic calculation
2025-06-13 10:16:25 -03:00
github-actions[bot]
2bc18cfdbb [CI Skip] bump/beta 13.5.2-0-x
skip-checks: true
2025-05-26 12:10:45 +00:00
Radek Bochenek
be7df03e7c feat: add Liberland support to Generic Ledger App (#1989) 2025-05-26 08:06:55 -04:00
github-actions[bot]
0ae44ed34e [CI Skip] release/stable 13.5.1
skip-checks: true
2025-05-19 15:50:11 +00:00
Tarik Gul
09d54ea200 13.5.1 (#1988) 2025-05-19 18:46:33 +03:00
github-actions[bot]
457ea1a0b7 [CI Skip] bump/beta 13.4.5-1-x
skip-checks: true
2025-05-19 15:20:57 +00:00
Tarik Gul
972363a5bb Bump yarn to 4.9.1 (#1987) 2025-05-19 18:17:15 +03:00
github-actions[bot]
e59fe6fd22 [CI Skip] bump/beta 13.4.5-0-x
skip-checks: true
2025-05-19 04:16:27 +00:00
Tarik Gul
35f9f4468b Ledger ECDSA signing support (#1986)
* Ledger ECDSA signing support

* Updates inline docs

* linter
2025-05-19 07:12:41 +03:00
github-actions[bot]
802174d6ad [CI Skip] release/stable 13.4.4
skip-checks: true
2025-04-14 13:38:40 +00:00
Valentin Fernandez
d690abea02 13.4.4 (#1984) 2025-04-14 10:35:01 -03:00
github-actions[bot]
26a762ae2e [CI Skip] bump/beta 13.4.4-0-x
skip-checks: true
2025-04-11 11:40:53 +00:00
Tarik Gul
9d49bcde75 Improve objectSpread function property handling (#1982)
* Improve objectSpread function property handling

* fix linter
2025-04-11 14:37:13 +03:00
github-actions[bot]
8b0f5bf46e [CI Skip] release/stable 13.4.3
skip-checks: true
2025-02-17 17:14:33 +00:00
Tarik Gul
a75d8761da 13.4.3 (#1981) 2025-02-17 19:10:53 +02:00
github-actions[bot]
a58fb0bbff [CI Skip] bump/beta 13.4.3-0-x
skip-checks: true
2025-02-17 16:45:40 +00:00
Valentin Fernandez
0467c410c8 Rollback ws change on x-ws (#1980) 2025-02-17 11:41:53 -05:00
github-actions[bot]
095095074e [CI Skip] release/stable 13.4.2
skip-checks: true
2025-02-17 14:32:08 +00:00
Tarik Gul
18a6764841 13.4.2 (#1979) 2025-02-17 16:28:27 +02:00
github-actions[bot]
0e0de687c3 [CI Skip] bump/beta 13.4.2-0-x
skip-checks: true
2025-02-17 14:14:17 +00:00
Valentin Fernandez
6197a897aa Cast ws as global.WebSocket (#1978) 2025-02-17 09:10:28 -05:00
github-actions[bot]
0f7954a89b [CI Skip] release/stable 13.4.1
skip-checks: true
2025-02-17 01:55:44 +00:00
Tarik Gul
e056618d2e 13.4.1 (#1977)
* 13.4.1

* Update changelog
2025-02-17 03:51:57 +02:00
github-actions[bot]
82a485cc9c [CI Skip] bump/beta 13.3.2-4-x
skip-checks: true
2025-02-16 17:40:17 +00:00
Valentin Fernandez
2cbea7bf8d Fix Misclassification of ECDSA Signatures in verifyMultisig() (#1973)
* Fix multisignature routing to properly detect signature type

* Improve testing suite

* update dep in tests

* lint

* revert changes to tests

* Add reprocible test

---------

Co-authored-by: tarikgul <tariksnow37@gmail.com>
2025-02-16 12:36:35 -05:00
github-actions[bot]
748f670351 [CI Skip] bump/beta 13.3.2-3-x
skip-checks: true
2025-02-12 20:13:38 +00:00
Valentin Fernandez
5b2749073f Fix: Use ws library in Node.js 22+ for Better WebSocket Error Handling (#1976)
* Fallback to ws library on NodeJS 22+

* Add github issue reference to docs
2025-02-12 15:09:56 -05:00
github-actions[bot]
a328ab4409 [CI Skip] bump/beta 13.3.2-2-x
skip-checks: true
2025-02-05 11:45:04 +00:00
Valentin Fernandez
e25bb48ba9 Allow keyringPair to create using a mnemonic wordlist (#1974) 2025-02-05 06:41:14 -05:00
github-actions[bot]
8456870148 [CI Skip] bump/beta 13.3.2-1-x
skip-checks: true
2025-01-17 17:42:50 +00:00
Tarik Gul
6f8caad80f Bump dev to 0.83.2 (#1972)
* Bump dev to 0.83.1

* Test deno version

* test with deno 2.1.4

* correct version

* 1.46.3

* Up to 0.83.2
2025-01-17 19:39:05 +02:00
github-actions[bot]
25fe5f4e27 [CI Skip] bump/beta 13.3.2-0-x
skip-checks: true
2025-01-06 16:23:17 +00:00
Tarik Gul
da2edf0aa0 Bump yarn to 4.6.0 (#1967) 2025-01-06 18:16:58 +02:00
github-actions[bot]
eb7b24f9aa [CI Skip] release/stable 13.3.1
skip-checks: true
2025-01-06 14:53:56 +00:00
Tarik Gul
f4e93cf2c2 13.3.1 (#1966) 2025-01-06 16:47:34 +02:00
github-actions[bot]
85b2da734c [CI Skip] bump/beta 13.2.4-0-x
skip-checks: true
2025-01-02 15:43:59 +00:00
Tarik Gul
5d03be1084 Fix toLocaleString for v22.12 (#1965)
* Fix toLocaleString for v22.12

* fix ci

* Update tests, and cleanup solution

* remove ar locale
2025-01-02 17:37:40 +02:00
Tarik Gul
2261862097 2025 (#1963)
* 2025

* Set CI version so header passes
2025-01-01 20:53:24 +02:00
github-actions[bot]
20d3af56ec [CI Skip] release/stable 13.2.3
skip-checks: true
2024-11-11 15:30:23 +00:00
Tarik Gul
367633a612 13.2.3 (#1960) 2024-11-11 17:24:04 +02:00
github-actions[bot]
b127f678e9 [CI Skip] bump/beta 13.2.3-1-x
skip-checks: true
2024-11-11 15:06:22 +00:00
Tarik Gul
3404ad2945 Bump dev to 0.82.1 (#1959) 2024-11-11 16:59:56 +02:00
github-actions[bot]
4059615d66 [CI Skip] bump/beta 13.2.3-0-x
skip-checks: true
2024-11-05 14:54:53 +00:00
Dmitrii Novikov
be9739ee9f Add Vara support to Generic Ledger App (#1958)
* add 'Vara' support to the Generic Ledger App

* add 'Vara Testnet' support to the Generic Ledger App

* remove testnet entry
2024-11-05 09:48:22 -05:00
github-actions[bot]
6ec09907a2 [CI Skip] release/stable 13.2.2
skip-checks: true
2024-10-28 15:40:57 +00:00
Tarik Gul
677a778833 13.2.2 (#1956) 2024-10-28 17:35:01 +02:00
github-actions[bot]
fa90f0a747 [CI Skip] bump/beta 13.2.2-2-x
skip-checks: true
2024-10-28 14:02:14 +00:00
Wil Wade
e721c4f508 Add Frequency to the Generic Ledger App (#1955) 2024-10-28 09:56:24 -04:00
github-actions[bot]
7f5bd09322 [CI Skip] bump/beta 13.2.2-1-x
skip-checks: true
2024-10-23 13:32:49 +00:00
Leonardo Razovic
5d6244fc0b feat: add Polimec (#1945) 2024-10-23 09:26:59 -04:00
github-actions[bot]
58f12c4257 [CI Skip] bump/beta 13.2.2-0-x
skip-checks: true
2024-10-22 14:30:05 +00:00
Tarik Gul
038d20b5e7 Bump yarn to 4.5.1 (#1953) 2024-10-22 17:24:18 +03:00
github-actions[bot]
c9d8c52567 [CI Skip] release/stable 13.2.1
skip-checks: true
2024-10-21 12:56:29 +00:00
Tarik Gul
3b85773636 13.2.1 (#1952) 2024-10-21 15:50:45 +03:00
github-actions[bot]
269740b775 [CI Skip] bump/beta 13.1.2-6-x
skip-checks: true
2024-10-21 03:07:39 +00:00
Tarik Gul
fc732b8c44 Bump dev to 0.81.2 (#1951) 2024-10-21 06:01:55 +03:00
github-actions[bot]
2c4deb3f9d [CI Skip] bump/beta 13.1.2-5-x
skip-checks: true
2024-10-21 02:48:41 +00:00
Tarik Gul
ebcb6857ad Bump polkadot/wasm to 7.4.1 (#1950) 2024-10-21 05:42:43 +03:00
github-actions[bot]
0ff31d7980 [CI Skip] bump/beta 13.1.2-4-x
skip-checks: true
2024-10-16 22:22:44 +00:00
Tarik Gul
d897f25546 Update ws and deps (#1949)
* Update ws and deps

* fix tests
2024-10-17 01:16:53 +03:00
github-actions[bot]
3c431d5a01 [CI Skip] bump/beta 13.1.2-3-x
skip-checks: true
2024-10-16 15:10:34 +00:00
Tarik Gul
55ae71125d Update ledger deps (#1948) 2024-10-16 18:04:38 +03:00
github-actions[bot]
fcd8cee7f6 [CI Skip] bump/beta 13.1.2-2-x
skip-checks: true
2024-10-16 14:12:27 +00:00
Tarik Gul
8aa4e60c4c Bump yarn to 4.5.0 (#1946) 2024-10-16 17:06:39 +03:00
github-actions[bot]
85665dfa20 [CI Skip] bump/beta 13.1.2-1-x
skip-checks: true
2024-10-16 13:49:06 +00:00
Tarik Gul
5f8f3e6309 Fix Deno CI Build (#1947) 2024-10-16 16:43:10 +03:00
github-actions[bot]
166845e367 [CI Skip] bump/beta 13.1.2-0-x
skip-checks: true
2024-09-18 12:33:52 +00:00
Cameron Fairchild
7c7233efd1 Add bittensor to genericLedgerApps (#1941)
* add bittensor to genericLedgerApps

* add CLA to the knownLedger obj
2024-09-18 08:28:02 -04:00
github-actions[bot]
cb7f0da916 [CI Skip] release/stable 13.1.1
skip-checks: true
2024-09-16 13:04:16 +00:00
Tarik Gul
7d654c236f 13.1.1 (#1943)
* 13.0.3

* Make release for 13.1.1

* fix changelog
2024-09-16 15:58:19 +03:00
github-actions[bot]
6b4d9aac29 [CI Skip] bump/beta 13.0.3-9-x
skip-checks: true
2024-09-11 18:10:00 +00:00
Tarik Gul
4f863ddc29 Bump yarn to 4.1.1 (#1940) 2024-09-11 21:04:06 +03:00
github-actions[bot]
a4a85a3a5d [CI Skip] bump/beta 13.0.3-8-x
skip-checks: true
2024-09-11 17:48:28 +00:00
Tarik Gul
2a6669c25d Add Encointer and adjust tests (#1939) 2024-09-11 20:42:39 +03:00
github-actions[bot]
cb4c9fd90a [CI Skip] bump/beta 13.0.3-7-x
skip-checks: true
2024-08-30 14:58:36 +00:00
Jakub Pánik
28beb44374 HydraDX -> Hydration rebrand (#1923)
* hydration rebrand

* Update packages/hw-ledger/src/defaults.ts
2024-08-30 10:52:42 -04:00
github-actions[bot]
4a4847b032 [CI Skip] bump/beta 13.0.3-6-x
skip-checks: true
2024-08-30 12:54:02 +00:00
Tarik Gul
506c20a900 Update ss58 (#1937) 2024-08-30 15:48:15 +03:00
github-actions[bot]
736656f34f [CI Skip] bump/beta 13.0.3-5-x
skip-checks: true
2024-08-29 13:39:47 +00:00
Tarik Gul
31274916f9 Bump dev, and typescript (#1936) 2024-08-29 16:33:50 +03:00
github-actions[bot]
6e1afdc2f8 [CI Skip] bump/beta 13.0.3-4-x
skip-checks: true
2024-08-14 21:06:32 +00:00
Tarik Gul
fd26d223be Bump yarn to 4.4.0 (#1935) 2024-08-15 00:00:35 +03:00
github-actions[bot]
86d8c81c27 [CI Skip] bump/beta 13.0.3-3-x
skip-checks: true
2024-08-14 19:54:56 +00:00
Tarik Gul
2de22cbb31 Update all deps that can do patch releases (#1934) 2024-08-14 22:49:01 +03:00
github-actions[bot]
c1b8098b9e [CI Skip] bump/beta 13.0.3-2-x
skip-checks: true
2024-07-22 17:36:18 +00:00
Tarik Gul
ee0ed25a83 Bump @substrate/ss58-registry to 1.49.0 (#1932) 2024-07-22 20:30:33 +03:00
github-actions[bot]
7ef452bdf0 [CI Skip] bump/beta 13.0.3-1-x
skip-checks: true
2024-07-20 20:52:54 +00:00
Tarik Gul
eb41ab5bed Revert slip44 change (#1931) 2024-07-20 23:47:07 +03:00
github-actions[bot]
6947b1e4d9 [CI Skip] bump/beta 13.0.3-0-x
skip-checks: true
2024-07-16 04:48:46 +00:00
Tarik Gul
527b4f0eeb Remove slip44, and replace with POLKADOT_SLIP (#1930) 2024-07-16 07:42:57 +03:00
github-actions[bot]
44f7443d13 [CI Skip] release/stable 13.0.2
skip-checks: true
2024-07-13 00:18:37 +00:00
Tarik Gul
2b800577a5 13.0.2 (#1929)
* 13.0.2

* credit
2024-07-13 03:12:51 +03:00
github-actions[bot]
c9ca01e96b [CI Skip] bump/beta 13.0.2-0-x
skip-checks: true
2024-07-12 23:22:45 +00:00
Lovish Arora
ca93f3337f Add peaq support for ledger (#1928) 2024-07-12 19:16:57 -04:00
github-actions[bot]
557a681fe9 [CI Skip] release/stable 13.0.1
skip-checks: true
2024-07-12 17:51:16 +00:00
Tarik Gul
97b1fdf089 13.0.1 (#1927)
* 13.0.1

* Fix changelog
2024-07-12 13:45:20 -04:00
github-actions[bot]
9971684972 [CI Skip] bump/beta 12.6.3-13-x
skip-checks: true
2024-07-12 16:29:52 +00:00
Tarik Gul
04ab9dd77d Bump yarn to 4.3.1 (#1926) 2024-07-12 19:23:58 +03:00
github-actions[bot]
b2bf9f4d53 [CI Skip] bump/beta 12.6.3-12-x
skip-checks: true
2024-07-12 15:59:29 +00:00
Tarik Gul
4d629fd8ce Add support for latest ledger app (#1925)
* Update ledger deps

* Update code to fit within interface

* additional changes

* fix import

* Get a working version with ledger

* Add metaUrl

* Ensure no breaking changes by keeping legacy Ledger class

* Update to include signWithMetadata

* lint

* Ensure error code is part of the message

* Update interface

* Fix address

* remove wrapped bytes for sign with metadata

* rolled back derivation path changes

* Update naming

* Fix inline docs

* Deprecate Ledger

---------

Co-authored-by: bee344 <alberto.penayo@parity.io>
2024-07-12 11:53:35 -04:00
github-actions[bot]
37fa211fdb [CI Skip] bump/beta 12.6.3-11-x
skip-checks: true
2024-05-14 00:45:17 +00:00
Tarik Gul
a4a9a3dead Bump yarn to 4.2.2 (#1922) 2024-05-14 03:39:22 +03:00
github-actions[bot]
e025195a9b [CI Skip] bump/beta 12.6.3-10-x
skip-checks: true
2024-05-14 00:21:30 +00:00
Tarik Gul
744e4c72d5 Bump @polkadot/dev to 0.79.1 w/ topo sort (#1921) 2024-05-14 03:15:44 +03:00
github-actions[bot]
f23f0944a8 [CI Skip] bump/beta 12.6.3-9-x
skip-checks: true
2024-04-08 17:31:00 +00:00
Tarik Gul
6e28612f34 Update ci to checkout and setup_node v4 (#1918) 2024-04-08 20:25:08 +03:00
github-actions[bot]
57b0601f9b [CI Skip] bump/beta 12.6.3-8-x
skip-checks: true
2024-03-26 01:12:02 +00:00
Tarik Gul
ee9d76639c Bump yarn to 4.1.1 (#1915) 2024-03-26 03:06:57 +02:00
github-actions[bot]
db25938ad7 [CI Skip] bump/beta 12.6.3-7-x
skip-checks: true
2024-02-17 14:09:08 +00:00
Tarik Gul
175b0ef307 chore(yarn): update yarn to 4.1.0 (#1913) 2024-02-17 16:03:52 +02:00
github-actions[bot]
944c50d015 [CI Skip] bump/beta 12.6.3-6-x
skip-checks: true
2024-02-17 02:04:09 +00:00
Tarik Gul
191db8ea10 ci: add user (TarikGul) to auto-approve (#1914) 2024-02-17 03:58:55 +02:00
github-actions[bot]
095db555ba [CI Skip] bump/beta 12.6.3-5-x
skip-checks: true
2024-01-24 06:17:12 +00:00
Jaco
a23989ca9d Bump deps (#1912) 2024-01-24 08:11:46 +02:00
github-actions[bot]
a82ebdf6f9 [CI Skip] bump/beta 12.6.3-4-x
skip-checks: true
2024-01-09 07:35:28 +00:00
Jaco
e6fbf01aa1 Comments around pair encode/decode 1-3 (#1910)
* Comments around pair generation 1-3

* Encoding comments
2024-01-09 09:30:21 +02:00
github-actions[bot]
00876f0b64 [CI Skip] bump/beta 12.6.3-3-x
skip-checks: true
2024-01-08 13:13:36 +00:00
Jaco
22aab4a4e6 2024 (#1909) 2024-01-08 15:08:27 +02:00
github-actions[bot]
6971012f4a [CI Skip] bump/beta 12.6.3-2-x
skip-checks: true
2023-12-19 10:31:18 +00:00
Jaco
fc217b66ce Bump dev (#1905) 2023-12-19 12:26:12 +02:00
github-actions[bot]
fb42e8f7ee [CI Skip] bump/beta 12.6.3-1-x
skip-checks: true
2023-12-19 08:48:01 +00:00
Jaco
b4e3ed0a42 Bump dev w/ sideEffects adjustments (#1904) 2023-12-19 10:42:57 +02:00
github-actions[bot]
e1218157a3 [CI Skip] bump/beta 12.6.3-0-x
skip-checks: true
2023-12-19 08:20:52 +00:00
Jaco
2dc171639d Bump dev w/ detectPackage adjustments (#1903)
* Bump dev w/ detectPackage adjustments

* Fix spec import

* Adjust line flow
2023-12-19 10:15:38 +02:00
github-actions[bot]
4da1e8ba62 [CI Skip] release/stable 12.6.2
skip-checks: true
2023-12-18 09:47:28 +00:00
Jaco
d498ad4424 12.6.2 (#1902) 2023-12-18 11:42:21 +02:00
github-actions[bot]
9a9650261b [CI Skip] bump/beta 12.6.2-1-x
skip-checks: true
2023-12-18 08:35:49 +00:00
Jaco
6dfff0d40c Bump yarn berry, bump deps (#1901) 2023-12-18 10:30:39 +02:00
github-actions[bot]
0770bed5fd [CI Skip] bump/beta 12.6.2-0-x
skip-checks: true
2023-12-12 05:39:14 +00:00
Jaco
6fde7bc5a0 Bump dev deps (w/ TS 5.3.3.) (#1900)
* Bump dev deps (w/ TS 5.3.3.)

* Deno override to any

* Exdplicit around esm.sh work-around
2023-12-12 07:33:59 +02:00
github-actions[bot]
f55e88c116 [CI Skip] release/stable 12.6.1
skip-checks: true
2023-11-18 05:02:49 +00:00
Jaco
abd4cfdd1f 12.6.1 (#1897) 2023-11-18 06:57:34 +02:00
github-actions[bot]
f261ea2924 [CI Skip] bump/beta 12.5.2-10-x
skip-checks: true
2023-11-17 19:50:01 +00:00
Jaco
f14d2681b1 Fix build for esm/cjs warning additions (#1896) 2023-11-17 21:44:51 +02:00
github-actions[bot]
b9be030f12 [CI Skip] bump/beta 12.5.2-9-x
skip-checks: true
2023-11-17 19:14:46 +00:00
Chris
bc103d9479 Get rid of warnings for dual esm and cjs packages of the same version (#1890)
* Get rid of warnings for dual esm and cjs packages of the same version

* Add command line flag for suppressing ESM CJS warnings when all packages are of the same version
2023-11-17 21:09:29 +02:00
github-actions[bot]
c76c754741 [CI Skip] bump/beta 12.5.2-8-x
skip-checks: true
2023-11-17 14:40:49 +00:00
Jaco
bd21e730b3 Adjust isRiscV helper to check for PVM\0 bytes (#1895)
* Adjust `isRiscV` helper to check for `PVM\0` bytes

* Also check for ELF

* Adjust tests

* Update description
2023-11-17 16:35:32 +02:00
github-actions[bot]
a2cfdb8ca7 [CI Skip] bump/beta 12.5.2-7-x
skip-checks: true
2023-11-17 10:16:21 +00:00
Jaco
4857de9f38 Bump wasm + slight adj. to logger process.env (#1894)
* Bump wasm + slight adj. to logger process.env

* Adjust for Deno

* Adjust globalThis definition

* Adjust
2023-11-17 12:10:53 +02:00
github-actions[bot]
d525b8c92d [CI Skip] bump/beta 12.5.2-6-x
skip-checks: true
2023-11-17 08:40:25 +00:00
Jaco
2afbce2652 Bump dev deps, drop Node 16 (#1892)
* Bump dev deps, drop Node 16

* Rebuild networks
2023-11-17 10:35:10 +02:00
github-actions[bot]
3c7525649e [CI Skip] bump/beta 12.5.2-5-x
skip-checks: true
2023-10-23 08:36:24 +00:00
Jaco
6ebcc2dd6d Bump dev deps (#1888) 2023-10-23 11:30:02 +03:00
github-actions[bot]
120438d7e6 [CI Skip] bump/beta 12.5.2-4-x
skip-checks: true
2023-10-15 10:50:18 +00:00
Jaco
f5f1bc6f4f Bump TS (#1887) 2023-10-15 13:43:48 +03:00
github-actions[bot]
28d5302fd6 [CI Skip] bump/beta 12.5.2-3-x
skip-checks: true
2023-10-11 08:58:45 +00:00
Jaco
773cc29b11 Bump deps (#1886) 2023-10-11 11:51:04 +03:00
github-actions[bot]
a20c7eb2e5 [CI Skip] bump/beta 12.5.2-2-x
skip-checks: true
2023-10-03 06:07:45 +00:00
Jaco
487d0d9a57 Bump dev deps (#1884)
* Bump dev deps

* CHANGELOG
2023-10-03 09:01:15 +03:00
github-actions[bot]
a910e9ce6f [CI Skip] bump/beta 12.5.2-1-x
skip-checks: true
2023-09-23 17:44:23 +00:00
Jaco
1062de7aa8 Bump deps (#1883) 2023-09-23 20:36:41 +03:00
github-actions[bot]
4cabc67b24 [CI Skip] bump/beta 12.5.2-0-x
skip-checks: true
2023-09-23 14:03:03 +00:00
Yaroslav Bolyukin
13bc84e30b Add quartz support for ledger, update unique slip-0044 identifier (#1882)
* build: bump ledger-substrate dependency

* fix: update slip-0044 id for unique

* feat(ledger): add quartz support

* build: update yarn.lock
2023-09-23 16:56:57 +03:00
github-actions[bot]
67fe7738d8 [CI Skip] release/stable 12.5.1
skip-checks: true
2023-09-15 05:53:02 +00:00
Jaco
13c6b4e553 12.5.1 (#1881) 2023-09-15 08:45:57 +03:00
github-actions[bot]
9306f9db92 [CI Skip] bump/beta 12.4.3-7-x
skip-checks: true
2023-09-14 18:24:39 +00:00
Leonardo Custodio
62a30f258e Ledger support (#1879) 2023-09-14 21:18:10 +03:00
github-actions[bot]
81609aba59 [CI Skip] bump/beta 12.4.3-6-x
skip-checks: true
2023-09-14 05:19:48 +00:00
Jaco
301d73d13f Bump deps (w/ ledger) (#1880) 2023-09-14 08:13:48 +03:00
github-actions[bot]
92abf4463d [CI Skip] bump/beta 12.4.3-5-x
skip-checks: true
2023-09-06 10:02:03 +00:00
peetzweg/
b018f78b77 adds isRiscV guard function similar to isWasm (#1878) 2023-09-06 12:55:36 +03:00
github-actions[bot]
608117f04a [CI Skip] bump/beta 12.4.3-4-x
skip-checks: true
2023-08-31 05:13:47 +00:00
Jaco
2ac00565b0 Bump deps (#1877) 2023-08-31 08:07:35 +03:00
github-actions[bot]
673a59af58 [CI Skip] bump/beta 12.4.3-3-x
skip-checks: true
2023-08-30 09:13:53 +00:00
Jaco
aa394fe7cd Explicit note for test genesis (standalone or para) (#1876)
* Explicit note for test genesis (standalone or para)

* Add test for testnet exclusions

* Extract keys
2023-08-30 12:07:29 +03:00
github-actions[bot]
ee7f2cc7f5 [CI Skip] bump/beta 12.4.3-2-x
skip-checks: true
2023-08-30 08:32:15 +00:00
Jaco
da6efc821e Add additional comments on type interfaces (#1875) 2023-08-30 11:25:10 +03:00
github-actions[bot]
a3b884d437 [CI Skip] bump/beta 12.4.3-1-x
skip-checks: true
2023-08-30 06:37:14 +00:00
Jaco
560c054750 Bump dev deps (#1874) 2023-08-30 09:31:15 +03:00
github-actions[bot]
09621d0010 [CI Skip] bump/beta 12.4.3-0-x
skip-checks: true
2023-08-24 05:17:05 +00:00
Jaco
37a81d9594 Bump deps (noble hashes/curves) (#1873)
* Bump deps (noble hashes/curves)

* Adjust dep range
2023-08-24 08:10:54 +03:00
github-actions[bot]
62182bae03 [CI Skip] release/stable 12.4.2
skip-checks: true
2023-08-23 09:55:33 +00:00
Jaco
2ee03a5f81 12.4.2 (#1872) 2023-08-23 12:48:09 +03:00
github-actions[bot]
7a5a88a135 [CI Skip] bump/beta 12.4.2-5-x
skip-checks: true
2023-08-23 09:09:55 +00:00
Jaco
f4e0e2111f Extend u8aToBuffer check with hasBuffer (#1871)
* Extend u8aToBuffer check with hasBuffer

* CHANGELOG

* Always return Uint8Array

* New instance of fallback
2023-08-23 12:01:59 +03:00
github-actions[bot]
aac902011e [CI Skip] bump/beta 12.4.2-4-x
skip-checks: true
2023-08-23 08:29:44 +00:00
Jaco
a030330808 Additional test cleanups (#1870)
* Additional test cleanups

* More compact test loops

* Correct float expected values

* Adjust
2023-08-23 11:23:45 +03:00
github-actions[bot]
d108beafd4 [CI Skip] bump/beta 12.4.2-3-x
skip-checks: true
2023-08-23 06:21:04 +00:00
Jaco
90e20ed4d2 Some small test loop cleanups (#1869) 2023-08-23 09:14:55 +03:00
github-actions[bot]
723ec10fa1 [CI Skip] bump/beta 12.4.2-2-x
skip-checks: true
2023-08-22 17:56:58 +00:00
Jaco
cf9082e03a Adjust BE u8aTo{Bn, BigInt, Number} check (#1868)
* Adjust BE u8aTo{Bn, BigInt, Numer} check

* Adjust function names (liberal find-and-replace)
2023-08-22 20:50:50 +03:00
github-actions[bot]
3dce4fe04a [CI Skip] bump/beta 12.4.2-1-x
skip-checks: true
2023-08-22 17:16:39 +00:00
Jaco
55ebc4f0d9 Check sign flag for i{8, 16, 32, ...} conversions (#1867)
* Check sign flag for i{8, 16, 32, ...} conversions

* Ensure negative path is tested on i32 perf

* CHANGELOG

* Comment check on top-most signed bit

* toBn test array

* toNumber uses exposed toBn tests

* Re-use tests in toBn

* Re-use expectations inside bnToU8a

* Remove explicit BE (swap to non-optimal reverse)

* Adjust

* Remove defunct "only BE" comment

* typo

* Use bnToU8a tests in biToU8a

* Flatten tests

* Additional tests

* Additional tests
2023-08-22 20:08:30 +03:00
github-actions[bot]
ce2122e9fa [CI Skip] bump/beta 12.4.2-0-x
skip-checks: true
2023-08-20 06:55:29 +00:00
Jaco
0fb55fe633 Bump deps (#1865) 2023-08-20 09:49:19 +03:00
github-actions[bot]
adca13bc8c [CI Skip] release/stable 12.4.1
skip-checks: true
2023-08-17 12:30:06 +00:00
Jaco
b939c3593c 12.4.1 (#1864) 2023-08-17 15:21:30 +03:00
github-actions[bot]
aa70b81a89 [CI Skip] bump/beta 12.3.3-12-x
skip-checks: true
2023-08-17 09:04:14 +00:00
Jaco
f3e1d6beda Bump deps (#1863)
* Bump deps

* Adjust Buffer* types
2023-08-17 11:56:46 +03:00
github-actions[bot]
754bc4dc21 [CI Skip] bump/beta 12.3.3-11-x
skip-checks: true
2023-08-16 09:28:29 +00:00
Jaco
a8df82dfe0 Update internal buffer types (#1862)
* Update internal buffer types

* u8aToBuffer/isBuffer does not require Buffer type

* Re-add BufferObj equals
2023-08-16 12:22:18 +03:00
github-actions[bot]
4ff56f5cfe [CI Skip] bump/beta 12.3.3-10-x
skip-checks: true
2023-08-16 08:18:29 +00:00
Jaco
1fd9f04458 Bump dev (#1861)
* Bump dev

* Adjust linting
2023-08-16 11:12:06 +03:00
github-actions[bot]
a28306f487 [CI Skip] bump/beta 12.3.3-9-x
skip-checks: true
2023-08-16 06:23:08 +00:00
Jaco
19941bcb61 Bump deps (#1860) 2023-08-16 09:16:49 +03:00
github-actions[bot]
2cb85866ab [CI Skip] bump/beta 12.3.3-8-x
skip-checks: true
2023-08-01 13:10:02 +00:00
Jaco
8556de1fa2 Bump dev deps (#1859) 2023-08-01 16:02:08 +03:00
github-actions[bot]
143d070d21 [CI Skip] bump/beta 12.3.3-7-x
skip-checks: true
2023-07-27 11:13:56 +00:00
Jaco
2a53b1121e Bump deps (#1857) 2023-07-27 14:06:32 +03:00
github-actions[bot]
0733137f79 [CI Skip] bump/beta 12.3.3-6-x
skip-checks: true
2023-07-21 06:45:20 +00:00
Jaco
cc918660cb Bump deps (#1856) 2023-07-21 09:38:52 +03:00
github-actions[bot]
3527f8c7d9 [CI Skip] bump/beta 12.3.3-5-x
skip-checks: true
2023-07-15 07:04:24 +00:00
Jaco
41caf2fd6d Bump dev (w/ ts-eslint updates) (#1854)
* Bump dev (w/ ts-eslint updates)

* Adjust ipfs compat check
2023-07-15 09:57:35 +03:00
github-actions[bot]
d407513dd1 [CI Skip] bump/beta 12.3.3-4-x
skip-checks: true
2023-07-06 07:35:28 +00:00
Jaco
bd76349552 Bump deps (#1853)
* Bump deps

* Rebuild networks test
2023-07-06 10:29:31 +03:00
github-actions[bot]
0ec894b732 [CI Skip] bump/beta 12.3.3-3-x
skip-checks: true
2023-06-27 08:42:17 +00:00
Jaco
be4cb52dd3 Bump deps (#1851)
* Bump deps

* Update
2023-06-27 11:36:14 +03:00
github-actions[bot]
456eaeeb94 [CI Skip] bump/beta 12.3.3-2-x
skip-checks: true
2023-06-21 06:22:14 +00:00
Jaco
0ec50b6159 Support for signRaw on Ledger SubstrateApp (#1849)
* Support for signRaw on Ledger SubstrateApp

* Adjust with callback return

* Ensure message is wrapped before signing
2023-06-21 09:15:10 +03:00
github-actions[bot]
98336fd2e5 [CI Skip] bump/beta 12.3.3-1-x
skip-checks: true
2023-06-21 05:30:22 +00:00
Jaco
7b3bbd3ef2 Bump deps (#1850) 2023-06-21 08:24:21 +03:00
github-actions[bot]
49afd1fe09 [CI Skip] bump/beta 12.3.3-0-x
skip-checks: true
2023-06-16 06:42:19 +00:00
Jaco
0df17104d5 Use import.meta.url instead of process.cwd() (#1847) 2023-06-16 09:35:40 +03:00
github-actions[bot]
db8434559e [CI Skip] release/stable 12.3.2
skip-checks: true
2023-06-12 05:27:44 +00:00
Jaco
eaf9d97ae3 12.3.2 (#1846) 2023-06-12 08:20:17 +03:00
github-actions[bot]
3e6d86b768 [CI Skip] release/stable 12.3.1
skip-checks: true
2023-06-11 06:26:55 +00:00
Jaco
8aab41648e 12.3.1 (#1845) 2023-06-11 09:20:32 +03:00
github-actions[bot]
4a535c08c7 [CI Skip] bump/beta 12.2.3-3-x
skip-checks: true
2023-06-10 08:09:54 +00:00
Jaco
715486d54e Additional adjustments to keyring types (#1844) 2023-06-10 11:01:23 +03:00
github-actions[bot]
1073dc14aa [CI Skip] bump/beta 12.2.3-2-x
skip-checks: true
2023-06-10 04:50:38 +00:00
Jaco
5cca95e855 Adjust object index typings (#1843)
* Adjust object index typings

* Update packages/util/src/is/childClass.ts

* Expand meta definition

* Extend meta with extension info

* Adjust

* CHANGELOG
2023-06-10 07:44:28 +03:00
github-actions[bot]
942b623273 [CI Skip] bump/beta 12.2.3-1-x
skip-checks: true
2023-06-06 05:37:49 +00:00
Jaco
eea99656ad Only allow padding characters in base64 strings (#1842)
* Only allow padding characters in base64 strings

* Explicit padding sequence error
2023-06-06 08:31:44 +03:00
github-actions[bot]
04b6df9ac5 [CI Skip] bump/beta 12.2.3-0-x
skip-checks: true
2023-06-05 18:29:35 +00:00
Carlo Sala
d5132b56de feat(networks): add zeitgeist Ledger support (#1840)
* feat(networks): add zeitgeist Ledger support

* fix(networks): update test
2023-06-05 21:23:31 +03:00
github-actions[bot]
1fdc2c8dae [CI Skip] release/stable 12.2.2
skip-checks: true
2023-06-04 09:06:26 +00:00
Jaco
b6a2693e5f 12.2.2 (#1839) 2023-06-04 11:58:18 +03:00
github-actions[bot]
8b3687e062 [CI Skip] bump/beta 12.2.2-7-x
skip-checks: true
2023-06-04 08:30:55 +00:00
Jaco
3a8429b687 Bump noble/{curves, hashes} (#1838) 2023-06-04 11:24:40 +03:00
github-actions[bot]
26e9b01198 [CI Skip] bump/beta 12.2.2-6-x
skip-checks: true
2023-06-02 10:51:44 +00:00
Jaco
76d71d946d Bump deps (w/ TS 5.1) (#1837)
* Bump deps (w/ TS 5.1)

* Adjust fallback

* Revert promisify adjustments
2023-06-02 13:44:54 +03:00
github-actions[bot]
0ebc7bd374 [CI Skip] bump/beta 12.2.2-5-x
skip-checks: true
2023-05-30 08:57:58 +00:00
Jaco
d94c126744 Apply missing count assignment in for loops (#1836) 2023-05-30 11:50:04 +03:00
github-actions[bot]
86597dcb17 [CI Skip] bump/beta 12.2.2-4-x
skip-checks: true
2023-05-28 07:53:44 +00:00
Jaco
1be682827b Bump deps (incl Ledger) (#1835) 2023-05-28 10:47:42 +03:00
github-actions[bot]
081b6b4f2b [CI Skip] bump/beta 12.2.2-3-x
skip-checks: true
2023-05-25 07:37:17 +00:00
Jaco
7dc38e78cf jg-bump-deps (#1834) 2023-05-25 10:29:17 +03:00
github-actions[bot]
dcf214f250 [CI Skip] bump/beta 12.2.2-2-x
skip-checks: true
2023-05-21 09:48:48 +00:00
Jaco
2e82528e1b Bump dev (w/ eslint config adj) (#1832) 2023-05-21 12:42:39 +03:00
github-actions[bot]
090b91910f [CI Skip] bump/beta 12.2.2-1-x
skip-checks: true
2023-05-18 09:05:38 +00:00
Jaco
058d197646 Adjust tsconfig usage (w/ latest dev) (#1831) 2023-05-18 11:59:17 +03:00
github-actions[bot]
0fca8904e6 [CI Skip] bump/beta 12.2.2-0-x
skip-checks: true
2023-05-18 05:35:04 +00:00
Jaco
0bf7bc416a Bump dev deps (#1830) 2023-05-18 08:29:07 +03:00
github-actions[bot]
ea08763307 [CI Skip] release/stable 12.2.1
skip-checks: true
2023-05-13 08:25:36 +00:00
Jaco
5272645abe 12.2.1 (#1829) 2023-05-13 11:17:53 +03:00
Jaco
e5373c35c8 Unroll u8aToBigInt loops (#1821)
* Unroll u8aToBigInt loops

* Bump dev

* Rolling tests
2023-05-13 10:51:46 +03:00
github-actions[bot]
b73b96e412 [CI Skip] bump/beta 12.1.3-2-x
skip-checks: true
2023-05-06 09:00:28 +00:00
Jaco
18d24bf509 Bump dev (#1827) 2023-05-06 11:52:33 +03:00
github-actions[bot]
fe230f143f [CI Skip] bump/beta 12.1.3-1-x
skip-checks: true
2023-05-05 07:07:53 +00:00
Jaco
6357c1e040 Update Constructor interface params (#1823)
* Update Constructor interface params

* Adjust

* Adjust
2023-05-05 10:01:56 +03:00
github-actions[bot]
1876efe13e [CI Skip] bump/beta 12.1.3-0-x
skip-checks: true
2023-05-05 06:46:01 +00:00
Jaco
9de142b5f6 Bump deps (#1826) 2023-05-05 09:39:58 +03:00
github-actions[bot]
e5cb0ba2b4 [CI Skip] release/stable 12.1.2
skip-checks: true
2023-05-01 16:14:41 +00:00
Jaco
dba5d3e7b3 Fix typings for isChildClass (#1824)
* Fix typings for isChildClass

* Adjust
2023-05-01 19:08:41 +03:00
github-actions[bot]
8ccfecfff8 [CI Skip] bump/beta 12.1.2-0-x
skip-checks: true
2023-04-29 10:42:54 +00:00
Jaco
f2e79ffe67 Align u8aToBigInt tests with u8aToBn (#1820)
* Align u8aToBigInt tests with u8aToBn

* Remove unused import
2023-04-29 13:33:53 +03:00
github-actions[bot]
e7f595a11f [CI Skip] release/stable 12.1.1
skip-checks: true
2023-04-29 05:50:45 +00:00
Jaco
770471aef0 12.1.1 (#1819) 2023-04-29 08:44:25 +03:00
github-actions[bot]
6b1ff0036e [CI Skip] bump/beta 12.0.2-2-x
skip-checks: true
2023-04-28 06:13:30 +00:00
Jaco
fee81b89ac Bump deps (#1818) 2023-04-28 09:07:41 +03:00
github-actions[bot]
c4d5b8e1ae [CI Skip] bump/beta 12.0.2-1-x
skip-checks: true
2023-04-26 09:36:39 +00:00
Jaco
5674b1df67 Bump deps w/ export ordering (#1817) 2023-04-26 12:29:21 +03:00
github-actions[bot]
5ccb3e85f8 [CI Skip] bump/beta 12.0.2-0-x
skip-checks: true
2023-04-24 04:59:26 +00:00
Jaco
785a23433d Flatten Buffer | Uint8Array types (#1816)
* Flatten Buffer | Uint8Array types

* Remove dangling Buffer references

* CHANGELOG

* Adjust
2023-04-24 07:53:31 +03:00
github-actions[bot]
bead42ca5f [CI Skip] release/stable 12.0.1
skip-checks: true
2023-04-22 07:44:07 +00:00
Jaco
2d2a1a5989 12.0.1 (#1815)
* 12.0.1

* Inline xxhash single-use

* Adjust comments
2023-04-22 10:37:53 +03:00
github-actions[bot]
db4dde0a57 [CI Skip] bump/beta 11.1.4-19-x
skip-checks: true
2023-04-21 08:23:53 +00:00
Jaco
b5d83f8836 Allow wordlist? param to mnemonic* functions (#1814) 2023-04-21 11:16:43 +03:00
github-actions[bot]
cdf6cc6096 [CI Skip] bump/beta 11.1.4-18-x
skip-checks: true
2023-04-21 07:34:55 +00:00
Jaco
dfd07e04d4 Align x-randomvalues with webCrypto (#1782)
* Align x-randomvalues with webCrypto

* Deno export from browser

* export * for x-ws

* export * from RN

* CHANGELOG
2023-04-21 10:27:30 +03:00
github-actions[bot]
f5a3a6fd73 [CI Skip] bump/beta 11.1.4-17-x
skip-checks: true
2023-04-21 07:18:16 +00:00
Jaco
51a7263d38 Bump dev (w/ Node 16+ only) (#1813)
* Bump dev (w/ Node 16+ only)

* Lint

* Fix build
2023-04-21 10:10:27 +03:00
github-actions[bot]
e3b11360ab [CI Skip] bump/beta 11.1.4-16-x
skip-checks: true
2023-04-20 06:58:05 +00:00
Jaco
b4bed3d801 Bump deps (#1812) 2023-04-20 09:52:10 +03:00
github-actions[bot]
1f8b573d81 [CI Skip] bump/beta 11.1.4-15-x
skip-checks: true
2023-04-15 11:37:12 +00:00
Jaco
a0e5d48208 CHANGELOG (#1811) 2023-04-15 14:30:49 +03:00
github-actions[bot]
6ce32b8039 [CI Skip] bump/beta 11.1.4-14-x
skip-checks: true
2023-04-15 11:15:05 +00:00
Jaco
3ee810904e Adjust isCodec with better API alignment (#1810)
* Adjust isCodec with better API alignment

* Adjust tests

* Remove test dupes
2023-04-15 14:07:44 +03:00
github-actions[bot]
ed73a7912b [CI Skip] bump/beta 11.1.4-13-x
skip-checks: true
2023-04-14 07:28:50 +00:00
Jaco
4ec2cf9e43 Small adjustment to x-* exports (#1809) 2023-04-14 10:22:53 +03:00
github-actions[bot]
38ac05203e [CI Skip] release/beta 11.1.4-12
skip-checks: true
2023-04-13 13:13:49 +00:00
Jaco
bb6a2b4468 Add missing peerDependencies for x-randomvalues (#1808)
* Add missing peerDependencies for x-randomvalues

* publish
2023-04-13 16:07:34 +03:00
github-actions[bot]
3c9b20e902 [CI Skip] release/beta 11.1.4-11
skip-checks: true
2023-04-13 11:39:47 +00:00
Jaco
e1a2ea49cb x-randomvalues w/ shared base64 decoding (#1807)
* x-randomvalues w/ shared base64 decoding

* Adjust

* npm publish
2023-04-13 14:33:45 +03:00
github-actions[bot]
892004563f [CI Skip] bump/beta 11.1.4-10-x
skip-checks: true
2023-04-13 06:20:56 +00:00
Jaco
efe4ce8d9d Allow for wordlists in JS bip39 functions (#1805) 2023-04-13 09:14:45 +03:00
github-actions[bot]
f0f561e243 [CI Skip] bump/beta 11.1.4-9-x
skip-checks: true
2023-04-12 19:52:44 +00:00
Shamilkhan
56e34586b3 Add genesis hash for Cere Network (#1806)
* Add genesis hash for Cere Network

* Put Cere Network in correct alphabet order

* Rename CereNetwork to Cere
2023-04-12 22:46:39 +03:00
github-actions[bot]
667fe8fb17 [CI Skip] bump/beta 11.1.4-8-x
skip-checks: true
2023-04-12 11:09:35 +00:00
Jaco
3fd8074877 Add missing bip39 wordlists (only en is used) (#1803) 2023-04-12 14:01:27 +03:00
github-actions[bot]
91a2eac220 [CI Skip] release/beta 11.1.4-7
skip-checks: true
2023-04-12 10:04:21 +00:00
Jaco
455ae2ccde Use @noble/curves (secp256k1 + ed25519) (#1776)
* Use @noble/curves (secp256k1 only for now)

* Re-add canonical signatures (now lowS)

* Swap tweetnacl usage for ed25519

* Adjust previously failing tests

* Adjust test for ethereum encoding

* hasBigInt for ed25519 operations

* CHANGELOG

* Publich beta to npm for size check
2023-04-12 12:58:17 +03:00
github-actions[bot]
9d43b787fd [CI Skip] bump/beta 11.1.4-6-x
skip-checks: true
2023-04-12 09:45:36 +00:00
Jaco
29551e46b0 Import box functionality from tweetnacl (#1785)
* Import box functionality from tweetnacl

* Remove box/boxOpen functionality

* Additional comment

* Import secretbox test vectors

* Allow empty base64 input

* Combine non-xor crypto_stream usage with xor

* Adjust

* inline let

* Rename tests, extract test vectors

* Adjust chnages comments

* Remove box keypair

* Remove rng set operation

* Inline adjust

* Verify adjustment
2023-04-12 12:39:31 +03:00
Jaco
103745f845 Trace tweetnacl usage (Step 5: secretbox & .open available) (#1802) 2023-04-12 12:25:41 +03:00
Jaco
cd7a32cf1f Trace tweetnacl usage (step 4: apply TS types) (#1801) 2023-04-12 12:11:40 +03:00
Jaco
5004d1d79f Trace tweetnacl usage (step 3: comment all code) (#1800) 2023-04-12 11:42:15 +03:00
Jaco
2607203925 Trace tweetnacl usage (step 2: move to TS) (#1799) 2023-04-12 11:39:17 +03:00
Jaco
5abab5bf13 Trace tweetnacl usage (step 1: raw initial import) (#1798) 2023-04-12 11:35:50 +03:00
github-actions[bot]
a990b4e40f [CI Skip] bump/beta 11.1.4-5-x
skip-checks: true
2023-04-12 08:14:47 +00:00
Jaco
997f8f6a51 Align x-bigint extraction with other x-* (#1797) 2023-04-12 11:08:48 +03:00
github-actions[bot]
23e055869c [CI Skip] bump/beta 11.1.4-4-x
skip-checks: true
2023-04-11 12:00:36 +00:00
Jaco
de85d063a4 Bump dev (w/ lint updates) (#1795)
* Bump dev (w/ lint updates)

* Bump dev

* Adjust behavior for global setting

* Adjust versionDetect expectations
2023-04-11 14:52:49 +03:00
github-actions[bot]
5964f790b5 [CI Skip] bump/beta 11.1.4-3-x
skip-checks: true
2023-04-10 07:27:42 +00:00
Jaco
a767ef68ca Bump dev (w/ eslint adjustments) (#1794) 2023-04-10 10:21:33 +03:00
github-actions[bot]
c096a4981d [CI Skip] bump/beta 11.1.4-2-x
skip-checks: true
2023-04-08 08:09:52 +00:00
Jaco
7dcdef17c3 Bump TypeScript (#1793)
* Bump TypeScript

* Bump dev

* Bump dev, no npm:
2023-04-08 11:02:20 +03:00
github-actions[bot]
ef839a7a42 [CI Skip] bump/beta 11.1.4-1-x
skip-checks: true
2023-04-04 05:40:36 +00:00
Jaco
7bf1706994 Update lock wf (#1791) 2023-04-04 08:31:58 +03:00
github-actions[bot]
2999987fb0 [CI Skip] bump/beta 11.1.4-0-x
skip-checks: true
2023-04-02 07:01:09 +00:00
Jaco
6ba45086b5 Move type-only imports (w/ verbatimModuleSyntax) (#1790) 2023-04-02 09:53:43 +03:00
github-actions[bot]
e3c51d4b6b [CI Skip] release/stable 11.1.3
skip-checks: true
2023-04-01 07:04:11 +00:00
Jaco
1295c85df3 11.1.3 (#1789) 2023-04-01 09:58:20 +03:00
github-actions[bot]
14d66c32de [CI Skip] bump/beta 11.1.3-4-x
skip-checks: true
2023-03-31 06:24:39 +00:00
Jaco
b794d22ac4 Allow empty string as valid base32/base58/base64 decoder input (#1788)
* Allow empty string as valid base32/base58/base64 decoder input

* Remove empty failure

* Validation with optional validation flag

* Empty validation
2023-03-31 09:18:38 +03:00
github-actions[bot]
edb62407e2 [CI Skip] bump/beta 11.1.3-3-x
skip-checks: true
2023-03-31 05:14:41 +00:00
Jaco
45b040fbf8 Additional __PURE__ annotations (#1787)
* Additional __PURE__ annotations

* Revert as const (This _could_ yield breaking external changes)
2023-03-31 08:08:01 +03:00
github-actions[bot]
777b823317 [CI Skip] bump/beta 11.1.3-2-x
skip-checks: true
2023-03-29 04:28:57 +00:00
Cameron Fairchild
c5ef717398 Add bittensor details (#1783)
* add with todo

* update genesis hash

* remove from ledger

* remove from ledger
2023-03-29 07:21:56 +03:00
github-actions[bot]
98f0933da5 [CI Skip] bump/beta 11.1.3-1-x
skip-checks: true
2023-03-25 15:52:28 +00:00
Jaco
493d0df0c1 Add repo dev req. for Node.js (#1779) 2023-03-25 17:46:33 +02:00
github-actions[bot]
5d8e92f17c [CI Skip] bump/beta 11.1.3-0-x
skip-checks: true
2023-03-25 10:57:53 +00:00
Jaco
2ce178cad2 Bump dev (w/ some node:test adjustments) (#1778) 2023-03-25 12:51:53 +02:00
github-actions[bot]
9ccac88372 [CI Skip] release/stable 11.1.2
skip-checks: true
2023-03-25 07:20:00 +00:00
Jaco
0aa441de96 11.1.2 (#1777)
* 11.1.2

* Bump dev

* Bump deps
2023-03-25 09:14:10 +02:00
github-actions[bot]
78941a3cde [CI Skip] bump/beta 11.1.2-3-x
skip-checks: true
2023-03-24 08:37:26 +00:00
Jaco
514570a5fb Additional hw-ledger cleanups (#1775)
* Additional hw-ledger cleanups

* Rename ledgerName
2023-03-24 10:29:45 +02:00
github-actions[bot]
ad2da94408 [CI Skip] bump/beta 11.1.2-2-x
skip-checks: true
2023-03-24 08:14:57 +00:00
Jaco
803edbb8cc Small Ledger process dedupe (#1774)
* Small Ledger process dedupe

* Add yarn.lock
2023-03-24 10:08:45 +02:00
github-actions[bot]
94692cbbb4 [CI Skip] bump/beta 11.1.2-1-x
skip-checks: true
2023-03-24 07:43:44 +00:00
Jaco
0a27c23439 Specific per-method JSDoc for hw-ledger (#1773)
* Specific per-method JSDoc for hw-ledger

* Adjust, less types floating around
2023-03-24 09:36:42 +02:00
github-actions[bot]
0a1cfb15ef [CI Skip] bump/beta 11.1.2-0-x
skip-checks: true
2023-03-23 09:17:47 +00:00
Jaco
cd494d7de0 Expand error details on invalid publicKey (#1772) 2023-03-23 11:11:53 +02:00
github-actions[bot]
4f5029118e [CI Skip] release/stable 11.1.1
skip-checks: true
2023-03-18 12:18:29 +00:00
Jaco
2df8d01186 11.1.1 (#1771) 2023-03-18 14:12:07 +02:00
github-actions[bot]
f1b3240728 [CI Skip] bump/beta 11.0.3-9-x
skip-checks: true
2023-03-18 10:30:36 +00:00
Mikhail Fedosov
748b26924e feat: add 3dpass network (#1769) 2023-03-18 12:24:39 +02:00
github-actions[bot]
26f6572f29 [CI Skip] bump/beta 11.0.3-8-x
skip-checks: true
2023-03-18 10:04:15 +00:00
Jaco
8e3a75ed8d Bump deps (& remove unused overrides) (#1770) 2023-03-18 11:58:18 +02:00
github-actions[bot]
c13d1b4ae6 [CI Skip] bump/beta 11.0.3-7-x
skip-checks: true
2023-03-17 06:14:08 +00:00
Jaco
17388b7865 Bump to TS 5.0 (#1768)
* Bump to TS 5.0

* Fix build
2023-03-17 08:06:31 +02:00
github-actions[bot]
85785be8cf [CI Skip] bump/beta 11.0.3-6-x
skip-checks: true
2023-03-17 05:29:15 +00:00
Jaco
211af1f999 Bump dev deps (#1767) 2023-03-17 07:22:49 +02:00
github-actions[bot]
b8116fcf5a [CI Skip] bump/beta 11.0.3-5-x
skip-checks: true
2023-03-15 15:12:53 +00:00
Jaco
79593b0a70 Bump dev (#1766)
* Bump dev

* Change ref types
2023-03-15 17:06:07 +02:00
github-actions[bot]
4ecf53dcf4 [CI Skip] bump/beta 11.0.3-4-x
skip-checks: true
2023-03-15 12:08:22 +00:00
Jaco
5652023c5a Bump dev (#1765) 2023-03-15 14:02:11 +02:00
github-actions[bot]
f6e667df26 [CI Skip] bump/beta 11.0.3-3-x
skip-checks: true
2023-03-14 11:19:14 +00:00
Jaco
aeac277590 Remove stale workflow (#1764) 2023-03-14 13:05:34 +02:00
github-actions[bot]
dca3f17b1c [CI Skip] bump/beta 11.0.3-2-x
skip-checks: true
2023-03-14 07:56:38 +00:00
Jaco
b22b225252 Remove support for encrypt/decrypt on keypair (#1762)
* Remove support for encrypt/decrupt on keypair

* Update Keypair type

* Remove encrypt/decrypt tests

* Remove ed2curve dependency

* Remove export

* Adjust nobody
2023-03-14 09:41:49 +02:00
github-actions[bot]
6d1944bef9 [CI Skip] bump/beta 11.0.3-1-x
skip-checks: true
2023-03-14 07:32:48 +00:00
Jaco
357b5feb2e Adjust x-global type definitions (#1763)
* Adjust x-global type definitions

* Re-add Record<string, unknown>

* Adjust for deno
2023-03-14 09:20:50 +02:00
github-actions[bot]
354a2a4eaa [CI Skip] bump/beta 11.0.3-0-x
skip-checks: true
2023-03-12 10:14:34 +00:00
Jaco
3fd61e678a Bump dev (#1761)
* Bump dev

* Adjust dev/node/test/node.d.ts imports

* Adjust extensionless import

* Additional adjustments
2023-03-12 12:01:35 +02:00
github-actions[bot]
71d2802f00 [CI Skip] release/stable 11.0.2
skip-checks: true
2023-03-11 07:00:52 +00:00
Jaco
816e30fb0a 11.0.2 (#1760) 2023-03-11 08:49:14 +02:00
github-actions[bot]
77c6177c9a [CI Skip] bump/beta 11.0.2-4-x
skip-checks: true
2023-03-10 06:44:17 +00:00
Jaco
9f97924d33 Update GH actions (#1758) 2023-03-10 08:32:08 +02:00
github-actions[bot]
d7d8edcc9b [CI Skip] bump/beta 11.0.2-3-x
skip-checks: true
2023-03-09 14:57:30 +00:00
Jaco
d6047e38d3 Align tsconfig to allow moduleResolution: nodenext (#1757)
* Align tsconfig to allow moduleResolution: nodenext

* Revert node.d.ts reference types
2023-03-09 16:42:46 +02:00
github-actions[bot]
5f44768796 [CI Skip] bump/beta 11.0.2-2-x
skip-checks: true
2023-03-09 09:16:23 +00:00
Jaco
9c224f5076 Use .js imports in src (#1756)
* Use .js imports in src

* Revert node/test/node -> node/test/node.d.ts (for now)

* util-crypto

* Additional

* Adjust tsconfig aliases

* Bump dev
2023-03-09 11:04:03 +02:00
github-actions[bot]
bcb7861d88 [CI Skip] bump/beta 11.0.2-1-x
skip-checks: true
2023-03-06 12:29:43 +00:00
Jaco
0b85a4d5e2 Bump dev deps (#1755) 2023-03-06 14:17:56 +02:00
github-actions[bot]
c17ef47548 [CI Skip] bump/beta 11.0.2-0-x
skip-checks: true
2023-03-05 12:08:14 +00:00
Jaco
df7f533491 jg-rm-babel-config (#1754) 2023-03-05 13:52:42 +02:00
github-actions[bot]
500a38e1ab [CI Skip] release/stable 11.0.1
skip-checks: true
2023-03-04 15:01:52 +00:00
Jaco
3437fb65cd 11.0.1 (#1753)
* 11.0.1

* Re-adjust for ws usage

* Correct dev dependencies

* Bump dev
2023-03-04 16:50:01 +02:00
Jaco
3d43aba4a1 Swap x-ws to use ws (#1749)
* Swap x-ws to use ws

* Revert swc usage

* Remove unneeded --env to test
2023-03-04 15:02:04 +02:00
github-actions[bot]
7cd5204fb7 [CI Skip] bump/beta 10.4.3-9-x
skip-checks: true
2023-03-03 09:30:06 +00:00
Jaco
3fdf3b5523 Bump dev & update gh workflows (#1752) 2023-03-03 11:24:21 +02:00
github-actions[bot]
8fd0fe846f [CI Skip] bump/beta 10.4.3-8-x
skip-checks: true
2023-03-01 11:20:36 +00:00
Jaco
130a59fb02 Align gh workflows (#1751)
* Align gh workflows

* continue-on-error: true
2023-03-01 13:13:43 +02:00
github-actions[bot]
e6aec6d178 [CI Skip] bump/beta 10.4.3-7-x
skip-checks: true
2023-02-28 09:51:47 +00:00
Jaco
6fb73f3124 Add __PURE__ annotations for x-* exports (#1750) 2023-02-28 11:46:56 +02:00
github-actions[bot]
ea96abc1a4 [CI Skip] bump/beta 10.4.3-6-x
skip-checks: true
2023-02-27 09:46:00 +00:00
Jaco
9c08fa6206 Bump dev deps (#1748)
* Bump dev deps

* Bump dev
2023-02-27 11:39:53 +02:00
github-actions[bot]
8edb2abe30 [CI Skip] bump/beta 10.4.3-5-x
skip-checks: true
2023-02-25 09:18:47 +00:00
Jaco
3e2c3a6ed8 Move test cryptoWaitReady top-level (#1747)
* Move test cryptoWaitReady top-level

* Add missing mod.ts

* Revert mod.ts add

* Add types reference for tests

* Adjust

* adjust

* node:fs & node:path
2023-02-25 11:13:51 +02:00
github-actions[bot]
1e35c5cd25 [CI Skip] bump/beta 10.4.3-4-x
skip-checks: true
2023-02-24 08:15:05 +00:00
Jaco
40dc599acc Remove usage of {describe, it}.each (#1746)
* Remove usage of {describe, it}.each

* Bump dev

* Reference test types once per module
2023-02-24 10:10:07 +02:00
github-actions[bot]
d1d6fc631c [CI Skip] bump/beta 10.4.3-3-x
skip-checks: true
2023-02-22 07:20:28 +00:00
Jaco
28c6139068 Bump deps (#1745)
* Bump deps

* Bump dev
2023-02-22 09:13:21 +02:00
github-actions[bot]
b00d8573fd [CI Skip] bump/beta 10.4.3-2-x
skip-checks: true
2023-02-20 15:42:30 +00:00
Jaco
6afebd70d0 Bump dev deps (#1744) 2023-02-20 17:37:21 +02:00
github-actions[bot]
1f4d423682 [CI Skip] bump/beta 10.4.3-1-x
skip-checks: true
2023-02-19 14:10:41 +00:00
Jaco
57718cacfb Small adjustment to test command params (#1743) 2023-02-19 16:06:23 +02:00
github-actions[bot]
b51d4e13fb [CI Skip] bump/beta 10.4.3-0-x
skip-checks: true
2023-02-19 09:37:24 +00:00
Jaco
08af19e2d5 Bump deps (#1742) 2023-02-19 11:32:55 +02:00
github-actions[bot]
9830457c9a [CI Skip] release/stable 10.4.2
skip-checks: true
2023-02-19 08:15:26 +00:00
Jaco
4619ab6668 10.4.2 (#1741)
* 10.4.2

* dep up changelog entry
2023-02-19 10:11:47 +02:00
github-actions[bot]
d886c02b23 [CI Skip] bump/beta 10.4.2-8-x
skip-checks: true
2023-02-18 11:13:59 +00:00
Jaco
7d745661b7 Bump deps (#1740)
* Bump deps

* lint fixes
2023-02-18 13:10:13 +02:00
github-actions[bot]
da9c2bc10b [CI Skip] bump/beta 10.4.2-7-x
skip-checks: true
2023-02-16 12:53:16 +00:00
Carlo Sala
eab8d44487 feat(networks): support ledger for pendulum (#1739) 2023-02-16 14:49:31 +02:00
github-actions[bot]
19ecae37dd [CI Skip] bump/beta 10.4.2-6-x
skip-checks: true
2023-02-15 14:44:23 +00:00
Jaco
3d3e46cb77 Adjust performance compare (#1738) 2023-02-15 16:40:39 +02:00
github-actions[bot]
e09027e83d [CI Skip] bump/beta 10.4.2-5-x
skip-checks: true
2023-02-15 09:58:19 +00:00
Jaco
c544e0b478 Bump deps (#1737) 2023-02-15 11:53:55 +02:00
github-actions[bot]
f914061365 [CI Skip] bump/beta 10.4.2-4-x
skip-checks: true
2023-02-15 07:19:59 +00:00
Jaco
55e4e8209e Fix CI release workflow (#1736) 2023-02-15 09:15:27 +02:00
Jaco
193c9ebb37 Reset global formatBalance test side effects (#1735) 2023-02-15 08:07:56 +02:00
Jaco
5d67d92454 Use latest LTS for CI scripts (#1734) 2023-02-14 10:46:54 +02:00
github-actions[bot]
3a0d566f60 [CI Skip] bump/beta 10.4.2-3-x
skip-checks: true
2023-02-13 17:44:09 +00:00
Jaco
675f1e71b5 Bump dev (#1733) 2023-02-13 19:40:12 +02:00
github-actions[bot]
4bbf38c7e4 [CI Skip] bump/beta 10.4.2-2-x
skip-checks: true
2023-02-13 08:30:36 +00:00
Jaco
fd76246c11 Enufer u8aToU8a(Buffer) return non-Buffer instance (#1731) 2023-02-13 10:26:46 +02:00
github-actions[bot]
0b14539a98 [CI Skip] bump/beta 10.4.2-1-x
skip-checks: true
2023-02-12 11:54:19 +00:00
Jaco
09b1a0e6e3 Bump dev (#1730) 2023-02-12 13:50:35 +02:00
github-actions[bot]
03e64c9120 [CI Skip] bump/beta 10.4.2-0-x
skip-checks: true
2023-02-12 10:58:52 +00:00
Jaco
f848c87fde Remove it.concurrent (jest advises against use) (#1729) 2023-02-12 12:55:02 +02:00
github-actions[bot]
46a05b6a60 [CI Skip] release/stable 10.4.1
skip-checks: true
2023-02-12 09:19:44 +00:00
Jaco
a9f671b501 10.4.1 (#1728) 2023-02-12 11:14:33 +02:00
github-actions[bot]
f1187f5981 [CI Skip] bump/beta 10.3.2-6-x
skip-checks: true
2023-02-11 15:55:56 +00:00
Jaco
4134bf8a85 Bump deps (#1727) 2023-02-11 17:52:08 +02:00
github-actions[bot]
4709a62c0b [CI Skip] bump/beta 10.3.2-5-x
skip-checks: true
2023-02-07 13:11:55 +00:00
Jaco
900cf21bc5 Bump deps (#1726) 2023-02-07 15:08:02 +02:00
github-actions[bot]
fa8229de06 [CI Skip] bump/beta 10.3.2-4-x
skip-checks: true
2023-02-07 13:00:21 +00:00
Aleš Ferlan
913bf65dab feat: allow setting of thousand/decimal separators (#1722)
* feat: allow setting of thousand/decimal separators

* fix: add file header and fix lint errors

* fix: move getSeparator to format
2023-02-07 14:56:27 +02:00
Carlo Sala
769b953983 feat(networks): support ledger for picasso (#1725) 2023-02-07 14:55:00 +02:00
github-actions[bot]
2949e12c55 [CI Skip] bump/beta 10.3.2-3-x
skip-checks: true
2023-02-05 12:11:05 +00:00
Jaco
1664a8d8a2 Bump dev (#1724) 2023-02-05 14:05:53 +02:00
github-actions[bot]
ab71a25b96 [CI Skip] bump/beta 10.3.2-2-x
skip-checks: true
2023-02-05 07:55:38 +00:00
Jaco
02c1a95ea1 Bump dev (#1723) 2023-02-05 09:51:48 +02:00
github-actions[bot]
3ee6830c0e [CI Skip] bump/beta 10.3.2-1-x
skip-checks: true
2023-02-03 08:52:36 +00:00
Jaco
642724ab6d Bump deps (incl. TS) (#1721) 2023-02-03 10:48:19 +02:00
github-actions[bot]
022756e6dd [CI Skip] bump/beta 10.3.2-0-x
skip-checks: true
2023-02-03 08:02:56 +00:00
Jaco
e29003f51e Add isClass helper (#1720)
* Add isClass helper

* add isOnFunction helper
2023-02-03 09:59:18 +02:00
github-actions[bot]
e5c2f8f529 [CI Skip] release/stable 10.3.1
skip-checks: true
2023-01-28 07:12:58 +00:00
Jaco
f7ce22b158 10.3.1 (#1719) 2023-01-28 09:09:21 +02:00
github-actions[bot]
0028d212e4 [CI Skip] bump/beta 10.2.7-10-x
skip-checks: true
2023-01-27 08:21:32 +00:00
Jaco
719c48f8f2 Bump dev (#1718)
* Bump dev

* Bump dev
2023-01-27 10:17:59 +02:00
github-actions[bot]
b137f8ec8b [CI Skip] bump/beta 10.2.7-9-x
skip-checks: true
2023-01-26 08:25:25 +00:00
Jaco
e93b7a3626 Expose sqrt(MAX_SAFE_INTEGER) for bi/bn (#1717) 2023-01-26 10:20:59 +02:00
github-actions[bot]
7bf2d220dd [CI Skip] bump/beta 10.2.7-8-x
skip-checks: true
2023-01-26 08:09:51 +00:00
Jaco
7efa20c066 Adjust internal character maps to operate on Uint8Array (#1685)
* Adjust internal character maps to operate on Uint8Array

* Use Uint8Array

* Actual perf testing

* Rename perf exports

* Expose specs in own tsconfig (circular)
2023-01-26 10:06:18 +02:00
Jaco
f2afcfc1a7 Adjust internal character maps to operate on Uint8Array (#1685)
* Adjust internal character maps to operate on Uint8Array

* Use Uint8Array

* Actual perf testing

* Rename perf exports

* Expose specs in own tsconfig (circular)
2023-01-26 10:05:15 +02:00
github-actions[bot]
45e2a560a9 [CI Skip] bump/beta 10.2.7-7-x
skip-checks: true
2023-01-26 07:35:14 +00:00
Jaco
5b5cdae9ff Align bigint constans with those in BN (#1716) 2023-01-26 09:31:41 +02:00
github-actions[bot]
5147f64a64 [CI Skip] bump/beta 10.2.7-6-x
skip-checks: true
2023-01-25 12:51:44 +00:00
Mohsan Riaz
0116a3f1f7 Add Ternoa for ledger hardware support (#1711)
* added ternoa to hw-ledger defaults

* added Ternoa to networks defaults

* linter fixes

* re-run-CI
2023-01-25 14:48:01 +02:00
github-actions[bot]
01839b5f63 [CI Skip] bump/beta 10.2.7-5-x
skip-checks: true
2023-01-25 08:46:20 +00:00
Jaco
18d02f49fd Bump deps (w/ CHANGELOG) (#1715) 2023-01-25 10:42:41 +02:00
github-actions[bot]
12e2a44935 [CI Skip] bump/beta 10.2.7-4-x
skip-checks: true
2023-01-25 07:31:14 +00:00
Jaco
9c47980c68 Bump deps (#1714)
* Bump deps

* Bump dev

* networks rebuild
2023-01-25 09:27:36 +02:00
github-actions[bot]
14f7a5c0bb [CI Skip] bump/beta 10.2.7-3-x
skip-checks: true
2023-01-23 06:51:38 +00:00
Jaco
f512f4aa27 Adjust Ledger check naming (#1713) 2023-01-23 08:47:47 +02:00
github-actions[bot]
4b9d4fa935 [CI Skip] bump/beta 10.2.7-2-x
skip-checks: true
2023-01-22 06:58:27 +00:00
Jaco
35288e81e1 Expand arrayChunk tests (#1712)
* Expand arrayChunk tests

* Bump deps

* Remove duplicated LICENSE files (copied by build)

* Bump dev
2023-01-22 08:54:33 +02:00
github-actions[bot]
f95fa2e60d [CI Skip] bump/beta 10.2.7-1-x
skip-checks: true
2023-01-15 08:49:22 +00:00
Jaco
0c62a8a676 Bump dev (#1709) 2023-01-15 10:45:31 +02:00
github-actions[bot]
346989211c [CI Skip] bump/beta 10.2.7-0-x
skip-checks: true
2023-01-15 08:21:36 +00:00
Jaco
ba2453457d Bump deps (#1708) 2023-01-15 10:17:14 +02:00
github-actions[bot]
9c4d409e66 [CI Skip] release/stable 10.2.6
skip-checks: true
2023-01-13 14:21:32 +00:00
Jaco
5f9e345dd4 Drop stray console.error log (#1707) 2023-01-13 16:17:51 +02:00
github-actions[bot]
bf141cd874 [CI Skip] release/stable 10.2.5
skip-checks: true
2023-01-13 13:59:30 +00:00
Jaco
08bf4b7eb2 Bugfix for formatBalance (forceUnit), result < 0 (#1706)
* Bugfix for formatBalance (forceUnit), result < 0

* Deps up
2023-01-13 15:54:40 +02:00
github-actions[bot]
42daac5327 [CI Skip] release/stable 10.2.4
skip-checks: true
2023-01-13 07:49:02 +00:00
Jaco
694fb8b241 10.2.4 (#1705) 2023-01-13 09:44:39 +02:00
github-actions[bot]
b0b69c27dc [CI Skip] bump/beta 10.2.4-1-x
skip-checks: true
2023-01-12 10:10:49 +00:00
Jaco
b57bcdc38f Bump deps (#1704) 2023-01-12 12:06:11 +02:00
github-actions[bot]
4fd4178ce9 [CI Skip] bump/beta 10.2.4-0-x
skip-checks: true
2023-01-11 13:49:51 +00:00
Jaco
39403fcfe7 formatBalance withAll/withZero (#1703) 2023-01-11 15:45:19 +02:00
github-actions[bot]
955605b2b0 [CI Skip] release/stable 10.2.3
skip-checks: true
2023-01-07 13:05:49 +00:00
Jaco
d291a76798 10.2.3 (#1702) 2023-01-07 15:02:13 +02:00
github-actions[bot]
aa12647ef6 [CI Skip] bump/beta 10.2.3-0-x
skip-checks: true
2023-01-07 10:16:23 +00:00
Jaco
ceff8cc9ff Adjust Buffer check (#1701)
* Adjust Buffer check

* Adjust
2023-01-07 12:12:43 +02:00
github-actions[bot]
0b11d5b9c1 [CI Skip] release/stable 10.2.2
skip-checks: true
2023-01-06 10:28:35 +00:00
Jaco
a1afff886b 10.2.2 (#1700) 2023-01-06 12:25:00 +02:00
github-actions[bot]
08785c3ae6 [CI Skip] bump/beta 10.2.2-9-x
skip-checks: true
2023-01-06 08:42:26 +00:00
Alex Sedighi
438fc8bd86 fix Nodle's known network name (#1699) 2023-01-06 10:38:38 +02:00
github-actions[bot]
6531bf1e36 [CI Skip] bump/beta 10.2.2-8-x
skip-checks: true
2023-01-03 12:42:26 +00:00
Jaco
c066593d7a Bump deps (#1698) 2023-01-03 14:38:45 +02:00
github-actions[bot]
66f777ece9 [CI Skip] bump/beta 10.2.2-7-x
skip-checks: true
2023-01-01 08:25:34 +00:00
Jaco
3fe6be655d Update headers for 2023 (#1697) 2023-01-01 10:21:43 +02:00
github-actions[bot]
3810e392dd [CI Skip] bump/beta 10.2.2-6-x
skip-checks: true
2022-12-26 07:56:29 +00:00
Jaco
3dd4c8d6e5 Bump dev (#1696) 2022-12-26 09:52:49 +02:00
github-actions[bot]
7611ec8b01 [CI Skip] bump/beta 10.2.2-5-x
skip-checks: true
2022-12-17 11:26:20 +00:00
Jaco
82d8207f48 Bump @noble/hashes (#1695) 2022-12-17 13:22:42 +02:00
github-actions[bot]
b2575437e4 [CI Skip] bump/beta 10.2.2-4-x
skip-checks: true
2022-12-14 06:10:22 +00:00
Jaco
1ee92c356a Bump dev (w/ deprecation warnings) (#1694) 2022-12-14 08:06:40 +02:00
github-actions[bot]
372e4cc59b [CI Skip] bump/beta 10.2.2-3-x
skip-checks: true
2022-12-13 08:02:41 +00:00
Jaco
f1eb7ee489 Adjust TS target (#1693)
* Adjust TS target

* es2020
2022-12-13 09:58:52 +02:00
github-actions[bot]
039b849713 [CI Skip] bump/beta 10.2.2-2-x
skip-checks: true
2022-12-08 07:02:09 +00:00
Jaco
8913c70205 Remove CC (#1692) 2022-12-08 08:57:45 +02:00
github-actions[bot]
352c2df232 [CI Skip] bump/beta 10.2.2-1-x
skip-checks: true
2022-12-08 06:28:19 +00:00
Jaco
2994c594fc Bump TS (#1691)
* Bump TS

* Add ss registry compare
2022-12-08 08:24:41 +02:00
github-actions[bot]
29dba0a55f [CI Skip] bump/beta 10.2.2-0-x
skip-checks: true
2022-12-07 13:51:36 +00:00
Jaco
2d89b5b493 Update token retrieval (#1690) 2022-12-07 15:47:51 +02:00
github-actions[bot]
72bdf6cbae [CI Skip] release/stable 10.2.1
skip-checks: true
2022-12-04 09:45:10 +00:00
Jaco
f7d2bf9d11 10.2.1 (#1687) 2022-12-04 11:41:20 +02:00
github-actions[bot]
8275f3bc54 [CI Skip] bump/beta 10.1.15-3-x
skip-checks: true
2022-12-03 09:08:03 +00:00
Jaco
058786689e Bump @polkadot/wasm (#1686) 2022-12-03 11:04:22 +02:00
github-actions[bot]
3d4b0018c0 [CI Skip] bump/beta 10.1.15-2-x
skip-checks: true
2022-12-02 08:04:26 +00:00
Jaco
fa593ef1fc Add /*#__PURE__*/ annotations (#1684) 2022-12-02 09:59:59 +02:00
github-actions[bot]
179ca120fa [CI Skip] bump/beta 10.1.15-1-x
skip-checks: true
2022-12-02 07:46:24 +00:00
Jaco
984a4a1ae8 Adjust has{Buffer, Process} checks w/ globalThis (#1683) 2022-12-02 09:42:41 +02:00
github-actions[bot]
1ad77eb58c [CI Skip] bump/beta 10.1.15-0-x
skip-checks: true
2022-12-02 07:09:25 +00:00
Carlo
928eef865a feat(networks): support ledger for ajuna (#1682)
* chore(hw-ledger): update ledger-substrate to latest

* feat(networks): support ledger for ajuna
2022-12-02 09:04:58 +02:00
github-actions[bot]
16ea0d2ddb [CI Skip] release/stable 10.1.14
skip-checks: true
2022-11-27 07:04:52 +00:00
Jaco
203321c83e 10.1.14 (#1681) 2022-11-27 09:01:20 +02:00
github-actions[bot]
f42721d545 [CI Skip] bump/beta 10.1.14-0-x
skip-checks: true
2022-11-26 15:55:01 +00:00
Jaco
9846e97d73 Bump deps (#1680)
* Bump deps

* Update network json compare
2022-11-26 17:49:56 +02:00
github-actions[bot]
cc5ab430b5 [CI Skip] release/stable 10.1.13
skip-checks: true
2022-11-20 08:56:39 +00:00
Jaco
33b8d410b4 10.1.13 (#1678) 2022-11-20 10:53:06 +02:00
github-actions[bot]
d9c2ed85bf [CI Skip] bump/beta 10.1.13-2-x
skip-checks: true
2022-11-19 11:31:58 +00:00
Jaco
6602421cfe Cleanup ledger-substrate path imports (#1677)
* Cleanup leadger-substrate path imports

* Adjust
2022-11-19 13:28:23 +02:00
github-actions[bot]
cf61061863 [CI Skip] bump/beta 10.1.13-1-x
skip-checks: true
2022-11-19 06:47:21 +00:00
Jaco
b47d83fd3c Bump deps (#1676) 2022-11-19 08:42:33 +02:00
github-actions[bot]
37e8d53a12 [CI Skip] bump/beta 10.1.13-0-x
skip-checks: true
2022-11-18 12:49:49 +00:00
Carlo
fc667b7b72 feat(networks): support ledger for origintrail (#1674)
* chore(hw-ledger): update ledger-substrate to latest

* feat(networks): support ledger for origintrail
2022-11-18 14:44:46 +02:00
github-actions[bot]
a020835039 [CI Skip] release/stable 10.1.12
skip-checks: true
2022-11-13 08:29:00 +00:00
Jaco
9cf963170d 10.1.12 (#1673) 2022-11-13 10:25:32 +02:00
github-actions[bot]
291d609dba [CI Skip] bump/beta 10.1.12-5-x
skip-checks: true
2022-11-09 12:16:11 +00:00
Jaco
a6fa8cec17 `Bump deps (#1672)
* `Bump deps

* networks build
2022-11-09 14:11:28 +02:00
github-actions[bot]
c4b95c7b52 [CI Skip] bump/beta 10.1.12-4-x
skip-checks: true
2022-11-05 15:38:35 +00:00
Jaco
d5243f3527 Bump dev deps (#1671) 2022-11-05 17:34:56 +02:00
github-actions[bot]
d71e34188e [CI Skip] bump/beta 10.1.12-3-x
skip-checks: true
2022-11-02 08:27:31 +00:00
Jaco
3f0f443124 Adjust deno deps imports (#1670) 2022-11-02 10:23:38 +02:00
github-actions[bot]
074879c7a7 [CI Skip] bump/beta 10.1.12-2-x
skip-checks: true
2022-10-30 08:14:05 +00:00
Jaco
516af6f81e Bump dev (#1669) 2022-10-30 10:09:48 +02:00
github-actions[bot]
4ee1446823 [CI Skip] bump/beta 10.1.12-1-x
skip-checks: true
2022-10-22 07:23:29 +00:00
Jaco
88850918b9 Bump dev (#1668) 2022-10-22 10:19:54 +03:00
github-actions[bot]
11ed1c4249 [CI Skip] bump/beta 10.1.12-0-x
skip-checks: true
2022-10-19 05:13:54 +00:00
Jaco
0be13f451d Bump deps (#1667) 2022-10-19 08:09:41 +03:00
github-actions[bot]
f7e431adf9 [CI Skip] release/stable 10.1.11
skip-checks: true
2022-10-15 09:54:21 +00:00
Jaco
6efca949cc 10.1.11 (#1666) 2022-10-15 12:50:55 +03:00
github-actions[bot]
80ed10201f [CI Skip] bump/beta 10.1.11-2-x
skip-checks: true
2022-10-15 09:04:56 +00:00
Jaco
6763d1c062 Bump dev (w/ jest) (#1665) 2022-10-15 12:01:15 +03:00
github-actions[bot]
2c1efaa7a0 [CI Skip] bump/beta 10.1.11-1-x
skip-checks: true
2022-10-14 07:01:10 +00:00
Jaco
d0fd445c06 Bump deps (#1664)
* Bump deps

* Bump deps
2022-10-14 09:57:35 +03:00
github-actions[bot]
f1c84da0b0 [CI Skip] bump/beta 10.1.11-0-x
skip-checks: true
2022-10-07 06:48:06 +00:00
Jaco
a5e68db05f Bump dev (#1663) 2022-10-07 09:43:47 +03:00
github-actions[bot]
60c0e81314 [CI Skip] release/stable 10.1.10
skip-checks: true
2022-10-07 04:37:47 +00:00
Jaco
f72be29dbf 10.1.10 (#1662) 2022-10-07 07:34:02 +03:00
github-actions[bot]
f301a57122 [CI Skip] bump/beta 10.1.10-5-x
skip-checks: true
2022-10-07 04:04:29 +00:00
Jaco
9523e6b0d3 Correct numberToHex(0) conversion (#1661) 2022-10-07 07:00:46 +03:00
github-actions[bot]
b17bfbaf34 [CI Skip] bump/beta 10.1.10-4-x
skip-checks: true
2022-10-07 03:49:18 +00:00
Jaco
669d8b1a84 Ensure {bn, n}ToHex respects bitLength with 0 values (#1660) 2022-10-07 06:45:49 +03:00
github-actions[bot]
b7815d43a5 [CI Skip] bump/beta 10.1.10-3-x
skip-checks: true
2022-10-05 08:39:36 +00:00
Jaco
7622c8b151 Bump deps (#1658)
* Bump deps

* Run tests
2022-10-05 11:35:41 +03:00
github-actions[bot]
37bc63b130 [CI Skip] bump/beta 10.1.10-2-x
skip-checks: true
2022-09-30 05:52:23 +00:00
Jaco
43f9676341 Bump deps (#1657) 2022-09-30 08:48:43 +03:00
github-actions[bot]
1283be6c19 [CI Skip] bump/beta 10.1.10-1-x
skip-checks: true
2022-09-28 10:48:35 +00:00
Jaco
cdd6314a4f Bump TS (#1656) 2022-09-28 13:44:46 +03:00
github-actions[bot]
8d027717bb [CI Skip] bump/beta 10.1.10-0-x
skip-checks: true
2022-09-24 06:10:20 +00:00
Jaco
dec9bbff49 Bump dev (#1655) 2022-09-24 09:05:51 +03:00
github-actions[bot]
536eef02c5 [CI Skip] release/stable 10.1.9
skip-checks: true
2022-09-24 05:32:50 +00:00
Jaco
3b51154d60 10.1.9 (#1654) 2022-09-24 08:29:24 +03:00
github-actions[bot]
f5767e3def [CI Skip] bump/beta 10.1.9-3-x
skip-checks: true
2022-09-23 09:24:05 +00:00
Jaco
29057558ac CHANGELOG (#1653) 2022-09-23 12:20:29 +03:00
github-actions[bot]
e591a75988 [CI Skip] bump/beta 10.1.9-2-x
skip-checks: true
2022-09-23 08:22:36 +00:00
Guilane DENGUIR
2fdc1679f2 feat(VTB): Added support for VTB blockchain (#1651)
* feat(VTB): Added support for VTB blockchain

* fix(lint): sorted struct alphabetically
2022-09-23 11:17:55 +03:00
github-actions[bot]
35f6a51a6b [CI Skip] bump/beta 10.1.9-1-x
skip-checks: true
2022-09-22 07:14:37 +00:00
Jaco
640bab086e Bump deps (#1652) 2022-09-22 10:11:01 +03:00
github-actions[bot]
5f9ffca721 [CI Skip] bump/beta 10.1.9-0-x
skip-checks: true
2022-09-17 07:17:42 +00:00
Jaco
2fd9d18910 Bump dev (#1650) 2022-09-17 10:13:13 +03:00
github-actions[bot]
7782eef6e3 [CI Skip] release/stable 10.1.8
skip-checks: true
2022-09-17 06:26:53 +00:00
Jaco
0c477e15c4 10.1.8 (#1649) 2022-09-17 09:22:50 +03:00
github-actions[bot]
f39820e9c0 [CI Skip] bump/beta 10.1.8-7-x
skip-checks: true
2022-09-14 08:22:20 +00:00
Jaco
35d1a8e57f Bump deps (#1648) 2022-09-14 11:19:00 +03:00
github-actions[bot]
83567b75c5 [CI Skip] bump/beta 10.1.8-6-x
skip-checks: true
2022-09-13 10:37:41 +00:00
Carlos Medeiros
501d0fa249 add hydradx to knownLedger (#1647)
*update `@zondax/ledger-substrate`

* add hydradx to knownLedger
2022-09-13 13:33:59 +03:00
github-actions[bot]
014702ca16 [CI Skip] bump/beta 10.1.8-5-x
skip-checks: true
2022-09-12 05:59:33 +00:00
Jaco
b53d34b41f Bump deps (#1645)
* Bump deps

* ss58 tests

* Bump dev
2022-09-12 08:56:04 +03:00
github-actions[bot]
47d995b88d [CI Skip] bump/beta 10.1.8-4-x
skip-checks: true
2022-09-09 06:04:13 +00:00
Jaco
cedba4af0c Bump deps (#1644) 2022-09-09 09:00:38 +03:00
github-actions[bot]
df8d84467b [CI Skip] bump/beta 10.1.8-3-x
skip-checks: true
2022-09-07 11:02:13 +00:00
Carlo Sala
c289a83b16 feat: add darwinia to knownLedger (#1643)
Co-authored-by: Jaco <jacogr@gmail.com>
2022-09-07 13:58:25 +03:00
github-actions[bot]
a869ba7793 [CI Skip] bump/beta 10.1.8-2-x
skip-checks: true
2022-09-07 10:31:33 +00:00
Jaco
4f4ce3549e Bump deps & CHANGELOG (#1642)
* Bump deps & CHANGELOG

* Downgrade rollup node-resolve
2022-09-07 13:27:13 +03:00
github-actions[bot]
ce55d5b7d8 [CI Skip] bump/beta 10.1.8-1-x
skip-checks: true
2022-09-06 12:16:25 +00:00
Carlo Sala
10997a6d73 feat(networks): add phala and khala to knownLedger (#1641)
* chore: update `@zondax/ledger-substrate`

* feat(networks): add phala and khala to knownLedger
2022-09-06 15:12:41 +03:00
github-actions[bot]
ebe30a2880 [CI Skip] bump/beta 10.1.8-0-x
skip-checks: true
2022-09-04 04:36:57 +00:00
Jaco
b4963cc6bd Expose xxhashAsHex JS tests (#1640) 2022-09-04 07:33:07 +03:00
github-actions[bot]
304f7ad124 [CI Skip] release/stable 10.1.7
skip-checks: true
2022-09-02 08:30:00 +00:00
Jaco
9777bca5d4 10.1.7 (#1639) 2022-09-02 11:26:06 +03:00
github-actions[bot]
4c379e85cc [CI Skip] bump/beta 10.1.7-3-x
skip-checks: true
2022-09-02 08:18:45 +00:00
Jaco
4ee83d3d29 Hoist Ledger interface wrapError (#1638) 2022-09-02 11:15:11 +03:00
github-actions[bot]
40d6a388b2 [CI Skip] bump/beta 10.1.7-2-x
skip-checks: true
2022-08-31 05:53:00 +00:00
Jaco
31f4940ec6 Bump deps (#1637) 2022-08-31 08:48:06 +03:00
github-actions[bot]
1ac50696ca [CI Skip] bump/beta 10.1.7-1-x
skip-checks: true
2022-08-26 15:04:48 +00:00
Jaco
1ca5ff48a0 Pin Github actions (#1636) 2022-08-26 18:00:25 +03:00
github-actions[bot]
8253272901 [CI Skip] bump/beta 10.1.7-0-x
skip-checks: true
2022-08-26 12:54:03 +00:00
Jaco
82c38e9805 Bump TS (#1635) 2022-08-26 15:50:21 +03:00
github-actions[bot]
509834c491 [CI Skip] release/stable 10.1.6
skip-checks: true
2022-08-23 17:59:07 +00:00
Jaco
d713a7a116 10.1.6 (#1633)
* 10.1.6

* Promise.resolve() for asyn calls

* Fix tests

* Extra testnet
2022-08-23 20:55:38 +03:00
github-actions[bot]
d24e14aa5e [CI Skip] release/stable 10.1.5
skip-checks: true
2022-08-21 05:35:18 +00:00
Jaco
b1a4a87926 10.1.5 (#1632) 2022-08-21 08:31:51 +03:00
github-actions[bot]
05e0d36a0e [CI Skip] bump/beta 10.1.5-1-x
skip-checks: true
2022-08-19 08:28:26 +00:00
Jaco
5599a8877c Add new @zondax/ledger-substrate (#1631) 2022-08-19 11:24:47 +03:00
github-actions[bot]
2d850c5ac4 [CI Skip] bump/beta 10.1.5-0-x
skip-checks: true
2022-08-19 07:51:21 +00:00
Jaco
82ba3fb9b1 Bump deps (#1630)
* Bump deps

* Responsebase import

* Do Ledger creation via newSubstrateApp
2022-08-19 10:47:44 +03:00
github-actions[bot]
0aae0e2bc2 [CI Skip] release/stable 10.1.4
skip-checks: true
2022-08-12 08:47:28 +00:00
Jaco
2bcea83e0a 10.1.4 (#1629)
* 10.1.4

* Bump deps
2022-08-12 11:43:55 +03:00
github-actions[bot]
20e126759e [CI Skip] bump/beta 10.1.4-2-x
skip-checks: true
2022-08-12 06:57:47 +00:00
Jaco
566127bcb6 Bump dev (#1628)
* Bump dev

* Adjust deno version

* bn.js import_map
2022-08-12 09:53:00 +03:00
github-actions[bot]
b50ee462da [CI Skip] bump/beta 10.1.4-1-x
skip-checks: true
2022-08-10 11:52:51 +00:00
Jaco
a3cd2de56d Master build fixes, CHANGELOG (#1627) 2022-08-10 14:48:35 +03:00
pan
7f60123417 add bifrost kusama (#1626) 2022-08-07 17:34:53 +03:00
github-actions[bot]
bb124813dc [CI Skip] bump/beta 10.1.4-0-x
skip-checks: true
2022-08-07 08:55:28 +00:00
Jaco
652ede8ce7 Bump dev (#1625) 2022-08-07 11:51:50 +03:00
github-actions[bot]
52d2d38051 [CI Skip] release/stable 10.1.3
skip-checks: true
2022-08-05 13:32:13 +00:00
Jaco
65f627c0dc 10.1.3 (#1624) 2022-08-05 16:28:45 +03:00
github-actions[bot]
9ecf29b83b [CI Skip] bump/beta 10.1.3-5-x
skip-checks: true
2022-08-05 06:02:22 +00:00
Jaco
97b84977b7 Bump dev (#1623) 2022-08-05 08:58:55 +03:00
github-actions[bot]
f9315c307f [CI Skip] bump/beta 10.1.3-4-x
skip-checks: true
2022-08-04 07:48:59 +00:00
Jaco
c08c947abf Convert assert to if + throw (remaining occurences) (#1622)
* Convert assert to if + throw (remaining occurences)

* Adjust for readability

* CHANGELOG
2022-08-04 10:45:10 +03:00
github-actions[bot]
2d4509c32a [CI Skip] bump/beta 10.1.3-3-x
skip-checks: true
2022-08-03 08:00:59 +00:00
Jaco
c6e18b1a9e Optimization of flatten 0 case (#1621)
* Optimizationf or flatten 0 case

* Remove wayward .123deno
2022-08-03 10:57:24 +03:00
github-actions[bot]
515a77781f [CI Skip] bump/beta 10.1.3-2-x
skip-checks: true
2022-08-02 07:56:00 +00:00
Jaco
55d2c149f7 Adjust logger constant map (#1620) 2022-08-02 10:52:23 +03:00
github-actions[bot]
43b959ad1f [CI Skip] bump/beta 10.1.3-1-x
skip-checks: true
2022-08-02 04:35:44 +00:00
Jaco
6708b34a01 Bump deps (#1619) 2022-08-02 07:32:07 +03:00
github-actions[bot]
a9a9214f3b [CI Skip] bump/beta 10.1.3-0-x
skip-checks: true
2022-07-30 04:50:00 +00:00
Jaco
8bd77c97a0 Allow errors on GH actions (#1618) 2022-07-30 07:45:49 +03:00
github-actions[bot]
ed70e5c65f [CI Skip] release/stable 10.1.2
skip-checks: true
2022-07-29 10:09:28 +00:00
Jaco
ca6f157007 10.1.2 (#1617) 2022-07-29 13:06:02 +03:00
github-actions[bot]
6c30e328bb [CI Skip] bump/beta 10.1.2-1-x
skip-checks: true
2022-07-28 08:18:33 +00:00
Jaco
1f6f3c67a8 Bump deps (#1616) 2022-07-28 11:14:19 +03:00
github-actions[bot]
d19e2c8469 [CI Skip] bump/beta 10.1.2-0-x
skip-checks: true
2022-07-26 12:06:54 +00:00
Jaco
92f479e0e5 Bump ss58registry (#1615)
* Bump ss58registry

* Adjust
2022-07-26 15:02:34 +03:00
github-actions[bot]
25f9444c53 [CI Skip] release/stable 10.1.1
skip-checks: true
2022-07-21 05:37:00 +00:00
Jaco
6d46f8b24e 10.1.1 (#1614) 2022-07-21 08:33:15 +03:00
github-actions[bot]
0189cdabe9 [CI Skip] bump/beta 10.0.3-19-x
skip-checks: true
2022-07-20 08:51:57 +00:00
Jaco
9d61c2c96c Adjust spread check for .entries() (#1613) 2022-07-20 11:47:55 +03:00
github-actions[bot]
6599b41155 [CI Skip] bump/beta 10.0.3-18-x
skip-checks: true
2022-07-20 08:27:48 +00:00
Jaco
9c05257046 Add ability to spread Map entries (optimization) (#1612) 2022-07-20 11:23:26 +03:00
github-actions[bot]
41e2e67fd0 [CI Skip] bump/beta 10.0.3-17-x
skip-checks: true
2022-07-20 06:39:06 +00:00
Jaco
092fbdd923 Align property & lazy signatures (getName & self) (#1611)
* Align property & lazy signatures (getName & self)

* Adjust tests
2022-07-20 09:34:13 +03:00
github-actions[bot]
c1cdc80169 [CI Skip] bump/beta 10.0.3-16-x
skip-checks: true
2022-07-19 19:07:58 +00:00
Jaco
306bbdea12 Pass internal this through on objectProperties (#1610)
* Pass internal this through on objectProperties

* Fix property test
2022-07-19 22:03:26 +03:00
github-actions[bot]
f41519e185 [CI Skip] bump/beta 10.0.3-15-x
skip-checks: true
2022-07-19 15:33:00 +00:00
Carlo Sala
1a3fd344b5 feat(ledger): add interlay and unique (#1609) 2022-07-19 18:28:30 +03:00
github-actions[bot]
f798c1dbd5 [CI Skip] bump/beta 10.0.3-14-x
skip-checks: true
2022-07-19 08:58:31 +00:00
Jaco
813d358999 hexToU8a lookup optimizations (#1608)
* hexToU8a lookup optimizations

* Non-aligned test
2022-07-19 11:55:01 +03:00
github-actions[bot]
e85eb35413 [CI Skip] bump/beta 10.0.3-13-x
skip-checks: true
2022-07-19 05:36:50 +00:00
Jaco
8a50cba394 Additional assert cleanups (#1604) 2022-07-19 08:33:22 +03:00
github-actions[bot]
20f030e987 [CI Skip] bump/beta 10.0.3-12-x
skip-checks: true
2022-07-19 05:28:13 +00:00
Jaco
4a683f41d3 Dev bump (w/ additional deno overrides) (#1607) 2022-07-19 08:23:42 +03:00
github-actions[bot]
ea7f59ab73 [CI Skip] bump/beta 10.0.3-11-x
skip-checks: true
2022-07-18 14:54:47 +00:00
Jaco
60498f7f36 Dev bump (#1606) 2022-07-18 17:49:02 +03:00
github-actions[bot]
9ad0c46417 [CI Skip] bump/beta 10.0.3-10-x
skip-checks: true
2022-07-18 13:45:34 +00:00
Jaco
0fc140f838 Additional speed optimizations (#1605) 2022-07-18 16:41:53 +03:00
github-actions[bot]
cd63bb695d [CI Skip] bump/beta 10.0.3-9-x
skip-checks: true
2022-07-18 11:55:15 +00:00
Jaco
7eac688074 Small performance adjustments for Uint8Array indexing (#1603) 2022-07-18 14:51:39 +03:00
github-actions[bot]
820a5e4077 [CI Skip] bump/beta 10.0.3-8-x
skip-checks: true
2022-07-18 11:13:19 +00:00
Jaco
bc0f69aef0 Create public/secret pairs on add to keyring (#1602)
* Create public/secret pairs on add to keyring

* Remove comment sort

* Adjust pre-compute comment

* Adjust tests

* Fix expectation
2022-07-18 14:09:38 +03:00
github-actions[bot]
5074adf690 [CI Skip] bump/beta 10.0.3-7-x
skip-checks: true
2022-07-18 09:31:32 +00:00
Jaco
8461d105d6 Adjust nobody zero-key pair with pre-computed address (#1601) 2022-07-18 12:27:56 +03:00
github-actions[bot]
cd246e2381 [CI Skip] bump/beta 10.0.3-6-x
skip-checks: true
2022-07-17 13:39:12 +00:00
Jaco
8a499bf1bf Bump ss58registry (#1600)
* Bump ss58registry

* Adjust networks deps
2022-07-17 16:35:42 +03:00
github-actions[bot]
5b2ec8e4d6 [CI Skip] bump/beta 10.0.3-5-x
skip-checks: true
2022-07-16 12:44:01 +00:00
Jaco
4a06d1382f Adjust isAscii check to disallow \t, \n, & \r characters (#1599)
* Adjust `isAscii` check to disallow `\t`, `\n`, & `\r` characters

* Readability (& unused code removal)

* Only > & <
2022-07-16 15:40:30 +03:00
github-actions[bot]
66ac9e15a6 [CI Skip] bump/beta 10.0.3-4-x
skip-checks: true
2022-07-16 08:58:10 +00:00
Jaco
0e55357053 Add arrayUnzip (#1598) 2022-07-16 11:54:02 +03:00
github-actions[bot]
b4b80bbf67 [CI Skip] bump/beta 10.0.3-3-x
skip-checks: true
2022-07-15 08:13:43 +00:00
Jaco
4355b9b066 Bump deps (w/ @noble/secp256k1) (#1597) 2022-07-15 11:10:00 +03:00
github-actions[bot]
5c92e095ff [CI Skip] bump/beta 10.0.3-2-x
skip-checks: true
2022-07-11 13:35:08 +00:00
Jaco
4fedd594f1 Dedupe sqrt tests between bi/bn (#1596) 2022-07-11 16:31:41 +03:00
github-actions[bot]
6f05fa6634 [CI Skip] bump/beta 10.0.3-1-x
skip-checks: true
2022-07-11 05:19:12 +00:00
Jaco
856e93f4a0 Bump dev (#1595) 2022-07-11 08:15:26 +03:00
github-actions[bot]
195e42ec11 [CI Skip] bump/beta 10.0.3-0-x
skip-checks: true
2022-07-10 08:38:48 +00:00
Jaco
16e90aadfc Fix .123trigger 2022-07-10 11:35:16 +03:00
github-actions[bot]
bcdf5ba26e [CI Skip] release/stable 10.0.2
skip-checks: true
2022-07-10 06:28:02 +00:00
Jaco
ae9a04e557 Work-around for Jest + dynamic imports (#1594)
* Work-around for Jest + dynamic imports

* CHANGELOG

* 10.0.2
2022-07-10 09:24:11 +03:00
github-actions[bot]
4b37a82fb3 [CI Skip] bump/beta 10.0.2-1-x
skip-checks: true
2022-07-08 21:22:55 +00:00
Jaco
1b69bb9dfa Bump dev deps (#1593) 2022-07-09 00:19:36 +03:00
github-actions[bot]
e8f703f850 [CI Skip] bump/beta 10.0.2-0-x
skip-checks: true
2022-07-08 13:34:11 +00:00
Jaco
3ad4455fe1 Adjust eslint config (#1592) 2022-07-08 16:30:50 +03:00
github-actions[bot]
1f6a263a8e [CI Skip] release/stable 10.0.1
skip-checks: true
2022-07-08 05:31:28 +00:00
Jaco
73073529bb 10.0.1 (#1591) 2022-07-08 08:28:07 +03:00
github-actions[bot]
e1bdac1ba5 [CI Skip] bump/beta 9.7.3-17-x
skip-checks: true
2022-07-08 04:47:55 +00:00
Jaco
56c619944c Bump deps (#1590)
* Bump deps

* Rebump
2022-07-08 07:44:35 +03:00
github-actions[bot]
4c60b98b07 [CI Skip] bump/beta 9.7.3-16-x
skip-checks: true
2022-07-07 14:50:24 +00:00
Jaco
2f9f007547 CHANGELOG (#1589) 2022-07-07 17:46:30 +03:00
github-actions[bot]
d00184fff7 [CI Skip] bump/beta 9.7.3-15-x
skip-checks: true
2022-07-07 14:33:54 +00:00
Carlo Sala
e1e3a1699f feat(networks): add ledger support for Aleph Zero (#1588) 2022-07-07 17:30:29 +03:00
github-actions[bot]
90a1837978 [CI Skip] bump/beta 9.7.3-14-x
skip-checks: true
2022-07-07 07:53:03 +00:00
Jaco
c96ad1a34e Align BigInt functions with BN (option handling) (#1587)
* Align BigInt functions with BN (option handling)

* CHANGELOG

* Pass bitLength parameter
2022-07-07 10:49:40 +03:00
github-actions[bot]
b1eda9efe9 [CI Skip] bump/beta 9.7.3-13-x
skip-checks: true
2022-07-07 07:31:23 +00:00
kaelnew
2184ae8511 add ledger support for stafi (#1569)
Co-authored-by: fengwenjun <kael@fengwenjun.com>
2022-07-07 10:27:34 +03:00
github-actions[bot]
ce94314992 [CI Skip] bump/beta 9.7.3-12-x
skip-checks: true
2022-07-07 07:18:28 +00:00
Jaco
eea3596847 Bump deps (#1586) 2022-07-07 10:14:14 +03:00
github-actions[bot]
37e78f7abd [CI Skip] bump/beta 9.7.3-11-x
skip-checks: true
2022-07-07 05:35:56 +00:00
Jaco
4bb2c83213 Adjust exports (#1585) 2022-07-07 08:31:58 +03:00
github-actions[bot]
3828d941a9 [CI Skip] bump/beta 9.7.3-10-x
skip-checks: true
2022-07-07 04:57:20 +00:00
Jaco
c92d5cfb20 Remove deprecated call signatures (#1584) 2022-07-07 07:54:07 +03:00
github-actions[bot]
70d2250b3b [CI Skip] bump/beta 9.7.3-9-x
skip-checks: true
2022-07-06 17:37:27 +00:00
Jakub Pánik
a46279876f Add HydraDX parachain to genesis (#1583) 2022-07-06 20:34:05 +03:00
github-actions[bot]
4267c4ac76 [CI Skip] bump/beta 9.7.3-8-x
skip-checks: true
2022-07-06 11:04:00 +00:00
Jaco
e09dfcffbe Adjust issue template (#1582) 2022-07-06 14:00:36 +03:00
github-actions[bot]
b722291de2 [CI Skip] bump/beta 9.7.3-7-x
skip-checks: true
2022-07-06 09:54:00 +00:00
Jaco
4367bb0f68 Adjust for available ESM-only dependencies (#1581)
* Adjust for available ESM-only dependencies

* Flags for jest (sadly, still required mid-2022)
2022-07-06 12:50:36 +03:00
github-actions[bot]
1d71f67e2a [CI Skip] bump/beta 9.7.3-6-x
skip-checks: true
2022-07-05 21:22:56 +00:00
Jaco
2d4995b16e Additional CI actions (#1580) 2022-07-06 00:19:30 +03:00
github-actions[bot]
b96cfd36cf [CI Skip] bump/beta 9.7.3-5-x
skip-checks: true
2022-07-05 07:42:41 +00:00
Jaco
9f53838626 Bump dev deps (#1579) 2022-07-05 10:38:50 +03:00
github-actions[bot]
478dd6ccd9 [CI Skip] bump/beta 9.7.3-4-x
skip-checks: true
2022-07-05 07:04:53 +00:00
Jaco
fd313c2e91 Push to deno 2022-07-05 10:01:25 +03:00
github-actions[bot]
66b58ea5f2 [CI Skip] bump/beta 9.7.3-3-x
skip-checks: true
2022-07-05 06:59:07 +00:00
Jaco
66acbe04af Adjust deno exports in x-* (#1578)
* Adjust deno exports in x-*

* Adjust versionDetect
2022-07-05 09:55:57 +03:00
github-actions[bot]
2194cc58d7 [CI Skip] bump/beta 9.7.3-2-x
skip-checks: true
2022-07-05 05:38:54 +00:00
Jaco
768f64aec7 Push to deno repo 2022-07-05 08:35:29 +03:00
github-actions[bot]
2176bedd50 [CI Skip] bump/beta 9.7.3-1-x
skip-checks: true
2022-07-04 09:38:31 +00:00
Jaco
8273eb5441 Switch on TS isolatedModules (#1577) 2022-07-04 12:35:03 +03:00
github-actions[bot]
76af1b8822 [CI Skip] bump/beta 9.7.3-0-x
skip-checks: true
2022-07-04 07:23:50 +00:00
Jaco
80eb70a382 Adjust some usages to not require @types/node (#1576) 2022-07-04 10:20:24 +03:00
github-actions[bot]
7e01b2b256 [CI Skip] release/stable 9.7.2
skip-checks: true
2022-07-04 06:15:29 +00:00
Jaco
b30bed8707 9.7.2 (#1575) 2022-07-04 09:12:22 +03:00
github-actions[bot]
d79813065f [CI Skip] bump/beta 9.7.2-0-x
skip-checks: true
2022-07-04 04:57:36 +00:00
Jaco
7e12949146 Bump deps (#1574) 2022-07-04 07:54:12 +03:00
github-actions[bot]
5ca6575245 [CI Skip] release/stable 9.7.1
skip-checks: true
2022-07-01 14:45:17 +00:00
Jaco
4cadf3bcb7 9.7.1 (#1572) 2022-07-01 17:40:21 +03:00
github-actions[bot]
81f8f16b98 [CI Skip] bump/beta 9.6.3-1-x
skip-checks: true
2022-06-30 11:38:33 +00:00
Jaco
8edfb1139f Bump dev deps (#1570) 2022-06-30 14:35:05 +03:00
github-actions[bot]
69d1d896d1 [CI Skip] bump/beta 9.6.3-0-x
skip-checks: true
2022-06-28 07:56:25 +00:00
Jaco
3bc62adf6f Sprinkle in readonly on array inputs (#1568) 2022-06-28 10:52:57 +03:00
github-actions[bot]
691a8e9b18 [CI Skip] release/stable 9.6.2
skip-checks: true
2022-06-25 05:26:53 +00:00
Jaco
fc812590e5 Fix hexToU8a where 0x is not correctly converted (#1567)
* Fix `hexToU8a` where `0x` is not correctly converted

* 9.6.2

* CHANGELOG
2022-06-25 08:23:36 +03:00
github-actions[bot]
05499abcd5 [CI Skip] bump/beta 9.6.2-2-x
skip-checks: true
2022-06-23 17:05:08 +00:00
Jaco
e375dd8a9d Bump dev (w/ deno build fix) (#1566) 2022-06-23 20:01:35 +03:00
github-actions[bot]
3269883e8f [CI Skip] bump/beta 9.6.2-1-x
skip-checks: true
2022-06-23 11:19:10 +00:00
Jaco
c99129ee06 Rebump dev 2022-06-23 14:14:53 +03:00
github-actions[bot]
2514e107bf [CI Skip] bump/beta 9.6.2-0-x
skip-checks: true
2022-06-23 11:08:07 +00:00
Jaco
3c34a0e1f2 Bump dev 2022-06-23 14:04:35 +03:00
github-actions[bot]
f704e371c8 [CI Skip] release/stable 9.6.1
skip-checks: true
2022-06-23 08:14:26 +00:00
Jaco
97e3443e74 9.6.1 (#1565) 2022-06-23 11:10:14 +03:00
github-actions[bot]
a84e101666 [CI Skip] release/beta 9.5.2-19
skip-checks: true
2022-06-23 07:56:55 +00:00
Jaco
a799918d58 Bump wasm & dev (#1564) 2022-06-23 10:53:26 +03:00
github-actions[bot]
429390fb62 [CI Skip] release/beta 9.5.2-18
skip-checks: true
2022-06-22 11:38:19 +00:00
Jaco
05d0109b72 Bump dev (w/ 3rd-part from esm.sh) (#1563) 2022-06-22 14:34:06 +03:00
github-actions[bot]
02b1429979 [CI Skip] release/beta 9.5.2-17
skip-checks: true
2022-06-22 10:46:27 +00:00
Jaco
6e1853d01f Bump dev (w/ deno ensure filename fixes) (#1562) 2022-06-22 13:42:58 +03:00
github-actions[bot]
aa9c406d01 [CI Skip] release/beta 9.5.2-16
skip-checks: true
2022-06-22 10:10:41 +00:00
Jaco
f9ec44823d Added mapping for @noble/secp256k1 to deno.land/x (#1561) 2022-06-22 13:07:12 +03:00
github-actions[bot]
54218651f9 [CI Skip] release/beta 9.5.2-15
skip-checks: true
2022-06-22 08:56:23 +00:00
Jaco
571c9eff6a Bump dev (& ignore perf tests on CI) (#1560) 2022-06-22 11:52:18 +03:00
github-actions[bot]
5b7333b8dd [CI Skip] release/beta 9.5.2-14
skip-checks: true
2022-06-22 08:17:21 +00:00
Jaco
938fa8b967 Bump dev (w/ publish updates) (#1559) 2022-06-22 11:13:18 +03:00
github-actions[bot]
b99a69871e [CI Skip] release/beta 9.5.2-13
skip-checks: true
2022-06-22 06:45:47 +00:00
Jaco
b1da8f575b Trigger deno build 2022-06-22 09:40:32 +03:00
github-actions[bot]
a960aaf6ae [CI Skip] release/beta 9.5.2-12
skip-checks: true
2022-06-22 06:34:30 +00:00
Jaco
f88c647ad0 Bump deps (#1558)
* Bump deps

* 3rd party bumps
2022-06-22 09:30:31 +03:00
github-actions[bot]
7ff11925d9 [CI Skip] release/beta 9.5.2-11
skip-checks: true
2022-06-21 13:03:57 +00:00
Jaco
cb5a588489 Bump dev (w/ stable deno publish) (#1557)
* Bump dev (w/ stable deno publish)

* Adjust

* Bump dev
2022-06-21 15:59:46 +03:00
github-actions[bot]
09019224e3 [CI Skip] release/beta 9.5.2-10
skip-checks: true
2022-06-21 04:49:51 +00:00
Jaco
2d7031831a Bump TS to 4.7.4 (#1556) 2022-06-21 07:44:57 +03:00
github-actions[bot]
faf7ea2b17 [CI Skip] release/beta 9.5.2-9
skip-checks: true
2022-06-21 03:32:33 +00:00
Jaco
af973de694 Bump deps (#1555) 2022-06-21 06:28:19 +03:00
github-actions[bot]
dfede866b2 [CI Skip] release/beta 9.5.2-8
skip-checks: true
2022-06-20 14:11:41 +00:00
Jaco
0f0b243815 Adjust isNull & isUndefined checks (#1554) 2022-06-20 17:06:35 +03:00
github-actions[bot]
29f53fe906 [CI Skip] release/beta 9.5.2-7
skip-checks: true
2022-06-20 13:30:11 +00:00
Jaco
225c250634 Adjust asserts (#1548)
* Adjust asserts

* Fix linting & build
2022-06-20 16:26:07 +03:00
github-actions[bot]
c871e9d735 [CI Skip] release/beta 9.5.2-6
skip-checks: true
2022-06-20 10:19:45 +00:00
Jaco
b42ead28e5 Optimize isAsicc check (#1553) 2022-06-20 13:15:00 +03:00
github-actions[bot]
db0581c051 [CI Skip] release/beta 9.5.2-5
skip-checks: true
2022-06-20 08:54:49 +00:00
Jaco
e7ac095ace Slight improvment to hexToU8a (#1552) 2022-06-20 11:49:41 +03:00
github-actions[bot]
a7d9fc48e9 [CI Skip] release/beta 9.5.2-4
skip-checks: true
2022-06-20 08:34:19 +00:00
Jaco
3db2990ce7 Change Date.now() to performance.now() (#1551)
* Change Date.now() to performance.now()

* Adjust
2022-06-20 11:29:59 +03:00
github-actions[bot]
4b7cda243b [CI Skip] release/beta 9.5.2-3
skip-checks: true
2022-06-20 05:13:47 +00:00
Jaco
c4ceeb8382 Additional float conversion tests (#1550) 2022-06-20 08:09:51 +03:00
github-actions[bot]
540971d388 [CI Skip] release/beta 9.5.2-2
skip-checks: true
2022-06-19 18:33:38 +00:00
Jaco
b4d65a1c49 floatToU8a adjustment (#1549) 2022-06-19 21:29:34 +03:00
github-actions[bot]
4fd4660853 [CI Skip] release/beta 9.5.2-1
skip-checks: true
2022-06-19 07:22:23 +00:00
Jaco
4b46c179b2 floatToU8a & u8aToFloat (#1547)
* floatToU8a & u8aToFloat

* test for asserts
2022-06-19 10:17:35 +03:00
github-actions[bot]
3c6d297ecd [CI Skip] release/beta 9.5.2-0
skip-checks: true
2022-06-18 18:37:12 +00:00
Jaco
4a6e620acc Adjust isUndefined check (#1546) 2022-06-18 21:33:19 +03:00
github-actions[bot]
50b494ee2e [CI Skip] release/stable 9.5.1
skip-checks: true
2022-06-18 11:21:50 +00:00
Jaco
5b551ca976 9.5.1 (#1545) 2022-06-18 14:18:04 +03:00
github-actions[bot]
5f2a0e25f9 [CI Skip] release/beta 9.4.2-25
skip-checks: true
2022-06-18 10:35:02 +00:00
Jaco
4edb0f00b6 Adjust asserts (#1544) 2022-06-18 13:31:25 +03:00
github-actions[bot]
096c772d7d [CI Skip] release/beta 9.4.2-24
skip-checks: true
2022-06-18 06:02:51 +00:00
Jaco
d771d4c243 Performance test for isCodec vs instanceof (#1543) 2022-06-18 08:58:59 +03:00
github-actions[bot]
e038c36719 [CI Skip] release/beta 9.4.2-23
skip-checks: true
2022-06-17 06:28:47 +00:00
Jaco
19c8799986 Additional property tests (#1542) 2022-06-17 09:25:01 +03:00
github-actions[bot]
e7f642e7fb [CI Skip] release/beta 9.4.2-22
skip-checks: true
2022-06-17 04:59:00 +00:00
Jaco
90e05a7907 Adjust objectProperties with key in that check (#1541) 2022-06-17 07:55:08 +03:00
github-actions[bot]
1ad961eb93 [CI Skip] release/beta 9.4.2-21
skip-checks: true
2022-06-16 18:38:27 +00:00
Jaco
8549f1fe89 Adjust isAscii str vs u8a loops (#1540) 2022-06-16 21:34:35 +03:00
github-actions[bot]
0be212bd49 [CI Skip] release/beta 9.4.2-20
skip-checks: true
2022-06-16 14:18:23 +00:00
Jaco
2dd2f78f7e Use \d in regex (as applicable) (#1539)
* Use \d in regex (as applicable)

* Adjust
2022-06-16 17:13:34 +03:00
github-actions[bot]
d5ce0ff4d1 [CI Skip] release/beta 9.4.2-19
skip-checks: true
2022-06-16 13:52:39 +00:00
Jaco
4d887e889a Adjust testing for uppercase words in stringCamelCase (#1538)
* Adjust testing for uppercase words in stringCamelCase

* Use \d

* Revert
2022-06-16 16:47:52 +03:00
github-actions[bot]
1113d09315 [CI Skip] release/beta 9.4.2-18
skip-checks: true
2022-06-16 13:12:24 +00:00
Jaco
b774b7804b Small camelCase conversion adjustments (#1537)
* Small camelCase conversion adjustments

* Remove unused exports

* Extract formatRuns
2022-06-16 16:07:45 +03:00
github-actions[bot]
6c1b0e7346 [CI Skip] release/beta 9.4.2-17
skip-checks: true
2022-06-16 11:56:18 +00:00
Jaco
68ba664c4c hexToU8a adjustments (#1536)
* hexToU8a adjustments

* Adjust test
2022-06-16 14:51:34 +03:00
github-actions[bot]
c3c4ceab8b [CI Skip] release/beta 9.4.2-16
skip-checks: true
2022-06-16 08:34:08 +00:00
Jaco
fff30601a0 Unroll u8aToBn loops (#1535)
* Unroll u8aToBn loops

* Adjust with additional xor shortcuts

* Adjust mult -> shift (where below u32)

* assertUnreachable

* Add u8aToNumber
2022-06-16 11:29:23 +03:00
github-actions[bot]
cfb5d24a87 [CI Skip] release/beta 9.4.2-15
skip-checks: true
2022-06-15 18:51:31 +00:00
Jaco
7ce4ed1504 Cleanup comments (#1534) 2022-06-15 21:47:23 +03:00
github-actions[bot]
5a00b146fc [CI Skip] release/beta 9.4.2-14
skip-checks: true
2022-06-15 18:22:28 +00:00
Jaco
1a73a3407e Adjust option extraction for helpers (#1533)
* Adjust option extraction for helpers

* Adjust
2022-06-15 21:17:07 +03:00
github-actions[bot]
0db66346a6 [CI Skip] release/beta 9.4.2-13
skip-checks: true
2022-06-14 04:28:47 +00:00
Jaco
a07bfe1234 Bump dev (#1532) 2022-06-14 07:24:11 +03:00
github-actions[bot]
5feb233abc [CI Skip] release/beta 9.4.2-12
skip-checks: true
2022-06-13 05:15:51 +00:00
Jaco
16951c6feb Bump 3rd-party deps 2022-06-13 08:11:43 +03:00
github-actions[bot]
22aa8d7adb [CI Skip] release/beta 9.4.2-11
skip-checks: true
2022-06-12 08:16:35 +00:00
Jaco
dfaf954f75 Update issue template (#1530) 2022-06-12 11:12:07 +03:00
github-actions[bot]
78911607e8 [CI Skip] release/beta 9.4.2-10
skip-checks: true
2022-06-12 06:15:23 +00:00
Jaco
cdcc331e6e Additional internal comments for exposed functions (#1529) 2022-06-12 09:11:12 +03:00
github-actions[bot]
882b29eebd [CI Skip] release/beta 9.4.2-9
skip-checks: true
2022-06-11 20:37:42 +00:00
Jaco
de5c9a1594 Inline function for min/max creator (#1528) 2022-06-11 23:33:42 +03:00
github-actions[bot]
2fc26b5533 [CI Skip] release/beta 9.4.2-8
skip-checks: true
2022-06-11 15:21:18 +00:00
Jaco
6d795ecc5d Shared helper function for bn/bi min/max compares (#1527)
* Shared helper function for bn/bi min/max compares

* min/max test
2022-06-11 18:17:21 +03:00
github-actions[bot]
a0c3aa3059 [CI Skip] release/beta 9.4.2-7
skip-checks: true
2022-06-11 14:32:46 +00:00
Jaco
e30bac1ed6 Test for sqrt(MAX_SAFE_INT) (w/ comments for excluded functions) (#1526)
* Test for sqrt(MAX_SAFE_INT) (w/ comments for excluded functions)

* Adjust {bi, bn}{Max, Min} with factory
2022-06-11 17:28:55 +03:00
github-actions[bot]
50a061eab3 [CI Skip] release/beta 9.4.2-6
skip-checks: true
2022-06-11 07:52:58 +00:00
Jaco
f2064f059f Additional @internal markers (#1525) 2022-06-11 10:48:51 +03:00
github-actions[bot]
768cd68146 [CI Skip] release/beta 9.4.2-5
skip-checks: true
2022-06-11 05:43:44 +00:00
Jaco
0a5bfdca5e Bump deps (& issue template) (#1524) 2022-06-11 08:39:52 +03:00
github-actions[bot]
3ec2f6dcb2 [CI Skip] release/beta 9.4.2-4
skip-checks: true
2022-06-10 11:53:05 +00:00
Jaco
0f2a3a142f CHANGELOG (#1523) 2022-06-10 14:48:56 +03:00
github-actions[bot]
6f5a706ec9 [CI Skip] release/beta 9.4.2-3
skip-checks: true
2022-06-10 10:56:44 +00:00
pan
7e0f917c2b update bifrost genesis hash (#1521) 2022-06-10 13:52:50 +03:00
github-actions[bot]
99731a6664 [CI Skip] release/beta 9.4.2-2
skip-checks: true
2022-06-07 06:02:06 +00:00
Jaco
7765476a26 Use bitwise not as Math.floor replacement (#1518)
* Use bitwise not as Math.floor replacement

* No objectSpread in extractTime

* Flatten extractTime calls
2022-06-07 08:58:11 +03:00
github-actions[bot]
2cd9633afe [CI Skip] release/beta 9.4.2-1
skip-checks: true
2022-06-07 05:47:38 +00:00
Jaco
72749d083f Bump deps (#1519) 2022-06-07 08:43:50 +03:00
github-actions[bot]
9ede85f99a [CI Skip] release/beta 9.4.2-0
skip-checks: true
2022-06-06 06:00:31 +00:00
Carlo Sala
d6a390beb4 add Composable support for ledger (#1515)
* fix(networks): move centrifuge to new parachain chain

* feat: add composable support for ledger

* Update packages/networks/src/defaults/genesis.ts

Co-authored-by: Jaco <jacogr@gmail.com>
2022-06-06 08:55:46 +03:00
github-actions[bot]
a14bec79f8 [CI Skip] release/stable 9.4.1
skip-checks: true
2022-06-04 05:10:26 +00:00
Jaco
c0de5ac3c8 9.4.1 (#1514) 2022-06-04 08:05:32 +03:00
github-actions[bot]
8d7f810556 [CI Skip] release/beta 9.3.2-4
skip-checks: true
2022-06-04 04:48:08 +00:00
Jaco
5c6526a6bd Bump deps (#1513) 2022-06-04 07:44:30 +03:00
github-actions[bot]
e9635ab75b [CI Skip] release/beta 9.3.2-3
skip-checks: true
2022-06-03 15:57:54 +00:00
Jaco
e946243b6f Additional performance tests (#1512) 2022-06-03 18:53:57 +03:00
github-actions[bot]
ca6a4177b5 [CI Skip] release/beta 9.3.2-2
skip-checks: true
2022-06-03 07:24:22 +00:00
Jaco
7817311f84 Bump dev deps (#1511) 2022-06-03 10:20:26 +03:00
github-actions[bot]
77659aae2a [CI Skip] release/beta 9.3.2-1
skip-checks: true
2022-06-01 05:18:41 +00:00
Jaco
7cc619fbb0 Add nextTick (#1510)
* Add nextTick

* ss58Registry test results
2022-06-01 08:14:42 +03:00
github-actions[bot]
887654049e [CI Skip] release/beta 9.3.2-0
skip-checks: true
2022-05-30 07:51:32 +00:00
Jaco
d07b79f578 Bump TS (#1508)
* Bump TS

* Override
2022-05-30 10:46:38 +03:00
github-actions[bot]
cefeb0bb51 [CI Skip] release/stable 9.3.1
skip-checks: true
2022-05-29 06:27:05 +00:00
Jaco
1d675ec803 9.3.1 (#1507) 2022-05-29 09:23:01 +03:00
github-actions[bot]
7596dfa65c [CI Skip] release/beta 9.2.2-16
skip-checks: true
2022-05-28 10:40:10 +00:00
Jaco
508e997c64 Bump deps (#1506) 2022-05-28 13:35:56 +03:00
github-actions[bot]
89563ee05c [CI Skip] release/beta 9.2.2-15
skip-checks: true
2022-05-27 08:15:04 +00:00
Jaco
8b72584d53 Add compactFromU8aLim (Remove extraneous *Strict) (#1505)
* Add compactFromU8aLim (Remove extraoneous *Strict)

* Fix build
2022-05-27 11:10:56 +03:00
github-actions[bot]
4ae62c114b [CI Skip] release/beta 9.2.2-14
skip-checks: true
2022-05-27 06:20:09 +00:00
Jaco
823fb51d18 Use for loop in string{Came, Pascal}Case conversions (#1504)
* Use for loop in string{Came, Pascal}Case conversions

* Missing +-= (removed as test)
2022-05-27 09:15:56 +03:00
github-actions[bot]
a840b815bd [CI Skip] release/beta 9.2.2-13
skip-checks: true
2022-05-25 07:06:12 +00:00
Jaco
fbf973dc2a Add u8a-only strict variants (#1503) 2022-05-25 10:02:01 +03:00
github-actions[bot]
2698f6779f [CI Skip] release/beta 9.2.2-12
skip-checks: true
2022-05-25 04:30:46 +00:00
Jaco
3b5de80c54 Compact loop unrolling (#1502) 2022-05-25 07:26:07 +03:00
github-actions[bot]
041f5a7c2b [CI Skip] release/beta 9.2.2-11
skip-checks: true
2022-05-24 15:32:58 +00:00
Jaco
cb8f1130af No indirection via isCompact call (#1501) 2022-05-24 18:28:43 +03:00
github-actions[bot]
f480df7504 [CI Skip] release/beta 9.2.2-10
skip-checks: true
2022-05-24 15:00:08 +00:00
Jaco
51763d3bf9 Adjust instanceof checks (#1500) 2022-05-24 17:56:01 +03:00
github-actions[bot]
d2b7e88060 [CI Skip] release/beta 9.2.2-9
skip-checks: true
2022-05-24 14:31:54 +00:00
Jaco
b20df563ce Buffer short-circuit (onlky convert when non-Uint8Array) (#1499) 2022-05-24 17:27:47 +03:00
github-actions[bot]
5ada180d66 [CI Skip] release/beta 9.2.2-8
skip-checks: true
2022-05-24 13:47:16 +00:00
Jaco
a4256de444 Small u8aToU8a optimizations (#1498)
* Small u8aToU8a optimizations

* Slight order adjustments

* Adjust
2022-05-24 16:42:58 +03:00
github-actions[bot]
bce5553a4b [CI Skip] release/beta 9.2.2-7
skip-checks: true
2022-05-24 11:44:49 +00:00
Carlo Sala
670743cbcf some changes to KnownLedger (#1497)
* add `nodle-para` chain

* add astar and polkadex to KnownLedger

* remove `nodle-chain`
2022-05-24 14:39:50 +03:00
github-actions[bot]
ffed9ceb6d [CI Skip] release/beta 9.2.2-6
skip-checks: true
2022-05-22 08:44:56 +00:00
Jaco
bbacb1b80a Bump deps (#1496) 2022-05-22 11:40:09 +03:00
github-actions[bot]
5ea38c9898 [CI Skip] release/beta 9.2.2-5
skip-checks: true
2022-05-20 12:21:52 +00:00
Jaco
7177722a49 Fix buffer imports (#1495) 2022-05-20 15:17:39 +03:00
github-actions[bot]
6083923604 [CI Skip] release/beta 9.2.2-4
skip-checks: true
2022-05-20 10:04:53 +00:00
Jaco
7a3e1c23aa Internal bip32 mnemonicGenerate takes numWords param (#1494)
* Internal bip32 mnemonicGenerate takes numWords param

* Bump deps

* Calculate Calculate strength

* Remove duplicated assert
2022-05-20 13:00:07 +03:00
github-actions[bot]
cab50dbf7a [CI Skip] release/beta 9.2.2-3
skip-checks: true
2022-05-20 09:01:11 +00:00
Jaco
9964b308ce Small readability cleanups (#1493) 2022-05-20 11:56:01 +03:00
github-actions[bot]
247a0e7227 [CI Skip] release/beta 9.2.2-2
skip-checks: true
2022-05-20 06:07:23 +00:00
Jaco
f2dba8aff8 Small typo cleanups (#1492) 2022-05-20 09:02:32 +03:00
github-actions[bot]
2ef18335e3 [CI Skip] release/beta 9.2.2-1
skip-checks: true
2022-05-20 05:59:47 +00:00
Jaco
fa0818d088 Small addressToEvm non-local change (#1491) 2022-05-20 08:55:58 +03:00
github-actions[bot]
2106626f22 [CI Skip] release/beta 9.2.2-0
skip-checks: true
2022-05-16 09:17:38 +00:00
Carlo Sala
fceab0becc add parallel to KnownLedger (#1490) 2022-05-16 12:13:31 +03:00
github-actions[bot]
bdf42368f7 [CI Skip] release/stable 9.2.1
skip-checks: true
2022-05-13 19:21:22 +00:00
Jaco
36ab5ea5e2 9.2.1 (#1489) 2022-05-13 22:16:25 +03:00
github-actions[bot]
c5c8469038 [CI Skip] release/beta 9.1.2-11
skip-checks: true
2022-05-13 08:24:30 +00:00
Jaco
83d0121a28 Additional deprecations (#1488)
* Additional deprecations

* Unsigned shift

* Adjust

* offset calc
2022-05-13 11:19:20 +03:00
github-actions[bot]
aff74ebde3 [CI Skip] release/beta 9.1.2-10
skip-checks: true
2022-05-13 06:46:09 +00:00
Jaco
be4619ba3d MArk deprecated function signatures (#1487) 2022-05-13 09:40:43 +03:00
github-actions[bot]
17bc2e9fa0 [CI Skip] release/beta 9.1.2-9
skip-checks: true
2022-05-13 05:39:36 +00:00
Jaco
66e2382f26 Re-add top-level cryptoWaitReady (#1486) 2022-05-13 08:34:53 +03:00
github-actions[bot]
6c299f81c6 [CI Skip] release/beta 9.1.2-8
skip-checks: true
2022-05-13 04:33:17 +00:00
Nantian
a4fcba6ff6 add acala ledger config (#1485) 2022-05-13 07:29:10 +03:00
github-actions[bot]
1a3507366e [CI Skip] release/beta 9.1.2-7
skip-checks: true
2022-05-12 09:18:43 +00:00
Jaco
65939dbe9d Signed conversion on empty u8a (#1484) 2022-05-12 12:14:34 +03:00
github-actions[bot]
6914411232 [CI Skip] release/beta 9.1.2-6
skip-checks: true
2022-05-12 07:59:10 +00:00
Jaco
c79f46aaa2 Bump to beta @polkadot/wasm-* (#1483) 2022-05-12 10:55:00 +03:00
github-actions[bot]
cea09b2c8b [CI Skip] release/beta 9.1.2-5
skip-checks: true
2022-05-12 05:14:44 +00:00
Jaco
bc23ed9fc9 Bump deps (#1482) 2022-05-12 08:09:53 +03:00
github-actions[bot]
a4f286e89a [CI Skip] release/beta 9.1.2-4
skip-checks: true
2022-05-10 07:02:34 +00:00
Jaco
f112f9eb5e Bump deps (#1480) 2022-05-10 09:57:45 +03:00
github-actions[bot]
010552ca44 [CI Skip] release/beta 9.1.2-3
skip-checks: true
2022-05-09 09:54:37 +00:00
Jaco
9ae4b1066e Change all occurences of .substr(...) to .substring(...) (#1479) 2022-05-09 12:50:13 +03:00
github-actions[bot]
1a57abde6e [CI Skip] release/beta 9.1.2-2
skip-checks: true
2022-05-09 08:11:13 +00:00
Jaco
cf4b44940e Bump dev (#1478) 2022-05-09 11:05:53 +03:00
github-actions[bot]
81e19aace4 [CI Skip] release/beta 9.1.2-1
skip-checks: true
2022-05-07 08:58:12 +00:00
Jaco
7341c32df5 Optimize u8aToHex with direct (non-hex) conversion (#1477)
* Optimize `u8aToHex` with direct (non-hex) conversion

* Adjust compactFromU8a tests
2022-05-07 11:54:08 +03:00
github-actions[bot]
bb1ed6cfcd [CI Skip] release/beta 9.1.2-0
skip-checks: true
2022-05-05 06:07:20 +00:00
Jaco
55dcfb5e18 Bump @polkadot/dev (#1476) 2022-05-05 09:03:33 +03:00
github-actions[bot]
2fe9e5a125 [CI Skip] release/stable 9.1.1
skip-checks: true
2022-04-30 05:30:01 +00:00
Jaco
e24385213d 9.1.1 (#1473) 2022-04-30 08:25:32 +03:00
github-actions[bot]
9cd81a23e7 [CI Skip] release/beta 9.0.2-11
skip-checks: true
2022-04-30 05:08:24 +00:00
Jaco
64348860cb Bump dev (#1472) 2022-04-30 08:04:24 +03:00
github-actions[bot]
ecfceb5d0a [CI Skip] release/beta 9.0.2-10
skip-checks: true
2022-04-29 11:28:19 +00:00
Jaco
cc840c37a2 Bump TS (#1471) 2022-04-29 14:24:27 +03:00
github-actions[bot]
527af12b0f [CI Skip] release/beta 9.0.2-9
skip-checks: true
2022-04-29 05:40:33 +00:00
Jaco
9f2b98d5a8 New Rococo genesis (#1470)
* New Rococo genesis

* CHANGELOG
2022-04-29 08:35:39 +03:00
github-actions[bot]
4bd767fb62 [CI Skip] release/beta 9.0.2-8
skip-checks: true
2022-04-28 10:18:44 +00:00
Jaco
cff29dfd2d Jg type comments (#1469)
* Add some field-level comments on the keyring

* CHANGELOG
2022-04-28 13:13:32 +03:00
github-actions[bot]
d26b80905c [CI Skip] release/beta 9.0.2-7
skip-checks: true
2022-04-27 17:26:43 +00:00
Carlo Sala
4249679882 feat(networks): add statemint to KnownLedger (#1467)
* feat(networks): add statemint

* feat(hw-ledger): add statemint
2022-04-27 20:21:27 +03:00
github-actions[bot]
ff27055808 [CI Skip] release/beta 9.0.2-6
skip-checks: true
2022-04-27 06:57:00 +00:00
Jaco
54f8acb27f Bump @polkadot/dev (#1466) 2022-04-27 09:51:59 +03:00
github-actions[bot]
017bebe8bb [CI Skip] release/beta 9.0.2-5
skip-checks: true
2022-04-24 09:21:21 +00:00
Jaco
89f5670d8b Bump @polkadot/dev (#1464) 2022-04-24 12:17:18 +03:00
github-actions[bot]
b9e2293bee [CI Skip] release/beta 9.0.2-4
skip-checks: true
2022-04-20 17:40:13 +00:00
xx network
3b45418e47 Add xxnetwork genesis hash and ledger app (#1463)
* Add xxnetwork genesis hash and ledger app

* Update test

Co-authored-by: Bernardo Cardoso <bernardo@xx.network>
2022-04-20 20:35:20 +03:00
github-actions[bot]
6af7f6ef24 [CI Skip] release/beta 9.0.2-3
skip-checks: true
2022-04-19 14:02:14 +00:00
Jaco
a0b85ee7f8 Bump deps (#1462) 2022-04-19 16:58:00 +03:00
github-actions[bot]
2e0c6c3368 [CI Skip] release/beta 9.0.2-2
skip-checks: true
2022-04-14 04:21:59 +00:00
Jaco
1d36284369 Adjust isHex performance test (#1461) 2022-04-14 07:18:01 +03:00
github-actions[bot]
94788692bb [CI Skip] release/beta 9.0.2-1
skip-checks: true
2022-04-13 05:37:51 +00:00
Jaco
1f3f5d5980 Adjust detectPackage formatting (#1460) 2022-04-13 08:33:37 +03:00
github-actions[bot]
90c2638221 [CI Skip] release/beta 9.0.2-0
skip-checks: true
2022-04-12 05:02:30 +00:00
Jaco
98e02a0baa Bump deps (#1459) 2022-04-12 07:58:00 +03:00
github-actions[bot]
e96a204bb5 [CI Skip] release/stable 9.0.1
skip-checks: true
2022-04-09 07:44:36 +00:00
Jaco
0dc4ec48da 9.0.1 (#1457) 2022-04-09 10:40:27 +03:00
github-actions[bot]
5d5c7e4c0a [CI Skip] release/beta 8.7.2-3
skip-checks: true
2022-04-06 08:53:01 +00:00
Jaco
76c973f5c5 Be explicit in re-exports from @polkadot/networks (#1455) 2022-04-06 11:48:34 +03:00
github-actions[bot]
7608f2eed9 [CI Skip] release/beta 8.7.2-2
skip-checks: true
2022-04-06 08:20:38 +00:00
Jaco
e585aa1899 Bump dev (w/ bundleInit shim build) (#1454) 2022-04-06 11:15:52 +03:00
github-actions[bot]
82152352ea [CI Skip] release/beta 8.7.2-1
skip-checks: true
2022-04-05 05:29:20 +00:00
Jaco
515e1d62af Bump to latest @polkadot/dev (#1453) 2022-04-05 08:25:15 +03:00
github-actions[bot]
2d2e6bc1bf [CI Skip] release/beta 8.7.2-0
skip-checks: true
2022-04-01 07:50:06 +00:00
Jaco
5bb89db279 Bump dev deps (#1451) 2022-04-01 10:45:59 +03:00
github-actions[bot]
36d8f6c922 [CI Skip] release/stable 8.7.1
skip-checks: true
2022-03-27 07:22:56 +00:00
Jaco
8224beb85d 8.7.1 (#1449) 2022-03-27 10:17:39 +03:00
github-actions[bot]
ae6856f124 [CI Skip] release/beta 8.6.2-6
skip-checks: true
2022-03-27 06:27:30 +00:00
Jaco
6953e22168 Bump TypeScript (#1448) 2022-03-27 09:23:26 +03:00
github-actions[bot]
8c815ac601 [CI Skip] release/beta 8.6.2-5
skip-checks: true
2022-03-26 20:00:08 +00:00
Jaco
9f1f5c9f5f Re-add browser entry for util-crypto (#1447) 2022-03-26 21:56:05 +02:00
github-actions[bot]
b4acb2afa8 [CI Skip] release/beta 8.6.2-4
skip-checks: true
2022-03-26 16:12:55 +00:00
Jaco
7287e746e3 Bump dev deps (#1446) 2022-03-26 18:08:40 +02:00
github-actions[bot]
ea4d5ab2e9 [CI Skip] release/beta 8.6.2-3
skip-checks: true
2022-03-26 15:13:34 +00:00
Jaco
0dbc359f07 s/cryptoInit/bundleInit/ (#1445)
* s/cryptoInit/bundleInit/

* Adjust imports
2022-03-26 17:09:34 +02:00
github-actions[bot]
1e380ca1eb [CI Skip] release/beta 8.6.2-2
skip-checks: true
2022-03-26 11:22:32 +00:00
Jaco
6bbe961a0f Adjust browser entry (#1444) 2022-03-26 13:18:30 +02:00
github-actions[bot]
0fa8484208 [CI Skip] release/beta 8.6.2-1
skip-checks: true
2022-03-23 12:22:19 +00:00
Jaco
30d5f5c118 Additional BN & BigInt negative tests (#1443) 2022-03-23 14:18:14 +02:00
github-actions[bot]
3bcd1d17f6 [CI Skip] release/beta 8.6.2-0
skip-checks: true
2022-03-23 05:19:18 +00:00
Jaco
befdfca6b2 Bump dev (#1442) 2022-03-23 07:15:12 +02:00
github-actions[bot]
c9b9f80987 [CI Skip] release/stable 8.6.1
skip-checks: true
2022-03-19 07:57:33 +00:00
Jaco
0eae8fb0f7 8.6.1 (#1439)
* 8.6.1

* CHANGELOG
2022-03-19 09:53:48 +02:00
github-actions[bot]
903c3b120f [CI Skip] release/beta 8.5.2-9
skip-checks: true
2022-03-19 07:20:08 +00:00
Jaco
6f8ffcbb99 Bump deps & CHANGELOG (#1438) 2022-03-19 09:16:02 +02:00
github-actions[bot]
2563a0ac3d [CI Skip] release/beta 8.5.2-8
skip-checks: true
2022-03-19 07:03:23 +00:00
Jaco
d73ca5805a Fail on invalid secp256k1 publicKey generation (#1437) 2022-03-19 08:59:31 +02:00
github-actions[bot]
1e20b7725b [CI Skip] release/beta 8.5.2-7
skip-checks: true
2022-03-18 14:14:26 +00:00
Lovesh Harchandani
97ec9e6626 Update genesis hash of Dock mainnet (#1436)
Signed-off-by: lovesh <lovesh.bond@gmail.com>
2022-03-18 16:09:24 +02:00
github-actions[bot]
120d5304f1 [CI Skip] release/beta 8.5.2-6
skip-checks: true
2022-03-16 19:15:14 +00:00
Jaco
7c59232204 Bump @polkadot/dev (#1434) 2022-03-16 20:55:13 +02:00
github-actions[bot]
0df0bf094e [CI Skip] release/beta 8.5.2-5
skip-checks: true
2022-03-16 07:22:49 +00:00
Jaco
5b16f0cf36 Bump dev (#1433)
* Bump dev

* Bump dev
2022-03-16 09:17:26 +02:00
github-actions[bot]
c1b7cd5885 [CI Skip] release/beta 8.5.2-4
skip-checks: true
2022-03-15 18:25:20 +00:00
Jaco
ec7bae841e Bump dev (w/ CJS react-native key) (#1432)
* Bump dev (w/ CJS react-native key)

* Latest dev
2022-03-15 20:21:13 +02:00
github-actions[bot]
06fba7bdca [CI Skip] release/beta 8.5.2-3
skip-checks: true
2022-03-15 17:24:51 +00:00
Jaco
b3f19247d5 Cater for Expo v41+ in getRandomValues (#1431) 2022-03-15 19:20:44 +02:00
github-actions[bot]
5e562d7a59 [CI Skip] release/beta 8.5.2-2
skip-checks: true
2022-03-15 10:52:18 +00:00
Jaco
b4479f3747 Aplit and organize network defaults (#1430)
* Aplit and organize network defaults

* Update include paths
2022-03-15 12:47:22 +02:00
github-actions[bot]
6dc79a0b7c [CI Skip] release/beta 8.5.2-1
skip-checks: true
2022-03-15 08:33:25 +00:00
Kami
e2aa034843 Adding Westend genesis. (#1429)
* Update README.md

ss58-registry.json link is updated the previous link does not work.

* Adding Westend genesis.

We are working on projects that utilize this package, In our projects we need to have Westend testnet, to let the community to try and learn Polkadot ecosystem.

Sometimes Developers have issues adding this manually as asked here: w3f/Grant-Milestone-Delivery#387 (comment),
hence merging this pull request will help a lot.

Thank you.

* Update genesis.ts
2022-03-15 10:28:29 +02:00
github-actions[bot]
e99bc1163b [CI Skip] release/beta 8.5.2-0
skip-checks: true
2022-03-15 06:53:18 +00:00
Kami
a29dae61c5 Update README.md (#1427)
ss58-registry.json link is updated the previous link does not work.
2022-03-15 08:48:07 +02:00
github-actions[bot]
777a04cc64 [CI Skip] release/stable 8.5.1
skip-checks: true
2022-03-12 08:12:28 +00:00
Jaco
1f22566934 8.5.1 (#1426)
* 8.5.1

* Update test expectations
2022-03-12 10:08:09 +02:00
github-actions[bot]
0011e5219a [CI Skip] release/beta 8.4.2-12
skip-checks: true
2022-03-10 07:39:12 +00:00
Jaco
ce331bf6bd Bump deps (& yarn 3.2.0) (#1425) 2022-03-10 09:35:02 +02:00
github-actions[bot]
60d795f480 [CI Skip] release/beta 8.4.2-11
skip-checks: true
2022-03-07 08:13:22 +00:00
Jaco
75a5f2fe48 Support bundlers where import.meta.url is undefined (#1423) 2022-03-07 10:08:38 +02:00
github-actions[bot]
dfda191c8b [CI Skip] release/beta 8.4.2-10
skip-checks: true
2022-03-03 13:26:38 +00:00
Jaco
de09a2aa90 Rename auto step (#1421) 2022-03-03 15:23:00 +02:00
github-actions[bot]
5e7cb9db9e [CI Skip] release/beta 8.4.2-9
skip-checks: true
2022-03-03 09:32:42 +00:00
Jaco
61eca6100b Remove checkout from auto-{approve, merge} actions (#1420) 2022-03-03 11:27:34 +02:00
github-actions[bot]
4ef36d51ad [CI Skip] release/beta 8.4.2-8
skip-checks: true
2022-03-02 05:18:25 +00:00
Jaco
880f560613 Replace mergify with action (#1419) 2022-03-02 05:13:32 +00:00
github-actions[bot]
3f21278634 [CI Skip] release/beta 8.4.2-7
skip-checks: true
2022-03-01 10:20:56 +00:00
Jaco
3c1e3573c9 Bump TS (#1417) 2022-03-01 10:16:17 +00:00
github-actions[bot]
6f8b14759d [CI Skip] release/beta 8.4.2-6
skip-checks: true
2022-02-27 17:45:01 +00:00
Jaco
057e233cbf Approve action adjust (#1416)
* Approve action adjust

* Only labelled
2022-02-27 17:40:23 +00:00
github-actions[bot]
5dcc12e94d [CI Skip] release/beta 8.4.2-5
skip-checks: true
2022-02-26 08:24:03 +00:00
Jaco
17886d60c0 Dev bump (#1415) 2022-02-26 08:19:32 +00:00
github-actions[bot]
b40fca79cb [CI Skip] release/beta 8.4.2-4
skip-checks: true
2022-02-23 10:38:26 +00:00
Jaco
c04a228100 Skip job on non-local repo 2022-02-23 12:33:35 +02:00
github-actions[bot]
b3b1c7622c [CI Skip] release/beta 8.4.2-3
skip-checks: true
2022-02-23 10:03:20 +00:00
Jaco
06f0813f2f Use jacogr/action-approve (#1412) 2022-02-23 11:58:15 +02:00
github-actions[bot]
5e086d6579 [CI Skip] release/beta 8.4.2-2
skip-checks: true
2022-02-21 10:31:13 +00:00
Jaco
6fef3e0b2e Bump deps (#1411)
* Bump deps

* Bump @noble/secp256k1
2022-02-21 10:27:20 +00:00
github-actions[bot]
7a7ee378c8 [CI Skip] release/beta 8.4.2-1
skip-checks: true
2022-02-15 18:22:10 +00:00
Jaco
6fd2edcd76 Bump deps (#1410) 2022-02-15 18:17:55 +00:00
github-actions[bot]
73d17faaaa [CI Skip] release/beta 8.4.2-0
skip-checks: true
2022-02-15 07:49:34 +00:00
Jaco
47bed3a2ba Add mergify (#1409) 2022-02-15 09:45:31 +02:00
github-actions[bot]
280a8f89bd [CI Skip] release/stable 8.4.1
skip-checks: true
2022-02-14 04:55:25 +00:00
Jaco
8140d44d8a 8.4.1 (#1408)
* 8.4.1

* Disable yarn scripts on CI

* 14
2022-02-14 06:51:08 +02:00
github-actions[bot]
8b7717961f [CI Skip] release/beta 8.3.4-12
skip-checks: true
2022-02-13 08:03:39 +00:00
Jaco
e462046c82 Bump deps (#1407) 2022-02-13 09:59:33 +02:00
github-actions[bot]
d261b2e464 [CI Skip] release/beta 8.3.4-11
skip-checks: true
2022-02-11 08:56:34 +00:00
Jaco
73898ada43 ss58registry test (#1406)
* ss58registry test

* ss58 reg update

* Remove require

* json resolve

* Include test output
2022-02-11 10:52:35 +02:00
github-actions[bot]
bb0831a023 [CI Skip] release/beta 8.3.4-10
skip-checks: true
2022-02-09 05:54:23 +00:00
Jaco
012719b0bf Bump dev deps (#1405) 2022-02-09 07:50:07 +02:00
github-actions[bot]
c8dc222435 [CI Skip] release/beta 8.3.4-9
skip-checks: true
2022-02-08 13:39:52 +00:00
Jaco
7e0588b690 Bump dev (#1403) 2022-02-08 15:33:01 +02:00
github-actions[bot]
3dc6e8a128 [CI Skip] release/beta 8.3.4-8
skip-checks: true
2022-02-07 11:53:37 +00:00
Jaco
eb5cebfb7c Remove networks:sync (& cron check) (#1402) 2022-02-07 13:49:22 +02:00
github-actions[bot]
1f6417a9a8 [CI Skip] release/beta 8.3.4-7
skip-checks: true
2022-02-07 10:05:36 +00:00
Jaco
306592f6b1 Bump bn.js (#1401)
* Bump bn.js

* Adjust expecatation
2022-02-07 11:59:57 +02:00
github-actions[bot]
673945c8cb [CI Skip] release/beta 8.3.4-6
skip-checks: true
2022-02-05 17:55:53 +00:00
Jaco
8a30f168c3 Bump deps (#1400) 2022-02-05 19:51:39 +02:00
github-actions[bot]
35708e8414 [CI Skip] release/beta 8.3.4-5
skip-checks: true
2022-02-04 06:09:32 +00:00
Jaco
fb55db7797 Bump deps (#1399) 2022-02-04 08:04:56 +02:00
github-actions[bot]
2aca02ecd4 [CI Skip] release/beta 8.3.4-4
skip-checks: true
2022-02-02 15:45:46 +00:00
Hoon Kim
bba72e7191 replace plasm genesis with astar (#1397) 2022-02-02 17:41:27 +02:00
github-actions[bot]
a3ea860144 [CI Skip] release/beta 8.3.4-3
skip-checks: true
2022-02-01 18:42:44 +00:00
Jakub Pánik
6e20baf317 Add basilisk 🐍 (#1396) 2022-02-01 20:38:41 +02:00
github-actions[bot]
f8742c8523 [CI Skip] release/beta 8.3.4-2
skip-checks: true
2022-01-29 10:22:29 +00:00
Jaco
c6b84b8c7e Bump deps (#1394) 2022-01-29 12:18:20 +02:00
github-actions[bot]
815c1f5eeb [CI Skip] release/beta 8.3.4-1
skip-checks: true
2022-01-26 05:44:45 +00:00
Jaco
e7d454787d Swap to @scure/base (micro-base rename) (#1392) 2022-01-26 07:40:28 +02:00
github-actions[bot]
d5c541db67 [CI Skip] release/beta 8.3.4-0
skip-checks: true
2022-01-24 11:34:02 +00:00
Jaco
2cf12616ed Use upstream @substrate/ss58-registry (#1391)
* Use upstream @substrate/ss58-registry

* Fix expectation

* Adjust
2022-01-24 13:29:05 +02:00
github-actions[bot]
2dee1c86e6 [CI Skip] release/stable 8.3.3
skip-checks: true
2022-01-23 06:34:58 +00:00
Jaco
023b1e8610 8.3.3 (#1390) 2022-01-23 08:30:08 +02:00
github-actions[bot]
e9f3efa0ec [CI Skip] release/beta 8.3.3-3
skip-checks: true
2022-01-22 12:01:57 +00:00
Jaco
529119d9c3 Bump deps (#1389) 2022-01-22 13:56:45 +02:00
github-actions[bot]
3748d578e0 [CI Skip] release/beta 8.3.3-2
skip-checks: true
2022-01-21 14:05:47 +00:00
Jaco
6af09d344d Rococo genesisHash update (another day, another reset) (#1388) 2022-01-21 16:01:38 +02:00
github-actions[bot]
951ee2be17 [CI Skip] release/beta 8.3.3-1
skip-checks: true
2022-01-20 12:39:32 +00:00
Jaco
7d902d1b6e Sync ss58 registry (#1387) 2022-01-20 14:34:40 +02:00
github-actions[bot]
cba373ab8a [CI Skip] release/beta 8.3.3-0
skip-checks: true
2022-01-17 06:31:11 +00:00
Jaco
ab1c1bf311 Bump deps (incl. node-fetch security fix) (#1383) 2022-01-17 08:27:01 +02:00
github-actions[bot]
749afff2e6 [CI Skip] release/stable 8.3.2
skip-checks: true
2022-01-15 10:57:02 +00:00
Jaco
c2fc0328b8 8.3.2 (#1382) 2022-01-15 12:52:13 +02:00
github-actions[bot]
b41fc87737 [CI Skip] release/beta 8.3.2-11
skip-checks: true
2022-01-15 07:14:41 +00:00
Jaco
65c1cbf973 Expand networks tests with sorting (#1381) 2022-01-15 09:10:15 +02:00
github-actions[bot]
1a362a7f66 [CI Skip] release/beta 8.3.2-10
skip-checks: true
2022-01-14 10:22:11 +00:00
Jaco
a86c26d0d7 Manual format of tsconfig.build.json (#1380) 2022-01-14 12:18:01 +02:00
github-actions[bot]
37df8b1f0e [CI Skip] release/beta 8.3.2-9
skip-checks: true
2022-01-14 05:43:08 +00:00
Jaco
0d963bbb46 Bump dependencies (#1379) 2022-01-14 07:38:11 +02:00
github-actions[bot]
1aa791eeb2 [CI Skip] release/beta 8.3.2-8
skip-checks: true
2022-01-13 11:13:49 +00:00
Jaco
a051a84187 Adjust network sorting (primary by prefix, secondary by name) (#1375)
* djust network sortying (primary by prefix, secondary by name)

* Typo
2022-01-13 13:09:20 +02:00
github-actions[bot]
43476b9c5d [CI Skip] release/beta 8.3.2-7
skip-checks: true
2022-01-13 08:09:46 +00:00
Jaco
d2bdac70d5 Update .mailmap 2022-01-13 10:05:40 +02:00
github-actions[bot]
b5036c6fd7 [CI Skip] release/beta 8.3.2-6
skip-checks: true
2022-01-12 13:47:11 +00:00
Jaco
0db7738bd1 Adjust .mailmap (#1378) 2022-01-12 15:42:23 +02:00
github-actions[bot]
31cec49247 [CI Skip] release/beta 8.3.2-5
skip-checks: true
2022-01-12 08:19:26 +00:00
Jaco
d259174901 Adjust with tsconfig.build.json inside packages (#1377) 2022-01-12 10:14:28 +02:00
github-actions[bot]
98932406b9 [CI Skip] release/beta 8.3.2-4
skip-checks: true
2022-01-11 10:51:25 +00:00
Jaco
5994784bf5 Sync with upstream ss58 registry (#1374) 2022-01-11 12:46:17 +02:00
github-actions[bot]
488ab9e543 [CI Skip] release/beta 8.3.2-3
skip-checks: true
2022-01-11 10:20:58 +00:00
Jaco
8af1b0556e Bump dev (w/ babel updates) (#1372) 2022-01-11 12:16:44 +02:00
github-actions[bot]
ab27e68c3b [CI Skip] release/beta 8.3.2-2
skip-checks: true
2022-01-11 06:54:13 +00:00
Jaco
5fe3528672 Add tsconfig.build.json (#1371) 2022-01-11 08:49:59 +02:00
github-actions[bot]
c065ecc45f [CI Skip] release/beta 8.3.2-1
skip-checks: true
2022-01-10 09:53:00 +00:00
Jaco
9356c52f28 Crypto init failure test (#1370) 2022-01-10 11:48:47 +02:00
github-actions[bot]
d015a96773 [CI Skip] release/beta 8.3.2-0
skip-checks: true
2022-01-10 05:19:28 +00:00
Jaco
d3b7e50d06 Sync ss58 (#1369) 2022-01-10 07:14:47 +02:00
github-actions[bot]
fb95efed6b [CI Skip] release/stable 8.3.1
skip-checks: true
2022-01-09 06:29:50 +00:00
Jaco
e9483c6940 8.3.1 (#1367)
* 8.3.1

* 8.3.1

* Rebuild w/ dev
2022-01-09 08:25:44 +02:00
github-actions[bot]
c70f749502 [CI Skip] release/beta 8.2.3-30
skip-checks: true
2022-01-08 06:13:21 +00:00
Jaco
1049ddb135 Bump dev (#1366) 2022-01-08 08:08:28 +02:00
github-actions[bot]
7d533005e1 [CI Skip] release/beta 8.2.3-29
skip-checks: true
2022-01-06 14:19:55 +00:00
Jaco
76ac710c73 Bump deps (w/ main + types) (#1365) 2022-01-06 16:14:44 +02:00
github-actions[bot]
c1417f5325 [CI Skip] release/beta 8.2.3-28
skip-checks: true
2022-01-06 13:47:37 +00:00
Jaco
10bc207240 Latest deps (incl. bn.js revert) (#1364)
* Bump dev (w/ no import.meta.url)

* Latest deps (incl. bn.js revert)

* CHANGELOG

* Adjust expectation
2022-01-06 15:42:40 +02:00
github-actions[bot]
66115fe674 [CI Skip] release/beta 8.2.3-27
skip-checks: true
2022-01-06 09:30:39 +00:00
Jaco
488f22190e Bump dev deps (#1362)
* Bump dev, re-order CHANGELOG

* Bump dev
2022-01-06 11:25:44 +02:00
github-actions[bot]
8ba369271d [CI Skip] release/beta 8.2.3-26
skip-checks: true
2022-01-06 08:02:46 +00:00
Jaco
73a136f3e2 Don't exclude *.spec.ts from tsconfig (#1361) 2022-01-06 09:57:18 +02:00
github-actions[bot]
a368157bb8 [CI Skip] release/beta 8.2.3-25
skip-checks: true
2022-01-05 09:36:15 +00:00
Jaco
a8cda40af9 Adjust detectPackage to handle (optional) type/path (#1360)
* Adjust detectPackage to handle (optional) type/path

* Bump dev

* Adjust expectations
2022-01-05 11:32:09 +02:00
github-actions[bot]
74f2a1e24c [CI Skip] release/beta 8.2.3-24
skip-checks: true
2022-01-05 09:01:46 +00:00
Jaco
833e98c158 Bump dev (w/ packageInfo path) (#1359) 2022-01-05 10:57:29 +02:00
github-actions[bot]
590d5dc79e [CI Skip] release/beta 8.2.3-23
skip-checks: true
2022-01-05 06:44:12 +00:00
Jaco
64aab16124 Bump dev (#1358) 2022-01-05 08:39:50 +02:00
github-actions[bot]
55131c321d [CI Skip] release/beta 8.2.3-22
skip-checks: true
2022-01-04 10:23:43 +00:00
Jaco
29808dec17 fetch-depth 0 (#1356) 2022-01-04 12:18:50 +02:00
github-actions[bot]
4bdafeb4b9 [CI Skip] release/beta 8.2.3-21
skip-checks: true
2022-01-04 09:56:58 +00:00
Jaco
aa7587de28 Bump dev (w/ CONTRIBUTORS & umd) (#1355) 2022-01-04 11:52:07 +02:00
github-actions[bot]
7aaeccf53f [CI Skip] release/beta 8.2.3-20
skip-checks: true
2022-01-04 09:09:54 +00:00
Jaco
e38562e8dc Use x-global inside x-randomvalues (#1354)
* Use x-global inside x-randomvalues

* CHANGELOG
2022-01-04 11:05:03 +02:00
github-actions[bot]
6fa855b6fc [CI Skip] release/beta 8.2.3-19
skip-checks: true
2022-01-04 07:07:07 +00:00
Jaco
295f0d59a5 Split sign and verify sr25519 tests (#1353) 2022-01-04 09:02:03 +02:00
github-actions[bot]
7aed9a727b [CI Skip] release/beta 8.2.3-18
skip-checks: true
2022-01-03 12:01:57 +00:00
Jaco
0859fe4b74 Small util return adjustments (#1351) 2022-01-03 13:56:54 +02:00
github-actions[bot]
25644185cc [CI Skip] release/beta 8.2.3-17
skip-checks: true
2022-01-02 06:12:13 +00:00
Jaco
636b9730b4 Bump deps (#1349)
* Bump deps

* new bn.js toJSON
2022-01-02 08:08:15 +02:00
github-actions[bot]
e3b9c93df2 [CI Skip] release/beta 8.2.3-16
skip-checks: true
2022-01-01 16:34:09 +00:00
Jaco
000387aa2a 2022 (#1348) 2022-01-01 18:30:07 +02:00
github-actions[bot]
ad59bd2f8d [CI Skip] release/beta 8.2.3-15
skip-checks: true
2022-01-01 08:11:11 +00:00
Jaco
4d2577d6d7 Bump dev (#1347) 2022-01-01 10:05:57 +02:00
github-actions[bot]
5765b68909 [CI Skip] release/beta 8.2.3-14
skip-checks: true
2022-01-01 07:30:07 +00:00
Jaco
3597a4eb4e 2022 (#1346) 2022-01-01 09:26:11 +02:00
github-actions[bot]
235e155efc [CI Skip] release/beta 8.2.3-13
skip-checks: true
2021-12-31 15:28:30 +00:00
Jaco
cd7b4c1d38 Introduce detectOther (#1345) 2021-12-31 17:23:42 +02:00
github-actions[bot]
7261fc3d79 [CI Skip] release/beta 8.2.3-12
skip-checks: true
2021-12-31 09:47:18 +00:00
Jaco
5b36029cb2 __dirname mock (#1344)
* __dirname mock

* CHANGELOG
2021-12-31 11:43:13 +02:00
github-actions[bot]
d40331f3f3 [CI Skip] release/beta 8.2.3-11
skip-checks: true
2021-12-31 07:57:09 +00:00
Jaco
ef9e2c6425 Bump dev deps (#1343) 2021-12-31 09:52:26 +02:00
github-actions[bot]
2065b437e6 [CI Skip] release/beta 8.2.3-10
skip-checks: true
2021-12-29 05:30:45 +00:00
Jaco
e58bd1e764 Bump deps (#1342) 2021-12-29 07:26:41 +02:00
github-actions[bot]
e330ed5058 [CI Skip] release/beta 8.2.3-9
skip-checks: true
2021-12-28 09:35:28 +00:00
Jaco
00e856d9c4 Rococo genesis hashes (#1341)
* Rococo genesis hashes

* Bump deps (while we are here...)
2021-12-28 11:31:09 +02:00
github-actions[bot]
82625aa8d1 [CI Skip] release/beta 8.2.3-8
skip-checks: true
2021-12-25 10:17:03 +00:00
Jaco
1c06e53bf4 Bump berry (#1340) 2021-12-25 12:12:55 +02:00
github-actions[bot]
051181b84a [CI Skip] release/beta 8.2.3-7
skip-checks: true
2021-12-25 08:14:30 +00:00
Jaco
46dc13cf4e master CHANGELOG (#1339) 2021-12-25 10:09:30 +02:00
github-actions[bot]
7487a726fd [CI Skip] release/beta 8.2.3-6
skip-checks: true
2021-12-25 06:44:13 +00:00
Jaco
d9023b38c9 Bump deps (#1338) 2021-12-25 08:39:24 +02:00
github-actions[bot]
908cfc8d06 [CI Skip] release/beta 8.2.3-5
skip-checks: true
2021-12-24 14:26:58 +00:00
Jaco
ff42c18cb3 Bump deps (#1336)
* Bump deps

* yarn.lock
2021-12-24 16:22:04 +02:00
github-actions[bot]
0ebdffdfac [CI Skip] release/beta 8.2.3-4
skip-checks: true
2021-12-24 07:10:04 +00:00
Jaco
89a8095b60 Bump deps (#1335) 2021-12-24 09:06:13 +02:00
github-actions[bot]
de2445dd90 [CI Skip] release/beta 8.2.3-3
skip-checks: true
2021-12-23 08:04:56 +00:00
Jaco
21156c7a1c Dev update with src linting (#1334) 2021-12-23 10:01:01 +02:00
github-actions[bot]
38cd255703 [CI Skip] release/beta 8.2.3-2
skip-checks: true
2021-12-23 07:03:05 +00:00
Jaco
a5119bb937 Dev bump (w/ types key in export map) (#1333)
* Dev bump (w/ types key in export map)

* Fix build
2021-12-23 08:59:18 +02:00
github-actions[bot]
1dc9de6613 [CI Skip] release/beta 8.2.3-1
skip-checks: true
2021-12-22 06:40:47 +00:00
Jaco
d9d7200941 Bump deps (w/ @noble/hashes 0.5.x) (#1332) 2021-12-22 08:36:05 +02:00
github-actions[bot]
9f6a0eb7e9 [CI Skip] release/beta 8.2.3-0
skip-checks: true
2021-12-20 09:43:35 +00:00
Jaco
b9210715d9 Bump dev (w/ adjusted output linting) (#1329) 2021-12-20 11:39:44 +02:00
github-actions[bot]
bff05aad32 [CI Skip] release/stable 8.2.2
skip-checks: true
2021-12-19 07:02:52 +00:00
Jaco
0f98c1ac22 8.2.2 2021-12-19 08:58:36 +02:00
github-actions[bot]
f72d9a2a26 [CI Skip] release/beta 8.2.2-0
skip-checks: true
2021-12-19 06:54:36 +00:00
Jaco
1d0558a537 8.2.2 (#1328) 2021-12-19 08:50:43 +02:00
Jaco
94e7c05573 8.2.1 (#1327) 2021-12-19 08:17:43 +02:00
github-actions[bot]
12601805b1 [CI Skip] release/beta 8.1.3-30
skip-checks: true
2021-12-19 06:02:04 +00:00
Jaco
9194f417fe ss58 sync (w/ bumps) (#1326) 2021-12-19 07:58:12 +02:00
github-actions[bot]
6a3118e66c [CI Skip] release/beta 8.1.3-29
skip-checks: true
2021-12-15 14:16:06 +00:00
Jaco
4ccad202c5 Remove x-noble-* packages (all upstream) (#1323) 2021-12-15 16:12:06 +02:00
github-actions[bot]
96a019f6eb [CI Skip] release/beta 8.1.3-28
skip-checks: true
2021-12-15 13:56:40 +00:00
Jaco
bad6a1b991 Bump dependencies (#1322) 2021-12-15 15:52:47 +02:00
github-actions[bot]
d83e50ee19 [CI Skip] release/beta 8.1.3-27
skip-checks: true
2021-12-14 06:27:14 +00:00
Jaco
feae08fc0f Adjust with tsconfig references (#1317)
* Adjust with tsconfig references

* tabs -> spaces

* Adjust

* Cleanup spacing

* Adjust

* eslint-specific config

* Bump deps

* Bumps

* Adjust

* Update tests
2021-12-14 08:23:16 +02:00
github-actions[bot]
fdd32df12f [CI Skip] release/beta 8.1.3-26
skip-checks: true
2021-12-13 16:12:33 +00:00
Jaco
17a9b653ac Upstream @noble packages (#1319) 2021-12-13 18:07:48 +02:00
github-actions[bot]
6154454c38 [CI Skip] release/beta 8.1.3-25
skip-checks: true
2021-12-13 16:04:15 +00:00
Jaco
ac0ec5be55 Bump noble (#1318) 2021-12-13 17:58:48 +02:00
github-actions[bot]
3802426046 [CI Skip] release/beta 8.1.3-24
skip-checks: true
2021-12-13 08:15:54 +00:00
Jaco
d91b27b180 CHANGELOG (#1316) 2021-12-13 10:10:59 +02:00
github-actions[bot]
1f9a1a5f8a [CI Skip] release/beta 8.1.3-23
skip-checks: true
2021-12-13 06:18:04 +00:00
Jaco
6b3edffe55 Add tsconfig.base (#1315) 2021-12-13 08:13:26 +02:00
github-actions[bot]
7d46eb8423 [CI Skip] release/beta 8.1.3-22
skip-checks: true
2021-12-12 09:31:45 +00:00
Jaco
a7eb0ed319 Bump tsc (#1313) 2021-12-12 11:26:25 +02:00
github-actions[bot]
227a34d55d [CI Skip] release/beta 8.1.3-21
skip-checks: true
2021-12-12 06:48:22 +00:00
Jaco
8a29dc2b57 Bump dependencies (#1312) 2021-12-12 08:43:47 +02:00
github-actions[bot]
88d1a71df8 [CI Skip] release/beta 8.1.3-20
skip-checks: true
2021-12-11 07:50:27 +00:00
Jaco
6f53068297 Type re-exports (#1310) 2021-12-11 09:45:49 +02:00
github-actions[bot]
5bf71dab41 [CI Skip] release/beta 8.1.3-19
skip-checks: true
2021-12-10 09:34:04 +00:00
Jared Norris
b6f3dfb2ca Add Sora network (#1306)
* Add Sora network

* Fixed sort order

* Add Sora network
2021-12-10 11:29:30 +02:00
github-actions[bot]
4d3a2d9610 [CI Skip] release/beta 8.1.3-18
skip-checks: true
2021-12-10 09:18:41 +00:00
Jaco
7eaf013572 isPromise utility (#1308)
* isPromise utility

* Adjust

* Update packages/util/src/is/wasm.ts

* Update packages/util/src/is/codec.ts

* Adjust
2021-12-10 11:13:00 +02:00
github-actions[bot]
c673b96963 [CI Skip] release/beta 8.1.3-17
skip-checks: true
2021-12-10 06:48:03 +00:00
Jaco
c57eee5027 Remove deprecated substr from formatBalance (#1307)
* Remove deprecated substr from formatBalance

* Cleanups

* Adjust
2021-12-10 08:43:28 +02:00
github-actions[bot]
9efd2db377 [CI Skip] release/beta 8.1.3-16
skip-checks: true
2021-12-09 18:43:56 +00:00
Jared Norris
c90246ec0b Add Sora network (#1305)
* Add Sora network

* Add Sora network

removed trailing slash ( lint complaint )

* Remove Sora from knownLedger

Dependency has not been updated yet
2021-12-09 20:39:21 +02:00
github-actions[bot]
fbe1532f62 [CI Skip] release/beta 8.1.3-15
skip-checks: true
2021-12-09 08:49:33 +00:00
Jaco
f514402b15 Small maintainability cleanups (#1304) 2021-12-09 10:44:56 +02:00
github-actions[bot]
5ea6992704 [CI Skip] release/beta 8.1.3-14
skip-checks: true
2021-12-09 08:15:32 +00:00
Jaco
7955022ce5 Helpers for 256/512 hashing (#1303)
* Helpers for 256/512 hashing

* Adjust u8aToU8a (u8a-only check earlier)

* Fix export

* Simplify

* revert
2021-12-09 10:10:51 +02:00
github-actions[bot]
000d097de2 [CI Skip] release/beta 8.1.3-13
skip-checks: true
2021-12-08 18:28:50 +00:00
Jaco
8a6c8b64df Adjust & dedupe global extraction tests (#1301) 2021-12-08 20:23:46 +02:00
github-actions[bot]
306e503d23 [CI Skip] release/beta 8.1.3-12
skip-checks: true
2021-12-08 11:20:18 +00:00
Jaco
648019f9d4 CC check adjustments (#1300) 2021-12-08 13:14:51 +02:00
github-actions[bot]
5e48cfbbaa [CI Skip] release/beta 8.1.3-11
skip-checks: true
2021-12-08 11:13:34 +00:00
Jaco
57825fc73b Sync ss58 registry (#1299) 2021-12-08 13:07:34 +02:00
github-actions[bot]
19ae016723 [CI Skip] release/beta 8.1.3-10
skip-checks: true
2021-12-08 10:51:49 +00:00
pan
8d7bed5865 add bifrost (#1296)
* add bifrost.finance

* update code style

* update code style
2021-12-08 12:47:05 +02:00
github-actions[bot]
e019a3043a [CI Skip] release/beta 8.1.3-9
skip-checks: true
2021-12-08 09:38:50 +00:00
Jaco
9dfd013755 Dedupes for min/max (#1297) 2021-12-08 11:33:29 +02:00
github-actions[bot]
a5df4ed764 [CI Skip] release/beta 8.1.3-8
skip-checks: true
2021-12-08 08:49:18 +00:00
Jaco
a938a9f998 Some bip39-en cleanups (& tests) (#1295) 2021-12-08 10:43:43 +02:00
github-actions[bot]
1a6f81e2a7 [CI Skip] release/beta 8.1.3-7
skip-checks: true
2021-12-08 08:32:18 +00:00
Jaco
6ab85a42bb assertUnreachable (#1294) 2021-12-08 10:26:45 +02:00
github-actions[bot]
21c9e1aefd [CI Skip] release/beta 8.1.3-6
skip-checks: true
2021-12-07 17:50:02 +00:00
Jaco
58f740f3de Bump deps (#1293) 2021-12-07 19:44:48 +02:00
github-actions[bot]
ddc6b83e96 [CI Skip] release/beta 8.1.3-5
skip-checks: true
2021-12-07 16:15:16 +00:00
Antoine Estienne
285e595930 Add eth uri keyring test (#1291)
* added gerald test address

* add test for addUri for eth

* lint
2021-12-07 18:10:44 +02:00
github-actions[bot]
dce16d59e6 [CI Skip] release/beta 8.1.3-4
skip-checks: true
2021-12-07 15:42:22 +00:00
Jaco
b8edcb0e65 Revert package inclusion (re-add x-*) (#1292) 2021-12-07 17:37:06 +02:00
github-actions[bot]
b63607c4a0 [CI Skip] release/beta 8.1.3-3
skip-checks: true
2021-12-06 12:45:44 +00:00
Jaco
c56c86432a Sync ss58 (#1290) 2021-12-06 14:41:06 +02:00
github-actions[bot]
e52fe9a838 [CI Skip] release/beta 8.1.3-2
skip-checks: true
2021-12-06 08:28:17 +00:00
Jaco
06dca3d955 Bump dev (#1288) 2021-12-06 10:22:55 +02:00
github-actions[bot]
0908dbb861 [CI Skip] release/beta 8.1.3-1
skip-checks: true
2021-12-06 07:06:02 +00:00
Jaco
e97410df52 Preserve all-caps word splits in stringCamelCase (#1287)
* Preserve all-caps word splits in `stringCamelCase`

* Additional tests

* Additional test

* Additional
2021-12-06 09:02:03 +02:00
github-actions[bot]
faa6734329 [CI Skip] release/beta 8.1.3-0
skip-checks: true
2021-12-06 05:09:14 +00:00
Jaco
f2f25815c1 Swap to upstream @noble/hashes (#1285)
* Swap to upstream `@noble/hashes`

* Lintin (import order)
2021-12-06 07:05:08 +02:00
github-actions[bot]
80785babb4 [CI Skip] release/stable 8.1.2
skip-checks: true
2021-12-05 11:20:24 +00:00
Jaco
59761086d0 8.1.2 (#1284)
* 8.1.2

* Adjust

* Adjust
2021-12-05 13:14:40 +02:00
github-actions[bot]
05c82721e8 [CI Skip] release/stable 8.1.1
skip-checks: true
2021-12-05 08:58:29 +00:00
Jaco
1b13cf0eea 8.1.1 (#1283) 2021-12-05 10:54:07 +02:00
github-actions[bot]
e6777ece62 [CI Skip] release/beta 8.0.6-18
skip-checks: true
2021-12-05 08:15:04 +00:00
Jaco
7436976598 Add shims for x-* (not used, convenience) (#1282)
* Add shims for x-* (not used, convenience)

* Update packages/x-ws/src/shim.ts

* Remove (now) unused dependencies
2021-12-05 10:09:47 +02:00
github-actions[bot]
699ef952c3 [CI Skip] release/beta 8.0.6-17
skip-checks: true
2021-12-04 11:02:06 +00:00
Jaco
cd9dc35475 Align x-noble with upstream (#1281)
* Align x-noble with upstream

* Remove own version of hashes

* @noble/hashes from master
2021-12-04 12:57:36 +02:00
github-actions[bot]
ee7923c457 [CI Skip] release/beta 8.0.6-16
skip-checks: true
2021-12-04 07:16:16 +00:00
Jaco
bd3f51844c Add BigInt shim (#1280) 2021-12-04 09:11:16 +02:00
github-actions[bot]
986dfe5006 [CI Skip] release/beta 8.0.6-15
skip-checks: true
2021-12-03 15:29:06 +00:00
Jaco
1eba41b2e6 Use @noble/secp256k1 (#1189)
* Use @noble/secp256k1

* Remove elliptic

* Remove @types

* -19

* verify uses recover internally

* fromSeed

* Init Noble utils inside cryptoInit

* remove bn.js dep (used from @polkadot/util)

* With x-noble-secp256k1

* Adjust

* Remove unused functions

* CHANGELOG

* Fix useless assignment

* Cleanup cryptoInit

* adjust hasher

* bn.js only via util

* align versions

* Remove x-secp256k1 (to be pulled in from master merge)

* Remove (now) invalid test

* Remove assertBigInt

* hasBigInt

* cleanups

* Apply suggestions from code review

* evmAddress fixes

* Extra comment
2021-12-03 17:23:46 +02:00
github-actions[bot]
88c2d16951 [CI Skip] release/beta 8.0.6-14
skip-checks: true
2021-12-03 14:28:20 +00:00
Jaco
303a57c4b5 Use secp256k1 from wasm (#1276)
* Use secp256k1 from wasm

* Expand & recover

* sign (tests failing)

* Pass onlyJs flags everywhere

* Adjust, all ready to actually pass... they don't

* naming

* Fix verify tests

* Adjust verify with non-hashing

* bump wasm

* Allow verify against address or publicKey

* Passing tests

* comment for wasm

* bi/bn versions for tweakadd

* Bumps

* Adjust
2021-12-03 16:23:41 +02:00
github-actions[bot]
7bfca0d40f [CI Skip] release/beta 8.0.6-13
skip-checks: true
2021-12-03 13:47:26 +00:00
Jaco
916187dbf2 Add x-noble-secp256k1 (#1279)
* Add x-noble-secp256k1

* Ignores

* Remove unused functions

* Fix jest
2021-12-03 15:42:57 +02:00
github-actions[bot]
cfc598b30f [CI Skip] release/beta 8.0.6-12
skip-checks: true
2021-12-03 12:06:48 +00:00
Jaco
67bfe3a52e Bump deps (#1278) 2021-12-03 14:01:30 +02:00
github-actions[bot]
0299cba18e [CI Skip] release/beta 8.0.6-11
skip-checks: true
2021-12-02 13:51:53 +00:00
Jaco
182c6770d1 Bump dev (#1277) 2021-12-02 15:46:22 +02:00
github-actions[bot]
c89ec8a964 [CI Skip] release/beta 8.0.6-10
skip-checks: true
2021-12-02 06:53:44 +00:00
Jaco
dc63304735 Remove unused x-noble-hashes functions (#1275) 2021-12-02 08:48:44 +02:00
github-actions[bot]
9ce825de94 [CI Skip] release/beta 8.0.6-9
skip-checks: true
2021-12-02 05:37:08 +00:00
Jaco
3cb41c3b03 CHANGELOG 2021-12-02 07:32:47 +02:00
Jaco
b1f9c37f6a x-bigint package (#1274)
* x-bigint package

* x-bigint in has*

* 8.0.6-8

* Adjust

* Adjust

* jest config

* Adjust

* Remove commented code

* Update README

* CHANGELOG
2021-12-02 07:29:44 +02:00
github-actions[bot]
4a69486993 [CI Skip] release/beta 8.0.6-8
skip-checks: true
2021-12-01 19:41:34 +00:00
Jaco
3a7ab0454f instanceof BigInt (#1273) 2021-12-01 21:37:21 +02:00
github-actions[bot]
ecfc262bcd [CI Skip] release/beta 8.0.6-7
skip-checks: true
2021-12-01 18:41:25 +00:00
Jaco
776a653f42 Use BigInt only via xglobal (#1272)
* Use BigInt only via xglobal

* Adjust

* yarn
2021-12-01 20:37:11 +02:00
github-actions[bot]
ee99ffdbb4 [CI Skip] release/beta 8.0.6-6
skip-checks: true
2021-12-01 16:15:34 +00:00
Jaco
bda848f484 Expand has checks (#1271) 2021-12-01 18:11:03 +02:00
github-actions[bot]
82a63887a6 [CI Skip] release/beta 8.0.6-5
skip-checks: true
2021-12-01 14:25:07 +00:00
Jaco
50317d7dc3 Adjust for anon (#1269) 2021-12-01 16:19:50 +02:00
github-actions[bot]
39e6a3c048 [CI Skip] release/beta 8.0.6-4
skip-checks: true
2021-12-01 13:33:02 +00:00
Jaco
db93c3076b Revert "Remove ed2curve dependency (#1265)" (#1267)
* Revert "Remove ed2curve dependency (#1265)"

This reverts commit 7e9b2770b6.

* Adjust
2021-12-01 15:28:42 +02:00
Jaco
c8f0ad55c4 Split into @polkadot/x-noble-hashes (indicating diff from upstream) (#1268)
* Aplit @noble/hashes fork

* Re-add original (non-eslint)

* Original package imports in README

* package.json

* Update packages/x-noble-hashes/package.json

* CC ignore

* jest
2021-12-01 15:27:29 +02:00
github-actions[bot]
2104c50bd0 [CI Skip] release/beta 8.0.6-3
skip-checks: true
2021-12-01 09:56:10 +00:00
Jaco
7e9b2770b6 Remove ed2curve dependency (#1265)
* Remove edcurve dependency

* browser overrides

* Remove bundledDependencies
2021-12-01 11:51:55 +02:00
github-actions[bot]
8bf24c2f85 [CI Skip] release/beta 8.0.6-2
skip-checks: true
2021-12-01 08:04:23 +00:00
Jaco
60337a3b55 Adjust stale cron (#1264) 2021-12-01 09:59:19 +02:00
github-actions[bot]
f527c80b5c [CI Skip] release/beta 8.0.6-1
skip-checks: true
2021-12-01 07:26:29 +00:00
Jaco
bdd2bcf236 camelCase with mixed uppercase/numbers (#1260)
* camelCase with mixed uppercase/numbers

* consequtive capitals

* CHANGELOG

* CHANGELOG
2021-12-01 09:21:31 +02:00
github-actions[bot]
cf370febf0 [CI Skip] release/beta 8.0.6-0
skip-checks: true
2021-12-01 07:19:00 +00:00
Hussein Ait-Lahcen
715ef6e7db Add Picasso Genesis Hash (#1261) 2021-12-01 09:14:36 +02:00
github-actions[bot]
cc644e85bf [CI Skip] release/stable 8.0.5
skip-checks: true
2021-12-01 06:00:21 +00:00
Jaco
c7b8d95097 Adjust sha3 expectation of BigInt availability (#1263) 2021-12-01 07:54:50 +02:00
github-actions[bot]
42de7cebe1 [CI Skip] release/stable 8.0.4
skip-checks: true
2021-11-30 05:16:59 +00:00
Jaco
2e520c933a 8.0.4 (#1259) 2021-11-30 07:12:55 +02:00
github-actions[bot]
5d1dd0dd27 [CI Skip] release/stable 8.0.3
skip-checks: true
2021-11-30 04:37:24 +00:00
Jaco
154f9f22f1 8.0.3 (#1258) 2021-11-30 06:33:07 +02:00
github-actions[bot]
98e398954e [CI Skip] release/beta 8.0.3-3
skip-checks: true
2021-11-29 16:38:10 +00:00
Jaco
3643c2e306 Adjust string{Camel, Pascal}Case (#1256) 2021-11-29 18:34:04 +02:00
github-actions[bot]
80195f6d11 [CI Skip] release/beta 8.0.3-2
skip-checks: true
2021-11-27 10:55:11 +00:00
Jaco
6bc648bfe0 Some tweaks on base{32, 58, 64} (#1254)
* Some tweaks on base{32, 58, 64}

* align

* rationale
2021-11-27 12:50:40 +02:00
github-actions[bot]
c29b12d3b5 [CI Skip] release/beta 8.0.3-1
skip-checks: true
2021-11-27 07:28:39 +00:00
Jaco
8a5b514944 Additional tiny base64 decoder tests (#1252)
* Additional tiny base64 decoder tests

* Update packages/util-crypto/src/base64/encode.spec.ts

* Update packages/x-randomvalues/src/base64.spec.ts
2021-11-27 09:23:18 +02:00
github-actions[bot]
64fd66bd2a [CI Skip] release/beta 8.0.3-0
skip-checks: true
2021-11-27 06:09:53 +00:00
Jaco
75aa7ba2c7 Tiny base64 decoder (no Buffer dep) (#1251)
* Tiny base64 decoder (no Buffer dep)

* CHANGELOG
2021-11-27 08:05:34 +02:00
github-actions[bot]
25196c3367 [CI Skip] release/stable 8.0.2
skip-checks: true
2021-11-26 09:58:36 +00:00
Jaco
eeb68c7e0f Explicit inclusion (patch-package + bundled is problematic) (#1250)
* Explicit inclusion (patch-package + bundled is problematic)

* 8.0.2
2021-11-26 11:53:45 +02:00
github-actions[bot]
1604b92771 [CI Skip] release/stable 8.0.1
skip-checks: true
2021-11-26 09:32:49 +00:00
Jaco
1881b564c5 8.0.1 (#1249)
* 8.0.1

* correct version

* Remove unused dep
2021-11-26 11:29:09 +02:00
github-actions[bot]
3bd4b56eb0 [CI Skip] release/stable 8.0.0
skip-checks: true
2021-11-26 08:51:49 +00:00
Jaco
ce46e6da0c 8.0.0-0 (indicating bump) (#1248)
* 8.0.0-0 (indicating bump)

* root
2021-11-26 10:47:29 +02:00
github-actions[bot]
bd1efcbba0 [CI Skip] release/beta 7.9.3-19
skip-checks: true
2021-11-26 08:26:57 +00:00
Jaco
f2e4fa0d34 Hash bigint syntax (tmp incl. w/ _n adjustment) (#1246)
* Hash bigint syntax (tmp incl. w/ _n adjustment)

* headers with licence & PR link

* Re-adjust package.json

* Use patch-package

* test for patch application

* Upgrade dev

* Remove eslintignore
2021-11-26 10:22:17 +02:00
Github Actions
adbf452c8d [CI Skip] release/beta 7.9.3-18
skip-checks: true
2021-11-26 07:07:40 +00:00
Jaco
56a5a079dd Rename bi constants (consistency) (#1247)
* Rename bi constants (consistency)

* sqrt constant

* Rename bi* functions

* secp256k1 also part of renames
2021-11-26 09:03:14 +02:00
Github Actions
0791b2dc9e [CI Skip] release/beta 7.9.3-17
skip-checks: true
2021-11-25 15:19:42 +00:00
Jaco
9821eba11f Rename internal BigInt helper (#1244)
* Rename internal BigInt helper

* Consistency
2021-11-25 17:16:09 +02:00
Github Actions
b0b0151071 [CI Skip] release/beta 7.9.3-16
skip-checks: true
2021-11-25 14:08:16 +00:00
Jaco
8422e0da66 CHANGELOG (#1243) 2021-11-25 16:03:24 +02:00
Github Actions
5faa0fd544 [CI Skip] release/beta 7.9.3-15
skip-checks: true
2021-11-25 10:21:50 +00:00
Jaco
b16396b9b3 Rename internal keypair locations (#1242)
* Rename internal keypair locations

* save all :)

* Incdicate testing

* add dummy test
2021-11-25 12:17:23 +02:00
Github Actions
f342348ad2 [CI Skip] release/beta 7.9.3-14
skip-checks: true
2021-11-25 09:38:14 +00:00
Jaco
a8f13bd387 Additional adjustments on newBigInt (#1241)
* Additional adjustments on newBigInt

* typing
2021-11-25 11:34:34 +02:00
Github Actions
dbb77f35b6 [CI Skip] release/beta 7.9.3-13
skip-checks: true
2021-11-25 09:03:15 +00:00
Jaco
c60e35ee9e Ensure BigInt(...) is called conditionally (#1240)
* Ensure BigInt(...) is called consitionally

* adjust

* comments

* adjust
2021-11-25 10:59:26 +02:00
Github Actions
b102d9c2b3 [CI Skip] release/beta 7.9.3-12
skip-checks: true
2021-11-25 07:19:56 +00:00
Jaco
0ee4bc81f5 Performance test adjustments (#1239)
* Performance test adjustments

* testing

* adjust

* alphabet

* Adjust
2021-11-25 09:16:01 +02:00
Github Actions
b05abf869a [CI Skip] release/beta 7.9.3-11
skip-checks: true
2021-11-24 14:59:34 +00:00
Jaco
bc014f11dd Stale schedule (#1238) 2021-11-24 16:55:43 +02:00
Github Actions
f1429f10af [CI Skip] release/beta 7.9.3-10
skip-checks: true
2021-11-24 13:25:40 +00:00
Jaco
be8cabbd1e Rename {ed, sr}25519 functions (#1237)
* Rename {ed, sr}25519 functions

* Finalize renames

* Fix wasm imports

* CHANGELOG
2021-11-24 15:21:28 +02:00
Github Actions
8d0a0ed2b7 [CI Skip] release/beta 7.9.3-9
skip-checks: true
2021-11-24 12:04:11 +00:00
Jaco
39baaa2b6d CHANGELOG (#1236) 2021-11-24 14:00:23 +02:00
Github Actions
821980f64e [CI Skip] release/beta 7.9.3-8
skip-checks: true
2021-11-24 11:46:56 +00:00
Jaco
6688ff0a43 Use @noble/hashes (#1188)
* Use hashing functions from @noble/hashes

* Remove built-in pbkdf2

* Remove @types

* -19

* Remove @types

* Update packages/util-crypto/src/mnemonic/bip39.ts

* Align

* BigInt alignment

* hmac BigInt assert

* Legacy hmacSha

* Legacy fallbacks

* Align has

* Re-add micro-base

* remove old random inputs

* re-add @types/ed2curve

* Adjust pbkdf2

* Remove legacy (we have wasm)

* Update packages/util-crypto/src/detectPackage.ts

* Update packages/util-crypto/src/detectPackage.ts

* Ordering

* Comments

* Adjust

* Fix build

* cleanup legacySeed
2021-11-24 13:42:49 +02:00
Github Actions
ee18b661ad [CI Skip] release/beta 7.9.3-7
skip-checks: true
2021-11-24 07:06:06 +00:00
Jaco
9a5998b921 bigint consts without BigInt(*) wrapper (#1235) 2021-11-24 09:02:17 +02:00
Github Actions
f27f705f0c [CI Skip] release/beta 7.9.3-6
skip-checks: true
2021-11-23 16:00:47 +00:00
Jaco
5e16b1e84c Remove concatBuffer viariant (#1234) 2021-11-23 17:56:33 +02:00
Github Actions
25a53e43fd [CI Skip] release/beta 7.9.3-5
skip-checks: true
2021-11-23 14:58:30 +00:00
Jaco
75b60b9999 Adjust and enable old perfromance tests (#1233) 2021-11-23 16:54:39 +02:00
Github Actions
e8813aa110 [CI Skip] release/beta 7.9.3-4
skip-checks: true
2021-11-23 08:55:23 +00:00
Jaco
b55cdb25f6 xxhash64 replacement (#1220)
* xxhash64 replacement

* yarn.lock

* hasBigInt check

* extract common

* lint fixes

* Dedupe

* flatten

* Update changes

* Update packages/util-crypto/src/xxhash/asU8a.spec.ts

* Remove useless assignment

* flatten

* combine intermediate vars

* Align var naming

* lint

* Remove unneeded inner conversions

* Update packages/util-crypto/src/xxhash/xxhash64.ts

* Adjust

* bitLength type

* BitLength type

* additional BitLength

* Small cleanups

* Adjust

* Adjust

* blak2 bitLength adjust

* with 384

* renames

* Adjust

* Adjust

* localize

* Comments

* format performance outputs

* format performance outputs

* isWasmOnly revert
2021-11-23 10:51:08 +02:00
Github Actions
05e852337a [CI Skip] release/beta 7.9.3-3
skip-checks: true
2021-11-22 14:45:37 +00:00
Jaco
cdd2d9ace5 Allow for . & , in camelCase (#1231) 2021-11-22 16:41:50 +02:00
Github Actions
a2d9538b31 [CI Skip] release/beta 7.9.3-2
skip-checks: true
2021-11-22 14:17:13 +00:00
Jaco
391ab49b8f Adjust camelCase with simplified version (#1230)
* Adjust camelCase with simplified version

* Adjust count

* Adjust

* readability

* Ascii-only

* single-line callbacks

* CHANGELOG

* Dedupe string{Lower, Upper}First

* replacer -> fn
2021-11-22 16:12:29 +02:00
Github Actions
b390714285 [CI Skip] release/beta 7.9.3-1
skip-checks: true
2021-11-22 06:54:50 +00:00
Jaco
277c80eb96 Revery isWasmOnly helper (#1229)
* Revery isWasmOnly helper

* Adjust
2021-11-22 08:51:03 +02:00
Github Actions
28f0040080 [CI Skip] release/beta 7.9.3-0
skip-checks: true
2021-11-22 06:26:28 +00:00
Jaco
5f280aabb8 Bump dev (w/ /src/ check) (#1228) 2021-11-22 08:22:37 +02:00
Github Actions
39937bed29 [CI Skip] release/stable 7.9.2
skip-checks: true
2021-11-22 05:16:31 +00:00
Jaco
3519d21d8e 7.9.2 (#1227) 2021-11-22 07:12:03 +02:00
Github Actions
8b4dc01ae4 [CI Skip] release/beta 7.9.2-2
skip-checks: true
2021-11-22 04:56:09 +00:00
Jaco
bb73f7ae41 Fix TS import generation (#1226)
* Fix TS import generation

* Flatten
2021-11-22 06:51:49 +02:00
Github Actions
e6a0f1e2fd [CI Skip] release/beta 7.9.2-1
skip-checks: true
2021-11-21 18:25:15 +00:00
Jaco
e8af9b5a1e Add a helper for de-dupe of *AsHex (#1224)
* Add a helper for de-dupe of *AsHex

* Update packages/util-crypto/src/random/asU8a.ts

* lint

* isWasmOnly helper

* bit hasher
2021-11-21 20:21:20 +02:00
Github Actions
1606dfd9ca [CI Skip] release/beta 7.9.2-0
skip-checks: true
2021-11-21 06:58:47 +00:00
Jaco
2fcf59eeb0 Provide JS/Wasm interfaces for hmacShaAsU8a (#1223)
* Provide JS/Wasm interfaces for hmacShaAsU8a

* Adjust

* Re-add helpers

* Alignments
2021-11-21 08:54:54 +02:00
Github Actions
a7606b6514 [CI Skip] release/stable 7.9.1
skip-checks: true
2021-11-21 05:26:30 +00:00
Jaco
871b20c90a 7.9.1 (#1222) 2021-11-21 07:22:56 +02:00
Github Actions
5d93642093 [CI Skip] release/beta 7.8.3-41
skip-checks: true
2021-11-20 16:30:44 +00:00
Jaco
2b2fefb2bb Basic rountrip tests for mmacSha (#1221) 2021-11-20 18:27:06 +02:00
Github Actions
1ede65db38 [CI Skip] release/beta 7.8.3-40
skip-checks: true
2021-11-20 07:33:41 +00:00
Jaco
7090c3daec Re-use cleanups (#1219)
* Re-use cleanups

* linting

* Adjust

* Adjust

* ipfsCompat into if

* Adjust
2021-11-20 09:29:13 +02:00
Github Actions
c03f53e097 [CI Skip] release/beta 7.8.3-39
skip-checks: true
2021-11-19 15:50:17 +00:00
Jaco
2ec02e2580 Combine sha256/512 into single top-level folder (#1218)
* Combine sha256/512 into single top-level folder

* linting

* imports
2021-11-19 17:46:49 +02:00
Github Actions
6b4f9b3d2f [CI Skip] release/beta 7.8.3-38
skip-checks: true
2021-11-19 14:21:02 +00:00
Jaco
d20c37ddd0 Extract performance test loop (& bump wasm) (#1217)
* Extract performance test loop (& bump wasm)

* bitLength for blake preformance

* sha512 naming

* ops/s display
2021-11-19 16:16:39 +02:00
Github Actions
23d46b063c [CI Skip] release/beta 7.8.3-37
skip-checks: true
2021-11-19 13:03:22 +00:00
Jaco
085862ce79 Wasm-compat for keccak512 & sha256 (#1216)
* Wasm-compa for keccak512 & sha256

* wasm/non-wasm tests

* linting

* Bump wasm

* formatting
2021-11-19 14:59:59 +02:00
Github Actions
88580b98a6 [CI Skip] release/beta 7.8.3-36
skip-checks: true
2021-11-19 12:05:22 +00:00
Jaco
fb8b80afd7 Add/use sha256 export (#1215) 2021-11-19 14:01:19 +02:00
Github Actions
d3b5b4ad38 [CI Skip] release/beta 7.8.3-35
skip-checks: true
2021-11-19 11:41:37 +00:00
Jaco
049e8dfde8 Curve conversion tests (#1214) 2021-11-19 13:37:43 +02:00
Github Actions
8230e3ceac [CI Skip] release/beta 7.8.3-34
skip-checks: true
2021-11-19 11:27:04 +00:00
Jaco
37358d4d05 Correct location for @types/ed2curve (#1213) 2021-11-19 13:22:59 +02:00
Github Actions
2cf6ffa3b1 [CI Skip] release/beta 7.8.3-33
skip-checks: true
2021-11-19 10:59:25 +00:00
Jaco
d7f2a70071 networks:sync (#1212) 2021-11-19 12:54:59 +02:00
Github Actions
eb96e2a7aa [CI Skip] release/beta 7.8.3-32
skip-checks: true
2021-11-19 09:38:49 +00:00
Jaco
6965709351 Drop unused BigInt class extension (#1210) 2021-11-19 11:35:05 +02:00
Github Actions
1677d3eace [CI Skip] release/beta 7.8.3-31
skip-checks: true
2021-11-19 09:31:53 +00:00
Jaco
4d77bf3c5b Use micro-base for base{32, 58, 64} (#1209) 2021-11-19 11:27:47 +02:00
Github Actions
222bb74a81 [CI Skip] release/beta 7.8.3-30
skip-checks: true
2021-11-19 07:59:15 +00:00
Jaco
90b4b61852 Add has* env detection (#1207) 2021-11-19 09:55:17 +02:00
Github Actions
b1e209dfeb [CI Skip] release/beta 7.8.3-29
skip-checks: true
2021-11-19 04:27:06 +00:00
Jaco
88beb4d81c Adjust isHex length check (#1205) 2021-11-19 06:23:01 +02:00
Github Actions
3b2ecb87e9 [CI Skip] release/beta 7.8.3-28
skip-checks: true
2021-11-18 16:18:37 +00:00
Adam Dossa
79a2cd0e8f Update Polymesh Genesis Hash (#1193) 2021-11-18 18:14:35 +02:00
Github Actions
0c2d105f9d [CI Skip] release/beta 7.8.3-27
skip-checks: true
2021-11-18 08:26:04 +00:00
Jaco
944d77c5f2 Bump deps (#1202) 2021-11-18 10:21:54 +02:00
Github Actions
0fdf83effe [CI Skip] release/beta 7.8.3-26
skip-checks: true
2021-11-18 08:01:33 +00:00
Jaco
66866e1a8e isCodec (#1201) 2021-11-18 09:57:26 +02:00
Github Actions
9abcc72143 [CI Skip] release/beta 7.8.3-25
skip-checks: true
2021-11-18 06:52:13 +00:00
Jaco
6f0aa35098 Flatten calls (#1200) 2021-11-18 08:48:15 +02:00
Github Actions
93fb633ea6 [CI Skip] release/beta 7.8.3-24
skip-checks: true
2021-11-17 12:11:04 +00:00
Jaco
5524e50baf stripPrefix adjustment 2021-11-17 14:07:43 +02:00
Jaco
e1354746b1 Fix hexStripPrefix 2021-11-17 14:01:04 +02:00
Github Actions
309722f285 [CI Skip] release/beta 7.8.3-23
skip-checks: true
2021-11-17 11:52:13 +00:00
Jaco
4efd88869d Re-add ignoreLength (#1199)
* Re-add ignoreLength

* Actual ignore
2021-11-17 13:48:07 +02:00
Github Actions
ee0436a612 [CI Skip] release/beta 7.8.3-22
skip-checks: true
2021-11-17 08:37:01 +00:00
Jaco
b4ca8219d9 Sync ss58 registry (#1198) 2021-11-17 10:33:28 +02:00
Github Actions
d30a3ddedb [CI Skip] release/beta 7.8.3-21
skip-checks: true
2021-11-16 18:31:05 +00:00
Jaco
fa5b5bca7e Additional bigint utilities (#1194)
* Additional bigint utilities

* Adjust tests

* biTo{Hex, U8a}

* Adjust

* Ordering

* biSqrt

* Fix toU8a

* Extensible BigInt

* Class TS issues....

* Move type def to types

* Update packages/util/src/bi/sqrt.spec.ts

* max/min

* min/max tests
2021-11-16 20:27:19 +02:00
Github Actions
87afdb1d86 [CI Skip] release/beta 7.8.3-20
skip-checks: true
2021-11-16 04:38:40 +00:00
Jaco
23f68c63f4 Constant for secp256k1 curve.n (#1192)
* Constant for secp256k1 curve.n

* Link to constant definition

* global space replace
2021-11-16 06:35:25 +02:00
Github Actions
184dbccf39 [CI Skip] release/beta 7.8.3-19
skip-checks: true
2021-11-15 18:50:53 +00:00
Jaco
06c06a8b73 toBigInt utilities (#1191)
* toBigInt utilities

* Handle negatives?

* two's complement adjustments

* Adjust

* Compliment util extract

* dedupe

* Ensure > u32 tests
2021-11-15 20:46:48 +02:00
Github Actions
82f5fec822 [CI Skip] release/beta 7.8.3-18
skip-checks: true
2021-11-15 14:36:07 +00:00
Jaco
a953b3a78a Optimize bip39 list for size (#1190) 2021-11-15 16:32:48 +02:00
Github Actions
19283b3c28 [CI Skip] release/beta 7.8.3-17
skip-checks: true
2021-11-15 12:34:06 +00:00
Jaco
ac06f38118 Bump deps (#1187) 2021-11-15 14:30:31 +02:00
Github Actions
f9e5c033ab [CI Skip] release/beta 7.8.3-16
skip-checks: true
2021-11-15 11:05:50 +00:00
Jaco
de7817e6b5 Use DataView as applicable (#1186)
* Use DataView as applicable

* .skip

* Fix hexToU8a length calc

* hello world
2021-11-15 13:01:47 +02:00
Github Actions
5972551313 [CI Skip] release/beta 7.8.3-15
skip-checks: true
2021-11-15 05:19:33 +00:00
Jaco
cf0aab479a Small utility adjustments (#1185) 2021-11-15 07:16:21 +02:00
Github Actions
5ab0b173b6 [CI Skip] release/beta 7.8.3-14
skip-checks: true
2021-11-14 19:07:34 +00:00
Jaco
cf990dd4ec Aligh u8aToHex optimization (#1184)
* Aligh u8aToHex optimization

* Adjust

* Fix failing tests, empty value

* Adjust

* numberToHex fix

* Fix hexFixLength tests
2021-11-14 21:03:41 +02:00
Github Actions
8a6fd0812a [CI Skip] release/beta 7.8.3-13
skip-checks: true
2021-11-14 17:26:15 +00:00
Jaco
e93f8d7418 for look index namings (consistency) (#1183) 2021-11-14 19:22:06 +02:00
Github Actions
36f6407796 [CI Skip] release/beta 7.8.3-12
skip-checks: true
2021-11-14 15:39:05 +00:00
Jaco
8ede488aec u8aEq w/ U32 and lower only (#1182)
* u8aEq w/ U32 and lower only

* Adjust mod

* Adjust signatures
2021-11-14 17:35:56 +02:00
Github Actions
eb9d5b9585 [CI Skip] release/beta 7.8.3-11
skip-checks: true
2021-11-14 15:25:32 +00:00
Jaco
20821aad40 Performance optimizations (#1181)
* Performance optimizations

* Use slice internally to u8aEq

* Adjust

* formatting

* subarray

* Fixes

* Use DataView

* With alignment

* Use Float64Array when available

* Skip performance

* Renames

* Alignment comment

* Constants

* Use BYTES_PER_ELEMENT

* Adjust
2021-11-14 17:21:07 +02:00
Github Actions
23fa2b90a8 [CI Skip] release/beta 7.8.3-10
skip-checks: true
2021-11-13 17:37:15 +00:00
Jaco
f94a1ea730 ss58 sync (#1180) 2021-11-13 19:34:08 +02:00
Github Actions
fc98cd9b45 [CI Skip] release/beta 7.8.3-9
skip-checks: true
2021-11-13 15:43:42 +00:00
Jaco
5fdd967666 Small consistency cleanups (#1178)
* Small consistency cleanups

* Adjust

* Adjust
2021-11-13 17:39:52 +02:00
Github Actions
9043f335d4 [CI Skip] release/beta 7.8.3-8
skip-checks: true
2021-11-13 09:42:20 +00:00
Jaco
d9231d26aa Additional Node-specific u8a utils (#1177)
* Additional Node-specific u8a utils

* toHexBuffer
2021-11-13 11:38:07 +02:00
Github Actions
445e0f7ea6 [CI Skip] release/beta 7.8.3-7
skip-checks: true
2021-11-12 07:23:46 +00:00
Jaco
ba0a183bd9 Re-use pre-define BN_{BE, LE}_* constants (#1175)
* Re-use pre-define BN_{BE, LE}_* constants

* ordering update

* bnMax/bnMin opt

* u8aToHex flatten
2021-11-12 09:19:49 +02:00
Github Actions
46beaa1151 [CI Skip] release/beta 7.8.3-6
skip-checks: true
2021-11-12 06:47:36 +00:00
Jaco
31d55b218a Additional tests (w/ lazy) (#1174) 2021-11-12 08:44:00 +02:00
Github Actions
9b30b4b09e [CI Skip] release/beta 7.8.3-5
skip-checks: true
2021-11-11 13:45:03 +00:00
Jaco
cc0dd2a2b5 Address validation tests (#1173) 2021-11-11 15:41:54 +02:00
Github Actions
31a0a9b9d1 [CI Skip] release/beta 7.8.3-4
skip-checks: true
2021-11-11 13:23:30 +00:00
Jaco
9e1e49a1b8 Additional tests (need to expand more...) (#1172)
* Additional utility tests

* Args on constructor
2021-11-11 15:20:01 +02:00
Github Actions
313b44388a [CI Skip] release/beta 7.8.3-3
skip-checks: true
2021-11-11 12:42:42 +00:00
Jaco
30dd8169bc Add tests missing for object* methods (#1171)
* Add tests missing for object* methods

* Extend objectProperty comments

* Additional test

* objectProperties this test

* Adjust
2021-11-11 14:38:58 +02:00
Github Actions
67450bc225 [CI Skip] release/beta 7.8.3-2
skip-checks: true
2021-11-11 12:06:01 +00:00
Jaco
e9285e9ccd Bump deps (#1170) 2021-11-11 14:02:11 +02:00
Github Actions
2a45652ce0 [CI Skip] release/beta 7.8.3-1
skip-checks: true
2021-11-08 08:16:48 +00:00
Jaco
6d923da266 object{Entries, Keys, Values} (#1169)
* object{Entries, Keys, Values}

* Use objectKeys as applicable

* tighten schema defs

* Linting issue snuck in
2021-11-08 10:09:26 +02:00
Github Actions
d55b48566b [CI Skip] release/beta 7.8.3-0
skip-checks: true
2021-11-08 06:11:13 +00:00
Jaco
3ac567e1c4 stringPascalCase (#1168) 2021-11-08 08:03:04 +02:00
Jaco
d19713f548 hexToU8aBuffer 2021-11-08 08:02:36 +02:00
Github Actions
53249f51b8 [CI Skip] release/stable 7.8.2
skip-checks: true
2021-11-07 07:33:32 +00:00
Jaco
4883106c3d 7.8.2 (#1167) 2021-11-07 09:25:15 +02:00
Github Actions
b3f60da550 [CI Skip] release/beta 7.8.2-0
skip-checks: true
2021-11-06 14:03:57 +00:00
Jaco
644f32dfaa Additional isArray (w/ is* opts) (#1166) 2021-11-06 15:56:51 +02:00
Github Actions
bf4c6b497f [CI Skip] release/stable 7.8.1
skip-checks: true
2021-11-06 11:26:10 +00:00
Jaco
a74ac0a0f9 7.8.1 (#1165) 2021-11-06 13:19:01 +02:00
Github Actions
6701f7420f [CI Skip] release/beta 7.7.2-8
skip-checks: true
2021-11-06 10:56:11 +00:00
Jaco
8e43a2d105 Sync ss58registry (#1164) 2021-11-06 12:48:48 +02:00
Github Actions
9560301883 [CI Skip] release/beta 7.7.2-7
skip-checks: true
2021-11-05 14:36:05 +00:00
qwer951123
889bd36432 Add acala genesis (#1161) 2021-11-05 16:27:33 +02:00
Github Actions
e310a63059 [CI Skip] release/beta 7.7.2-6
skip-checks: true
2021-11-04 15:11:31 +00:00
Jaco
98082774f7 Add objectCopy (#1160) 2021-11-04 17:02:45 +02:00
Github Actions
4d680f4b0c [CI Skip] release/beta 7.7.2-5
skip-checks: true
2021-11-04 12:24:30 +00:00
Jaco
ff7c086b5b Import lazy* from api repo (#1159) 2021-11-04 14:16:58 +02:00
Github Actions
63b38c56ff [CI Skip] release/beta 7.7.2-4
skip-checks: true
2021-11-04 08:10:38 +00:00
Jaco
8be38e40a1 Bump dev deps (#1158) 2021-11-04 10:01:35 +02:00
Github Actions
9eb2f14dee [CI Skip] release/beta 7.7.2-3
skip-checks: true
2021-11-04 06:24:05 +00:00
Jaco
733d7c1948 Add objectClear & objectSpread (#1157)
* Add objectClear & objectSpread

* Allow null/undefined as a source
2021-11-04 08:16:55 +02:00
Github Actions
08ac55d7cd [CI Skip] release/beta 7.7.2-2
skip-checks: true
2021-11-03 16:21:23 +00:00
Jaco
e2f5a85d14 Correct types for Ledger signature (#1156) 2021-11-03 18:13:00 +02:00
Github Actions
77289d0ec0 [CI Skip] release/beta 7.7.2-1
skip-checks: true
2021-11-03 12:49:11 +00:00
Jaco
29406a0010 Bump dev (#1155) 2021-11-03 14:46:44 +02:00
Github Actions
006d55f5c1 [CI Skip] release/beta 7.7.2-0
skip-checks: true
2021-11-03 06:55:22 +00:00
Jaco
650a3ca4a8 Sync ss58 (#1154) 2021-11-03 08:46:52 +02:00
Github Actions
d3c8112f66 [CI Skip] release/stable 7.7.1
skip-checks: true
2021-10-31 14:51:24 +00:00
Jaco
8880e8fa8c 7.7.1 (#1152)
* 7.7.1

* Extract stringify replacer

* formatting

* linting

* isUnSorted{A, B}

* Adjust

* Complexity?

* Cleanups

* Update packages/util-crypto/src/address/derive.ts

* formatBalance

* Revert formatBalance
2021-10-31 16:44:17 +02:00
Github Actions
481f7f6ee0 [CI Skip] release/beta 7.6.2-8
skip-checks: true
2021-10-31 06:34:35 +00:00
Jaco
a4cefa4bfc Adjust base library usage of for vs reduce/map (#1151)
* Adjust base library usage of `for` vs `reduce/map`

* Additional

* Adjust
2021-10-31 08:27:14 +02:00
Github Actions
7ef169585f [CI Skip] release/beta 7.6.2-7
skip-checks: true
2021-10-30 15:52:24 +00:00
Jaco
134b8c3b9f arrayZip (#1150)
* arrayZip

* Update packages/util/src/array/zip.spec.ts

* Update packages/util/src/array/zip.ts
2021-10-30 18:45:20 +03:00
Github Actions
1158551b9e [CI Skip] release/beta 7.6.2-6
skip-checks: true
2021-10-29 07:41:53 +00:00
Jaco
4c2521bc21 Bump deps, update CHANGELOG (#1149) 2021-10-29 10:33:07 +03:00
Github Actions
993e45d148 [CI Skip] release/beta 7.6.2-5
skip-checks: true
2021-10-27 13:46:16 +00:00
Igor
14a0c3f18b Support genshiro network (#1148)
* support genshiro network

* remove registry
2021-10-27 16:39:08 +03:00
Github Actions
9fa71647c1 [CI Skip] release/beta 7.6.2-4
skip-checks: true
2021-10-26 07:17:00 +00:00
Jaco
cac98aac03 Adjust testnet detection in @polkadot/networks (#1147) 2021-10-26 10:08:52 +03:00
Github Actions
48158927e1 [CI Skip] release/beta 7.6.2-3
skip-checks: true
2021-10-25 13:33:33 +00:00
Jaco
51082373e6 Bump dev deps (#1145) 2021-10-25 16:26:18 +03:00
Github Actions
bf80f76173 [CI Skip] release/beta 7.6.2-2
skip-checks: true
2021-10-25 11:41:59 +00:00
Jaco
474e98b6d1 Bump dev (#1144) 2021-10-25 14:34:55 +03:00
Github Actions
07317b8840 [CI Skip] release/beta 7.6.2-1
skip-checks: true
2021-10-25 09:23:22 +00:00
Jaco
2e46b688cf Update repository location (#1143)
* Update repository location

* Adjust
2021-10-25 12:15:22 +03:00
Github Actions
c87cf8c655 [CI Skip] release/beta 7.6.2-0
skip-checks: true
2021-10-25 05:13:27 +00:00
Jaco
9eabf95fc0 Assert chainCode inputs to derive* (#1142)
* Assert chainCode inputs to derive*

* Adjust
2021-10-25 08:04:37 +03:00
Github Actions
11ab3a4f6b [CI Skip] release/stable 7.6.1
skip-checks: true
2021-10-23 10:54:38 +00:00
Jaco
0ba57b26d1 7.6.1 (#1140)
* 7.6.1

* Adjust GlobalThis

* Adjust
2021-10-23 13:47:23 +03:00
Github Actions
36c2389985 [CI Skip] release/beta 7.5.2-4
skip-checks: true
2021-10-23 10:20:12 +00:00
Jaco
93d5041e8f Adjust base* validation function (#1139)
* Adjust base* validation function

* Adjust sr25519 derive functions

* More dedupe

* Rename

* Adjust
2021-10-23 13:11:58 +03:00
Github Actions
f4d933936e [CI Skip] release/beta 7.5.2-3
skip-checks: true
2021-10-23 09:42:50 +00:00
Jaco
2cdaf71c4b Sync with paritytech/ss58-registry (#1138)
* Sync with paritytech/ss58-registry

* Since registry location

* Adjust defaults with json location

* Adjust

* Adjust comments

* prefix 42
2021-10-23 12:34:53 +03:00
Github Actions
6982380aff [CI Skip] release/beta 7.5.2-2
skip-checks: true
2021-10-23 09:00:25 +00:00
Jaco
2cc2c4d415 isAscii adjustments (#1137)
* isAscii adjustments

* Adjust negation
2021-10-23 11:52:41 +03:00
Github Actions
da38e0f890 [CI Skip] release/beta 7.5.2-1
skip-checks: true
2021-10-23 08:39:18 +00:00
Jaco
c7c1723914 User ArrayBuffer internally to xxhash (#1133) 2021-10-23 11:30:23 +03:00
Github Actions
15e85bf4b9 [CI Skip] release/beta 7.5.2-0
skip-checks: true
2021-10-17 09:39:09 +00:00
Jaco
e7771b02a4 Bump dev (#1132)
* Bump dev

* eslint 8 fixes

* Bump
2021-10-17 12:32:45 +03:00
Github Actions
9a5d2e00be [CI Skip] release/stable 7.5.1
skip-checks: true
2021-10-16 06:32:07 +00:00
Jaco
5f36b23dfc 7.5.1 (#1131)
* 7.5.1

* CHANGELOG
2021-10-16 09:24:45 +03:00
Github Actions
921659981d [CI Skip] release/beta 7.4.2-8
skip-checks: true
2021-10-14 06:43:02 +00:00
Jaco
1bcafead57 Parse derivation paths via BN (#1130)
* Parse derivation paths via BN

* Direct to u8a for numbers

* CHANGELOG
2021-10-14 09:34:13 +03:00
Github Actions
9b29d33d87 [CI Skip] release/beta 7.4.2-7
skip-checks: true
2021-10-14 05:59:53 +00:00
Jaco
ecce4a22f7 networks:sync (#1129) 2021-10-14 08:51:13 +03:00
Github Actions
22d471d5fc [CI Skip] release/beta 7.4.2-6
skip-checks: true
2021-10-08 06:04:20 +00:00
Jaco
4df1a67be4 Bump deps (#1126) 2021-10-08 08:55:29 +03:00
Github Actions
497b97ad4e [CI Skip] release/beta 7.4.2-5
skip-checks: true
2021-10-02 05:58:25 +00:00
Jaco
9177b24d5b Sync ss58 (#1122) 2021-10-02 08:49:40 +03:00
Github Actions
88556d6a75 [CI Skip] release/beta 7.4.2-4
skip-checks: true
2021-09-29 12:59:41 +00:00
Jaco
c8dfeaad5b Update ss58 JSON format handling (#1120)
* Update JSON handling

* Fix output
2021-09-29 14:51:19 +02:00
Github Actions
69190b0395 [CI Skip] release/beta 7.4.2-3
skip-checks: true
2021-09-29 08:29:52 +00:00
Tomokazu Kozuma
e61cd53e08 fix comment (#1119)
Co-authored-by: admin <admin@adminnoMacBook-Air.local>
2021-09-29 10:20:59 +02:00
Github Actions
26b0630cd3 [CI Skip] release/beta 7.4.2-2
skip-checks: true
2021-09-28 12:08:54 +00:00
Jaco
e09c604c26 ss58 sync (#1117) 2021-09-28 14:00:12 +02:00
Github Actions
7983a12121 [CI Skip] release/beta 7.4.2-1
skip-checks: true
2021-09-27 05:46:53 +00:00
Jaco
0e070c6142 Bump deps (#1115) 2021-09-27 07:39:56 +02:00
Github Actions
e30a10a4b5 [CI Skip] release/beta 7.4.2-0
skip-checks: true
2021-09-24 17:46:51 +00:00
Antoine Estienne
c3a073a952 Improve ethereum tests (#1114)
* added gerald test address

* improve ethereum tests

* lint

* Update packages/keyring/src/suri.spec.ts

Co-authored-by: Jaco <jacogr@gmail.com>

* remove seed for ethereum testing pairs

* lint

Co-authored-by: Jaco <jacogr@gmail.com>
2021-09-24 20:40:31 +03:00
Github Actions
203891d184 [CI Skip] release/stable 7.4.1
skip-checks: true
2021-09-17 14:12:48 +00:00
Jaco
4ea8ccf844 7.4.1 (#1112)
* 7.4.1

* CHANGELOG
2021-09-17 16:04:41 +02:00
Github Actions
d7b856f8f0 [CI Skip] release/beta 7.3.2-7
skip-checks: true
2021-09-17 13:40:09 +00:00
Jaco
b37d55e0ed Some attempted CC fixes (#1111)
* Some attempted CC fixes

* hmac

* adjust derive
2021-09-17 15:32:52 +02:00
Github Actions
f1740dfdd7 [CI Skip] release/beta 7.3.2-6
skip-checks: true
2021-09-17 12:57:44 +00:00
Jaco
7047bf5aa5 Detect and verify wrapped messages (#1110)
* Detect and verify wrapped messages

* Expose isWrapped detection

* Complexity cleanups

* Update wrap.spec.ts

* Update wrap.ts

* Extract fn getter

* Test for wrapping to detect path
2021-09-17 14:48:33 +02:00
Github Actions
5dcf99eaa7 [CI Skip] release/beta 7.3.2-5
skip-checks: true
2021-09-14 18:18:25 +00:00
Jaco
efc6b315e5 Networks:sync (#1109) 2021-09-14 20:09:47 +02:00
Github Actions
2ce554587f [CI Skip] release/beta 7.3.2-4
skip-checks: true
2021-09-14 11:32:59 +00:00
Jaco
f1e45ee2c3 Bump deps (#1107) 2021-09-14 13:24:13 +02:00
Github Actions
e5e46cedaf [CI Skip] release/beta 7.3.2-3
skip-checks: true
2021-09-13 11:20:26 +00:00
Jaco
2b7e21355d Sync ss58 registry (#1106) 2021-09-13 13:12:46 +02:00
Github Actions
2565712a79 [CI Skip] release/beta 7.3.2-2
skip-checks: true
2021-09-08 12:46:23 +00:00
Jaco
9fc57a23e8 Adjust isHex with template return (#1103)
* Adjust isHex with template return

* Unneeded assignment

* CHANGELOG

* typo

* Additional HexString types

* Additional HexString inputs

* Use U8aLike as applicable

* typo

* Unneeded type

* HexString outputs

* Export types
2021-09-08 14:38:53 +02:00
Github Actions
6b9b7fa7f5 [CI Skip] release/beta 7.3.2-1
skip-checks: true
2021-09-05 09:03:17 +00:00
Jaco
c9f127ec72 Bump deps (#1101)
* Bump deps

* linting
2021-09-05 10:55:11 +02:00
Github Actions
89699f3f4e [CI Skip] release/beta 7.3.2-0
skip-checks: true
2021-09-01 16:47:31 +00:00
Jaco
7d167bcd4c Jest config cleanup (#1100) 2021-09-01 18:39:13 +02:00
Github Actions
f0b984f141 [CI Skip] release/stable 7.3.1
skip-checks: true
2021-08-28 06:17:10 +00:00
Jaco
56e518fc92 7.3.1 (#1098) 2021-08-28 08:08:14 +02:00
Tore19
87a1ca96e3 Add stafi genesis hash (#1096) 2021-08-28 07:55:10 +02:00
Github Actions
8ef9e206d6 [CI Skip] release/beta 7.2.2-8
skip-checks: true
2021-08-26 09:30:40 +00:00
Jaco
1cdda7ca06 Bump deps (#1097) 2021-08-26 11:22:25 +02:00
Github Actions
fa930e9f09 [CI Skip] release/beta 7.2.2-7
skip-checks: true
2021-08-26 06:54:37 +00:00
Jaco
f6cc776e87 schnorrkelAgreement (#1095)
* schnorrkelAgreement

* Hex on sr25519 functions

* cleanups
2021-08-26 08:47:25 +02:00
Github Actions
3c4bfeb3e8 [CI Skip] release/beta 7.2.2-6
skip-checks: true
2021-08-26 06:03:11 +00:00
Jaco
6e49aaf1db Bump wasm (w/ sr agreement) (#1094) 2021-08-26 07:54:29 +02:00
Github Actions
852c4c0398 [CI Skip] release/beta 7.2.2-5
skip-checks: true
2021-08-25 08:03:48 +00:00
Jaco
9b03461c7e Align prefixes with upstream (#1093) 2021-08-25 09:55:16 +02:00
Github Actions
4d11a90188 [CI Skip] release/beta 7.2.2-4
skip-checks: true
2021-08-24 07:19:28 +00:00
Jaco
b7666e9de9 Bump deps (#1091) 2021-08-24 09:11:33 +02:00
Github Actions
0129752206 [CI Skip] release/beta 7.2.2-3
skip-checks: true
2021-08-24 06:37:29 +00:00
pan
11fa66441d add bifrost genesis hash (#1090) 2021-08-24 08:28:40 +02:00
Eliott Teissonniere
9ed08def61 add nodle ledger specs (#1089) 2021-08-24 08:28:01 +02:00
Github Actions
f1ccfad087 [CI Skip] release/beta 7.2.2-2
skip-checks: true
2021-08-21 08:33:43 +00:00
Jaco
4f9198f1f3 Bumps (#1088)
* Bumps

* Upgrade @polkadot/ts
2021-08-21 10:25:08 +02:00
Github Actions
6bd6c8340f [CI Skip] release/beta 7.2.2-1
skip-checks: true
2021-08-17 07:44:23 +00:00
Jaco
4355df9e9b Bump deps (#1087) 2021-08-17 09:35:40 +02:00
Github Actions
272fe62031 [CI Skip] release/beta 7.2.2-0
skip-checks: true
2021-08-16 06:07:50 +00:00
Jaco
5ab88bcd35 Bump deps (#1086) 2021-08-16 07:58:42 +02:00
Github Actions
4a5659a579 [CI Skip] release/stable 7.2.1
skip-checks: true
2021-08-15 08:46:10 +00:00
Jaco
c4a8aa2dd7 7.2.1 (#1085)
* 7.2.1

* Update CHANGELOG.md

* u8aEmpty
2021-08-15 10:38:48 +02:00
Github Actions
2ad042e44d [CI Skip] release/beta 7.1.3-4
skip-checks: true
2021-08-13 11:56:50 +00:00
Jaco Greeff
4615fcfbde bump berry 2021-08-13 14:48:47 +03:00
Github Actions
f90d84500d [CI Skip] release/beta 7.1.3-3
skip-checks: true
2021-08-13 11:02:19 +00:00
Jaco
e919446341 Bump dev (#1084)
* Bump dev

* Cleanup circular dep

* CHANGELOG

* typo
2021-08-13 12:54:03 +02:00
Github Actions
8f942dcabe [CI Skip] release/beta 7.1.3-2
skip-checks: true
2021-08-12 08:09:40 +00:00
Nantian
2e4de2093c fix bigint type (#1079) 2021-08-12 10:00:58 +02:00
Github Actions
0202a1f1d4 [CI Skip] release/beta 7.1.3-1
skip-checks: true
2021-08-12 05:24:15 +00:00
Jaco Greeff
1e256fedaa pre 2021-08-12 08:16:52 +03:00
Github Actions
56a3d19083 [CI Skip] release/stable 7.1.2
skip-checks: true
2021-08-11 15:21:50 +00:00
Jaco
caf76a7511 Ensure packageInfo from networks doesn't clobber crypto (#1076)
* Ensure packageInfo from networks doesn't clobber crypto

* 7.1.2

* Update CHANGELOG.md

* Extract network sorting

* ... revert, CC still not happy, maybe another day...
2021-08-11 17:14:28 +02:00
Github Actions
834a1e6a52 [CI Skip] release/beta 7.1.2-0
skip-checks: true
2021-08-10 09:23:32 +00:00
Jaco
7a5b1207b0 Minor x-bundle style cleanups (#1074) 2021-08-10 11:15:10 +02:00
Github Actions
8221576d25 [CI Skip] release/stable 7.1.1
skip-checks: true
2021-08-02 08:41:20 +00:00
Jaco
1f9d36d4db 7.1.1 (#1073) 2021-08-02 10:32:37 +02:00
Github Actions
b292f2ae1d [CI Skip] release/beta 7.0.4-0
skip-checks: true
2021-08-02 04:26:52 +00:00
Song Zhou
7eddfc25c9 Add in ability to encrypt/decrypt msg with keyring (#1070)
* feat: able to encrypt & decrypt message in keyring - ed25519 & sr25519 types

* chore: make eslint happy

* test: add in one more test on cross-usage of ed25519 & sr25519

* make lint happy without eslint-disable

* assert away secp256k1 for encrypt/decrypt

* Update packages/keyring/src/pair/index.ts

* Update packages/keyring/src/pair/index.ts

Co-authored-by: Jaco <jacogr@gmail.com>
2021-08-02 06:18:58 +02:00
Github Actions
c6ff77b56f [CI Skip] release/stable 7.0.3
skip-checks: true
2021-07-26 05:42:45 +00:00
Jaco
4a1f5bfbf4 7.0.3 (#1069) 2021-07-26 07:34:06 +02:00
Github Actions
e8f0072e44 [CI Skip] release/beta 7.0.3-0
skip-checks: true
2021-07-23 05:26:30 +00:00
Jaco
4620a6a649 ss58 sync (#1066) 2021-07-23 07:19:24 +02:00
Github Actions
a5fd5e2c85 [CI Skip] release/stable 7.0.2
skip-checks: true
2021-07-19 12:35:04 +00:00
Jaco
b58c77d774 7.0.2 (#1063) 2021-07-19 14:28:14 +02:00
Github Actions
5e8ec185cb [CI Skip] release/beta 7.0.2-0
skip-checks: true
2021-07-17 06:57:49 +00:00
Jaco
bbdf5659df Add isCompact (#1061) 2021-07-17 08:49:30 +02:00
Github Actions
f8cc8d07e1 [CI Skip] release/stable 7.0.1
skip-checks: true
2021-07-11 10:12:38 +00:00
Jaco
e3eb76762c 7.0.1 (#1058) 2021-07-11 12:05:13 +02:00
Github Actions
114e75a4b4 [CI Skip] release/beta 6.11.2-17
skip-checks: true
2021-07-11 05:05:49 +00:00
Miguel Hervas
5ca641c758 Add CFG Ledger Support (#1057) 2021-07-11 06:58:39 +02:00
Github Actions
ded2528836 [CI Skip] release/beta 6.11.2-16
skip-checks: true
2021-07-09 16:03:27 +00:00
Jaco Greeff
70fa61916d Bump dev 2021-07-09 18:55:37 +03:00
Github Actions
c9a2d3b6d7 [CI Skip] release/beta 6.11.2-15
skip-checks: true
2021-07-09 15:04:13 +00:00
Jaco Greeff
4927120403 Additional keyring exports 2021-07-09 17:04:11 +03:00
Github Actions
36f53f6b82 [CI Skip] release/beta 6.11.2-14
skip-checks: true
2021-07-09 12:11:29 +00:00
Jaco
24548e84e1 Networks bundling adjustments (#1056)
* Add networks to util bundle

* Bundling for @polkadot/networks

* Move to util-crypto

* Comment

* Update lock

* Re-adjust detectPackage

* Only exports

* Adjust

* Adjust tests

* crosscheck adjust
2021-07-09 14:03:21 +02:00
Github Actions
337deab526 [CI Skip] release/beta 6.11.2-13
skip-checks: true
2021-07-09 08:06:52 +00:00
Jaco
4a9f0326e7 Adjust bundle builds (crypto now working) (#1055) 2021-07-09 09:59:16 +02:00
Github Actions
81811510f4 [CI Skip] release/beta 6.11.2-12
skip-checks: true
2021-07-09 05:47:41 +00:00
Jaco
f09867d90f Sync ss58 (#1054) 2021-07-09 07:39:15 +02:00
Github Actions
709e1ab3c1 [CI Skip] release/beta 6.11.2-11
skip-checks: true
2021-07-08 11:40:02 +00:00
Jaco
ae2d7518b2 Bump deps (#1053) 2021-07-08 13:32:49 +02:00
Github Actions
5337f1dca9 [CI Skip] release/beta 6.11.2-10
skip-checks: true
2021-07-07 16:39:22 +00:00
Jaco
cc9b8630ff Single module bundle via rollup (#1041)
* Single module bundle via rollup

* Additional

* Dedupe

* rollup default to browser

* Fix hw-ledger output naming

* Adjust with dev

* Update rollup.config.mjs

* Fix Ledger bundling

* Update rollup.config.mjs

* Apply suggestions from code review

* Use createBundle

* override all

* Update rollup.config.mjs

* Update rollup.config.mjs

* Remove browser index

* Add bundle entrypoint

* Attempt blackholing

* empty blake2

* Bump dev (w/ rollup plugins)

* Bump dev

* x-* as internal

* Updates

* Bump wasm

* Bump wasm
2021-07-07 19:32:17 +03:00
Github Actions
e6e266a4c0 [CI Skip] release/beta 6.11.2-9
skip-checks: true
2021-07-07 11:44:51 +00:00
Jaco Greeff
3b96d87f7f Remove x-rxjs from tsconfig 2021-07-07 14:36:51 +03:00
Github Actions
c1949a21be [CI Skip] release/beta 6.11.2-8
skip-checks: true
2021-07-07 10:38:27 +00:00
Jaco
7f0a6b0ce9 Split index into bundle & detect (#1051) 2021-07-07 12:30:55 +02:00
Github Actions
6b644025b0 [CI Skip] release/beta 6.11.2-7
skip-checks: true
2021-07-07 07:33:00 +00:00
Jaco
6ea1ee555b Remove the x-rxjs compatibility layer (#1050)
* Remove the x-rxjs compatibility layer

* Update CHANGELOG.md
2021-07-07 09:25:08 +02:00
Github Actions
d582b2e180 [CI Skip] release/beta 6.11.2-6
skip-checks: true
2021-07-07 07:01:56 +00:00
Jaco
c2d04155f9 Re-add rxjs/operators (#1049) 2021-07-07 08:53:16 +02:00
Github Actions
5a4dc97498 [CI Skip] release/beta 6.11.2-5
skip-checks: true
2021-07-07 06:45:57 +00:00
Jaco
f1aeda10ee Adjust rxjs exports (#1048) 2021-07-07 08:37:51 +02:00
Github Actions
70a3aebce3 [CI Skip] release/beta 6.11.2-4
skip-checks: true
2021-07-06 13:09:56 +00:00
Jaco
31dd2ced0e RxJs 7 (#965)
* RxJs 7

* Bump deps

* rxjs 7.0.1

* Bump rxjs

* Bump to rxjs 7.2

* CHANGELOG
2021-07-06 15:01:39 +02:00
Github Actions
98ad1199f3 [CI Skip] release/beta 6.11.2-3
skip-checks: true
2021-07-06 11:19:06 +00:00
Jaco Greeff
30225ceb40 Bump dev 2021-07-06 14:11:08 +03:00
Github Actions
194b8ced5b [CI Skip] release/beta 6.11.2-2
skip-checks: true
2021-07-06 07:16:40 +00:00
Jaco Greeff
81ed8cfc6c Bump deps 2021-07-06 10:08:10 +03:00
Jaco Greeff
51598b00c0 Bump dev 2021-07-06 09:56:14 +03:00
Github Actions
1684bd3161 [CI Skip] release/beta 6.11.2-1
skip-checks: true
2021-07-06 05:55:04 +00:00
Jaco Greeff
a53e1b8aa4 Bump dev 2021-07-06 08:46:36 +03:00
Github Actions
89f2925d89 [CI Skip] release/beta 6.11.2-0
skip-checks: true
2021-07-05 15:04:14 +00:00
Jaco
c29a226279 Bump dev (#1045) 2021-07-05 16:55:51 +02:00
Github Actions
b8d1ab95c6 [CI Skip] release/stable 6.11.1
skip-checks: true
2021-07-05 06:42:16 +00:00
Jaco
bcddcab03e 6.11 (#1044) 2021-07-05 08:32:33 +02:00
Github Actions
bfe2c5bd38 [CI Skip] release/beta 6.10.2-3
skip-checks: true
2021-07-02 14:00:42 +00:00
Jaco
c243c4c59a Bump ZondaX deps (w/ Statemine fix) (#1043)
* Bump ZondaX deps (w/ Statemine fix)

* Statemine app naming
2021-07-02 15:53:42 +02:00
Github Actions
c8db1347d0 [CI Skip] release/beta 6.10.2-2
skip-checks: true
2021-07-02 13:04:49 +00:00
Jaco
9952f90261 Remove unneeded x-global deps (#1042) 2021-07-02 14:56:21 +02:00
Github Actions
48fcd8b4ff [CI Skip] release/beta 6.10.2-1
skip-checks: true
2021-07-02 07:17:33 +00:00
Jaco
10a09253f8 Bump TS (#1040) 2021-07-02 09:08:27 +02:00
Github Actions
7b435f7a89 [CI Skip] release/beta 6.10.2-0
skip-checks: true
2021-06-30 11:21:10 +00:00
Jaco
392150e412 Update ss58 registry (#1038) 2021-06-30 13:13:13 +02:00
Github Actions
4ac2366a97 [CI Skip] release/stable 6.10.1
skip-checks: true
2021-06-26 07:51:26 +00:00
Jaco
017fb5e738 6.10 (#1036) 2021-06-26 09:43:02 +02:00
Github Actions
81a5ccc0ca [CI Skip] release/beta 6.9.2-12
skip-checks: true
2021-06-25 12:48:25 +00:00
Jaco
fbe688ff4e Ledger info for Statemine (#1026) 2021-06-25 14:40:06 +02:00
Github Actions
9a58dc61eb [CI Skip] release/beta 6.9.2-11
skip-checks: true
2021-06-25 07:26:11 +00:00
Jaco
d7bd59a699 ss58 update (#1035)
* ss58 update

* Update standardAccount type
2021-06-25 09:17:21 +02:00
Github Actions
41ef37e92e [CI Skip] release/beta 6.9.2-10
skip-checks: true
2021-06-24 11:22:25 +00:00
Antoine Estienne
8031a4472e Fix tojson pair for 20 address (#1032)
* added gerald test address

* exception for 20 address

* lint

* remove comment

* Update packages/keyring/src/pair/index.ts

Co-authored-by: Jaco <jacogr@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
2021-06-24 13:13:11 +02:00
Github Actions
31be56226d [CI Skip] release/beta 6.9.2-9
skip-checks: true
2021-06-23 13:55:31 +00:00
Jaco
902ff47337 isHex(value): value is string (#1031)
* isHex stringisHex(value): value is string

* lint
2021-06-23 15:47:42 +02:00
Github Actions
dc06b87cdd [CI Skip] release/beta 6.9.2-8
skip-checks: true
2021-06-23 11:18:56 +00:00
Jaco
1e25accdad Sync ss58 with upstream (#1030)
* Sync ss58 with upstream

* CHANGELOG
2021-06-23 13:11:24 +02:00
Github Actions
67dbc4d7f7 [CI Skip] release/beta 6.9.2-7
skip-checks: true
2021-06-23 11:03:42 +00:00
Jaco
ab3268407c Use describe.each for onlyJs flag (#1029)
* Use describe.each for onlyJs flag

* base validate checks
2021-06-23 12:55:29 +02:00
Github Actions
470b43578e [CI Skip] release/beta 6.9.2-6
skip-checks: true
2021-06-23 10:23:29 +00:00
Jaco
038b50455e Update deps (blake2js w/ types, @ledger/hw-transport) (#1027)
* Update deps (blake2js w/ types, @ledger/hw-transport)

* Lint fix

* Exapnd blake2 tests
2021-06-23 12:15:21 +02:00
Github Actions
5c3fa682a9 [CI Skip] release/beta 6.9.2-5
skip-checks: true
2021-06-23 06:02:29 +00:00
Jaco
e677acd1ed Update toLegacySeed.ts (#1024) 2021-06-23 07:55:24 +02:00
Github Actions
68cd6e2dfb [CI Skip] release/beta 6.9.2-4
skip-checks: true
2021-06-23 05:11:08 +00:00
Nantian
7130ff6f71 add karura genesis hash (#1022) 2021-06-23 07:02:51 +02:00
Github Actions
a6d5d0dcdc [CI Skip] release/beta 6.9.2-3
skip-checks: true
2021-06-22 16:00:23 +00:00
Jaco
a3b738f91d @zondax/ledger-polkadot -> @zondax/ledger-substrate/ (#1021)
* @zondax/ledger-polkadot -> @zondax/ledger-substrate/

* Update imports
2021-06-22 17:51:52 +02:00
Github Actions
b66d2e39f4 [CI Skip] release/beta 6.9.2-2
skip-checks: true
2021-06-22 14:11:43 +00:00
Jaco
0ef761e899 User template string type for isHex (#1020)
* User template string type for isHex

* isHex/isString combo checks
2021-06-22 16:05:14 +02:00
Github Actions
7d09f0892a [CI Skip] release/beta 6.9.2-1
skip-checks: true
2021-06-22 13:52:46 +00:00
Jaco
972f15c774 Bump deps (#1019) 2021-06-22 15:45:39 +02:00
Github Actions
fa11195d4a [CI Skip] release/beta 6.9.2-0
skip-checks: true
2021-06-22 13:02:56 +00:00
Jaco
f437d3aae1 arrayShuffle (#1018)
* arrayShuffle

* Update packages/util/src/array/shuffle.spec.ts

* Update packages/util/src/array/shuffle.spec.ts

* Update packages/util/src/array/shuffle.ts

* Early return for length 1
2021-06-22 14:54:40 +02:00
Github Actions
04a28967c7 [CI Skip] release/stable 6.9.1
skip-checks: true
2021-06-19 04:27:32 +00:00
Jaco
47c831d672 6.9 (#1017) 2021-06-19 06:18:48 +02:00
Github Actions
3c4c2cf540 [CI Skip] release/beta 6.8.2-1
skip-checks: true
2021-06-18 14:30:59 +00:00
Jaco
f383487764 Mnemonic compare test (w/ arrayRange) (#1016)
* Mnemonic compare test (w/ arrayRange)

* Update packages/util-crypto/src/mnemonic/toMiniSecretCmp.spec.ts

* Update packages/util-crypto/src/mnemonic/toMiniSecretCmp.spec.ts

* --testPathIgnorePattern toMiniSecretCmp

* patterns

* Prettify tests with .each

* with and without password
2021-06-18 16:23:50 +02:00
Github Actions
d900dec667 [CI Skip] release/beta 6.8.2-0
skip-checks: true
2021-06-17 09:12:38 +00:00
Jaco
49d200fb85 Add u8aCmp (sorting determination) (#1015)
* Add u8aCmp (sorting determination)

* Update packages/util/src/u8a/cmp.ts

* Update packages/util/src/u8a/cmp.ts

* Update packages/util/src/u8a/cmp.ts

* Use u8aCmp in u8aEq
2021-06-17 11:03:02 +02:00
Github Actions
2f9d117cc6 [CI Skip] release/stable 6.8.1
skip-checks: true
2021-06-14 05:18:19 +00:00
Jaco
ef44de3ebe 6.8 (#1014) 2021-06-14 07:09:38 +02:00
Github Actions
76d03bb504 [CI Skip] release/beta 6.7.2-8
skip-checks: true
2021-06-13 07:56:44 +00:00
Jaco
b58543237f Sync ss58 (#1013) 2021-06-13 09:48:35 +02:00
Github Actions
4859157264 [CI Skip] release/beta 6.7.2-7
skip-checks: true
2021-06-11 10:10:49 +00:00
Jaco
a5f3ce20ae Fix internal bn/* imports (#1010) 2021-06-11 12:02:24 +02:00
Github Actions
14fe54d2af [CI Skip] release/beta 6.7.2-6
skip-checks: true
2021-06-11 09:50:49 +00:00
Jaco
f2d611e26d BN util export (& imports adjust) (#1009)
* BN util export (& imports adjust)

* Fix hexToBn

* Adjusts test

* Move bn export
2021-06-11 11:42:29 +02:00
Github Actions
700774b207 [CI Skip] release/beta 6.7.2-5
skip-checks: true
2021-06-08 15:12:16 +00:00
Jaco
770446c052 Prettier ignore all (#1007) 2021-06-08 17:04:13 +02:00
Github Actions
f576b99c5c [CI Skip] release/beta 6.7.2-4
skip-checks: true
2021-06-08 09:26:36 +00:00
Raymond Zhong
678e888a4a Add Edgeware ledger app (#1006)
* Add Edgeware ledger app

* Add edgeware slip44
2021-06-08 11:17:39 +02:00
Github Actions
3335215866 [CI Skip] release/beta 6.7.2-3
skip-checks: true
2021-06-07 14:08:51 +00:00
Jaco Greeff
d4a64e7a5a Adjust cron locks 2021-06-07 17:00:17 +03:00
Github Actions
d778157d5a [CI Skip] release/beta 6.7.2-2
skip-checks: true
2021-06-07 13:56:48 +00:00
Jaco Greeff
3d0f6dafa5 lock cron 2021-06-07 16:48:16 +03:00
Github Actions
374a6ba5d6 [CI Skip] release/beta 6.7.2-1
skip-checks: true
2021-06-06 19:33:34 +00:00
Jaco Greeff
eee6160060 Adjust semgrep check 2021-06-06 22:25:12 +03:00
Github Actions
5202b3febb [CI Skip] release/beta 6.7.2-0
skip-checks: true
2021-06-06 19:06:59 +00:00
Agustinus Theodorus
a0d48fdb48 docs: fix typo in naclSeal docs. (#1005)
Co-authored-by: Agustinus Theodorus <agustinus.theodorus@binus.edu>
2021-06-06 20:58:43 +02:00
Github Actions
831fddafd7 [CI Skip] release/stable 6.7.1
skip-checks: true
2021-06-06 16:36:58 +00:00
Jaco
278a30cd7d 6.7 (#1004) 2021-06-06 18:29:53 +02:00
Github Actions
55b65b202e [CI Skip] release/beta 6.6.2-18
skip-checks: true
2021-06-05 11:16:55 +00:00
Jaco Greeff
e1b6456a14 No semgrep.yml on forks 2021-06-05 14:07:36 +03:00
Github Actions
4f285c989d [CI Skip] release/beta 6.6.2-17
skip-checks: true
2021-06-05 07:31:52 +00:00
Jaco Greeff
7cc946e19f Don't include ci in stale 2021-06-05 10:23:21 +03:00
Github Actions
bc783be346 [CI Skip] release/beta 6.6.2-16
skip-checks: true
2021-06-05 06:46:34 +00:00
Jaco Greeff
a156a2da82 push-master.yml adjust skip 2021-06-05 09:38:08 +03:00
Github Actions
0131915253 [CI Skip] release/beta 6.6.2-15
skip-checks: true
2021-06-05 06:28:11 +00:00
Jaco Greeff
97cb8a76f1 semgrep.yml on PR 2021-06-05 09:19:57 +03:00
Github Actions
80129ae1b7 [CI Skip] release/beta 6.6.2-14
skip-checks: true
2021-06-04 15:06:57 +00:00
Jaco Greeff
3f4ac9e8aa semgrep.yml update 2021-06-04 17:58:12 +03:00
Github Actions
8707810690 [CI Skip] release/beta 6.6.2-13
skip-checks: true
2021-06-04 10:14:02 +00:00
Jaco
88edb9103f Bump deps (#1002) 2021-06-04 12:06:53 +02:00
Github Actions
849546e97c [CI Skip] release/beta 6.6.2-12
skip-checks: true
2021-06-04 08:46:31 +00:00
Jaco Greeff
d6959738db semgrep on master only 2021-06-04 11:38:37 +03:00
Github Actions
f70a125b18 [CI Skip] release/beta 6.6.2-11
skip-checks: true
2021-06-04 05:44:30 +00:00
Jaco Greeff
fe7f6baee4 semgrep only for non-forked 2021-06-04 08:35:59 +03:00
Github Actions
2d264b5fba [CI Skip] release/beta 6.6.2-10
skip-checks: true
2021-06-03 16:08:03 +00:00
Jaco
74bbbe02d9 Bump Ledger WebUsb (#1001) 2021-06-03 18:01:01 +02:00
Github Actions
a6cd04a441 [CI Skip] release/beta 6.6.2-9
skip-checks: true
2021-06-03 15:23:37 +00:00
Jaco Greeff
f7884093ca lock.yml cron 2021-06-03 18:14:49 +03:00
Github Actions
e327fd3e51 [CI Skip] release/beta 6.6.2-8
skip-checks: true
2021-06-02 16:14:29 +00:00
Jaco Greeff
ade6cf7ac0 fix stale.yml 2021-06-02 19:06:29 +03:00
Jaco
3404015fc3 Add WebHID transport for Ledger (#1000)
* Add WebHID transport for Ledger

* Update packages/hw-ledger-transports/package.json

* Bump yarn

* yarn.lock interval

* types for transport
2021-06-02 18:00:53 +02:00
Github Actions
f91911e9f7 [CI Skip] release/beta 6.6.2-7
skip-checks: true
2021-06-02 07:13:38 +00:00
Jaco Greeff
a3631278df cron workflows 2021-06-02 10:05:54 +03:00
Github Actions
a0eab88134 [CI Skip] release/beta 6.6.2-6
skip-checks: true
2021-06-01 11:00:02 +00:00
Jaco
45795a5d11 Testing keyring adjustments (#997)
* Testing keyring adjustments

* Revert, add  // nosemgrep

* explicit rule ignore

* revert

* Remove Gerald test
2021-06-01 12:51:51 +02:00
Github Actions
4bb3efa25c [CI Skip] release/beta 6.6.2-5
skip-checks: true
2021-06-01 10:06:03 +00:00
Jaco Greeff
783a76932c semgrep.yml 2021-06-01 12:58:30 +03:00
Github Actions
006eb3c76e [CI Skip] release/beta 6.6.2-4
skip-checks: true
2021-06-01 06:11:05 +00:00
Jaco Greeff
2326d26de9 cron daily only 2021-06-01 09:03:55 +03:00
Github Actions
7c9f69ea20 [CI Skip] release/beta 6.6.2-3
skip-checks: true
2021-05-31 20:22:12 +00:00
Jaco Greeff
0107f7af42 cron locks 2021-05-31 23:15:43 +03:00
Github Actions
4e2e133790 [CI Skip] release/beta 6.6.2-2
skip-checks: true
2021-05-31 07:58:51 +00:00
Jaco
0d42250171 Update .123trigger 2021-05-31 09:50:41 +02:00
Github Actions
599c81cf94 [CI Skip] release/beta 6.6.2-1
skip-checks: true
2021-05-31 07:49:56 +00:00
Jaco Greeff
d11e393007 Bump dev 2021-05-31 10:42:42 +03:00
Jaco
c6879f779b Bump dev (#996) 2021-05-31 09:17:11 +02:00
Jaco Greeff
d17b8f0bd6 lock.yml 2021-05-30 22:22:58 +03:00
Github Actions
238ba6a462 [CI Skip] release/beta 6.6.2-1
skip-checks: true
2021-05-30 09:41:12 +00:00
Jaco
566b6730bc Bump berry (#995)
* Bump berry

* Update tests
2021-05-30 11:33:46 +02:00
Github Actions
09aa042606 [CI Skip] release/beta 6.6.2-0
skip-checks: true
2021-05-29 08:27:17 +00:00
Jaco Greeff
acd09c3024 Update stale.yml 2021-05-29 11:18:47 +03:00
Github Actions
0cbb06a6da [CI Skip] release/stable 6.6.1
skip-checks: true
2021-05-29 07:25:59 +00:00
Jaco Greeff
9992feaa7b Actual 6.6 bump 2021-05-29 10:18:50 +03:00
Github Actions
bb968d51b0 [CI Skip] release/beta 6.5.2-6
skip-checks: true
2021-05-29 07:17:23 +00:00
Jaco
b6001796d7 6.6 (#994) 2021-05-29 09:10:19 +02:00
Github Actions
8ab9387076 [CI Skip] release/beta 6.5.2-5
skip-checks: true
2021-05-28 08:48:07 +00:00
Jaco Greeff
f9fd0eeda3 Update stale.yml 2021-05-28 11:39:39 +03:00
Github Actions
f2cee9c33d [CI Skip] release/beta 6.5.2-4
skip-checks: true
2021-05-28 08:24:13 +00:00
Jaco
a860b09638 Add stale.yml (#993) 2021-05-28 10:16:03 +02:00
Github Actions
be3e83f4e3 [CI Skip] release/beta 6.5.2-3
skip-checks: true
2021-05-28 07:52:13 +00:00
Jaco
5788df3f57 Adjust HD path validation & replacement (#992) 2021-05-28 09:43:28 +02:00
Github Actions
ec286a57d1 [CI Skip] release/beta 6.5.2-2
skip-checks: true
2021-05-27 05:26:39 +00:00
Jaco
655eb9f128 Align ss58 with upstream (+3 entries) (#990) 2021-05-27 07:18:23 +02:00
Github Actions
37d95fe314 [CI Skip] release/beta 6.5.2-1
skip-checks: true
2021-05-26 08:42:07 +00:00
Jaco
830a2c69d8 Bump dev (#988) 2021-05-26 10:33:36 +02:00
Github Actions
ead94a4493 [CI Skip] release/beta 6.5.2-0
skip-checks: true
2021-05-25 11:33:16 +00:00
alexdniep
cff15f9027 added equilibrium slip44; added equilibrium genesis hash (#984)
* added equilibrium slip44; added equilibrium genesis hash

* added equilibrium app in ledger-polkadot package

Co-authored-by: Alex D <pr0fedt@gmail.com>
2021-05-25 13:27:02 +02:00
Github Actions
13d7dcfef5 [CI Skip] release/stable 6.5.1
skip-checks: true
2021-05-22 17:57:26 +00:00
Jaco
259bb1a0ca 6.5 (#987) 2021-05-22 19:50:55 +02:00
Github Actions
d0fb629217 [CI Skip] release/beta 6.4.2-1
skip-checks: true
2021-05-22 15:30:50 +00:00
Jaco
ab55c37a33 Allow hdLedger derivation with optional 25th word password (#986) 2021-05-22 17:24:37 +02:00
Github Actions
93a0a194bc [CI Skip] release/beta 6.4.2-0
skip-checks: true
2021-05-20 13:13:50 +00:00
Jaco
3df71c9943 Sync with Substrate ss58 registry (#983)
* Sync with Substrate ss58 registry

* Bump deps
2021-05-20 15:07:29 +02:00
Github Actions
4d4e3988ab [CI Skip] release/stable 6.4.1
skip-checks: true
2021-05-15 08:25:20 +00:00
Jaco
1bfabae65b 6.4 (#981) 2021-05-15 10:18:17 +02:00
Github Actions
eb08291de2 [CI Skip] release/beta 6.3.2-13
skip-checks: true
2021-05-12 12:31:23 +00:00
Jaco
d63d92e488 Explicit deprecation logging (#979)
* Explicit deprecation logging

* Update CHANGELOG.md
2021-05-12 14:25:01 +02:00
Github Actions
bd047063ef [CI Skip] release/beta 6.3.2-12
skip-checks: true
2021-05-11 14:39:44 +00:00
Jaco
d725bf21ae Bump deps (#978) 2021-05-11 16:33:13 +02:00
Github Actions
f7699edaaf [CI Skip] release/beta 6.3.2-11
skip-checks: true
2021-05-11 14:08:41 +00:00
Jakub Pánik
47501aee7a HydraDX Snakenet Gen3-1 (#977) 2021-05-11 16:02:36 +02:00
Github Actions
e4f526bdda [CI Skip] release/beta 6.3.2-10
skip-checks: true
2021-05-11 07:08:11 +00:00
Jaco Greeff
29bf23cd18 Bump CHANGELOG 2021-05-11 10:02:23 +03:00
Github Actions
39d6da414d [CI Skip] release/beta 6.3.2-9
skip-checks: true
2021-05-09 10:55:56 +00:00
Jaco
e7233de48f Bump deps (#976) 2021-05-09 12:50:29 +02:00
Github Actions
255d6ef66c [CI Skip] release/beta 6.3.2-8
skip-checks: true
2021-05-09 09:47:32 +00:00
Jaco
b41e27d7c3 Bump deps (#975) 2021-05-09 11:41:14 +02:00
Github Actions
e3c858ac01 [CI Skip] release/beta 6.3.2-7
skip-checks: true
2021-05-09 09:38:48 +00:00
Jakub Pánik
014075c313 Add HydraDX Snakenet Gen3 (#974) 2021-05-09 11:32:32 +02:00
Github Actions
eb3e77c572 [CI Skip] release/beta 6.3.2-6
skip-checks: true
2021-05-07 12:07:26 +00:00
Antoine Estienne
512ae89fea Jlm update for ethereum pair addition (#969)
* added gerald test address

* allow adding 20 address in createPair

* lint

* move logic to eth specific function

* fix typo

* Update packages/keyring/src/pair/index.ts

Co-authored-by: Jaco <jacogr@gmail.com>

* re establish right encoding

* Update packages/keyring/src/pair/index.ts

Co-authored-by: Jaco <jacogr@gmail.com>

* Update packages/keyring/src/pair/index.ts

Co-authored-by: Jaco <jacogr@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
2021-05-07 14:01:39 +02:00
Github Actions
7f57d05281 [CI Skip] release/beta 6.3.2-5
skip-checks: true
2021-05-07 05:34:33 +00:00
Jaco
5892f70c83 Align ss58 (#972) 2021-05-07 07:28:36 +02:00
Github Actions
699f775141 [CI Skip] release/beta 6.3.2-4
skip-checks: true
2021-05-07 05:05:11 +00:00
Jaco
a09e06898f Bump deps (#971)
* Bump deps

* Latest dev
2021-05-07 06:58:48 +02:00
Github Actions
565314ff5f [CI Skip] release/beta 6.3.2-3
skip-checks: true
2021-05-06 06:13:15 +00:00
Jaco
bd669f333f Remove ss58 27 prefix (#968) 2021-05-06 08:05:52 +02:00
Github Actions
829d8bc985 [CI Skip] release/beta 6.3.2-2
skip-checks: true
2021-04-30 07:02:29 +00:00
Jaco
218dba5623 Verification test for keyring 2-byte ss58 (#966) 2021-04-30 08:56:39 +02:00
Github Actions
b8bf2fed0d [CI Skip] release/beta 6.3.2-1
skip-checks: true
2021-04-30 05:59:33 +00:00
Jaco
d505dc1072 Bump deps (#964) 2021-04-30 07:53:27 +02:00
Github Actions
20148b05c4 [CI Skip] release/beta 6.3.2-0
skip-checks: true
2021-04-30 05:32:34 +00:00
Jaco
2516309b93 Add additional 2-byte ss58 tests (verification) (#963) 2021-04-30 07:26:58 +02:00
Github Actions
92d3a2e208 [CI Skip] release/stable 6.3.1
skip-checks: true
2021-04-25 04:09:00 +00:00
Jaco
286d7a036e 6.3 (#961) 2021-04-25 06:02:58 +02:00
Github Actions
4556822a8a [CI Skip] release/beta 6.2.2-8
skip-checks: true
2021-04-24 07:39:45 +00:00
Jaco
be227926c8 Add explict engines field (#960) 2021-04-24 09:33:15 +02:00
Github Actions
42626a780c [CI Skip] release/beta 6.2.2-7
skip-checks: true
2021-04-22 12:45:01 +00:00
Jaco
afd8a9610f Don't modiy original value on encoding (#958) 2021-04-22 14:39:39 +02:00
Github Actions
393334409f [CI Skip] release/beta 6.2.2-6
skip-checks: true
2021-04-22 11:47:35 +00:00
Jaco
0fb52a929d BN manipulation via in-place shifts (as applicable) (#955)
* BN manipulation via in-place shifts (as applicable)

* Adjust tests
2021-04-22 13:42:20 +02:00
Github Actions
50b10e214c [CI Skip] release/beta 6.2.2-5
skip-checks: true
2021-04-22 11:18:57 +00:00
Jaco
bbadfbebfa assert cleanups (#957) 2021-04-22 13:13:41 +02:00
Github Actions
a52a6253b5 [CI Skip] release/beta 6.2.2-4
skip-checks: true
2021-04-22 10:20:54 +00:00
Jaco
4ca010cc99 Add stringify util (#956)
* Add stringify util

* stringify space param

* Update packages/util/src/stringify.ts
2021-04-22 12:14:31 +02:00
Github Actions
a136d938df [CI Skip] release/beta 6.2.2-3
skip-checks: true
2021-04-22 08:30:15 +00:00
Jaco
132ba0128d Type checking on u8aToU8a before invalid return (#954)
* Type checking on u8aToU8a before invalid return

* Remove extra assignment

* CHANGELOG

* Correct expectation
2021-04-22 10:25:22 +02:00
Github Actions
6b705a9838 [CI Skip] release/beta 6.2.2-2
skip-checks: true
2021-04-21 10:57:23 +00:00
Jaco
f3381b0aae Use globalThis as available (#953) 2021-04-21 12:52:10 +02:00
Github Actions
ba086159ad [CI Skip] release/beta 6.2.2-1
skip-checks: true
2021-04-21 08:36:18 +00:00
Jaco
3a98323e8b Minor readability improvements (#952)
* Minor readability improvements

* trigger

* Additional

* Additional
2021-04-21 10:31:28 +02:00
Github Actions
1de30914c2 [CI Skip] release/beta 6.2.2-0
skip-checks: true
2021-04-21 07:19:42 +00:00
Jaco
984bb7c04f Bump deps (#951) 2021-04-21 09:13:31 +02:00
Github Actions
6140b7f799 [CI Skip] release/stable 6.2.1
skip-checks: true
2021-04-18 05:24:59 +00:00
Jaco
3dc98a3790 6.2.1 (#948) 2021-04-18 07:19:31 +02:00
Github Actions
ab7345f017 [CI Skip] release/beta 6.1.2-3
skip-checks: true
2021-04-15 09:33:57 +00:00
Jakub Pánik
ef57c7fea4 Update defaults.ts with HydraDX re-genesis hash (#947)
* Update defaults.ts

Re-genesis hash of HydraDX

* Update packages/networks/src/defaults.ts

Co-authored-by: Jaco <jacogr@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
2021-04-15 12:28:40 +03:00
Github Actions
efb013db4a [CI Skip] release/beta 6.1.2-2
skip-checks: true
2021-04-14 19:32:03 +00:00
Jaco
cd1c0df3cd isAddress/validateAddress functions (#946) 2021-04-14 21:25:58 +02:00
Github Actions
9d08827ccf [CI Skip] release/beta 6.1.2-1
skip-checks: true
2021-04-14 12:02:56 +00:00
Jaco
5083de2941 Sync ss58 with Substrate registry (#945)
* Sync ss58 with Substrate registry

* Update template
2021-04-14 13:56:43 +02:00
Github Actions
b266d9f742 [CI Skip] release/beta 6.1.2-0
skip-checks: true
2021-04-13 11:29:44 +00:00
Jaco
ea187707c8 Check for networks vs hw-ledger discrepancies (#943)
* Check for networks vs hw-ledger discrepancies

* Rename ledgerApps

* Bump dev

* type imports
2021-04-13 13:23:53 +02:00
Github Actions
1b334d570e [CI Skip] release/stable 6.1.1
skip-checks: true
2021-04-11 12:48:13 +00:00
Jaco Greeff
eb0537471e 6.1.1 (#942) 2021-04-11 14:43:33 +02:00
Github Actions
fa2c949eda [CI Skip] release/beta 6.0.6-8
skip-checks: true
2021-04-11 12:03:00 +00:00
Lezek123
f5fd07d6e7 logger - wildcard include/exclude with DEBUG env (#932) 2021-04-11 13:57:13 +02:00
Github Actions
be1a2ebf8c [CI Skip] release/beta 6.0.6-7
skip-checks: true
2021-04-11 08:54:16 +00:00
Jaco Greeff
31cd173b0d Auto-create network list based on Substrate registry (#939)
* Auto-create network list based on Substrate registry

* Extract all extensions

* build networks from upstream registry

* Build list

* Cleanups

* Extra tests against overrides

* Simplify all expansion

* Cleanups

* Updates

* CC overrides
2021-04-11 10:48:27 +02:00
Github Actions
5408064ff5 [CI Skip] release/beta 6.0.6-6
skip-checks: true
2021-04-11 08:28:44 +00:00
amphineko
482aee3a1a chore: fix typo in versionDetect messages (#941) 2021-04-11 10:22:51 +02:00
Github Actions
95f3ac667c [CI Skip] release/beta 6.0.6-5
skip-checks: true
2021-04-09 04:54:05 +00:00
Adam Dossa
1e0a7ba0d6 Update genesis hash for Polymesh network (#937) 2021-04-09 06:48:12 +02:00
Github Actions
57865e53dd [CI Skip] release/beta 6.0.6-4
skip-checks: true
2021-04-08 08:22:41 +00:00
Jaco Greeff
d6617f33dd Check for prefix dupes (#936)
* Check for prefix dupes

* Bump deps
2021-04-08 10:11:18 +02:00
Github Actions
1e778b0cc4 [CI Skip] release/beta 6.0.6-3
skip-checks: true
2021-04-01 07:28:18 +00:00
Jaco Greeff
6ceb58e5d3 Add ss58 252 (#934)
* Add ss58 252

* Bump deps
2021-04-01 09:23:02 +02:00
Github Actions
e7e8244323 [CI Skip] release/beta 6.0.6-2
skip-checks: true
2021-03-22 21:11:13 +00:00
Jaco Greeff
03a3cabe41 Bump deps (#930) 2021-03-22 22:05:16 +01:00
Github Actions
480002c5f1 [CI Skip] release/beta 6.0.6-1
skip-checks: true
2021-03-17 08:03:29 +00:00
Jaco Greeff
0126584a7d Update .123trigger 2021-03-17 08:57:05 +01:00
Github Actions
3f76e4a0dd [CI Skip] release/beta 6.0.6-0
skip-checks: true
2021-03-17 07:16:49 +00:00
Jaco Greeff
890cf5cbfd Update ss58 (#928)
Closes https://github.com/polkadot-js/common/issues/927
2021-03-17 08:10:49 +01:00
Github Actions
a951e844bf [CI Skip] release/stable 6.0.5
skip-checks: true
2021-03-08 14:03:07 +00:00
Jaco Greeff
568815bf4a 6.0.5 (#926) 2021-03-08 14:57:53 +01:00
Github Actions
f18293ffe9 [CI Skip] release/stable 6.0.4
skip-checks: true
2021-03-07 15:08:24 +00:00
Jaco Greeff
003dc8d247 6.0.4 (#924) 2021-03-07 16:02:32 +01:00
Github Actions
f259de2679 [CI Skip] release/beta 6.0.4-0
skip-checks: true
2021-03-07 11:12:14 +00:00
Yuri
b0f783f54b Extra check for process for browser bundles (#923) 2021-03-07 12:05:54 +01:00
Github Actions
4fbdbcf8c5 [CI Skip] release/stable 6.0.3
skip-checks: true
2021-03-05 22:18:23 +00:00
Jaco Greeff
ac5c993b27 6.0.3 (cjs import indirection) (#922)
* 6.0.3 (cjs import indirection)

* Bump deps

* Apply suggestions from code review
2021-03-05 23:11:54 +01:00
Github Actions
e05dcf7383 [CI Skip] release/stable 6.0.2
skip-checks: true
2021-03-05 15:55:45 +00:00
Jaco Greeff
c9ea3ab1ae 6.0.2 (Only use rxjs cjs exports) (#920)
* 6.0.2 (Only use rxjs cjs exports)

* Update CHANGELOG.md

* packageInfo
2021-03-05 16:49:45 +01:00
Github Actions
4b097dcaef [CI Skip] release/stable 6.0.1
skip-checks: true
2021-03-05 15:07:06 +00:00
Jaco Greeff
2a9cca5f1b 6.0 (#919) 2021-03-05 16:00:54 +01:00
Github Actions
8ce3a40c66 [CI Skip] release/beta 6.0.1-9
skip-checks: true
2021-03-05 08:40:25 +00:00
Jaco Greeff
958a13384d Allow for addition of raw pairs to the keyring (#918) 2021-03-05 09:35:12 +01:00
Github Actions
e25545c39f [CI Skip] release/beta 6.0.1-8
skip-checks: true
2021-03-04 21:06:19 +00:00
Jaco Greeff
bca1e0c5c4 Extract json encryption functions (#917)
* Extract json encryption functions

* Opt

* adjust

* Adjust

* Adjust imports

* callback error
2021-03-04 22:01:20 +01:00
Github Actions
bf36024568 [CI Skip] release/beta 6.0.1-7
skip-checks: true
2021-03-04 19:01:05 +00:00
Jaco Greeff
1292a270e0 Bump wasm (#916) 2021-03-04 19:56:00 +01:00
Github Actions
68fe800f63 [CI Skip] release/beta 6.0.1-6
skip-checks: true
2021-03-03 15:47:58 +00:00
Jaco Greeff
ceb1575e1a Build cleanups (#914) 2021-03-03 16:32:34 +01:00
Github Actions
4916d63832 [CI Skip] release/beta 6.0.1-5
skip-checks: true
2021-03-03 08:29:40 +00:00
Jaco Greeff
d2176485b9 Bump (& berry) (#913) 2021-03-03 09:24:31 +01:00
Github Actions
e9dd421b62 [CI Skip] release/beta 6.0.1-4
skip-checks: true
2021-03-02 19:51:57 +00:00
Antoine Estienne
802c241820 Add eth dev addresses (#912)
* added gerald test address

* added 5 dev addresses for eth

* added one pair

* updated seed
2021-03-02 20:45:36 +01:00
Github Actions
a3b5ced423 [CI Skip] release/beta 6.0.1-3
skip-checks: true
2021-03-02 19:38:01 +00:00
Jaco Greeff
b975766d35 Default output as ESM modules (#911)
* Default output as ESM modules

* 6.0

* packageInfo

* Bump dev & wasm

* empty ignore patterns

* Don't exclude @polkadot

* Bump dev
2021-03-02 20:31:48 +01:00
Github Actions
eb460570ac [CI Skip] release/beta 5.9.3-1
skip-checks: true
2021-03-01 20:33:06 +00:00
Jaco Greeff
a8658d5b60 Bump deps (#910) 2021-03-01 21:26:38 +01:00
Github Actions
fbe462e2e3 [CI Skip] release/beta 5.9.3-0
skip-checks: true
2021-03-01 16:12:37 +00:00
Antoine Estienne
04bbf28a57 Jlm test from seed (#909)
* added gerald test address

* add test for fromSeed

* Update packages/util-crypto/src/secp256k1/keypair/fromSeed.spec.ts

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* coorected createfromuri to accept eth priv key

* Update packages/keyring/src/keyring.ts

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* add isPhraeHex

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-03-01 17:06:12 +01:00
Github Actions
47b79675da [CI Skip] release/stable 5.9.2
skip-checks: true
2021-02-28 10:16:04 +00:00
Jaco Greeff
4ed83e737c 5.9.2 (#908) 2021-02-28 11:10:15 +01:00
Github Actions
2ee863becc [CI Skip] release/stable 5.9.1
skip-checks: true
2021-02-28 07:53:49 +00:00
Jaco Greeff
b343c31317 5.9 (#906) 2021-02-28 08:47:35 +01:00
Github Actions
04759e563e [CI Skip] release/beta 5.8.2-5
skip-checks: true
2021-02-27 14:04:34 +00:00
Jaco Greeff
6a5478919c Bump deps (#905)
* Bump deps

* Display mismatches when no dupes are detected

* test expectation

* adjust

* One less ||
2021-02-27 14:59:31 +01:00
Github Actions
ac828b31e6 [CI Skip] release/beta 5.8.2-4
skip-checks: true
2021-02-27 12:52:10 +00:00
Jaco Greeff
86f17113e3 Dependency version checks (#904)
* Dependency version checks

* Add depndecy detection for all

* Cleanup util detectPackage

* Single detectPackage

* Update packages/hw-ledger/src/detectPackage.ts

* Update packages/util/src/detectPackage.ts

* non-indexed imports
2021-02-27 13:46:07 +01:00
Github Actions
cb0429fae9 [CI Skip] release/beta 5.8.2-3
skip-checks: true
2021-02-27 11:16:06 +00:00
Jaco Greeff
f23418ad84 Cleanup exports (#903)
* Cleanup exports

* No buffer conversion on base 58

* Buffer conversion
2021-02-27 12:10:13 +01:00
Github Actions
8386a70bfe [CI Skip] release/beta 5.8.2-2
skip-checks: true
2021-02-27 10:36:03 +00:00
Jaco Greeff
843cb3d00a Formatting cleanups for nested conditionals (#902)
* Formatting cleanups for nested conditionals

* Transports
2021-02-27 11:30:18 +01:00
Github Actions
3143e9df1c [CI Skip] release/beta 5.8.2-1
skip-checks: true
2021-02-26 12:41:35 +00:00
Jaco Greeff
b76bdb5ed5 Remove class for key extraction (#898) 2021-02-26 13:36:06 +01:00
Github Actions
0e80e88456 [CI Skip] release/beta 5.8.2-0
skip-checks: true
2021-02-26 09:49:28 +00:00
Jaco Greeff
46bfe643a6 Additional tests for hdValidatePath (#897)
* Additional tests for hdValidatePath

* Additional

* slip for Polkadot
2021-02-26 10:43:55 +01:00
Github Actions
2e0b8e4d11 [CI Skip] release/stable 5.8.1
skip-checks: true
2021-02-26 07:13:30 +00:00
Jaco Greeff
a8668c3c44 5.8 (#896)
* 5.8

* Update comments
2021-02-26 08:07:45 +01:00
Github Actions
11431f0e68 [CI Skip] release/beta 5.7.2-8
skip-checks: true
2021-02-25 19:38:32 +00:00
Jaco Greeff
6c664498dd Share hdValidatePath (Ledger & Ethereum) (#895)
* Share hsValidatePath (Ledger & Ethereum)

* Adjust

* Cleanup hdEthereum

* Cleanups

* Renames
2021-02-25 20:32:29 +01:00
Antoine Estienne
7721ac722d Fix eth derivation (#894)
* added gerald test address

* added test for toJson

* fix toJson

* lint

* fix ecdsa
2021-02-25 19:18:03 +01:00
Github Actions
0070f33089 [CI Skip] release/beta 5.7.2-7
skip-checks: true
2021-02-25 16:45:20 +00:00
Jaco Greeff
a1267eb891 Revert toJSON changes (#893)
* Revert toJSON changes

* Fix tests

* Decoding test

* Add NOTE on encoding (so it stays in-tact)
2021-02-25 17:38:42 +01:00
Jaco Greeff
1803ba6a8e Expand ETH derivation tests (#892) 2021-02-25 17:38:22 +01:00
Github Actions
ae4b166c2f [CI Skip] release/beta 5.7.2-6
skip-checks: true
2021-02-25 13:04:22 +00:00
Jaco Greeff
38d6136aa8 Base64 without Buffer (#891) 2021-02-25 13:58:28 +01:00
Github Actions
02fea57a48 [CI Skip] release/beta 5.7.2-5
skip-checks: true
2021-02-25 12:40:07 +00:00
Jaco Greeff
882826a7e3 ETH derive to u8a (#890)
* ETH derive to u8a

* assert

* Extract hash

* link

* hdEthereum

* Adjust tests

* cosmetics

* Remove unused parts
2021-02-25 13:34:01 +01:00
Github Actions
56a7788e28 [CI Skip] release/beta 5.7.2-4
skip-checks: true
2021-02-25 09:39:38 +00:00
Jaco Greeff
82c4b75a12 Cleanup elliptic imports (#889)
* Cleanup elliptic imports

* Additional

* Cleanups

* HydraDX

* Flatten
2021-02-25 10:34:37 +01:00
Github Actions
ca3c932701 [CI Skip] release/beta 5.7.2-3
skip-checks: true
2021-02-24 16:34:21 +00:00
Jaco Greeff
76b155c269 Bump deps (#888) 2021-02-24 17:28:53 +01:00
Github Actions
faed35e208 [CI Skip] release/beta 5.7.2-2
skip-checks: true
2021-02-24 14:56:42 +00:00
Antoine Estienne
c46cd5030e Implement first eth hd derivation test (#858)
* implement first eth hd test

* lint

* added gerald test address

* test now passes

* started implementing sith local secp256k1

* Pass publicKey through on verify

* Some test fixes

* renamed tweakadd

* added suggestions

* remove logs and complete test for tweakAdd

* lint

* reviewed

* solve linting problems

* relocate hd package

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* added asset for tolegacyseed

* yarn.lock and linting

* remove isUint8 util

* fix tests and added tests

* fixed test

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-02-24 15:50:12 +01:00
Github Actions
c7e474cdc6 [CI Skip] release/beta 5.7.2-1
skip-checks: true
2021-02-24 08:14:27 +00:00
Jaco Greeff
ac7a678a30 Bump deps (#887)
* Bump deps

* Add missing ss58
2021-02-24 09:08:49 +01:00
Github Actions
f956759865 [CI Skip] release/beta 5.7.2-0
skip-checks: true
2021-02-24 07:14:06 +00:00
Jaco Greeff
2768b70d43 Run ss58 check multiple times (update existing) (#880)
* Run ss58 check multiple times (update existing)

* Update .github/workflows/ss58-check.yml
2021-02-24 08:08:23 +01:00
Github Actions
cc4a579905 [CI Skip] release/stable 5.7.1
skip-checks: true
2021-02-21 08:13:58 +00:00
Jaco Greeff
450b7b8e8b 5.7 (#885)
* 5.7

* Update CHANGELOG.md
2021-02-21 09:08:07 +01:00
Github Actions
a248bc9f96 [CI Skip] release/beta 5.6.4-1
skip-checks: true
2021-02-20 10:56:44 +00:00
Jaco Greeff
35f677f2e9 Additional substrate test vectors for ss58 (#884) 2021-02-20 11:50:56 +01:00
Github Actions
fccba5d93d [CI Skip] release/beta 5.6.4-0
skip-checks: true
2021-02-19 09:48:00 +00:00
Jaco Greeff
ae172e2c53 Pass publicKey through on verify (#883)
* Pass publicKey through on verify

* Some test fixes

* Adjust tests

* Explicit public

* Additional failing tests
2021-02-19 10:43:19 +01:00
Github Actions
aa9bf0780b [CI Skip] release/stable 5.6.3
skip-checks: true
2021-02-16 11:22:45 +00:00
Jaco Greeff
11f1d8057b 5.6.3 (#882) 2021-02-16 12:17:13 +01:00
Github Actions
e2f1e7c033 [CI Skip] release/beta 5.6.3-2
skip-checks: true
2021-02-10 07:22:11 +00:00
Jaco Greeff
bb213425f8 Align 2258 with master registry (#879) 2021-02-10 08:16:27 +01:00
Github Actions
162596ed93 [CI Skip] release/beta 5.6.3-1
skip-checks: true
2021-02-10 06:51:55 +00:00
nahuseyoum
aa3ba246a7 Reserving 65 for Aventus based on the new extended range (#871)
* Reserving 46 based on the new extended range

* Update index.ts

* Updating to match new prefix

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-02-10 07:45:53 +01:00
Github Actions
baf65438fe [CI Skip] release/beta 5.6.3-0
skip-checks: true
2021-02-09 16:42:03 +00:00
Jaco Greeff
8b443dfa4b Add pair.unlock as equivalent to pair.lock (#877) 2021-02-09 17:35:59 +01:00
Github Actions
12f3f8695f [CI Skip] release/stable 5.6.2
skip-checks: true
2021-02-08 16:23:58 +00:00
Jaco Greeff
964d308491 5.6.2 (#876) 2021-02-08 17:18:10 +01:00
Github Actions
a1bf03e40e [CI Skip] release/beta 5.6.2-0
skip-checks: true
2021-02-08 09:12:47 +00:00
Jaco Greeff
ff940e5d26 Ensure only named networks are filtered (#875) 2021-02-08 10:07:57 +01:00
Github Actions
e2fa0ad11f [CI Skip] release/stable 5.6.1
skip-checks: true
2021-02-07 11:20:47 +00:00
Jaco Greeff
654e44aa99 5.6 (#874)
* 5.6

* bnSqrt opt

* Additional sqrt tests

* Adjust bnSqrt input types

* test-case attributions
2021-02-07 12:14:55 +01:00
Github Actions
476689f615 [CI Skip] release/beta 5.5.3-4
skip-checks: true
2021-02-07 08:58:19 +00:00
Raoul Millais
fc1582aa70 Fix yarn add instructions in x-global README (#873) 2021-02-07 09:52:42 +01:00
Github Actions
a616b84045 [CI Skip] release/beta 5.5.3-3
skip-checks: true
2021-02-06 16:10:42 +00:00
Jaco Greeff
73708b72c7 Allow double-byte ss58 (#868)
* Allow double-byte ss58

* Update keyring tests (non-68)

* Range check

* Fixup tests and encoding

* Adjust keyring test

* Adjust

* Assert format

* Additionl subkey equivalency tests

* ecdsa tests

* Remove invalid test

* UpdateAssert of reserved

* Cleanups

* cleanups

* Last test for Substrate equality

* crosscheck update

* network null

* network
2021-02-06 17:05:54 +01:00
Github Actions
8f0807ddbe [CI Skip] release/beta 5.5.3-2
skip-checks: true
2021-02-06 15:51:45 +00:00
Jaco Greeff
5547f885be ss58 alignment 2021-02-06 16:46:18 +01:00
Github Actions
5f8d521c6a [CI Skip] release/beta 5.5.3-1
skip-checks: true
2021-02-04 10:31:52 +00:00
Jaco Greeff
51a169a88a Tests for vrf{Sign, Verify} (#870) 2021-02-04 11:26:19 +01:00
Github Actions
ad89ed5f3d [CI Skip] release/beta 5.5.3-0
skip-checks: true
2021-02-04 07:56:15 +00:00
Jaco Greeff
ca1362c595 Cleanup Buffer.from usages, expand tests (#869)
* Cleanup Bffer.from usages, expand tests

* validate mnemonic tests & cleanups
2021-02-04 08:50:07 +01:00
Github Actions
9621d90613 [CI Skip] release/stable 5.5.2
skip-checks: true
2021-02-02 14:46:59 +00:00
Jaco Greeff
50efeb06d1 5.5.2 (#867) 2021-02-02 15:41:25 +01:00
Github Actions
e236acc29d [CI Skip] release/beta 5.5.2-1
skip-checks: true
2021-02-02 14:26:05 +00:00
Jaco Greeff
1062ace58d BN_{MILLION, BILLION} (#866)
* BN_{MILLION, BILLION}

* Add BN(2-9)

* adjust

* inline

* BN_TWO

* BN_ZERO

* BN_ONE gets used in return
2021-02-02 15:20:31 +01:00
Github Actions
298a901921 [CI Skip] release/beta 5.5.2-0
skip-checks: true
2021-02-01 13:45:17 +00:00
Jaco Greeff
c2f453481c Additional hdLedger tests (#863) 2021-02-01 14:39:14 +01:00
Github Actions
54e6b61972 [CI Skip] release/stable 5.5.1
skip-checks: true
2021-01-31 07:57:36 +00:00
Jaco Greeff
c52a7b1e64 5.5 (#862)
* 5.5

* Remove extra arg from mnemonicToLegacySeed
2021-01-31 08:51:43 +01:00
Github Actions
749cd2e381 [CI Skip] release/beta 5.4.5-1
skip-checks: true
2021-01-30 19:07:49 +00:00
Jaco Greeff
24b1790c99 Add hmac{Sha256, 512} (#861)
* Add hmac{Sha256, 512}

* Adjust

* private hmac
2021-01-30 20:02:21 +01:00
Github Actions
62823635b0 [CI Skip] release/beta 5.4.5-0
skip-checks: true
2021-01-30 17:38:17 +00:00
Jaco Greeff
bc84220108 Add Ledger-compatible derivation (#860)
* Add Ledger-compatible derivation

* Export hd from root

* Renames
2021-01-30 18:33:15 +01:00
Jaco Greeff
5158951326 Give bot permissions to post issues 2021-01-26 16:36:49 +01:00
Github Actions
500b739ddd [CI Skip] release/stable 5.4.4
skip-checks: true
2021-01-24 15:44:51 +00:00
Jaco Greeff
b741d228ac Use xglobal everywhere 2021-01-24 16:40:04 +01:00
Jaco Greeff
437ff8b51d Use x-gobal in node polyfills 2021-01-24 16:39:22 +01:00
Github Actions
354dd0a7a4 [CI Skip] release/stable 5.4.3
skip-checks: true
2021-01-24 15:03:21 +00:00
Jaco Greeff
3804123ca6 Remove browser.ts global reference (#856)
* Remove browser.ts global reference

* fallback text

* formatting

* Additional formatting

* global > self > window > this

* Add x-global package

* Update tests

* Correct jest mapping
2021-01-24 15:58:42 +01:00
Github Actions
bbc752e475 [CI Skip] release/stable 5.4.2
skip-checks: true
2021-01-24 11:13:49 +00:00
Jaco Greeff
80f69b88b2 5.4.2 (#855) 2021-01-24 12:09:14 +01:00
Github Actions
a02eab478e [CI Skip] release/stable 5.4.1
skip-checks: true
2021-01-24 07:58:18 +00:00
Jaco Greeff
22fdb9a1f9 5.4 (#854) 2021-01-24 08:53:32 +01:00
Github Actions
496d2123ed [CI Skip] release/beta 5.3.2-8
skip-checks: true
2021-01-23 08:38:47 +00:00
Jaco Greeff
15a2e6c6cf Allow formatBalance to take array defaults (#853) 2021-01-23 09:34:04 +01:00
Github Actions
62a9a7aeb5 [CI Skip] release/beta 5.3.2-7
skip-checks: true
2021-01-22 09:34:00 +00:00
Jaco Greeff
8541088893 Bump wasm (#851) 2021-01-22 10:28:34 +01:00
Github Actions
e558cf8f7f [CI Skip] release/beta 5.3.2-6
skip-checks: true
2021-01-21 19:30:31 +00:00
Jaco Greeff
01827deaf5 EDCSA derive test (#850) 2021-01-21 20:24:48 +01:00
Github Actions
6d71677c17 [CI Skip] release/beta 5.3.2-5
skip-checks: true
2021-01-21 12:35:26 +00:00
Jaco Greeff
ee42a717aa Bump wasm (#848) 2021-01-21 13:30:39 +01:00
Github Actions
cfa8ab7ab6 [CI Skip] release/beta 5.3.2-4
skip-checks: true
2021-01-21 10:39:31 +00:00
Adam Dossa
4ecd14c187 Update ledger key to polymesh (from polymath) (#847)
Co-authored-by: Adam Dossa <adamdossa@Adams-MacBook-Pro.local>
2021-01-21 11:34:17 +01:00
Github Actions
d9318bc917 [CI Skip] release/beta 5.3.2-3
skip-checks: true
2021-01-20 13:17:28 +00:00
Jaco Greeff
6f6db63580 Add vrf{Sign, Verify} to kering interface (#846) 2021-01-20 14:11:50 +01:00
Github Actions
ebd1e64694 [CI Skip] release/beta 5.3.2-2
skip-checks: true
2021-01-20 11:59:45 +00:00
Jaco Greeff
f12aa92383 Add schnorrkelVrf{Sign, Verify} functions (#845)
* Add schnorrkelVrf{Sign, Verify} functions

* Apply suggestions from code review
2021-01-20 12:54:59 +01:00
Github Actions
2df0638b19 [CI Skip] release/beta 5.3.2-1
skip-checks: true
2021-01-19 20:36:18 +00:00
Jaco Greeff
542f484703 Move x-rxjs from @polkadot/api (#844)
* Move x-rxjs from @polkadot/api

* yarn

* x-rxjs bump

* jest config
2021-01-19 21:30:42 +01:00
Github Actions
f9dbedb93a [CI Skip] release/beta 5.3.2-0
skip-checks: true
2021-01-19 20:16:43 +00:00
Jaco Greeff
2492ae5d60 Update ss58 (#843) 2021-01-19 21:11:05 +01:00
Jaco Greeff
c5ab1c0e1a Update CHANGELOG.md 2021-01-17 15:57:20 +01:00
Github Actions
fa9a7c197b [CI Skip] release/stable 5.3.1
skip-checks: true
2021-01-17 14:25:00 +00:00
Jaco Greeff
05b9f13a45 5.3 (#839)
* 5.3

* Update CHANGELOG.md
2021-01-17 15:20:03 +01:00
Github Actions
b4511920b0 [CI Skip] release/beta 5.2.4-7
skip-checks: true
2021-01-15 17:54:46 +00:00
Jaco Greeff
4d6ee85071 ss58 Updates (#829)
* ss58 Updates

* Uniarts
2021-01-15 18:49:12 +01:00
Github Actions
3f96caf54d [CI Skip] release/beta 5.2.4-6
skip-checks: true
2021-01-14 21:42:41 +00:00
Jaco Greeff
0b804ff776 Move @polkadot/hw-{ledger, ledger-transports} (#836)
* Move @polkadot/{ledger, ledger-transports}

* yarn rewrite

* Move to hw-*

* Update header
2021-01-14 22:37:51 +01:00
Github Actions
0b1cec4e2d [CI Skip] release/beta 5.2.4-5
skip-checks: true
2021-01-14 14:51:40 +00:00
Thibaut Sardan
dd4bf9feba add hasLedgerSupport prop to networks (#835) 2021-01-14 15:46:21 +01:00
Github Actions
4d41bbcf04 [CI Skip] release/beta 5.2.4-4
skip-checks: true
2021-01-13 23:17:34 +00:00
Adam Dossa
04780bda5c Add Polymesh Ledger Integration (#834)
* Add Polymesh Ledger Integration

* Revert "Add Polymesh Ledger Integration"

This reverts commit e0f901d475fca258c56456e459c4ebc499f11d91.

* Add genesisHash

* Fix hash formating

Co-authored-by: Adam Dossa <adamdossa@Adams-MacBook-Pro.local>
2021-01-14 00:11:29 +01:00
Github Actions
becc991dc8 [CI Skip] release/beta 5.2.4-3
skip-checks: true
2021-01-12 14:35:35 +00:00
Jaco Greeff
815756d168 ss58 29 (#833) 2021-01-12 15:29:41 +01:00
Github Actions
c960cee703 [CI Skip] release/beta 5.2.4-2
skip-checks: true
2021-01-09 10:49:29 +00:00
Jaco Greeff
c7da06215d Bump deps (#828) 2021-01-09 11:43:54 +01:00
Jaco Greeff
55053f76a9 Update index.ts (#831) 2021-01-09 11:30:13 +01:00
Github Actions
19fb9dafc9 [CI Skip] release/beta 5.2.4-1
skip-checks: true
2021-01-03 10:26:20 +00:00
Jaco Greeff
f0f0dec8ea 2021 (#824) 2021-01-03 11:20:22 +01:00
Github Actions
649b2f5e4a [CI Skip] release/beta 5.2.4-0
skip-checks: true
2020-12-31 11:00:45 +00:00
Jaco Greeff
af06ec22c5 pre swap 2020-12-31 11:55:21 +01:00
Github Actions
bb976e746a [CI Skip] release/stable 5.2.3
skip-checks: true
2020-12-31 09:59:04 +00:00
Jaco Greeff
814f8418f2 Fix nacl imports (#823)
* Fix nacl imports

* patch

* rewrite
2020-12-31 10:54:31 +01:00
Github Actions
a00dd1e4ca [CI Skip] release/beta 5.2.3-1
skip-checks: true
2020-12-27 12:02:49 +00:00
Jaco Greeff
66e24c3750 pre 2020-12-27 12:57:56 +01:00
Github Actions
1ff4c58fe3 [CI Skip] release/stable 5.2.2
skip-checks: true
2020-12-27 11:55:30 +00:00
Jaco Greeff
5ff15b18a1 Filter ss58 testnets (#822)
* Filter ss58 testnets

* Remove genesisHash testnet

* Ignore reserved
2020-12-27 12:50:18 +01:00
Github Actions
83975e9235 [CI Skip] release/stable 5.2.1
skip-checks: true
2020-12-27 07:44:02 +00:00
Jaco Greeff
3adf475ef4 5.2 (#821)
* 5.2

* Bump
2020-12-27 08:39:14 +01:00
Github Actions
ccc6edebbb [CI Skip] release/beta 5.1.2-3
skip-checks: true
2020-12-25 08:58:15 +00:00
Jaco Greeff
0d7ed7420d Add keccak512 (#820)
* Add keccak512

* dedupe

* Adjust hex test

* ss58

* fix expectation
2020-12-25 09:52:49 +01:00
Github Actions
dbf1837b97 [CI Skip] release/beta 5.1.2-2
skip-checks: true
2020-12-24 07:56:46 +00:00
Jaco Greeff
9ae738ac51 Add Valiu (#818) 2020-12-24 08:51:22 +01:00
Github Actions
a4000efc43 [CI Skip] release/beta 5.1.2-1
skip-checks: true
2020-12-23 11:03:53 +00:00
Jaco Greeff
7871a17942 Add arrayFlatten (#816)
* Add arrayFlatten

* Add test for arrayFlatten

* Add arrayChunk

* Update packages/util/src/array/chunk.ts
2020-12-23 11:58:59 +01:00
Github Actions
5aad1d09b2 [CI Skip] release/beta 5.1.2-0
skip-checks: true
2020-12-22 09:22:25 +00:00
Jaco Greeff
4eb5d7dfd3 Bump deps (#815)
* Bump deps

* Rewrite
2020-12-22 10:16:34 +01:00
Github Actions
0a841e8f4a [CI Skip] release/stable 5.1.1
skip-checks: true
2020-12-19 14:23:05 +00:00
Jaco Greeff
53ffd0c9f0 5.1 (#813) 2020-12-19 15:17:01 +01:00
Github Actions
5d3a9f2e2e [CI Skip] release/beta 5.0.2-9
skip-checks: true
2020-12-19 10:41:44 +00:00
Jaco Greeff
9d6f38edb3 Bump deps 2020-12-19 11:36:55 +01:00
Github Actions
9e5e032e1d [CI Skip] release/beta 5.0.2-8
skip-checks: true
2020-12-18 10:24:04 +00:00
Jaco Greeff
31426858c6 detectPackage import revert 2020-12-18 11:18:02 +01:00
Github Actions
46b4ca0c91 [CI Skip] release/beta 5.0.2-7
skip-checks: true
2020-12-17 13:02:30 +00:00
Jaco Greeff
f4cb68c567 Mark detectPackage as sideEffect 2020-12-17 13:57:41 +01:00
Github Actions
ab4b234510 [CI Skip] release/beta 5.0.2-6
skip-checks: true
2020-12-17 12:19:30 +00:00
Jaco Greeff
d5151c4f01 Adjust detectPackage 2020-12-17 13:14:38 +01:00
Jaco Greeff
6df4689aa3 Cleanup detectPackage 2020-12-17 13:05:26 +01:00
Github Actions
9727a6a9a5 [CI Skip] release/beta 5.0.2-5
skip-checks: true
2020-12-17 11:42:14 +00:00
Jaco Greeff
7f00182fd9 Bump wasm-crypto 2020-12-17 12:37:21 +01:00
Github Actions
261b0add27 [CI Skip] release/beta 5.0.2-4
skip-checks: true
2020-12-17 11:25:06 +00:00
Jaco Greeff
5d6e753384 sideEffects 2020-12-17 12:20:15 +01:00
Github Actions
15c2e79e6e [CI Skip] release/beta 5.0.2-3
skip-checks: true
2020-12-17 11:12:29 +00:00
Jaco Greeff
f763a66219 Allow detectPackage with a function (#811) 2020-12-17 12:07:00 +01:00
Jaco Greeff
1061df6e4a Adjust blakejs commonjs imports (#809) 2020-12-17 12:03:21 +01:00
Github Actions
4c121e6f50 [CI Skip] release/beta 5.0.2-2
skip-checks: true
2020-12-17 10:52:01 +00:00
Jaco Greeff
74b3a04c4a Dedupe 2020-12-17 11:46:57 +01:00
Github Actions
e4488463ba [CI Skip] release/beta 5.0.2-1
skip-checks: true
2020-12-16 14:48:44 +00:00
Jaco Greeff
c6fd67b5d5 detectPackage with import.meta.url (#810)
* detectPackage with import.meta.url

* Bump dev

* Remove duplicate detectPackage

* Fix detectPackage import
2020-12-16 15:44:00 +01:00
Github Actions
e5dc596867 [CI Skip] release/beta 5.0.2-0
skip-checks: true
2020-12-15 14:54:43 +00:00
Jaco Greeff
a28f8dad37 detectPackage cleanups (#807) 2020-12-15 15:49:00 +01:00
Github Actions
7855658bfd [CI Skip] release/stable 5.0.1
skip-checks: true
2020-12-13 14:19:15 +00:00
Jaco Greeff
de14a85817 5.0 (#800)
* 5.0

* Update CHANGELOG.md

* CHANGELOG
2020-12-13 15:13:40 +01:00
Github Actions
de2206bb27 [CI Skip] release/beta 4.2.2-21
skip-checks: true
2020-12-13 12:50:35 +00:00
Jaco Greeff
451a7aecde Adjust memoize normalize for BigInt (#806)
* Adjust memoize normalizer to cater for BigInt

* Update memomize typings

* cleanups

* Renames
2020-12-13 13:46:22 +01:00
Github Actions
5170194105 [CI Skip] release/beta 4.2.2-20
skip-checks: true
2020-12-13 12:11:48 +00:00
Jaco Greeff
b2286ac06a Add memoize util (#805)
* Add memoize util

* Allow for instanceId & normalize overrides

* memoize tests
2020-12-13 13:05:58 +01:00
Github Actions
57cc6d6d46 [CI Skip] release/beta 4.2.2-19
skip-checks: true
2020-12-13 09:40:57 +00:00
Jaco Greeff
6e1b5901b3 Update .123trigger 2020-12-13 10:36:28 +01:00
Github Actions
203db7467f [CI Skip] release/beta 4.2.2-18
skip-checks: true
2020-12-13 09:33:25 +00:00
Jaco Greeff
aa7d4838c7 Bump wasm-crypto (#803) 2020-12-13 10:28:45 +01:00
Github Actions
b778f606c5 [CI Skip] release/beta 4.2.2-17
skip-checks: true
2020-12-12 18:00:15 +00:00
Jaco Greeff
45146efce8 Limit logger size via DEBUG_MAX (#802)
* Limit logger size via DEBUG_MAX

* Any negative disables

* Node imports

* Update test
2020-12-12 18:54:31 +01:00
Github Actions
9229f9f295 [CI Skip] release/beta 4.2.2-16
skip-checks: true
2020-12-12 12:35:27 +00:00
Jaco Greeff
2e1c29a5a8 Bump wasm-crypto (#801) 2020-12-12 13:30:36 +01:00
Github Actions
79f925b589 [CI Skip] release/beta 4.2.2-15
skip-checks: true
2020-12-11 22:34:04 +00:00
Jaco Greeff
572c2789cc Bump dev 2020-12-11 23:28:34 +01:00
Github Actions
913f9636ba [CI Skip] release/beta 4.2.2-14
skip-checks: true
2020-12-11 16:42:05 +00:00
Jaco Greeff
83e5592305 Bump WASM, re-add tests 2020-12-11 17:39:58 +01:00
Github Actions
b7e579f6b8 [CI Skip] release/beta 4.2.2-13
skip-checks: true
2020-12-11 16:21:40 +00:00
Jaco Greeff
c211b811a6 Skip tests until wasm updated 2020-12-11 17:19:35 +01:00
Jaco Greeff
4c02b25a2d Small adjustments for esm (& default build) (#798) 2020-12-11 17:08:16 +01:00
Github Actions
28b2435019 [CI Skip] release/beta 4.2.2-12
skip-checks: true
2020-12-11 08:58:02 +00:00
Jaco Greeff
a0e5d60a0a Bump dev 2020-12-11 09:53:45 +01:00
Github Actions
311eceec0d [CI Skip] release/beta 4.2.2-11
skip-checks: true
2020-12-10 16:24:24 +00:00
Jaco Greeff
cf24dcdf22 Build esm alongside (unused, but published) (#797) 2020-12-10 17:19:19 +01:00
Github Actions
ead3eceef4 [CI Skip] release/beta 4.2.2-10
skip-checks: true
2020-12-10 14:32:25 +00:00
Jaco Greeff
59df9aefc4 Bump wasm (#795)
* Bump wasm

* Bump wasm

* Bump

* Network kilt, etc.
2020-12-10 15:28:02 +01:00
Github Actions
cb97cc1786 [CI Skip] release/beta 4.2.2-9
skip-checks: true
2020-12-09 18:19:43 +00:00
Jaco Greeff
cf18ecf193 Bump dev (prefer esm in esm mode) (#794) 2020-12-09 19:14:26 +01:00
Github Actions
6e6b13f29a [CI Skip] release/beta 4.2.2-8
skip-checks: true
2020-12-09 16:42:57 +00:00
Jaco Greeff
f75a16159d Bump dev (esm type import changes) (#793) 2020-12-09 17:37:15 +01:00
Github Actions
b8fe6be9cc [CI Skip] release/beta 4.2.2-7
skip-checks: true
2020-12-09 15:37:44 +00:00
Jaco Greeff
9993325679 Bump WASM, allow esm alongside cjs (#792) 2020-12-09 16:32:12 +01:00
Github Actions
ce8fe9f49d [CI Skip] release/beta 4.2.2-6
skip-checks: true
2020-12-09 10:07:34 +00:00
Jaco Greeff
408a6706b1 Adjust imports (#791) 2020-12-09 11:02:55 +01:00
Github Actions
79c7fa3b75 [CI Skip] release/beta 4.2.2-5
skip-checks: true
2020-12-08 10:30:14 +00:00
Jaco Greeff
e9713b6c93 Remove --fix on CI (#790) 2020-12-08 11:25:28 +01:00
Github Actions
706a3e0cc2 [CI Skip] release/beta 4.2.2-4
skip-checks: true
2020-12-07 15:19:14 +00:00
Jaco Greeff
b1a40516c1 Bump dev (import sorting) (#789) 2020-12-07 16:13:47 +01:00
Github Actions
7cf449074d [CI Skip] release/beta 4.2.2-3
skip-checks: true
2020-12-05 11:40:41 +00:00
Jaco Greeff
2ce7a79263 Bump deps (minor) (#786)
* Bump deps (minor)

* Update Phala
2020-12-05 12:35:10 +01:00
Github Actions
cfa5660d54 [CI Skip] release/beta 4.2.2-2
skip-checks: true
2020-12-01 17:56:59 +00:00
Jaco Greeff
1256f2a54a Bump berry (#783)
* Bump berry

* rewrite
2020-12-01 18:33:29 +01:00
Github Actions
2695afa68e [CI Skip] release/beta 4.2.2-1
skip-checks: true
2020-12-01 12:29:57 +00:00
Jaco Greeff
af71673c7b import type (#782) 2020-12-01 13:24:37 +01:00
Github Actions
7f489e1a99 [CI Skip] release/beta 4.2.2-0
skip-checks: true
2020-11-24 11:59:02 +00:00
Jaco Greeff
10fb33877c Bump deps (#779)
* Bump deps

* promisify
2020-11-24 12:53:12 +01:00
Github Actions
731def1f56 [CI Skip] release/stable 4.2.1
skip-checks: true
2020-11-23 11:55:30 +00:00
Jaco Greeff
06057da172 4.2 (#778)
* 4.2

* dedupe
2020-11-23 12:49:57 +01:00
Github Actions
af3e79e70a [CI Skip] release/beta 4.1.2-3
skip-checks: true
2020-11-23 10:34:05 +00:00
Jaco Greeff
9e5ee72adf Link to Substrate ss58 source (#777) 2020-11-23 11:28:30 +01:00
Github Actions
6a8344020f [CI Skip] release/beta 4.1.2-2
skip-checks: true
2020-11-18 11:28:14 +00:00
Jaco Greeff
a1ad6f1dd0 Dedupe bn.js (#775) 2020-11-18 12:22:38 +01:00
Github Actions
71f2b64868 [CI Skip] release/beta 4.1.2-1
skip-checks: true
2020-11-17 15:31:33 +00:00
Jaco Greeff
ad7e949c8c s/Tera/Tril/ (#771)
* s/Tera/Tril/

* expentation
2020-11-17 16:26:43 +01:00
Github Actions
d24241d656 [CI Skip] release/beta 4.1.2-0
skip-checks: true
2020-11-17 15:01:01 +00:00
Jaco Greeff
91d2e9bbbd s/Giga/Bill/, s/Mega/Mill/ (#770) 2020-11-17 15:54:54 +01:00
Github Actions
8acc5680ac [CI Skip] release/stable 4.1.1
skip-checks: true
2020-11-15 14:42:02 +00:00
Jaco Greeff
4d54ce4686 4.1 (#768) 2020-11-15 15:37:22 +01:00
Github Actions
441e89edd7 [CI Skip] release/beta 4.0.2-14
skip-checks: true
2020-11-15 11:49:59 +00:00
Jaco Greeff
f1da9f05fb Cleanup/simplify ETH signing (#767)
* Cleanup/simplify ETH signing

* Cleanup options

* Adjust ETH tests

* checksummed

* mutli ethereum
2020-11-15 12:45:09 +01:00
Github Actions
464d2d38b4 [CI Skip] release/beta 4.0.2-13
skip-checks: true
2020-11-15 09:36:48 +00:00
Jaco Greeff
1ea282c803 Bump deps (#766) 2020-11-15 10:32:04 +01:00
Github Actions
974559bf2e [CI Skip] release/beta 4.0.2-12
skip-checks: true
2020-11-11 10:54:28 +00:00
Jaco Greeff
c353003c70 Bump dev (#765) 2020-11-11 11:49:33 +01:00
Github Actions
623bde1a61 [CI Skip] release/beta 4.0.2-11
skip-checks: true
2020-11-10 16:38:24 +00:00
Jaco Greeff
67234fc013 Bumps 2020-11-10 17:32:44 +01:00
Github Actions
4a6d6d647a [CI Skip] release/beta 4.0.2-10
skip-checks: true
2020-11-10 15:12:55 +00:00
Jaco Greeff
b375b6c2d5 Mark detectPackage as sideEffects (#764) 2020-11-10 16:07:53 +01:00
Github Actions
1c6fd4558c [CI Skip] release/beta 4.0.2-9
skip-checks: true
2020-11-10 14:40:14 +00:00
Antoine Estienne
3800ffd61a Add eth tests and truncate address for keccak (#763)
* add eth tests and truncate address for keccak

* lint

* refactor
2020-11-10 15:34:45 +01:00
Github Actions
d447ed8fc9 [CI Skip] release/beta 4.0.2-8
skip-checks: true
2020-11-10 11:30:18 +00:00
Jaco Greeff
abb1062462 Re-enable esm modules (#762) 2020-11-10 12:25:05 +01:00
Github Actions
c6bdf78606 [CI Skip] release/beta 4.0.2-7
skip-checks: true
2020-11-09 21:32:14 +00:00
Jaco Greeff
7687d5bf00 Unused esnext 2020-11-09 22:26:52 +01:00
Github Actions
5b246891d7 [CI Skip] release/beta 4.0.2-6
skip-checks: true
2020-11-09 21:15:15 +00:00
Jaco Greeff
3b9617faf4 Extract detectPackage /cryptoWait as side effect (#761) 2020-11-09 22:09:53 +01:00
Github Actions
aa57da0806 [CI Skip] release/beta 4.0.2-5
skip-checks: true
2020-11-09 15:34:11 +00:00
Jaco Greeff
66841bba88 Build esnext outputs (#760) 2020-11-09 16:28:42 +01:00
Github Actions
7d963e3602 [CI Skip] release/beta 4.0.2-4
skip-checks: true
2020-11-08 20:40:03 +00:00
Jaco Greeff
82b25aecfb Replace pbkdf2 (#758)
* Replace pbkdf2

* Optional length

* cleanups
2020-11-08 21:34:34 +01:00
Github Actions
9b204fc660 [CI Skip] release/beta 4.0.2-3
skip-checks: true
2020-11-08 19:57:23 +00:00
Jaco Greeff
68bcce7a27 Cleanup pbkdf2 use (#757) 2020-11-08 20:52:02 +01:00
Github Actions
3a57c7da69 [CI Skip] release/beta 4.0.2-2
skip-checks: true
2020-11-08 18:47:26 +00:00
Jaco Greeff
055c4f82f5 Adjust nacl imports (#756) 2020-11-08 19:42:13 +01:00
Github Actions
12d8b07ff1 [CI Skip] release/beta 4.0.2-1
skip-checks: true
2020-11-08 17:12:02 +00:00
Jaco Greeff
f07d66562b Remove default exports (#755)
* Remove default exports

* Cleanup tests

* Exports in util

* Single secp256k1 instance

* Length check

* format check

* encoded lengths
2020-11-08 18:07:31 +01:00
Github Actions
80f28da707 [CI Skip] release/beta 4.0.2-0
skip-checks: true
2020-11-08 13:58:25 +00:00
Jaco Greeff
1aec77922f Adjust xxhash imports (only 64 used) (#753) 2020-11-08 14:52:28 +01:00
Github Actions
f431f02f11 [CI Skip] release/stable 4.0.1
skip-checks: true
2020-11-08 12:49:18 +00:00
Jaco Greeff
2063183f50 4.0 (#752)
* 4.0

* Exact deps
2020-11-08 13:45:10 +01:00
Github Actions
8280af08a6 [CI Skip] release/beta 4.0.0-11
skip-checks: true
2020-11-08 11:15:38 +00:00
Jaco Greeff
8029a54508 Additional complexity adjustments (#751)
* Adjust encoder/decoder fallbacks

* Dep-dup is functions

* Complexity cleanups

* More complexity adjustments
2020-11-08 12:10:29 +01:00
Github Actions
9e5478e0c0 [CI Skip] release/beta 4.0.0-10
skip-checks: true
2020-11-08 10:25:06 +00:00
Jaco Greeff
c67c1966d7 Adjust encoder/decoder fallbacks (#750)
* Adjust encoder/decoder fallbacks

* Dep-dup is functions

* Complexity cleanups
2020-11-08 11:20:22 +01:00
Github Actions
e1aa096cef [CI Skip] release/beta 4.0.0-9
skip-checks: true
2020-11-07 16:16:46 +00:00
Jaco Greeff
7135941b6a Cleanups to signature verification (#749) 2020-11-07 17:11:49 +01:00
Github Actions
dc24fb82a8 [CI Skip] release/beta 4.0.0-8
skip-checks: true
2020-11-07 15:05:33 +00:00
Jaco Greeff
32cfe3707e Remove jest getRandomValues polyfill (#748)
* Remove jest getRandomValues polyfill

* react-native in all x-*
2020-11-07 15:59:56 +01:00
Github Actions
97378be94e [CI Skip] release/beta 4.0.0-7
skip-checks: true
2020-11-07 14:27:52 +00:00
Jaco Greeff
db0559e9c9 RN-specific getRandomValues (no node crypto) (#747)
* RN-specific getRandomValues (no node crypto)

* Use polyfilled as available

* === object
2020-11-07 15:22:42 +01:00
Github Actions
94d6a900f7 [CI Skip] release/beta 4.0.0-6
skip-checks: true
2020-11-07 10:22:24 +00:00
Jaco Greeff
d751c03d45 Bump wasm-crypto (#745)
* Bump wasm-crypto

* Use x-randomvalues for randomAsU8a
2020-11-07 11:18:06 +01:00
Github Actions
aef8003d50 [CI Skip] release/beta 4.0.0-5
skip-checks: true
2020-11-05 15:05:27 +00:00
Jaco Greeff
2810b35d6c Add Synesthesia to networks (#744)
* Add Synesthesia to networks

* Add networks:crosscheck to steps for PR

* Add notifications team
2020-11-05 15:59:47 +01:00
Github Actions
6148932389 [CI Skip] release/beta 4.0.0-4
skip-checks: true
2020-11-05 14:43:13 +00:00
Jaco Greeff
f4889a36d4 Bump wasm (#743) 2020-11-05 15:37:38 +01:00
Github Actions
e8879c0ffc [CI Skip] release/beta 4.0.0-3
skip-checks: true
2020-11-03 12:09:33 +00:00
Jaco Greeff
ed64514415 Bump wasm-crypto 2020-11-03 13:04:10 +01:00
Github Actions
fcc25ee2c8 [CI Skip] release/beta 4.0.0-2
skip-checks: true
2020-11-03 09:34:06 +00:00
Jaco Greeff
695e19a8a7 Remove polyfills (#739)
* Remove polyfills

* CHANGELOG

* jestConfig

* Adjust jest

* Revert explicit overrides (from base)

* Fix dev

* 4.0.0

* Bump wasm-crypto

* min/max duplication

* Split tests, update dev

* startChar

* validate params

* complexity?

* secp256k1Verify options

* sign Options

* hasher extraction
2020-11-03 10:29:22 +01:00
Jaco Greeff
384bf9a41a CodeClimate exclusions 2020-11-01 15:08:35 +01:00
Github Actions
8f24a2758e [CI Skip] release/stable 3.7.1
skip-checks: true
2020-11-01 13:49:36 +00:00
Jaco Greeff
3230663ae1 3.7 (#738)
* 3.7

* Update new rules

* RegExp

* formatBalance cleanups

* Revert

* Formatting

* fill

* format test fix

* cleanups

* Cleanups

* Expand bip39 tests

* Cleanups

* Cleanups
2020-11-01 14:44:14 +01:00
Github Actions
4a0fa7f615 [CI Skip] release/beta 3.6.2-12
skip-checks: true
2020-10-29 20:33:55 +00:00
Jaco Greeff
0f05954dc5 Move @polkadot/x-{fetch,textdecoder,textencoder,ws} (#737)
* Move @polkadot/x-{fetch,textdecoder,textencoder,ws}

* Adjust copyrights

* Fix jest aliassing

* tsconfig resolution
2020-10-29 21:28:22 +01:00
Github Actions
55f442f9fa [CI Skip] release/beta 3.6.2-11
skip-checks: true
2020-10-29 19:25:00 +00:00
Jaco Greeff
7e5edc46a3 Add Totem (ss58 = 14) (#736) 2020-10-29 20:19:30 +01:00
Github Actions
d500f98fb4 [CI Skip] release/beta 3.6.2-10
skip-checks: true
2020-10-29 13:41:24 +00:00
Jaco Greeff
7b8902ce3f assertResult with undefined 2020-10-29 14:35:28 +01:00
Github Actions
98b3ad642f [CI Skip] release/beta 3.6.2-9
skip-checks: true
2020-10-29 12:33:33 +00:00
Jaco Greeff
14466e27ac assertReturn (#735) 2020-10-29 13:28:19 +01:00
Github Actions
16ffd1b467 [CI Skip] release/beta 3.6.2-8
skip-checks: true
2020-10-28 14:04:56 +00:00
Jaco Greeff
ca52fd7e5b Bump dev (#733)
* Bump dev

* Rewrite
2020-10-28 14:59:36 +01:00
Github Actions
ea5d3df64c [CI Skip] release/beta 3.6.2-7
skip-checks: true
2020-10-28 12:58:18 +00:00
Jaco Greeff
b51ed71796 string* takes in String (class) inputs (#732) 2020-10-28 13:52:40 +01:00
Github Actions
bf28507ae8 [CI Skip] release/beta 3.6.2-6
skip-checks: true
2020-10-26 22:02:25 +00:00
Jaco Greeff
6715bef24a Align JS bip39 with wasm-crypto (#730)
* Align JS bip39 with wasm-crypto

* Cleanups
2020-10-26 22:57:11 +01:00
Github Actions
badbbd76cb [CI Skip] release/beta 3.6.2-5
skip-checks: true
2020-10-26 20:43:23 +00:00
Jaco Greeff
253776a510 Cleanup elliptic imports (#729) 2020-10-26 21:37:51 +01:00
Github Actions
e1ef295bfa [CI Skip] release/beta 3.6.2-4
skip-checks: true
2020-10-26 19:36:31 +00:00
Jaco Greeff
73c89f4e3c Remove chalk dependency (#728) 2020-10-26 20:30:36 +01:00
Github Actions
a52e0dfb16 [CI Skip] release/beta 3.6.2-3
skip-checks: true
2020-10-26 14:51:26 +00:00
Jaco Greeff
9f8ed7bb50 Remove copy-to-apps script 2020-10-26 15:46:29 +01:00
Github Actions
a932f9408a [CI Skip] release/beta 3.6.2-2
skip-checks: true
2020-10-26 10:37:31 +00:00
Jaco Greeff
7907ce6dbf Bump actions, cleanups (#727) 2020-10-26 11:31:49 +01:00
Github Actions
230d510491 [CI Skip] release/beta 3.6.2-1
skip-checks: true
2020-10-23 11:10:06 +00:00
Jaco Greeff
415fd1b2d1 Bump deps (#726) 2020-10-23 13:05:45 +02:00
Github Actions
89c954216d [CI Skip] release/beta 3.6.2-0
skip-checks: true
2020-10-23 08:08:22 +00:00
Jaco Greeff
b689796b25 Create .nojekyll 2020-10-23 10:03:23 +02:00
Jaco Greeff
c4c18d324b Create 404.html 2020-10-23 10:02:53 +02:00
Jaco Greeff
b7bf500343 Create index.html 2020-10-23 10:02:36 +02:00
Github Actions
e5c6baf425 [CI Skip] release/stable 3.6.1
skip-checks: true
2020-10-18 11:56:50 +00:00
Jaco Greeff
0127899c5e 3.6 (#724) 2020-10-18 13:50:52 +02:00
Github Actions
f23611cad6 [CI Skip] release/beta 3.6.0-beta.17
skip-checks: true
2020-10-18 10:58:39 +00:00
Jaco Greeff
a74df109b0 Use githubusercontent (#723)
* Use githubusercontent

* crosscheck
2020-10-18 12:52:39 +02:00
Github Actions
9582013bfa [CI Skip] release/beta 3.6.0-beta.16
skip-checks: true
2020-10-17 15:01:16 +00:00
Jaco Greeff
6c148dcb3b Add ss58 output to issue (#721) 2020-10-17 16:55:43 +02:00
Jaco Greeff
65488bbff8 Bump deps (#722)
* Bump deps

* Rewrite
2020-10-17 16:53:04 +02:00
Github Actions
40cbb81d1e [CI Skip] release/beta 3.6.0-beta.15
skip-checks: true
2020-10-17 08:19:20 +00:00
Jaco Greeff
77b896054f Remove (unused) typedoc (#720)
* Remove (unused) typedoc

* rm typedoc package
2020-10-17 10:13:30 +02:00
Github Actions
89c717bd11 [CI Skip] release/beta 3.6.0-beta.14
skip-checks: true
2020-10-16 10:22:22 +00:00
Jaco Greeff
b22f5643a9 Update chainx details (#718) 2020-10-16 12:16:25 +02:00
Github Actions
8d68ed3117 [CI Skip] release/beta 3.6.0-beta.13
skip-checks: true
2020-10-16 10:15:32 +00:00
Jaco Greeff
65b1c81c21 Expose all claimed/available networks (#719)
* Expose all claimed/available networks

* Expansion
2020-10-16 12:09:37 +02:00
Github Actions
28cd140cfb [CI Skip] release/beta 3.6.0-beta.12
skip-checks: true
2020-10-16 09:09:31 +00:00
Jaco Greeff
73b553fbd2 Update ss58-check.yml 2020-10-16 11:03:08 +02:00
Jaco Greeff
f12075798d Update ss58-check.yml 2020-10-16 10:54:42 +02:00
Jaco Greeff
323db21306 Rename ss58-template.md to ss58-check.md 2020-10-16 10:54:12 +02:00
Jaco Greeff
d54302eacc Rename ISSUE_TEMPLATE.md to ss58-template.md 2020-10-16 10:53:12 +02:00
Jaco Greeff
9a98d5b6e4 Swap to nightly runs (networkCheck) (#714)
* Swap to nightly runs (newtorkCheck)

* Update template

* Rename

* Update
2020-10-16 10:50:10 +02:00
Jaco Greeff
5ec613adf9 Delete ss58-registry.yml 2020-10-16 10:43:46 +02:00
Github Actions
567ce7955a [CI Skip] release/beta 3.6.0-beta.11
skip-checks: true
2020-10-16 08:33:42 +00:00
Jaco Greeff
b185dcb072 Update with different issue creator (#713) 2020-10-16 10:28:04 +02:00
Github Actions
79010f83dc [CI Skip] release/beta 3.6.0-beta.10
skip-checks: true
2020-10-16 08:22:42 +00:00
Jaco Greeff
5354f93946 Ignore checkNetworks on normal runs (#712)
* Ignore checkNetworks on normal runs

* Every 15 min (for now)
2020-10-16 10:16:16 +02:00
Jaco Greeff
e787e66ef9 Add label to nightly run 2020-10-16 09:34:09 +02:00
Jaco Greeff
440e826fed Update file path 2020-10-16 09:26:37 +02:00
Jaco Greeff
d2e5e1d441 Create issue on failure of ss58 nightly run (#711) 2020-10-15 19:16:04 +02:00
Github Actions
32fc32f414 [CI Skip] release/beta 3.6.0-beta.9
skip-checks: true
2020-10-15 00:39:19 +00:00
Jaco Greeff
0a7b2a7a9f Support multipe genesisHashes (#710) 2020-10-15 02:33:18 +02:00
Github Actions
c315e6fdaa [CI Skip] release/beta 3.6.0-beta.8
skip-checks: true
2020-10-14 23:52:33 +00:00
Jaco Greeff
b5d9ed36e1 Add Dock genesis to networks (was avail on apps UI) (#708) 2020-10-15 01:46:22 +02:00
Github Actions
f24c7983c8 [CI Skip] release/beta 3.6.0-beta.7
skip-checks: true
2020-10-14 12:58:32 +00:00
Jaco Greeff
3447cd40bf Add @polkadot/networks (#707)
* Add @polkadot/networks

* Update .github/workflows/ss58-registry.yml

* Use prefixes from @polkadot/network

* Update packages/networks/src/checkLatest.spec.ts

* Cleanups

* Auto-check fields based on schema

* typo

* language
2020-10-14 14:52:29 +02:00
Github Actions
95f4702e26 [CI Skip] release/beta 3.6.0-beta.6
skip-checks: true
2020-10-12 16:17:25 +00:00
Jake Naviasky
506142da8a Add evmToAddress and addressToEvm crypto utils. (#705) 2020-10-12 18:11:20 +02:00
Github Actions
34f6eac538 [CI Skip] release/beta 3.6.0-beta.5
skip-checks: true
2020-10-07 11:30:17 +00:00
Jaco Greeff
ae1a37cdf7 Verify with MultiSignature (#703)
* Verify with MultiSignature

* Bump dev
2020-10-07 13:24:24 +02:00
Github Actions
fab087bbe5 [CI Skip] release/beta 3.6.0-beta.4
skip-checks: true
2020-10-06 13:36:00 +00:00
Jaco Greeff
8608098996 Remove docs (replaced by docs repo) (#702) 2020-10-06 15:30:49 +02:00
Github Actions
220f4029b1 [CI Skip] release/beta 3.6.0-beta.3
skip-checks: true
2020-10-04 13:41:57 +00:00
Jaco Greeff
d21daf1434 Bump dev (without lerna) (#701)
* Bump dev (without lerna)

* Add yarn plugins
2020-10-04 15:35:59 +02:00
Github Actions
1a4c16f797 [CI Skip] release/beta 3.6.0-beta.2
skip-checks: true
2020-10-02 12:44:29 +00:00
Jaco Greeff
975103fd3c Remove SUMMARY.md is prep for rework (#700) 2020-10-02 14:38:11 +02:00
Github Actions
fb84ac7c25 [CI Skip] release/beta 3.6.0-beta.1
skip-checks: true
2020-10-01 06:47:08 +00:00
Rocco Musolino
13ae8665d5 remove doc broken link (#697) 2020-10-01 08:40:50 +02:00
Github Actions
4e8b2beb0b [CI Skip] release/beta 3.6.0-beta.0
skip-checks: true
2020-10-01 06:09:37 +00:00
Jaco Greeff
dd1220ac97 s/mnemonicToBip39/mnemonicToLegacySeed/ (#699)
* s/mnemonicToBip39/mnemonicToLegacySeed/

* Update CHANGELOG.md
2020-10-01 08:03:18 +02:00
Github Actions
b46308fa8f [CI Skip] release/stable 3.5.1
skip-checks: true
2020-09-27 08:05:00 +00:00
Jaco Greeff
c366e637e9 3.5 (#694)
* 3.5

* Update CHANGELOG.md
2020-09-27 09:58:54 +02:00
Jaco Greeff
81acc81ef7 Change decimals, move unit (#695)
* Change decimals, move unit

* CHANGELOG
2020-09-27 09:49:47 +02:00
Github Actions
eb7270ff3f [CI Skip] release/beta 3.5.0-beta.15
skip-checks: true
2020-09-25 15:12:38 +00:00
Jaco Greeff
30198d1a6d Don't decode on unlocked 2020-09-25 17:06:04 +02:00
Github Actions
2fc078d994 [CI Skip] release/beta 3.5.0-beta.14
skip-checks: true
2020-09-25 11:17:25 +00:00
Jaco Greeff
bd1735cafb Keypair recoding should decode, then encode (#693)
* Keypair recoding should decode, then encode

* Add tests, align createFromJson naming
2020-09-25 13:11:34 +02:00
Github Actions
ca73e5bc4d [CI Skip] release/beta 3.5.0-beta.13
skip-checks: true
2020-09-24 13:29:20 +00:00
Jaco Greeff
aff78c2e30 Adjust KeyringInstance 2020-09-24 15:23:14 +02:00
Github Actions
fbd454eb5a [CI Skip] release/beta 3.5.0-beta.12
skip-checks: true
2020-09-24 10:59:49 +00:00
Jaco Greeff
ce964d2f12 Bump deps (#692)
* Bump deps

* Linting
2020-09-24 12:53:57 +02:00
Github Actions
2c26bc61da [CI Skip] release/beta 3.5.0-beta.11
skip-checks: true
2020-09-24 06:30:00 +00:00
Jaco Greeff
4111122cba JSON pair creation without addition (#691)
* JSON pair creation without addition

* Linting

* create test
2020-09-24 08:23:41 +02:00
Github Actions
e1e95dc6b3 [CI Skip] release/beta 3.5.0-beta.10
skip-checks: true
2020-09-20 08:11:31 +00:00
Jaco Greeff
e7c665e5da Add isBase{32, 58, 64} utils (#689)
* Add isBase{32, 58, 64} utils

* Allow empty inputs

* Add base64{Trim, Pad}

* isBase64

* Update assert messages

* Cleaup ifsCompat checks
2020-09-20 10:05:38 +02:00
Github Actions
301eb587cb [CI Skip] release/beta 3.5.0-beta.9
skip-checks: true
2020-09-18 13:15:50 +00:00
Jaco Greeff
5c886b0f81 TextEncoder/TextDecoder from polkadot-js (#686) 2020-09-18 15:09:25 +02:00
Jaco Greeff
56a79924a0 SPDX (#687) 2020-09-17 16:13:39 +02:00
Github Actions
beef1b38ed [CI Skip] release/beta 3.5.0-beta.8
skip-checks: true
2020-09-16 07:02:28 +00:00
Jaco Greeff
ce46a68187 Bump deps (#684) 2020-09-16 08:56:19 +02:00
Github Actions
94dc2d76b3 [CI Skip] release/beta 3.5.0-beta.7
skip-checks: true
2020-09-13 11:22:21 +00:00
Jaco Greeff
dcdde1cf4b Bump deps (#682) 2020-09-13 13:13:09 +02:00
Github Actions
e3a9099b58 [CI Skip] release/beta 3.5.0-beta.6
skip-checks: true
2020-09-09 16:52:47 +00:00
Jaco Greeff
fb03ff3994 Bump deps (#681) 2020-09-09 18:46:23 +02:00
Github Actions
1d42fbf2bf [CI Skip] release/beta 3.5.0-beta.5
skip-checks: true
2020-09-09 07:53:48 +00:00
Lovesh Harchandani
c0e4b1b93e Add Dock network id for address generation (#640)
Taking 21 and 22 for testnet and mainnet

Signed-off-by: lovesh <lovesh.bond@gmail.com>
2020-09-09 09:47:33 +02:00
Github Actions
139f3f90b0 [CI Skip] release/beta 3.5.0-beta.4
skip-checks: true
2020-09-08 14:45:23 +00:00
Jaco Greeff
cf6fae8e1d ed25519 from dev mnemonic test (#680) 2020-09-08 16:39:01 +02:00
Github Actions
f8d69736c1 [CI Skip] release/beta 3.5.0-beta.3
skip-checks: true
2020-09-08 08:41:43 +00:00
Jaco Greeff
a4322cb99a Rewrite yarn.lock (#679) 2020-09-08 10:35:33 +02:00
Github Actions
9445006127 [CI Skip] release/beta 3.5.0-beta.2
skip-checks: true
2020-09-06 16:15:20 +00:00
Jaco Greeff
aeeaa91752 Bump deps (#677) 2020-09-06 18:09:35 +02:00
Github Actions
52fb4ac863 [CI Skip] release/beta 3.5.0-beta.1
skip-checks: true
2020-09-05 06:06:51 +00:00
Jaco Greeff
2a000a2a14 Bump deps (#676) 2020-09-05 08:00:53 +02:00
Github Actions
97fe3b2ea3 [CI Skip] release/beta 3.5.0-beta.0
skip-checks: true
2020-09-03 12:50:58 +00:00
Jaco Greeff
9b8a782d58 Bump dev (#675) 2020-09-03 14:44:24 +02:00
Github Actions
b56e40ea5b [CI Skip] release/stable 3.4.1
skip-checks: true
2020-08-31 07:08:33 +00:00
Jaco Greeff
37d1bcb6eb 3.4 (#674) 2020-08-31 09:00:57 +02:00
Github Actions
f2b8c1fb4e [CI Skip] release/beta 3.4.0-beta.3
skip-checks: true
2020-08-28 12:19:52 +00:00
Jaco Greeff
92cc8fc4e3 Add isWasm util (#673) 2020-08-28 14:12:22 +02:00
Github Actions
701bd9335d [CI Skip] release/beta 3.4.0-beta.2
skip-checks: true
2020-08-27 11:26:48 +00:00
Jaco Greeff
d176c74715 Bump wasm to 1.4.1 (#672) 2020-08-27 13:19:36 +02:00
Github Actions
0bf7c799f3 [CI Skip] release/beta 3.4.0-beta.1
skip-checks: true
2020-08-26 08:52:16 +00:00
Jaco Greeff
2f7d5cd4e1 Bump deps (#670)
* Bump deps

* Bump crypto

* Bump berry

* Debump markdown plugin

* Explicit add of typedoc plugins

* Bump dev (typedoc exec)

* Bump md
2020-08-26 10:46:33 +02:00
Github Actions
c42b517293 [CI Skip] release/beta 3.4.0-beta.0
skip-checks: true
2020-08-25 19:22:10 +00:00
Jaco Greeff
e5dd55e419 Allow for WASM-as-available mnemonicToBip39 call (#669) 2020-08-25 21:16:22 +02:00
Github Actions
83fdd11c59 [CI Skip] release/stable 3.3.1
skip-checks: true
2020-08-24 07:11:21 +00:00
Jaco Greeff
08de8ce25a 3.3 (#668) 2020-08-24 09:05:24 +02:00
Github Actions
800bafc00c [CI Skip] release/beta 3.3.0-beta.2
skip-checks: true
2020-08-22 11:38:10 +00:00
Jaco Greeff
3b383b97ca Add addressRaw to keyring interface (#667)
* addressRaw to keyring interface

* Typos

* nobody

* Slice -20 for Ethereum

* addressRaw tests
2020-08-22 13:32:14 +02:00
Github Actions
b381c09ecf [CI Skip] release/beta 3.3.0-beta.1
skip-checks: true
2020-08-18 09:45:16 +00:00
Jaco Greeff
a53008fd67 Bump deps (#665) 2020-08-18 11:39:52 +02:00
Github Actions
899056c5a2 [CI Skip] release/beta 3.3.0-beta.0
skip-checks: true
2020-08-17 17:59:41 +00:00
Jaco Greeff
8554d47030 Ethereum keypair signing & verification (#664)
* Ethereum keypair signing & verification

* Verify against hashes expanded

* Adjust via flags

* ss58 encoding for 33-byte publicKey

* ecdsa types stores address as raw publicKey

* Adjust for hash lengths

* Adjust expand/compress specs
2020-08-17 19:52:44 +02:00
Github Actions
9808f58540 [CI Skip] release/stable 3.2.1
skip-checks: true
2020-08-17 10:23:06 +00:00
Jaco Greeff
7228100835 3.2 (#663) 2020-08-17 12:17:44 +02:00
Github Actions
08c1b413d2 [CI Skip] release/beta 3.2.0-beta.4
skip-checks: true
2020-08-17 09:34:41 +00:00
Jaco Greeff
27ae11860d Add Ethereum-compatible seed from mnemonic (#662)
* Add Ethereum-compatible seed from mnemonic

* Change encode signature to allow publicKeys

* Make CC happier
2020-08-17 11:28:59 +02:00
Github Actions
9cc984e8ae [CI Skip] release/beta 3.2.0-beta.3
skip-checks: true
2020-08-14 10:48:37 +00:00
Jaco Greeff
d352782927 Ethereum keypair support (#661)
* Ethereum keypair support

* keypair support from seed

* Signature verification

* Cleanups

* Cleanup encode (no extra toLower)

* u8aToU8a

* Simulate random failure with range

* Cleanup BN conversions
2020-08-14 12:41:56 +02:00
Jaco Greeff
6e4a5281ed Bump deps (#660) 2020-08-12 17:02:26 +02:00
Github Actions
d11f6d9307 [CI Skip] release/beta 3.2.0-beta.2
skip-checks: true
2020-08-11 14:49:56 +00:00
Jaco Greeff
61b57687af Ethereum address utils (#659)
* Ethereum address utils

* export in base
2020-08-11 16:46:01 +02:00
Github Actions
3ab1623a40 [CI Skip] release/beta 3.2.0-beta.1
skip-checks: true
2020-08-11 14:25:08 +00:00
Jaco Greeff
f5acd60253 Actually expose base32* functions (#658) 2020-08-11 16:20:39 +02:00
Github Actions
c4d368d2b5 [CI Skip] release/beta 3.2.0-beta.0
skip-checks: true
2020-08-11 06:59:01 +00:00
Jaco Greeff
e487d0a454 - Allow for hasher to secp256k1 sign/verify functions (#657) 2020-08-11 08:54:52 +02:00
Github Actions
99ffcc52ec [CI Skip] release/stable 3.1.1
skip-checks: true
2020-08-10 04:51:43 +00:00
Jaco Greeff
64510af8d3 3.1 (#655) 2020-08-10 06:47:53 +02:00
Github Actions
52b14db475 [CI Skip] release/beta 3.1.0-beta.8
skip-checks: true
2020-08-09 12:45:13 +00:00
Jaco Greeff
c5fe5cd8d4 Bump @polkadot/wasm (#654) 2020-08-09 14:41:40 +02:00
Github Actions
bdfc614ad5 [CI Skip] release/beta 3.1.0-beta.7
skip-checks: true
2020-08-09 12:29:56 +00:00
Jaco Greeff
0d03eac307 Add deriveAddress (#653) 2020-08-09 14:26:37 +02:00
Github Actions
6c84edcb9d [CI Skip] release/beta 3.1.0-beta.6
skip-checks: true
2020-08-09 11:31:44 +00:00
Jaco Greeff
9d145e72b8 Base32 encoding/decoding (#652)
* Base32 encoding/decoding

* Attribution

* LOOKUP

* Share base32/58 alphabet validation

* Apply suggestions from code review
2020-08-09 13:27:47 +02:00
Github Actions
4529bc37b5 [CI Skip] release/beta 3.1.0-beta.5
skip-checks: true
2020-08-08 07:07:37 +00:00
Jaco Greeff
038ef42fe5 Bump deps (#651) 2020-08-08 09:03:58 +02:00
Github Actions
1871d36a97 [CI Skip] release/beta 3.1.0-beta.4
skip-checks: true
2020-08-06 12:19:34 +00:00
Jaco Greeff
45c2afae07 Bump berry (#650)
* Bump berry

* Rewrite
2020-08-06 14:15:37 +02:00
Github Actions
51edae2f67 [CI Skip] release/beta 3.1.0-beta.3
skip-checks: true
2020-08-05 14:32:25 +00:00
Jaco Greeff
437314e5ea Bump wasm-crypto (#649)
* Bump wasm-crypto

* Rewrite yarn.lock
2020-08-05 16:28:22 +02:00
Jaco Greeff
ce6f9d8bc8 Scrypt via wasm-crypto (#647)
* Scrypt via wasm-crypto

* Bump wasm-crypto
2020-08-05 16:07:38 +02:00
Github Actions
0cf65e1671 [CI Skip] release/beta 3.1.0-beta.2
skip-checks: true
2020-07-31 13:52:39 +00:00
Brad Larson
a0251ff650 [FIX] Adjust error message (#646)
I ran into a case where the secret value provided had trailing
whitespace, and when the code ran, it logged that secret value as part
of the stack trace.

This change will make it harder for users to accidentally leak key
material.
2020-07-31 15:48:31 +02:00
Github Actions
9696badcd1 [CI Skip] release/beta 3.1.0-beta.1
skip-checks: true
2020-07-31 08:07:03 +00:00
Jaco Greeff
08817d199d Bump deps (#645) 2020-07-31 10:02:57 +02:00
Github Actions
df69a02e6f [CI Skip] release/beta 3.1.0-beta.0
skip-checks: true
2020-07-30 14:02:55 +00:00
Jaco Greeff
e845132d89 Bump deps (#644) 2020-07-30 15:58:17 +02:00
Github Actions
21e9b9a033 [CI Skip] release/stable 3.0.1
skip-checks: true
2020-07-27 06:21:35 +00:00
Jaco Greeff
db61ea3077 3.0 release (#643) 2020-07-27 08:17:28 +02:00
Github Actions
d4a3d2392e [CI Skip] release/beta 3.0.0-beta.4
skip-checks: true
2020-07-27 06:09:08 +00:00
Jaco Greeff
88ecda706d 3.0 (#642)
* 3.0

* Bump dev
2020-07-27 08:05:04 +02:00
Github Actions
184fb1f12e [CI Skip] release/beta 3.0.0-beta.3
skip-checks: true
2020-07-22 15:45:42 +00:00
Reto Trinkler
91340577df Adding 4 as address type of ss58 for Katal Chain (#639) 2020-07-22 17:41:49 +02:00
Github Actions
36729678e2 [CI Skip] release/beta 3.0.0-beta.2
skip-checks: true
2020-07-21 07:06:23 +00:00
Jaco Greeff
1c6b4bfc34 Dev bump 2020-07-21 09:02:25 +02:00
Github Actions
bbfd175579 [CI Skip] release/beta 3.0.0-beta.1
skip-checks: true
2020-07-21 06:21:56 +00:00
Jaco Greeff
0a6bd41444 Keyring JSON with kdf (#637)
* Keyring JSON with pbkdf2

* pbkdf2 from wasm

* Encode/decode defaults adjusted

* v2 decoding test

* Recode refreshes defaults

* Use scrypt for kdf

* test conversions

* Fix params

* Cleanup decoding pass

* Swap encoding to base64

* Update for base64 encoding

* 3.0.0
2020-07-21 08:17:46 +02:00
Github Actions
ab21274c36 [CI Skip] release/beta 2.19.0-beta.2
skip-checks: true
2020-07-17 12:30:08 +00:00
Jaco Greeff
d4e6ad5553 Bump dev 2020-07-17 14:26:11 +02:00
Github Actions
49dbd757df [CI Skip] release/beta 2.19.0-beta.1
skip-checks: true
2020-07-17 12:07:35 +00:00
Jaco Greeff
20e82cc45b Dev bump 2020-07-17 14:03:36 +02:00
Github Actions
6a7fa80c55 [CI Skip] release/beta 2.19.0-beta.0
skip-checks: true
2020-07-17 06:39:13 +00:00
Jaco Greeff
12e34cd3e8 Bump deps (#635) 2020-07-17 08:35:10 +02:00
Github Actions
0a598fdf92 [CI Skip] release/stable 2.18.1
skip-checks: true
2020-07-13 08:51:33 +00:00
Jaco Greeff
659b896ee7 2.18 (#634) 2020-07-13 10:47:53 +02:00
Github Actions
7cda007a30 [CI Skip] release/beta 2.18.0-beta.3
skip-checks: true
2020-07-09 07:19:51 +00:00
Jaco Greeff
2288c4da8a Base64 utils (#632) 2020-07-09 09:16:24 +02:00
Github Actions
fbfc21be1c [CI Skip] release/beta 2.18.0-beta.2
skip-checks: true
2020-07-08 13:39:52 +00:00
Jaco Greeff
787beb2aea Add isUtf8 (#631) 2020-07-08 15:35:43 +02:00
Github Actions
6234e16c37 [CI Skip] release/beta 2.18.0-beta.1
skip-checks: true
2020-07-08 11:58:35 +00:00
Jaco Greeff
e9cbc0a0d9 Bump deps (#630) 2020-07-08 13:54:57 +02:00
Github Actions
166eeb8852 [CI Skip] release/beta 2.18.0-beta.0
skip-checks: true
2020-07-08 09:18:38 +00:00
Jaco Greeff
b321f92161 Add isAscii (#629) 2020-07-08 11:14:55 +02:00
Github Actions
cf7d9d9ff5 [CI Skip] release/stable 2.17.1
skip-checks: true
2020-07-06 04:41:13 +00:00
Jaco Greeff
fb5b3c1663 2.17 (#628) 2020-07-06 06:37:16 +02:00
Github Actions
46bbc45145 [CI Skip] release/beta 2.17.0-beta.3
skip-checks: true
2020-07-04 08:12:18 +00:00
Jaco Greeff
dc8b4a6447 Add encode{Derived, Multi}Address (#627)
* Add encode{Derived, Multi}Address

* Tests for encode*

* CHANGELOG
2020-07-04 10:08:40 +02:00
Github Actions
8ec38eca4a [CI Skip] release/beta 2.17.0-beta.2
skip-checks: true
2020-07-02 05:36:03 +00:00
Jaco Greeff
24b533689c Handle 0 on numberToU8a (#626)
* Handle 0 on numberToU8a

* Remove old test (replaced)

* base58 CHANGELOG
2020-07-02 07:32:25 +02:00
Github Actions
5421e06fc9 [CI Skip] release/beta 2.17.0-beta.1
skip-checks: true
2020-07-02 05:29:40 +00:00
Jaco Greeff
7115efd94f Simplify base58 dependency tree (#624) 2020-07-02 07:26:04 +02:00
Github Actions
92f88222c4 [CI Skip] release/beta 2.17.0-beta.0
skip-checks: true
2020-07-02 05:12:02 +00:00
Jaco Greeff
bc7aba71a6 Bump deps (#625) 2020-07-02 07:08:40 +02:00
Github Actions
1d8b8b3204 [CI Skip] release/stable 2.16.1
skip-checks: true
2020-06-29 05:19:13 +00:00
Jaco Greeff
4a2e090ef8 2.16 (#623) 2020-06-29 07:15:21 +02:00
Github Actions
8cf8d5b7e8 [CI Skip] release/beta 2.16.0-beta.0
skip-checks: true
2020-06-26 12:49:47 +00:00
Jaco Greeff
8d355ff6fc Local base58 alphabet check for better errors (#622)
* Local base58 alphabet check for better errors

* Rewrite yarn.lock

* Align error return values

* Split base58{Encode, Decode}

* base58Encode input types

* Function names, some docs
2020-06-26 14:46:19 +02:00
Github Actions
72456bb2bd [CI Skip] release/stable 2.15.1
skip-checks: true
2020-06-22 09:33:14 +00:00
Jaco Greeff
87f3fd2827 2.15 (#621) 2020-06-22 11:29:33 +02:00
Github Actions
7254aab68d [CI Skip] release/beta 2.15.0-beta.0
skip-checks: true
2020-06-19 15:39:36 +00:00
Jaco Greeff
95d7160ad0 Test for 0 prefix (#620)
* Test for 0 prefix

* Add test for keyring encodeAddress (& fix)

* Test other branch of ?: check
2020-06-19 17:35:48 +02:00
Github Actions
611b1be481 [CI Skip] release/stable 2.14.1
skip-checks: true
2020-06-16 06:02:06 +00:00
Jaco Greeff
73b35fc188 2.14 (#618) 2020-06-16 07:58:33 +02:00
Github Actions
6c30d5b9fd [CI Skip] release/beta 2.14.0-beta.0
skip-checks: true
2020-06-08 15:58:49 +00:00
Keith Ingram
56d151fe66 Add BN consts and timeToString (#610)
* Add BN consts and timeToString

* docs

* lint

* fixes

* lint

* lint

* add tests, ms

* fix

* test
2020-06-09 03:55:21 +12:00
Github Actions
cd20fe6c8b [CI Skip] release/stable 2.13.1
skip-checks: true
2020-06-08 14:03:31 +00:00
Jaco Greeff
28f8ca73aa 2.13 (#616) 2020-06-08 15:59:47 +02:00
Github Actions
f4a8bfc0c0 [CI Skip] release/beta 2.13.0-beta.5
skip-checks: true
2020-06-08 12:33:10 +00:00
Jaco Greeff
94b058d6a3 Align bnToHex signature with bnToU8a (#615) 2020-06-08 14:29:40 +02:00
Github Actions
3d7ddb85a2 [CI Skip] release/beta 2.13.0-beta.4
skip-checks: true
2020-06-08 11:35:08 +00:00
Jaco Greeff
f7a2bb895f Fix blake2 U8a JS with hex inputs (#614)
* Fix blake2 U8a JS with hex inputs

* Apply suggestions from code review
2020-06-08 13:31:10 +02:00
Github Actions
c1bfcc00b6 [CI Skip] release/beta 2.13.0-beta.3
skip-checks: true
2020-06-06 08:08:42 +00:00
Jaco Greeff
b16d8e7c26 Bump deps (#612) 2020-06-06 10:05:02 +02:00
Github Actions
2a4b363fcd [CI Skip] release/beta 2.13.0-beta.2
skip-checks: true
2020-06-05 20:17:13 +00:00
Jaco Greeff
de689b8e6f Bump deps (#611) 2020-06-05 22:13:55 +02:00
Github Actions
2e72ab920b [CI Skip] release/beta 2.13.0-beta.1
skip-checks: true
2020-06-02 09:44:29 +00:00
Jaco Greeff
565e6baecd Linting 2020-06-02 11:40:25 +02:00
Jaco Greeff
1e15203b6c Reset to beta 2020-06-02 11:24:23 +02:00
Github Actions
cc8639565d [CI Skip] release/stable 2.12.2
skip-checks: true
2020-06-02 08:31:51 +00:00
Jaco Greeff
b77d2e6860 Linting 2020-06-02 10:28:25 +02:00
Jaco Greeff
e1fbd8ff9f 2.12.2 2020-06-02 10:22:30 +02:00
Github Actions
f56dd32b4a [CI Skip] release/stable 2.12.1
skip-checks: true
2020-06-01 16:09:53 +00:00
Jaco Greeff
6077bef570 2.12 (#609) 2020-06-01 18:05:55 +02:00
Github Actions
377d83d4ed [CI Skip] release/beta 2.12.0-beta.2
skip-checks: true
2020-06-01 08:31:12 +00:00
Jaco Greeff
bdb14f91a8 Pre-checks on verify input lengths (#608)
* Pre-checks on verify input lengths

* Small cleanup

* Update error signatures
2020-06-01 10:27:08 +02:00
Github Actions
cc5b7ed0ad [CI Skip] release/beta 2.12.0-beta.1
skip-checks: true
2020-06-01 07:33:27 +00:00
Jaco Greeff
d4491aeb7f Small cleanups, u8aConcat optimization (#607)
* Small cleanups, u8aConcat oprimizations

* Cleanup

* Pre-allocate arrays

* Don't recreate PREFIX
2020-06-01 09:29:44 +02:00
Github Actions
0f6e996799 [CI Skip] release/beta 2.12.0-beta.0
skip-checks: true
2020-05-31 12:22:47 +00:00
Jaco Greeff
1f3dd60a8d {address,u8a}Eq functions (#606)
* {addres,u8a}Eq functions

* Remove mnemonicToSeed
2020-05-31 14:19:10 +02:00
Github Actions
3351fb1cba [CI Skip] 2.11.1
skip-checks: true
2020-05-26 07:00:59 +00:00
Jaco Greeff
32d176e424 2.11 (#604) 2020-05-26 08:57:31 +02:00
Github Actions
aec1e26cb9 [CI Skip] 2.11.0-beta.2
skip-checks: true
2020-05-24 17:08:04 +00:00
Jaco Greeff
7d529b6c93 Type adjustments for meta 2020-05-24 19:04:15 +02:00
Github Actions
e22b39ae01 [CI Skip] 2.11.0-beta.1
skip-checks: true
2020-05-23 12:26:33 +00:00
Jaco Greeff
18a202c460 Bump dev w/ eslint (#603)
* Bump dev w/ eslint

* Mop-up remaining lint issues

* Update stringShorten expectation
2020-05-23 14:23:13 +02:00
Github Actions
fd9ce319a5 [CI Skip] 2.11.0-beta.0
skip-checks: true
2020-05-15 10:37:46 +00:00
Jaco Greeff
a04c0a5e82 Bump deps (#601) 2020-05-15 12:34:22 +02:00
Github Actions
06cb5e57a0 [CI Skip] 2.10.1
skip-checks: true
2020-05-14 05:42:04 +00:00
Jaco Greeff
103ea045bf 2.10 (#599) 2020-05-14 07:38:43 +02:00
Github Actions
4315c76814 [CI Skip] 2.10.0-beta.5
skip-checks: true
2020-05-11 12:01:35 +00:00
Jaco Greeff
6de6b871cd Adjust DeriveJunction (types & BigInt) (#598) 2020-05-11 13:57:59 +02:00
Github Actions
82e5d76821 [CI Skip] 2.10.0-beta.4
skip-checks: true
2020-05-11 09:58:13 +00:00
Jaco Greeff
d9a18a4acf Bump berry (#597) 2020-05-11 11:54:45 +02:00
Github Actions
2d1d4f808e [CI Skip] 2.10.0-beta.3
skip-checks: true
2020-05-11 08:00:19 +00:00
Jaco Greeff
d1de30907f TextEncoder allows non-Uint8Array Buffers (#596)
* TextEncoder allows non-Uint8Array Buffers

* Add eslintrc to eslintignore
2020-05-11 09:57:00 +02:00
Github Actions
d3583dc432 [CI Skip] 2.10.0-beta.2
skip-checks: true
2020-05-08 18:15:33 +00:00
Wei Tang
bb04fa28f7 ss58: add Kulupu prefix to the list (#595) 2020-05-08 20:12:17 +02:00
Github Actions
bd8e862b62 [CI Skip] 2.10.0-beta.1
skip-checks: true
2020-04-30 06:06:24 +00:00
Jaco Greeff
0f45b7fbf3 Bump deps (#594) 2020-04-30 08:03:20 +02:00
Github Actions
03eb72f128 [CI Skip] 2.10.0-beta.0
skip-checks: true
2020-04-30 05:31:32 +00:00
Jaco Greeff
f76a4a98be beta bump (#593) 2020-04-30 07:28:35 +02:00
Github Actions
c2b91ad8c2 [CI Skip] 2.9.1
skip-checks: true
2020-04-29 22:42:23 +00:00
Jaco Greeff
ffc6b0323b 2.9.1 2020-04-30 00:38:59 +02:00
Github Actions
b666db2721 [CI Skip] 2.9.0-beta.4
skip-checks: true
2020-04-29 22:37:08 +00:00
Jaco Greeff
b00d49564f Update CHANGELOG.md 2020-04-30 00:34:31 +02:00
Alexander Krupenkin
34380caf1f Added ECDSA keypair support (#589)
* Added ECDSA signature verification

* Add ECDSA keypair, sign, key derivation, fromSeed and tests

* keyring: added ECDSA keypair

* Fix lint errors
2020-04-30 00:33:10 +02:00
Github Actions
277cc2b5a8 [CI Skip] 2.9.0-beta.3
skip-checks: true
2020-04-26 20:26:19 +00:00
joe petrowski
733e9e2729 Add example for multisig address creation (#590)
* add multisig example

* typo

* lint fix

* sort addresses

* make linter happy

* clean up sorting with ss58 param
2020-04-26 22:23:15 +02:00
Github Actions
482264c615 [CI Skip] 2.9.0-beta.2
skip-checks: true
2020-04-26 12:36:41 +00:00
Jaco Greeff
5d0abef952 Sort with ss58 prefix (#591) 2020-04-26 14:33:45 +02:00
Github Actions
2397e1c5d7 [CI Skip] 2.9.0-beta.1
skip-checks: true
2020-04-24 17:18:36 +00:00
Jaco Greeff
62ebe257a6 u8aSorted & sortAddresses (#588) 2020-04-24 19:15:43 +02:00
Github Actions
a2844a449c [CI Skip] 2.9.0-beta.0
skip-checks: true
2020-04-24 13:38:04 +00:00
Jaco Greeff
60a9866abe Create createKeyMulti & createKeySub for utility (util-crypto) (#587)
* Create keyMulti & keysub for utility

* Bumps
2020-04-24 15:34:47 +02:00
Github Actions
b196158125 [CI Skip] 2.8.1
skip-checks: true
2020-04-09 13:12:53 +00:00
Jaco Greeff
6b1caacfb9 2.8 (#586)
* 2.8

* Typos
2020-04-09 15:10:23 +02:00
Github Actions
a7679fb07c [CI Skip] 2.8.0-beta.7
skip-checks: true
2020-04-07 19:51:29 +00:00
Jaco Greeff
c4acca6c7c eslint update 2020-04-07 21:48:07 +02:00
Github Actions
5012792693 [CI Skip] 2.8.0-beta.6
skip-checks: true
2020-04-07 19:26:31 +00:00
Jaco Greeff
d40d6c65f7 isDevelopment regex 2020-04-07 21:23:20 +02:00
Github Actions
2c0d8e4b59 [CI Skip] 2.8.0-beta.5
skip-checks: true
2020-04-06 10:25:18 +00:00
Jaco Greeff
d3d8caa0df Use bundled node (#585) 2020-04-06 12:22:31 +02:00
Github Actions
a8f8525c9d [CI Skip] 2.8.0-beta.4
skip-checks: true
2020-04-05 07:55:56 +00:00
Jaco Greeff
caa5a8b9e6 Bump deps (#584) 2020-04-05 09:52:59 +02:00
Github Actions
ce6187f378 [CI Skip] 2.8.0-beta.3
skip-checks: true
2020-04-04 08:45:26 +00:00
Jaco Greeff
fe9c7a8a80 Bump deps (#583) 2020-04-04 10:42:21 +02:00
Github Actions
d5584c1837 [CI Skip] 2.8.0-beta.2
skip-checks: true
2020-04-02 06:45:50 +00:00
Jaco Greeff
adb1c1fea4 Rewrite yarn.lock (#580) 2020-04-02 08:42:32 +02:00
Github Actions
c87c228ab1 [CI Skip] 2.8.0-beta.1
skip-checks: true
2020-04-01 19:23:33 +00:00
Jaco Greeff
cbec4add88 Bump dev (incl. lint fixes) (#579)
* Bump dev (incl. lint fixes)

* Fix failures
2020-04-01 21:20:50 +02:00
Github Actions
6429cc307c [CI Skip] 2.8.0-beta.0
skip-checks: true
2020-04-01 18:47:32 +00:00
h4x3rotab
c98e994777 Throws an error when signing with a locked keypair (#578)
* Throws an error when signing with a locked keypair

Fixes #576

* Fix lint errors

* Switch to `assert` and fix nits
2020-04-01 20:44:40 +02:00
Github Actions
697a452ba6 [CI Skip] 2.7.1
skip-checks: true
2020-03-31 11:56:12 +00:00
Jaco Greeff
f68294c4e7 2.7 (#575) 2020-03-31 13:53:10 +02:00
Github Actions
0130d18945 [CI Skip] 2.7.0-beta.8
skip-checks: true
2020-03-24 06:29:44 +00:00
Jaco Greeff
15c9904c96 Add bnSqrt (#574)
* Add bnSqrt function

* Bumps

* CHANGELOG

* Add extra case
2020-03-24 07:25:53 +01:00
Github Actions
add2749967 [CI Skip] 2.7.0-beta.7
skip-checks: true
2020-03-24 05:58:23 +00:00
Jaco Greeff
fe2f054389 wasm-crypto initNone (#573)
* wasm-crypto initNone

* noWasm to replace @polkadot/wasm-crypto interface
2020-03-24 06:55:07 +01:00
Github Actions
bb1c117727 [CI Skip] 2.7.0-beta.6
skip-checks: true
2020-03-21 09:15:30 +00:00
Jaco Greeff
27c474bd78 Bump deps (#572)
* Bump deps

* @types/jest
2020-03-21 10:12:17 +01:00
Github Actions
039b5ec932 [CI Skip] 2.7.0-beta.5
skip-checks: true
2020-03-16 14:35:40 +00:00
Jaco Greeff
9eea21e0c4 Add yarn matrix (#570)
* Add yarn matrix

* Update pr-any.yml
2020-03-16 15:32:59 +01:00
Github Actions
aab533f92e [CI Skip] 2.7.0-beta.4
skip-checks: true
2020-03-16 13:36:21 +00:00
Jaco Greeff
2159270d80 Remove actions matrix (#569)
* Remove actions matrix

* Bumps
2020-03-16 14:33:27 +01:00
Github Actions
f1b09eb2e5 [CI Skip] 2.7.0-beta.3
skip-checks: true
2020-03-15 07:21:01 +00:00
Jaco Greeff
d08cf8b5fe Remove non-working CI cache (#567) 2020-03-15 08:18:04 +01:00
Github Actions
941618b830 [CI Skip] 2.7.0-beta.2
skip-checks: true
2020-03-14 08:31:56 +00:00
Jaco Greeff
983ca718ec Bump deps (#566) 2020-03-14 09:28:16 +01:00
Github Actions
41ebdd5c59 [CI Skip] 2.7.0-beta.1
skip-checks: true
2020-03-11 06:46:07 +00:00
Jaco Greeff
8971c89081 Back to preminor (#565) 2020-03-11 07:42:45 +01:00
Github Actions
d1934060e0 [CI Skip] 2.6.2
skip-checks: true
2020-03-11 06:39:27 +00:00
Jaco Greeff
6d9da39d8b Bump dev, fix publish 2020-03-11 07:35:48 +01:00
Jaco Greeff
4ed096024e typeof __dirname !== 'undefined' before using (#564)
* typeof __dirname !== 'undefined' before using

* Use as patch

* yarn.lock

* Rewrite yarn.lock

* Shorten __dirname check
2020-03-11 07:18:52 +01:00
Github Actions
ae36d58802 [CI Skip] 2.6.1
skip-checks: true
2020-02-29 17:48:10 +00:00
Jaco Greeff
c8100dbe43 2.6 (#560)
* 2.6

* Update CHANGELOG
2020-02-29 18:44:50 +01:00
Github Actions
28d2ce38bd [CI Skip] 2.6.0-beta.8
skip-checks: true
2020-02-29 12:57:21 +00:00
Jaco Greeff
afce99ed1a Minify yarn plugins (#559) 2020-02-29 13:53:57 +01:00
Github Actions
29d13ab19c [CI Skip] 2.6.0-beta.7
skip-checks: true
2020-02-29 11:30:10 +00:00
Jaco Greeff
68a8bcb7db Remove yarn version plugin, bump dev (#558) 2020-02-29 12:27:02 +01:00
Github Actions
d2ecf1730a [CI Skip] 2.6.0-beta.6
skip-checks: true
2020-02-29 10:53:59 +00:00
Jaco Greeff
af56c10278 Add cryptoIsReady (#557)
* Add cryptoIsReady

* Bump yarn
2020-02-29 11:51:17 +01:00
Github Actions
42f318fcb5 [CI Skip] 2.6.0-beta.5
skip-checks: true
2020-02-29 09:29:29 +00:00
Jaco Greeff
336df0d76d yarn --immutable on CI (#556)
* yarn --immutable on CI

* dev bump
2020-02-29 10:26:32 +01:00
Github Actions
d85cedf5a0 [CI Skip] 2.6.0-beta.4
skip-checks: true
2020-02-28 12:19:35 +00:00
Jaco Greeff
a59187bce6 Bump dev 2020-02-28 13:16:23 +01:00
Github Actions
f9a5b75e10 [CI Skip] 2.6.0-beta.3
skip-checks: true
2020-02-28 12:06:20 +00:00
Jaco Greeff
87228149d4 Explicit gh-pages dep 2020-02-28 13:03:03 +01:00
Github Actions
67f36f6a13 [CI Skip] 2.6.0-beta.2
skip-checks: true
2020-02-28 11:32:49 +00:00
Jaco Greeff
75a9898daf Update to yarn 2 (#555) 2020-02-28 12:29:25 +01:00
Jaco Greeff
0f726ce777 Small formatting cleanups (#554)
* Small formatting cleanups

* Cleanup typos
2020-02-28 12:27:27 +01:00
Github Actions
765f9baf44 [CI Skip] 2.6.0-beta.1
skip-checks: true
2020-02-24 21:25:28 +00:00
Jaco Greeff
2d181df360 Bump wasm to 1.1 (#553)
* Bump wasm to 1.1

* typo
2020-02-24 22:23:48 +01:00
Github Actions
77ff703a08 [CI Skip] 2.6.0-beta.0
skip-checks: true
2020-02-24 10:56:56 +00:00
Jaco Greeff
804ed13d0a Add signatureVerify (#552)
* Add signatureVerify

* addressOrPublicKey typo

* Flatten verify, allow extra types

* Add signatureVerify tests

* De-dup address checksum checks
2020-02-24 11:55:15 +01:00
Jaco Greeff
341a6b0c08 Add TS 3.8 breaking feature in CHANGELOG (missed) (#551) 2020-02-24 09:08:16 +01:00
Jaco Greeff
614985b8ac Remove gh-pages script (in dev) (#549) 2020-02-22 16:56:24 +01:00
Github Actions
d5bfa8c3c4 [CI Skip] 2.5.1
skip-checks: true
2020-02-22 15:34:36 +00:00
Jaco Greeff
359981d2ef Add pages refresh script (#548) 2020-02-22 16:32:41 +01:00
Jaco Greeff
b0ee79f90c 2.5 (#547) 2020-02-22 15:57:33 +01:00
Github Actions
c2d595fb3f [CI Skip] 2.5.0-beta.3
skip-checks: true
2020-02-22 14:23:29 +00:00
Jaco Greeff
f837200a73 Fix isChildClass with correct is assertion (#546)
* Fix isChildClass with correct is assertion

* Remove stray any, allow never
2020-02-22 15:21:24 +01:00
Github Actions
ea7dd553a2 [CI Skip] 2.5.0-beta.2
skip-checks: true
2020-02-22 13:46:55 +00:00
Jaco Greeff
7c1ca3a5c9 Use #<varname> instead of private _<varname> (#545)
* Use #<varname> insead of private _<varname>

* Update key extraction paths
2020-02-22 14:45:31 +01:00
Github Actions
75cd547b49 [CI Skip] 2.5.0-beta.1
skip-checks: true
2020-02-22 12:27:44 +00:00
Jaco Greeff
91c4c407a9 Add isChildClass (#544)
* Add isChildClass

* isChildClass is return

* Cleanup doc example
2020-02-22 13:26:12 +01:00
Github Actions
20b46a65fa [CI Skip] 2.5.0-beta.0
skip-checks: true
2020-02-21 15:56:13 +00:00
Jaco Greeff
c60459e303 Add isBigInt & bnToBn support for (#542)
* Add isBigInt & bnToBn support for

* All BN inputs allow BigInt
2020-02-21 16:54:33 +01:00
Jaco Greeff
92ab4699b3 Re-add code build 2020-02-20 20:56:31 +01:00
Jaco Greeff
932f4c25f5 Docs rebuild 2020-02-20 20:52:19 +01:00
Jaco Greeff
aaa35a8198 trigger docs 2020-02-20 17:45:57 +01:00
Github Actions
9708131620 [CI Skip] 2.4.1
skip-checks: true
2020-02-18 08:02:01 +00:00
Jaco Greeff
c539430a0b 2.4 (#539) 2020-02-18 09:00:08 +01:00
Github Actions
8defc792a9 [CI Skip] 2.4.0-beta.2
skip-checks: true
2020-02-17 15:25:48 +00:00
Jaco Greeff
76a0daeed6 Use ss58 format on keyring for the keyring only (#538)
* Use ss58 format on keyring for the keyring only

* Cleanup args

* Cleanup failures

* Remove deprecated addressPrefix

* Update CHANGELOG
2020-02-17 16:24:03 +01:00
Github Actions
e236fdc396 [CI Skip] 2.4.0-beta.1
skip-checks: true
2020-02-17 14:07:53 +00:00
Jaco Greeff
e30dd7c0d9 Add GH actions yarn cache (#537) 2020-02-17 15:06:00 +01:00
Github Actions
f3ac6b2674 [CI Skip] 2.4.0-beta.0
skip-checks: true
2020-02-17 11:18:01 +00:00
Jaco Greeff
171015fbba formatBalance adjustments (#536)
* formatBalance extensions

* Fly-by any removals

* isBn updates

* Remove unneeded ()'s
2020-02-17 12:16:02 +01:00
Github Actions
dca36e41fd [CI Skip] 2.3.1
skip-checks: true
2020-02-15 11:00:43 +00:00
Jaco Greeff
a602b0409c 2.3 (#535) 2020-02-15 11:59:04 +01:00
Github Actions
04d79da155 [CI Skip] 2.3.0-beta.9
skip-checks: true
2020-02-15 10:26:00 +00:00
Jaco Greeff
81a31519db Move date formatter to format (#534)
* Move date formatter to format

* Cleanup padding
2020-02-15 11:24:16 +01:00
Github Actions
78e39dcf34 [CI Skip] 2.3.0-beta.8
skip-checks: true
2020-02-15 10:09:19 +00:00
Jaco Greeff
6194660b3b Bump @polkadot/wasm to 1.0 (#533) 2020-02-15 11:07:33 +01:00
AndreasGassmann
2e08018718 feat(dependencies): remove moment.js (#530)
* feat(dependencies): remove moment.js

* fix(dependencies): remove yarn from yarn.lock

* feat(log-date-formatting): rename function

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-02-15 11:06:45 +01:00
Github Actions
b0d6ccdbd4 [CI Skip] 2.3.0-beta.7
skip-checks: true
2020-02-15 09:27:10 +00:00
Jaco Greeff
48b753b8ac CHANGELOG update (#532) 2020-02-15 10:25:23 +01:00
Github Actions
506bc59f86 [CI Skip] 2.3.0-beta.6
skip-checks: true
2020-02-14 11:33:24 +00:00
AndreasGassmann
f86fcc6044 feat(dependencies): move types to dev dependencies (#531) 2020-02-14 12:31:29 +01:00
Github Actions
e8d2a439d5 [CI Skip] 2.3.0-beta.5
skip-checks: true
2020-02-14 08:43:15 +00:00
Jaco Greeff
9fa6b5bffa Bump dev, CI scripts (#529) 2020-02-14 09:41:29 +01:00
Github Actions
932ef41aae [CI Skip] 2.3.0-beta.4
skip-checks: true
2020-02-14 07:41:39 +00:00
Jaco Greeff
3910853ba1 Bump dev (#528) 2020-02-14 08:39:58 +01:00
Github Actions
6956e88708 [CI Skip] 2.3.0-beta.3
skip-checks: true
2020-02-14 07:11:09 +00:00
Jaco Greeff
3769b99cd2 Bump dev (#527)
* Bump dev

* Bumps
2020-02-14 08:09:29 +01:00
Github Actions
ee17054b38 [CI Skip] 2.3.0-beta.2
skip-checks: true
2020-02-13 21:50:26 +00:00
Jaco Greeff
72cfbddd4a Bump dev (#526)
* Bump dev

* Bumps

* Bump

* Bump
2020-02-13 22:48:36 +01:00
Github Actions
cffb23728d [CI Skip] 2.3.0-beta.1
skip-checks: true
2020-02-13 13:57:56 +00:00
Jaco Greeff
a69dc01c78 Bump dev (#525) 2020-02-13 14:56:10 +01:00
Github Actions
d889c71056 [CI Skip] 2.3.0-beta.0
skip-checks: true
2020-02-12 15:20:17 +00:00
Jaco Greeff
8eef3f9989 Cleanup explicit deps & bump deps (#523) 2020-02-12 16:18:21 +01:00
Github Actions
3112e43715 [CI Skip] 2.2.1
skip-checks: true
2020-02-06 14:46:00 +00:00
Jaco Greeff
fc9a5ac25f 2.2 (#520) 2020-02-06 15:44:11 +01:00
Github Actions
242b107752 [CI Skip] 2.2.0-beta.0
skip-checks: true
2020-02-06 13:51:56 +00:00
Jaco Greeff
bf5ba0f405 Add resolver for jest (#519) 2020-02-06 14:49:55 +01:00
Github Actions
e4de3a1339 [CI Skip] 2.1.1
skip-checks: true
2020-02-04 12:53:47 +00:00
Jaco Greeff
69279f1b81 2.1 (#518) 2020-02-04 13:51:51 +01:00
Github Actions
303c822d48 [CI Skip] 2.1.0-beta.1
skip-checks: true
2020-02-04 10:39:58 +00:00
Jaco Greeff
90ca8a0d78 Backwards compat. on detctPackage (#517) 2020-02-04 11:38:00 +01:00
Github Actions
94bbc6f2ee [CI Skip] 2.1.0-beta.0
skip-checks: true
2020-02-03 12:23:51 +00:00
Jaco Greeff
f4be1fe52e Multiple versions with __dirname (#515)
* Multiple versions with __dirname

* Fallback for __dirname

* Update path

* Flatten versions extracted

* Expand display for versions
2020-02-03 13:21:46 +01:00
Github Actions
d3f6f3621b [CI Skip] 2.0.1
skip-checks: true
2020-01-30 15:10:33 +00:00
Jaco Greeff
ea9ad6f389 2.0 (#514) 2020-01-30 16:08:33 +01:00
Github Actions
b03ce51a31 [CI Skip] 2.0.0-beta.10
skip-checks: true
2020-01-29 09:25:20 +00:00
Jaco Greeff
b8411bb0ea Bump deps (#513)
* Bump deps

* Linting
2020-01-29 10:23:27 +01:00
Github Actions
36b53c5a8e [CI Skip] 2.0.0-beta.9
skip-checks: true
2020-01-28 17:42:32 +00:00
Jaco Greeff
e60bbbeb59 Trigger (#510) 2020-01-28 18:40:19 +01:00
Jaco Greeff
eb90564260 Trigger (#509) 2020-01-28 18:34:38 +01:00
Github Actions
1c151ca04a [CI Skip] 2.0.0-beta.8
skip-checks: true
2020-01-28 17:32:16 +00:00
Jaco Greeff
249919502a Package.json alias 2020-01-28 18:30:12 +01:00
Github Actions
a2f9614ce8 [CI Skip] 2.0.0-beta.7
skip-checks: true
2020-01-28 16:15:04 +00:00
Jaco Greeff
98bdc9950a Introduce detectPackage (with versioning) (#508)
* Introduce detectPackage (with versioning)

* Update expectation
2020-01-28 17:13:02 +01:00
Github Actions
1387839696 [CI Skip] 2.0.0-beta.6
skip-checks: true
2020-01-25 11:12:06 +00:00
Jaco Greeff
4e8cb2af2f Bump deps (#507)
* Bump deps

* Remove mdEngine

* Re-add mdEngine (SUMMARY.md to be generated)

* Update dev

* Remove mdEngine
2020-01-25 12:10:09 +01:00
Github Actions
dd0de55638 [CI Skip] 2.0.0-beta.5
skip-checks: true
2020-01-23 15:09:25 +00:00
Jaco Greeff
e09d0ca5ca Allow with expanded SI unit (m -> milli) (#505) 2020-01-23 16:07:01 +01:00
Github Actions
41f024d0fc [CI Skip] 2.0.0-beta.4
skip-checks: true
2020-01-15 11:29:28 +00:00
Jaco Greeff
4ce452b40a Remove client-only packages (#503) 2020-01-15 12:27:12 +01:00
Github Actions
0a8ab20744 [CI Skip] 2.0.0-beta.3
skip-checks: true
2020-01-15 11:20:32 +00:00
Jaco Greeff
d108970d09 Small function cleanups (#502) 2020-01-15 12:17:38 +01:00
Github Actions
7fb1adb94e [CI Skip] 2.0.0-beta.2
skip-checks: true
2020-01-14 10:17:06 +00:00
Jaco Greeff
b7635d7e2b Remove alice_session testing account (#501)
* Remove alice_session testing account

* Remove session check
2020-01-14 11:14:10 +01:00
Github Actions
2273ce8bd3 [CI Skip] 2.0.0-beta.1
skip-checks: true
2020-01-13 16:02:49 +00:00
Jaco Greeff
cfdf629b49 Bump to 2.0-beta (#500)
* Bump to 2.0-beta

* Bump wasm
2020-01-13 17:00:00 +01:00
Github Actions
f5f35ee3bf [CI Skip] 1.8.1
skip-checks: true
2020-01-09 10:08:27 +00:00
Jaco Greeff
c776f0d815 1.8 (#499) 2020-01-09 11:05:30 +01:00
Github Actions
c1a23937bd [CI Skip] 1.8.0-beta.3
skip-checks: true
2020-01-06 12:46:24 +00:00
Jaco Greeff
241febb707 Bump deps (#497) 2020-01-06 13:43:49 +01:00
Github Actions
357c7368d2 [CI Skip] 1.8.0-beta.2
skip-checks: true
2019-12-17 10:14:45 +00:00
Hyungsuk Kang
4e4ff5de4b Add cross client Encryption/Decryption (#496)
* chore: add a test

* Add KDF case for double ratchet

* chore: add .idea in .gitignore

* chore: add .vscode to .gitignore

* Remove comma-dangle
2019-12-17 11:12:06 +01:00
Github Actions
8d80bf869b [CI Skip] 1.8.0-beta.1
skip-checks: true
2019-12-07 13:01:32 +00:00
Jaco Greeff
337c67ff30 Bump deps (#495) 2019-12-07 13:58:41 +01:00
Github Actions
66573f6234 [CI Skip] 1.8.0-beta.0
skip-checks: true
2019-12-05 09:31:19 +00:00
Jaco Greeff
408129d5ca Bump deps (#494)
* Bump deps

* Linting
2019-12-05 10:28:40 +01:00
Github Actions
efa6661817 [CI Skip] 1.7.1
skip-checks: true
2019-11-27 18:51:43 +00:00
Jaco Greeff
c988d5011c 1.7 (#493) 2019-11-27 19:49:06 +01:00
Github Actions
f173bb3d2a [CI Skip] 1.7.0-beta.8
skip-checks: true
2019-11-26 10:54:25 +00:00
Jaco Greeff
1f0368061f Bump deps (#492)
* Bump deps

* Add dummy skip step
2019-11-26 11:51:36 +01:00
Github Actions
45ef924862 [CI Skip] 1.7.0-beta.7
skip-checks: true
2019-11-13 09:20:15 +00:00
Jaco Greeff
dec88b6ab7 Bump deps (#490) 2019-11-13 10:17:40 +01:00
Github Actions
ed402341dc [CI Skip] 1.7.0-beta.6 2019-11-11 08:46:16 +00:00
Jaco Greeff
76a9f2787c assert does asserts conditions (TS 3.7) (#489)
* assert does asserts conditions (TS 3.7)

* Throw in condition

* Fix cleanup
2019-11-11 09:43:05 +01:00
Github Actions
5b1c9b8ccb [CI Skip] 1.7.0-beta.5 2019-11-06 21:21:52 +00:00
Jaco Greeff
af751c6c89 Bump deps (#488) 2019-11-06 22:18:57 +01:00
Github Actions
4ab8dd70bd [CI Skip] 1.7.0-beta.4 2019-11-06 14:25:04 +00:00
Jaco Greeff
a5f59ca926 Derive operation on keypair (#487)
* Derive operation on keypair

* nobody -> derive

* Derivation tests
2019-11-06 15:22:12 +01:00
Github Actions
71f26aac8d [CI Skip] 1.7.0-beta.3 2019-11-05 13:23:00 +00:00
Github Actions
cc7d6a2e01 [CI Skip] 1.7.0-beta.2 2019-11-05 13:18:06 +00:00
Jaco Greeff
e29f0a3920 Update .123trigger 2019-11-05 14:14:44 +01:00
Jaco Greeff
f38975d126 Allow forcing of units in formatBalance (#486) 2019-11-05 13:53:49 +01:00
Github Actions
dc4b59bb0c [CI Skip] 1.7.0-beta.1 2019-10-31 17:22:55 +00:00
Keith Ingram
2f5df085b6 move SiDef type (#485) 2019-10-31 19:19:56 +02:00
Github Actions
225ca1de00 [CI Skip] 1.7.0-beta.0 2019-10-28 16:19:21 +00:00
Jaco Greeff
aeb500e804 Use GH_PAT is checkout action 2019-10-28 17:15:38 +01:00
Github Actions
e9dd6f1efc [CI Skip] 1.6.1 2019-10-24 11:44:24 +00:00
Jaco Greeff
563dbbf7e4 1.6 (#484) 2019-10-24 13:41:06 +02:00
Github Actions
5a5bc7da0b [CI Skip] 1.6.0-beta.13 2019-10-24 10:13:28 +00:00
Jaco Greeff
fb2c51a49b Extend sign(message, options?) with withType (#483) 2019-10-24 12:10:11 +02:00
Github Actions
568e3b7840 [CI Skip] 1.6.0-beta.12 2019-10-22 13:13:03 +00:00
Jaco Greeff
87d69d7098 Excl. tsconfig build (#482) 2019-10-22 15:09:33 +02:00
Github Actions
255cd93bf4 [CI Skip] 1.6.0-beta.11 2019-10-22 09:19:34 +00:00
Jaco Greeff
ef5780996e Bump deps (#481) 2019-10-22 11:15:59 +02:00
Github Actions
5155ae8d2b [CI Skip] 1.6.0-beta.10 2019-10-12 13:09:06 +00:00
Jaco Greeff
f1447ffcbc Update build (#479) 2019-10-12 15:06:11 +02:00
Jaco Greeff
64e9ec5044 [CI Skip] 1.6.0-beta.9 2019-10-09 12:53:09 +00:00
Jaco Greeff
05986f6d64 Bumps, fix GH pages deploy 2019-10-09 14:48:31 +02:00
Jaco Greeff
caca69525a [CI Skip] 1.6.0-beta.8 2019-10-09 12:32:18 +00:00
Jaco Greeff
845398846c Alias GH_TOKEN 2019-10-09 14:27:56 +02:00
Jaco Greeff
412ca6ccd7 [CI Skip] 1.6.0-beta.7 2019-10-09 12:22:40 +00:00
Jaco Greeff
9232fd5a91 [CI Skip] 1.6.0-beta.6 2019-10-09 12:18:00 +00:00
Jaco Greeff
49174d181e [CI Skip] 1.6.0-beta.5 2019-10-09 12:13:41 +00:00
Jaco Greeff
c5bc09fde7 Swap CI to GH actions (#477) 2019-10-09 14:08:27 +02:00
Travis CI
1a436906f5 [CI Skip] 1.6.0-beta.4 2019-10-08 12:32:21 +00:00
Jaco Greeff
d7bb55c003 Bump deps (#476)
* Bump deps

* Rewrite yarn.lock
2019-10-08 14:15:52 +02:00
Jaco Greeff
50f015a713 Rename push.yml to pr.yml 2019-10-07 16:16:01 +02:00
Travis CI
1c94508d61 [CI Skip] 1.6.0-beta.3 2019-10-07 13:34:01 +00:00
Jaco Greeff
ddb007de7b Action only on PR 2019-10-07 15:23:12 +02:00
Travis CI
8bee7d5d6b [CI Skip] 1.6.0-beta.2 2019-10-07 11:34:46 +00:00
Jaco Greeff
253eea9249 Run action on PR 2019-10-07 13:07:33 +02:00
Travis CI
502fdc1e32 [CI Skip] 1.6.0-beta.1 2019-10-04 09:37:00 +00:00
Jaco Greeff
f3aaaede25 Split GH actions build (docs & code) (#475)
* Split GH actions build (docs & code)

* Rename action
2019-10-04 11:25:25 +02:00
Travis CI
309d691938 [CI Skip] 1.6.0-beta.0 2019-10-04 07:41:28 +00:00
Jaco Greeff
4d6438c3e7 Add GH actions (#474) 2019-10-04 09:21:03 +02:00
844 changed files with 89103 additions and 24586 deletions

View File

@@ -1 +0,0 @@
1

View File

@@ -1 +0,0 @@
module.exports = require('./babel.config.js');

View File

@@ -1,21 +0,0 @@
version: 2
jobs:
build:
working_directory: ~/polkadot-js
docker:
- image: circleci/node:10
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: install-deps
command: yarn install --frozen-lockfile
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- ~/.cache/yarn
- run:
name: build
command: yarn polkadot-dev-circleci-build

View File

@@ -1,4 +0,0 @@
exclude_patterns:
- "**/*.spec.js"
- "**/*.spec.ts"
- "docs/**/*.js"

View File

@@ -1,3 +0,0 @@
**/build/*
**/coverage/*
**/node_modules/*

View File

@@ -1,11 +0,0 @@
const base = require('@polkadot/dev/config/eslint');
module.exports = {
...base,
parserOptions: {
...base.parserOptions,
project: [
'./tsconfig.eslint.json'
]
}
};

86
.github/issue_template.md vendored Normal file
View File

@@ -0,0 +1,86 @@
<!--
For general support, howto, coding and bundling questions, please
use the Substrate & Polkadot StackExchange at
https://substrate.stackexchange.com/
and get other ecosystem developers involved. This issues in this
repository are meant for the tracking of feature requests and bug
reports.
While all issues are looked at non-bug and non-features would take
quite a bit longer to get to and may yield less than satisfactory
responses in this format.
Additionally, please ensure you have done a search on the existing
and closed issues before logging a new request. This saves time on
all sides.
-->
* **I'm submitting a ...**
<!---
REQUIRED:
Classify the type of report your are submitting
-->
- [ ] Bug report
- [ ] Feature request
- [ ] Support request
- [ ] Other
* **What is the current behavior and expected behavior?**
<!---
REQUIRED:
If you're describing a bug, tell us what should happen. If you're
suggesting a change/improvement, tell us how it should work.
-->
* **What is the motivation for changing the behavior?**
<!---
OPTIONAL:
Suggest a motivation for the request or ideas how to implement the
addition or change
-->
* **Please tell us about your environment:**
<!---
REQUIRED:
Include as many relevant details about the environment in which you
experienced the issue. Also ensure that you have tested against the
latest stable releases if you believe this to be a bug
-->
- Version:
- Environment:
- [ ] Node.js
- [ ] Browser
- [ ] Other (limited support for other environments)
- Language:
- [ ] JavaScript
- [ ] TypeScript (include tsc --version)
- [ ] Other

16
.github/workflows/auto-approve.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: bot
on:
pull_request:
types: [labeled]
jobs:
approve:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)"
runs-on: ubuntu-latest
steps:
- uses: jacogr/action-approve@795afd1dd096a2071d7ec98740661af4e853b7da
with:
authors: jacogr, TarikGul
labels: -auto
token: ${{ secrets.GH_PAT_BOT }}

16
.github/workflows/auto-merge.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: bot
on:
pull_request:
types: [labeled]
jobs:
merge:
runs-on: ubuntu-latest
steps:
- uses: jacogr/action-merge@d2d64b4545acd93b0a9575177d3d215ae3f92029
with:
checks: pr (build),pr (lint),pr (test)
labels: -auto
strategy: squash
token: ${{ secrets.GH_PAT_BOT }}

25
.github/workflows/lock.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: 'Lock Threads'
on:
schedule:
- cron: '15 1/3 * * *'
jobs:
lock:
runs-on: ubuntu-latest
env:
YARN_ENABLE_SCRIPTS: false
steps:
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836
with:
github-token: ${{ secrets.GH_PAT_BOT }}
issue-inactive-days: '7'
issue-comment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue
if you think you have a related problem or query.
pr-inactive-days: '2'
pr-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

28
.github/workflows/pr-any.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: PR
on: [pull_request]
jobs:
pr:
continue-on-error: true
strategy:
matrix:
step: ['lint', 'test', 'build', 'deno']
runs-on: ubuntu-latest
env:
YARN_ENABLE_SCRIPTS: false
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- uses: denoland/setup-deno@v1
with:
# Deno v2 throws errors with specific types therefore we set it to the last version before v2
deno-version: v1.46.3
- name: ${{ matrix.step }}
if: always()
run: |
deno --version
yarn install --immutable
yarn ${{ matrix.step }}

31
.github/workflows/push-master.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Master
on:
push:
branches:
- master
jobs:
master:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]')"
strategy:
matrix:
step: ['build:release']
runs-on: ubuntu-latest
env:
YARN_ENABLE_SCRIPTS: false
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
GH_PAT: ${{ secrets.GH_PAT_BOT }}
GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT_BOT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_PAT_BOT }}
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: ${{ matrix.step }}
run: |
yarn install --immutable
yarn ${{ matrix.step }}

14
.gitignore vendored
View File

@@ -1,22 +1,28 @@
--test-*
_book/
build/
build-docs/
build-*/
coverage/
docs/.vuepress/dist/
node_modules/
tmp/
/import_map.json
/mod.ts
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.idea
.npmrc
.vscode
.yarn/*
!.yarn/releases
!.yarn/plugins
.pnp.*
cc-test-reporter
lerna-debug.log*
npm-debug.log*
package-lock.json
yarn-debug.log*
yarn-error.log*
store.db
store.db.compacted
tsconfig.*buildinfo

3
.mailmap Normal file
View File

@@ -0,0 +1,3 @@
Jaco <jacogr@gmail.com>
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> <action@github.com>
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Github Actions <action@github.com>

1
.nvmrc
View File

@@ -1 +0,0 @@
10

3
.prettierignore Normal file
View File

@@ -0,0 +1,3 @@
build
coverage
packages

4
.prettierrc.cjs Normal file
View File

@@ -0,0 +1,4 @@
// Copyright 2017-2026 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
module.exports = require('@polkadot/dev/config/prettier.cjs');

View File

@@ -1,28 +0,0 @@
language: node_js
node_js:
- "10"
env:
global:
- CC_TEST_REPORTER_ID=27a299582eb7fd9580e27897a6ecda1c82a1cd24bcfe2f2ebda1ca70238509b4
- GH_PAGES_SRC="build-docs"
cache:
yarn: true
directories:
- node_modules
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- export PATH=$HOME/.yarn/bin:$(yarn global bin):$PATH
before_script:
- ./cc-test-reporter before-build
script:
- yarn polkadot-dev-travis-build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
deploy:
skip_cleanup: true
provider: script
script: yarn polkadot-dev-travis-deploy
on:
branch: master

948
.yarn/releases/yarn-4.9.1.cjs vendored Executable file

File diff suppressed because one or more lines are too long

24
.yarnrc.yml Normal file
View File

@@ -0,0 +1,24 @@
compressionLevel: mixed
enableGlobalCache: false
enableImmutableInstalls: false
enableProgressBars: false
logFilters:
- code: YN0013
level: discard
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.9.1.cjs
# @quantus packages come from the Gitea registry. Safe as a whole-scope route
# because we own every name in it — unlike @polkadot, where routing the scope
# would send yarn looking for dozens of unforked packages that are not there.
#
# Reads are anonymous; publishing needs `pass gitea/package-publisher-token`.
npmScopes:
quantus:
npmRegistryServer: "https://git.lair.cafe/api/packages/quantus/npm/"

File diff suppressed because it is too large Load Diff

77
CONTRIBUTORS Normal file
View File

@@ -0,0 +1,77 @@
1674 Jaco Bump deps (#1912)
47 Tarik Gul 14.0.3 (#2025)
13 Carlo Sala feat(networks): add zeitgeist Ledger support (#1840)
11 Valentin Fernandez 13.5.7 (#2008)
9 Antoine Estienne Add eth uri keyring test (#1291)
9 rajk93 14.0.1 (#2014)
6 Amaury Martiny Add tests from Rust (#283)
6 Jakub Pánik HydraDX -> Hydration rebrand (#1923)
5 Arjun Porwal 13.5.6 (#2004)
5 kwingram25 Add BN consts and timeToString (#610)
4 Adam Dossa Update Polymesh Genesis Hash (#1193)
4 pan add bifrost kusama (#1626)
3 AndreasGassmann fix(util-crypto): use correct x/y getters in secp256k1Expand (#2018)
3 Luke Schoen docs: Fix example in readme since we use default imports (#243)
2 Cameron Fairchild Add bittensor details (#1783)
2 Gav Wood Fix stake:unstake (#182)
2 Hyungsuk Kang Add cross client Encryption/Decryption (#496)
2 Jared Norris Add Sora network (#1306)
2 Kami Adding Westend genesis. (#1429)
2 Lovesh Harchandani Update genesis hash of Dock mainnet (#1436)
2 Nantian fix bigint type (#1079)
2 Stefanie Doll Add missing dependencies to util-crypto (#424)
1 Agustinus Theodorus docs: fix typo in naclSeal docs. (#1005)
1 Aleš Ferlan feat: allow setting of thousand/decimal separators (#1722)
1 Alex Sedighi fix Nodle's known network name (#1699)
1 Alexander Krupenkin Added ECDSA keypair support (#589)
1 alexdniep added equilibrium slip44; added equilibrium genesis hash (#984)
1 amphineko chore: fix typo in versionDetect messages (#941)
1 Axel Chalon Simplify @polkadot/keyring KeyringPair (#419)
1 Brad Larson [FIX] Adjust error message (#646)
1 Carlos Medeiros add hydradx to knownLedger (#1647)
1 Chris Get rid of warnings for dual esm and cjs packages of the same version (#1890)
1 Dmitrii Novikov Add `Vara` support to Generic Ledger App (#1958)
1 Eliott Teissonniere add nodle ledger specs (#1089)
1 Francis O'Brien Fix(hw-ledger): reset transport on operation errors and add explicit disconnect API (#2024)
1 Guilane DENGUIR feat(VTB): Added support for VTB blockchain (#1651)
1 h4x3rotab Throws an error when signing with a locked keypair (#578)
1 Harry Liu Update README.md (#446)
1 henrikdent Add DENTNet ledger support (via generic Polkadot app) (#1942)
1 Hoon Kim replace plasm genesis with astar (#1397)
1 Hussein Ait-Lahcen Add Picasso Genesis Hash (#1261)
1 Igor Support genshiro network (#1148)
1 Jake Naviasky Add evmToAddress and addressToEvm crypto utils. (#705)
1 JesseAbram added check if valid address to docs (#440)
1 joe petrowski Add example for multisig address creation (#590)
1 José Molina Colmenero Add ledger support for Mythos (#1969)
1 kaelnew add ledger support for stafi (#1569)
1 Leonardo Custodio Ledger support (#1879)
1 Leonardo Razovic feat: add Polimec (#1945)
1 Lezek123 logger - wildcard include/exclude with DEBUG env (#932)
1 Lovish Arora Add peaq support for ledger (#1928)
1 Mario Neises remove redudant export (#257)
1 Miguel Hervas Add CFG Ledger Support (#1057)
1 Mikhail Fedosov feat: add 3dpass network (#1769)
1 Mohsan Riaz Add Ternoa for ledger hardware support (#1711)
1 nahuseyoum Reserving 65 for Aventus based on the new extended range (#871)
1 Nantian add acala ledger config (#1485)
1 Paul Miller sr25519: switch from wasm to micro-sr25519 (#1971)
1 peetzweg/ adds `isRiscV` guard function similar to isWasm (#1878)
1 qwer951123 Add acala genesis (#1161)
1 Radek Bochenek feat: add Liberland support to Generic Ledger App (#1989)
1 Raoul Millais Fix yarn add instructions in x-global README (#873)
1 Raymond Zhong Add Edgeware ledger app (#1006)
1 Reto Trinkler Adding 4 as address type of ss58 for Katal Chain (#639)
1 Rocco Musolino remove doc broken link (#697)
1 Salina Add Creditcoin3 support to Generic Ledger App (#1985)
1 Shamilkhan Add genesis hash for Cere Network (#1806)
1 Song Zhou Add in ability to encrypt/decrypt msg with keyring (#1070)
1 Thibaut Sardan add hasLedgerSupport prop to networks (#835)
1 Tomokazu Kozuma fix comment (#1119)
1 Tore19 Add stafi genesis hash (#1096)
1 Wei Tang ss58: add Kulupu prefix to the list (#595)
1 Wil Wade Add Frequency to the Generic Ledger App (#1955)
1 WoeOm Handing high precision scenes (#450)
1 xx network Add xxnetwork genesis hash and ledger app (#1463)
1 Yaroslav Bolyukin Add quartz support for ledger, update unique slip-0044 identifier (#1882)
1 Yuri Extra check for process for browser bundles (#923)

View File

@@ -1,10 +1,3 @@
[![polkadotjs](https://img.shields.io/badge/polkadot-js-orange?logo=&style=flat-square)](https://polkadot.js.org)
![license](https://img.shields.io/badge/License-Apache%202.0-blue?logo=apache&style=flat-square)
[![npm](https://img.shields.io/npm/v/@polkadot/util?logo=npm&style=flat-square)](https://www.npmjs.com/package/@polkadot/util)
[![beta](https://img.shields.io/npm/v/@polkadot/util/beta?label=beta&logo=npm&style=flat-square)](https://www.npmjs.com/package/@polkadot/util)
[![maintainability](https://img.shields.io/codeclimate/maintainability-percentage/polkadot-js/common?logo=code-climate&style=flat-square)](https://codeclimate.com/github/polkadot-js/common)
[![coverage](https://img.shields.io/codeclimate/coverage/polkadot-js/common?logo=code-climate&style=flat-square)](https://codeclimate.com/github/polkadot-js/common)
# @polkadot/common
Various useful utility functions that are used across all projects in the [@polkadot](https://polkadot.js.org) namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.
@@ -16,13 +9,6 @@ This repository is split up into a number of internal packages, namely utilities
- [keyring](packages/keyring/) Keyring management
- [util](packages/util/) General utilities
- [util-crypto](packages/util-crypto/) Crypto and hashing utilities
- [util-rlp](packages/util-rlp/) RLP encoding & decoding
Various useful trie and database interfaces -
- [db](packages/db/) Sync memory and disk database interfaces
- [trie-db](packages/trie-db/) Merkle Patricia Tree implementation adapted for Polkadot
- [trie-hash](packages/trie-hash/) Calculate hashes (either ordered or unordered) from a set of inputs
## development

View File

@@ -1,3 +0,0 @@
module.exports = {
extends: '@polkadot/dev/config/babel'
};

View File

@@ -1,17 +0,0 @@
#!/bin/bash
function copy_folder () {
SRC="packages/$1/build"
DST="../apps/node_modules/@polkadot/$1"
echo "** Copying $SRC to $DST"
rm -rf $DST
cp -r $SRC $DST
}
yarn polkadot-dev-build-ts
copy_folder "keyring"
copy_folder "util"
copy_folder "util-crypto"

View File

@@ -0,0 +1 @@

View File

@@ -1,41 +0,0 @@
module.exports = {
base: '/common/',
title: 'polkadot-js/common',
description: 'Common utilities and libraries that are in use accross all @polkadot projects',
markdown: {
lineNumbers: true
},
themeConfig: {
displayAllHeaders: true,
nav: [
{ text: 'Polkadot/Substrate Apps', link: 'https://polkadot.js.org/apps/' },
{ text: 'Project family', link: 'https://polkadot.js.org/' },
{
text: 'Documentation',
items: [
{ text: 'API Reference', link: 'https://polkadot.js.org/api/' },
{ text: 'Utility Reference (this)', link: 'https://polkadot.js.org/common/' },
{ text: 'UI Libs Reference', link: 'https://polkadot.js.org/ui/' },
]
},
{ text: 'GitHub', link: 'https://github.com/polkadot-js/common' }
],
search: false,
sidebar: [
{
title: 'Examples (keyring)',
path: '/examples/keyring/',
collapsable: false,
sidebarDepth: 1,
children: [
['/examples/keyring/01_create_account/', 'Create account'],
['/examples/keyring/02_load_accounts/', 'Load Accounts']
]
},
['/util/', '@polkadot/util'],
['/util-crypto/', '@polkadot/util-crypto'],
['/keyring/', '@polkadot/keyring'],
'/CONTRIBUTING.md'
]
}
};

View File

@@ -1,9 +0,0 @@
$accentColor = #fd8824
$textColor = #2c3e50
.home .hero .description,
.home .feature h2,
.home .feature p {
color: $textColor
opacity: 0.75
}

12
docs/404.html Normal file
View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=0.5, maximum-scale=1">
<meta http-equiv="refresh" content="0;URL='https://polkadot.js.org/docs/'" />
<title>Redirecting to https://polkadot.js.org/docs/</title>
</head>
<body>
Redirecting to <a href="https://polkadot.js.org/docs/">https://polkadot.js.org/docs/</a>
</body>
</html>

View File

@@ -1,51 +0,0 @@
---
home: true
heroText:
tagline:
# Bringing JavaScript to the Polkadot world.
# actionText: Repository Overview
# actionLink: /REPOS.md
features:
- title: Keyring
details: Manage user keys allowing for signing, encryption and decryption.
- title: Utilities
details: Various user utilities to work with data and perform check on it.
- title: Crypto
details: A thin and easy-to-use wrapper around cryptographic and hashing libraries.
footer: Apache-2 Licensed | Copyright © 2017-2019 polkadot-js authors and contributors
---
## Welcome
Various useful utility functions that are used across all projects in the [@polkadot](https://polkadot.js.org) namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.
::: tip Examples
In a rush and just want examples? [Jump right in](/examples/keyring/) and get a handle on using the various components in your projects.
:::
## Available packages
It is split up into a number of internal packages, namely utilities -
- [keyring](keyring/README.md) Keyring management
- [util](util/README.md) General utilities
- [util-crypto](util-crypto/README.md) Crypto and hashing utilities
## The Polkadot Project
You can read more about the Polkadot Network at [https://polkadot.network/](https://polkadot.network/)
## Github repositories
You can find the Polkadot repositories at:
- [https://github.com/polkadot-js](https://github.com/polkadot-js)
- [https://github.com/paritytech/polkadot](https://github.com/paritytech/polkadot)
- [https://github.com/paritytech/substrate](https://github.com/paritytech/substrate)
This documentation is generated from [https://github.com/polkadot-js/common](https://github.com/polkadot-js/common)
## Contributing
Contribution to Polkadot JS Common are more than welcome. You can [report issues](https://github.com/polkadot-js/common/issues/new) and [log feature requests](https://github.com/polkadot-js/common/issues/new).

View File

@@ -1 +0,0 @@
yarn.lock

View File

@@ -1,5 +0,0 @@
# Create Account
The following example shows how to create and account with keyring.
<<< @/docs/examples/keyring/01_create_account/index.js

View File

@@ -1,21 +0,0 @@
/* eslint-disable @typescript-eslint/require-await */
/* eslint-disable @typescript-eslint/unbound-method */
/* eslint-disable @typescript-eslint/no-var-requires */
// Import Keyring class and utility function
const Keyring = require('@polkadot/keyring').default;
const stringToU8a = require('@polkadot/util/string/toU8a').default;
async function main () {
// Create account seed for Alice
const ALICE_SEED = 'Alice'.padEnd(32, ' ');
// Create an instance of the Keyring
const keyring = new Keyring();
// Create pair and add Alice to keyring pair dictionary (with account seed)
const pairAlice = keyring.addFromSeed(stringToU8a(ALICE_SEED));
console.log(`Created keyring pair for Alice with address: ${keyring.getPair(pairAlice.address).address}`);
}
main().catch(console.error).finally(() => process.exit());

View File

@@ -1,19 +0,0 @@
{
"name": "01_create_account",
"version": "0.1.0",
"description": "Example showing how to create an account",
"main": "index.js",
"author": "ltfschoen",
"license": "MIT",
"scripts": {
"clean": "rimraf node_modules",
"start": "node index.js"
},
"dependencies": {
"@polkadot/util": "^0.32.10",
"@polkadot/keyring": "^0.32.10"
},
"devDependencies": {
"rimraf": "^2.6.2"
}
}

View File

@@ -1,5 +0,0 @@
# Load Accounts
The following example shows how to load all accounts from the keyring as pairs and convert them into JSON format.
<<< @/docs/examples/keyring/02_load_accounts/index.js

View File

@@ -1,33 +0,0 @@
/* eslint-disable @typescript-eslint/require-await */
/* eslint-disable @typescript-eslint/unbound-method */
/* eslint-disable @typescript-eslint/no-var-requires */
// Import Keyring class and utility function
const Keyring = require('@polkadot/keyring').default;
const stringToU8a = require('@polkadot/util/string/toU8a').default;
async function main () {
// Create account seed for Alice and Bob
const ALICE_SEED = 'Alice'.padEnd(32, ' ');
const BOB_SEED = 'Bob'.padEnd(32, ' ');
// Create an instance of the Keyring
const keyring = new Keyring();
// Create their pairs with account seeds. Add to keyring pair dictionary
keyring.addFromSeed(stringToU8a(ALICE_SEED));
keyring.addFromSeed(stringToU8a(BOB_SEED));
// Note that we did not use `addFromAddress` since it does not add the
// secret key to memory so we cannot later retrieve it with `getPairs`
// Retrieve all keyring pairs from the keyring pair dictionary
keyring
.getPairs()
.forEach((pair, index) => {
const { address } = pair;
console.log(`\nAccount with index #${index} has json: `, JSON.stringify(keyring.toJson(address), null, 2));
});
}
main().catch(console.error).finally(() => process.exit());

View File

@@ -1,19 +0,0 @@
{
"name": "02_load_accounts",
"version": "0.1.0",
"description": "Example showing how to load accounts",
"main": "index.js",
"author": "ltfschoen",
"license": "MIT",
"scripts": {
"clean": "rimraf node_modules",
"start": "node index.js"
},
"dependencies": {
"@polkadot/util": "^0.32.10",
"@polkadot/keyring": "^0.32.10"
},
"devDependencies": {
"rimraf": "^2.6.2"
}
}

View File

@@ -1,5 +0,0 @@
# Validate Adress
- This function will return true if the address is a legitamate Polkadot address and false if it is not
- Works both with Ed25519 and Sr25519 key types

View File

@@ -1,18 +0,0 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const { encodeAddress, decodeAddress } = require('@polkadot/keyring');
const { isHex, hexToU8a } = require('@polkadot/util');
const address = '5GrpknVvGGrGH3EFuURXeMrWHvbpj3VfER1oX5jFtuGbfzCE';
const isValidAddressPolkadotAddress = () => {
try {
encodeAddress(isHex(address) ? hexToU8a(address) : decodeAddress(address));
return true;
} catch (error) {
return false;
}
};
const isValid = isValidAddressPolkadotAddress();
console.log(isValid);

View File

@@ -1,18 +0,0 @@
{
"name": "03_validate_address",
"version": "0.1.0",
"description": "Example showing how to validate a polkadot address",
"main": "index.js",
"author": "Jesse",
"license": "MIT",
"scripts": {
"clean": "rimraf node_modules",
"start": "node index.js"
},
"dependencies": {
"@polkadot/keyring": "*"
},
"devDependencies": {
"rimraf": "^2.6.2"
}
}

View File

@@ -1,12 +0,0 @@
# Keyring Examples
Here you will find a list of examples that takes you through the basics of connecting to a local node, retrieving data from the Node and chain and execute transactions on the chain.
## Running the examples
From within each folder run the following to install required dependencies and to execute the example:
```shell
yarn;
yarn start
```

View File

@@ -1,5 +0,0 @@
# Encrypt & Decrypt Message using NaCl
The following example shows how to encrypt and decrypt a message with NaCl (pronouced "salt"), which is a Networking and Cryptography library used in util-crypto.
[include](index.js)

View File

@@ -1,26 +0,0 @@
/* eslint-disable @typescript-eslint/require-await */
/* eslint-disable @typescript-eslint/unbound-method */
/* eslint-disable @typescript-eslint/no-var-requires */
const { naclEncrypt, naclDecrypt } = require('@polkadot/util-crypto');
async function main () {
const secret = new Uint8Array(32);
const messagePreEncryption = new Uint8Array([1, 2, 3, 4, 5, 4, 3, 2, 1]);
const noncePreEncryption = new Uint8Array(24);
// Encrypt the message
const { encrypted, nonce } = naclEncrypt(messagePreEncryption, secret, noncePreEncryption);
// Show contents of the encrypted message
console.log(`Encrypted message: ${JSON.stringify(encrypted, null, 2)}`);
// Decrypt the message
const messageDecrypted = naclDecrypt(encrypted, nonce, secret);
// Convert each Uint8Array to a string for comparison
const isMatch = messagePreEncryption.toString === messageDecrypted.toString;
// Verify that the decrypted message matches the original message
console.log(`Does the decrypted message match the original message? ${isMatch}`);
}
main().catch(console.error).finally(() => process.exit());

View File

@@ -1,18 +0,0 @@
{
"name": "01_encrypt_decrypt_message_nacl",
"version": "0.1.0",
"description": "Example showing how to encrypt and decrypt a message using NaCl",
"main": "index.js",
"author": "ltfschoen",
"license": "MIT",
"scripts": {
"clean": "rimraf node_modules",
"start": "node index.js"
},
"dependencies": {
"@polkadot/util-crypto": "^0.32.10"
},
"devDependencies": {
"rimraf": "^2.6.2"
}
}

View File

@@ -1,5 +0,0 @@
# Sign & Verify Message using NaCl
The following example shows how to sign and verify a message with NaCl (pronouced "salt"), which is a Networking and Cryptography library used in util-crypto.
[include](index.js)

View File

@@ -1,32 +0,0 @@
/* eslint-disable @typescript-eslint/require-await */
/* eslint-disable @typescript-eslint/unbound-method */
/* eslint-disable @typescript-eslint/no-var-requires */
const { stringToU8a, u8aToHex } = require('@polkadot/util');
const { naclEncrypt, naclKeypairFromSeed, naclSign, naclVerify, randomAsU8a } = require('@polkadot/util-crypto');
async function main () {
// Create account seed for Alice as fallback if generated mnemonic not valid
const seedAlice = 'Alice'.padEnd(32, ' ');
// Generate new public/secret keypair for Alice from the supplied seed
const { secretKey, publicKey } = naclKeypairFromSeed(stringToU8a(seedAlice));
// Encrypt message. Create Uint8Array's filled with random bytes of specified length
const secret = randomAsU8a(32);
const messagePreEncryption = stringToU8a('please send me DOTs');
const noncePreEncryption = randomAsU8a(24);
const { encrypted } = naclEncrypt(messagePreEncryption, secret, noncePreEncryption);
// Sign the message with a valid signature
const messageSignature = naclSign(encrypted, secretKey);
console.log(`Message signature: ${u8aToHex(messageSignature)}`);
// Validate that the message was correctly signed
const isValidSignature = naclVerify(encrypted, messageSignature, publicKey);
console.log(`Was the message correctly signed? ${isValidSignature}`);
}
main().catch(console.error).finally(() => process.exit());

View File

@@ -1,18 +0,0 @@
{
"name": "02_sign_verify_message_nacl",
"version": "0.1.0",
"description": "Example showing how to sign and verify a message using NaCl",
"main": "index.js",
"author": "ltfschoen",
"license": "MIT",
"scripts": {
"clean": "rimraf node_modules",
"start": "node index.js"
},
"dependencies": {
"@polkadot/util-crypto": "^0.32.10"
},
"devDependencies": {
"rimraf": "^2.6.2"
}
}

View File

@@ -1,5 +0,0 @@
# Create & Generate Mnemonic using BIP39
The following example shows how to create and generate mnemonics using BIP39.
[include](index.js)

View File

@@ -1,27 +0,0 @@
/* eslint-disable @typescript-eslint/unbound-method */
/* eslint-disable @typescript-eslint/require-await */
/* eslint-disable @typescript-eslint/no-var-requires,@typescript-eslint/no-unused-vars */
const { mnemonicGenerate, mnemonicToSeed, mnemonicValidate, naclKeypairFromSeed } = require('@polkadot/util-crypto');
async function main () {
// Create mnemonic string for Alice using BIP39
const mnemonicAlice = mnemonicGenerate();
console.log(`Generated mnemonic: ${mnemonicAlice}`);
// Validate the mnemic string that was generated
const isValidMnemonic = mnemonicValidate(mnemonicAlice);
console.log(`isValidMnemonic: ${isValidMnemonic}`);
// Create valid seed from mnemonic as u8a and convert it to a string
// FIXME - Replace with mnemonicToSeed once exposed
const seedAlice = mnemonicToSeed(mnemonicAlice);
// Generate new public/secret keypair for Alice from the supplied seed
const { secretKey, publicKey } = naclKeypairFromSeed(seedAlice);
// Encrypt, Sign and Validate the message. See Example 'Sign & Verify Message'
}
main().catch(console.error).finally(() => process.exit());

View File

@@ -1,18 +0,0 @@
{
"name": "03_mnemonic_generate_validate_bip39",
"version": "0.1.0",
"description": "Example showing how to sign and verify a message using NaCl",
"main": "index.js",
"author": "ltfschoen",
"license": "MIT",
"scripts": {
"clean": "rimraf node_modules",
"start": "node index.js"
},
"dependencies": {
"@polkadot/util-crypto": "^0.32.10"
},
"devDependencies": {
"rimraf": "^2.6.2"
}
}

View File

@@ -1,13 +0,0 @@
# Util-Crypto Examples
Here you will find a list of examples that takes you through the basics of encrypting and decrypting messages using NaCl, signing a message with a seed and verifying it using NaCl, and generating and validating mnemonics for account seeds.
## Running the examples
From within each folder run the following to install required dependencies and to execute the example:
```shell
yarn;
yarn start
```

12
docs/index.html Normal file
View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=0.5, maximum-scale=1">
<meta http-equiv="refresh" content="0;URL='https://polkadot.js.org/docs/'" />
<title>Redirecting to https://polkadot.js.org/docs/</title>
</head>
<body>
Redirecting to <a href="https://polkadot.js.org/docs/">https://polkadot.js.org/docs/</a>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

8
eslint.config.js Normal file
View File

@@ -0,0 +1,8 @@
// Copyright 2017-2026 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
import baseConfig from '@polkadot/dev/config/eslint';
export default [
...baseConfig
];

5
import_map.in.json Normal file
View File

@@ -0,0 +1,5 @@
{
"imports": {
"https://esm.sh/v90/@types/bn.js@~5.2/index.d.ts": "https://esm.sh/v90/@types/bn.js@5.1.0/index.d.ts"
}
}

View File

@@ -1,24 +0,0 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const config = require('@polkadot/dev/config/jest');
module.exports = Object.assign({}, config, {
moduleNameMapper: {
'@polkadot/chainspec(.*)$': '<rootDir>/packages/chainspec/src/$1',
'@polkadot/db(.*)$': '<rootDir>/packages/db/src/$1',
'@polkadot/keyring(.*)$': '<rootDir>/packages/keyring/src/$1',
'@polkadot/trie-(codec|db|hash)(.*)$': '<rootDir>/packages/trie-$1/src/$2',
'@polkadot/util-(crypto|rlp)(.*)$': '<rootDir>/packages/util-$1/src/$2',
'@polkadot/util(.*)$': '<rootDir>/packages/util/src/$1'
},
modulePathIgnorePatterns: [
'<rootDir>/packages/db/build',
'<rootDir>/packages/chainspec/build',
'<rootDir>/packages/keyring/build',
'<rootDir>/packages/trie-codec/build',
'<rootDir>/packages/trie-db/build',
'<rootDir>/packages/trie-hash/build',
'<rootDir>/packages/util/build',
'<rootDir>/packages/util-crypto/build',
'<rootDir>/packages/util-rlp/build'
]
});

View File

@@ -1,13 +0,0 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
"publish": {
"allowBranch": "master"
}
},
"packages": [
"packages/*"
],
"version": "1.5.1"
}

View File

@@ -1,29 +1,45 @@
{
"version": "1.5.1",
"private": true,
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/common/issues",
"engines": {
"yarn": "^1.10.1"
"node": ">=18.14"
},
"homepage": "https://github.com/polkadot-js/common#readme",
"license": "Apache-2.0",
"packageManager": "yarn@4.9.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/polkadot-js/common.git"
},
"sideEffects": false,
"type": "module",
"version": "14.0.3",
"versions": {
"git": "14.0.3",
"npm": "14.0.3"
},
"workspaces": [
"packages/*"
],
"resolutions": {
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.6.3"
},
"scripts": {
"build": "polkadot-dev-build-ts && polkadot-dev-build-docs",
"check": "yarn lint",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx . && tsc --noEmit --pretty",
"build": "polkadot-dev-build-ts",
"build:networks": "polkadot-dev-run-test packages/networks/src",
"build:release": "polkadot-ci-ghact-build",
"build:rollup": "polkadot-exec-rollup --config",
"clean": "polkadot-dev-clean-build",
"deno": "yarn polkadot-dev-deno-map && yarn build && deno check --import-map=import_map.json mod.ts",
"lint": "polkadot-dev-run-lint",
"postinstall": "polkadot-dev-yarn-only",
"test": "jest --coverage --runInBand",
"test:one": "jest"
"test": "polkadot-dev-run-test --env browser",
"test:node": "polkadot-dev-run-test --env browser ^mnemonic/toMiniSecretCmp",
"test:one": "polkadot-dev-run-test --env browser"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@polkadot/dev": "^0.31.1",
"@polkadot/ts": "^0.1.73",
"gh-pages": "^2.1.1"
"@polkadot/dev": "^0.83.3",
"@types/node": "^22.7.5"
},
"resolutions": {
"typescript": "^5.5.4"
}
}

View File

@@ -1,201 +0,0 @@
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.

View File

@@ -1,7 +0,0 @@
# @polkadot/chainspec
Chainspecs for known chains
## Utilities
[Utilities](SUMMARY.md)

View File

@@ -1,31 +0,0 @@
{
"name": "@polkadot/chainspec",
"version": "1.5.1",
"description": "Contains chain specifications for known chains",
"main": "index.js",
"keywords": [
"Polkadot"
],
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [
"Jaco Greeff <jacogr@gmail.com>"
],
"contributors": [],
"license": "Apache-2.0",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/polkadot-js/common.git"
},
"bugs": {
"url": "https://github.com/polkadot-js/common/issues"
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/chainspec#readme",
"dependencies": {
"@babel/runtime": "^7.6.2",
"@polkadot/util": "^1.5.1"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +0,0 @@
// Copyright 2017-2019 @polkadot/chainspec authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
export { default as alexander } from './alexander';
export { default as driedDanta } from './dried-danta';

View File

@@ -1,20 +0,0 @@
// Copyright 2017-2019 @polkadot/chainspec authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
export type Telemetry = [string, number];
export interface Chainspec {
bootNodes: string[];
id: string;
genesis: {
raw: Record<string, string>;
};
genesisRoot?: string;
name: string;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
properties: null | Record<string, any>;
protocolId: string | null;
telemetryUrl?: string | null;
telemetryEndpoints?: Telemetry[];
}

View File

@@ -1,201 +0,0 @@
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.

View File

@@ -1,24 +0,0 @@
# @polkadot/db
This is an implementation of a basic sync in-memory and on-disk database with overlays. Memory is currently used by polkadot-js/client
## Usage
Installation -
```
yarn add @polkadot/db
```
Classes can be imported as follows:
```js
// Default exports
import DiskDb from '@polkadot/db/Disk';
import MemoryDb from '@polkadot/db/Memory';
import TransactionDb from '@polkadot/db/engines/TransactionDb';
```
## Utilities
[Utilities](SUMMARY.md)

View File

@@ -1,33 +0,0 @@
{
"name": "@polkadot/db",
"version": "1.5.1",
"description": "Implementation of a basic sync in-memory and on-disk databases with overlays",
"main": "index.js",
"keywords": [
"Polkadot"
],
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [
"Jaco Greeff <jacogr@gmail.com>"
],
"contributors": [],
"license": "Apache-2.0",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/polkadot-js/common.git"
},
"bugs": {
"url": "https://github.com/polkadot-js/common/issues"
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/db#readme",
"dependencies": {
"@babel/runtime": "^7.6.2",
"@polkadot/trie-hash": "^1.5.1",
"@polkadot/util": "^1.5.1",
"lru_map": "^0.3.3"
}
}

View File

@@ -1,68 +0,0 @@
// Copyright 2017-2019 @polkadot/db authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import MemoryDb from './engines/MemoryDb';
import TransactionDb from './engines/TransactionDb';
/**
* @name MemoryDb
* @summary Creates a MemoryDb database extending TransactionDb
* @description Create an instance of a Memory database using
* MemoryDb and extending TransactionDb.
* `options` argument (optional) used to specifies whether
* to use compression.
* - Enable compression when storing "blocks" since they compress well.
* - Disable compression when storing "state" Transactions Trie
* using @polkadot/trie-db or @polkadot/db/src/engines/TransactionDb.ts
* (potentially LevelDb or RocksDb implementation of a Merkle Patricia Trie)
* data structure serialised with Recursive Length Prefix (RLP) encoding
* @example
* <BR>
*
* ```javascript
* import stringToU8a from '@polkadot/util/string/toU8a';
* import MemoryDb from '@polkadot/db/Memory';
* import TransactionDb from '@polkadot/db/engines/TransactionDb';
*
* const memoryDb = new MemoryDb();
* const txDb = new TransactionDb(memoryDb);
*
* // Open the memory database
* memoryDb.open();
*
* // Declare key/value pair to allocate to store under a the key
* const key = stringToU8a('key');
* const value = stringToU8a('some value');
*
* // Store key/value pair in memory db
* memoryDb.put(key, value);
*
* // Retrieve value for key from memory db
* valueRetrieved = memoryDb.get(key);
*
* // Delete key/value pair from memory db
* memoryDb.del(key);
*
* // Transaction to Store key/value pair in transaction db
* const isTxSuccess = txDb.transaction((): void => {
* txDb.put(key, value);
*
* // Boolean to indicate whether transaction was successful or not
* return true;
* });
*
* console.log(`Transaction successful?: ${isTxSuccess}`);
*
* // Retrieve transaction value from memory db
* console.log(`Transfered value: ${memoryDb.get(key)}`);
*
* // Close the memory database
* memoryDb.close();
* ```
*/
export default class Memory extends TransactionDb {
public constructor () {
super(new MemoryDb());
}
}

View File

@@ -1,63 +0,0 @@
// Copyright 2017-2019 @polkadot/db authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import toU8a from '@polkadot/util/u8a/toU8a';
import LruDb from './LruDb';
import MemoryDb from './MemoryDb';
describe('LruDb', (): void => {
const memory = new MemoryDb();
const db = new LruDb(memory);
it('retrieves an item from the backing when not available (caching it)', (): void => {
const key = toU8a('test1');
const value = toU8a('value1');
memory.put(key, value);
expect(db.get(key)).toEqual(value);
expect(db._getLru(key)).toEqual({ value });
});
it('replaces an item (caching and backing)', (): void => {
const key = toU8a('test1');
const value = toU8a('test');
db.put(key, value);
expect(db.get(key)).toEqual(value);
expect(memory.get(key)).toEqual(value);
expect(db._getLru(key)).toEqual({ value });
});
it('retrieves item from LRU when available', (): void => {
const key = toU8a('test1');
const value = toU8a('test');
memory.del(key);
expect(db.get(key)).toEqual(value);
});
it('puts item both in LRU and backing', (): void => {
const key = toU8a('test0');
const value = toU8a('value0');
db.put(key, value);
expect(memory.get(key)).toEqual(value);
expect(db._getLru(key)).toEqual({ value });
});
it('deletes an item from both backing and db', (): void => {
const key = toU8a('test0');
db.del(key);
expect(memory.get(key)).toEqual(null);
expect(db._getLru(key)).toEqual({ value: null });
expect(db.get(key)).toEqual(null);
});
});

View File

@@ -1,116 +0,0 @@
// Copyright 2017-2019 @polkadot/db authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { BaseDb, ProgressCb } from '../types';
import { LRUMap } from 'lru_map';
import { logger } from '@polkadot/util';
interface CachedValue {
value: Uint8Array | null;
}
const DEFAULT_ITEM_COUNT = 4096;
const l = logger('db/lru');
export default class LruDb implements BaseDb {
private backing: BaseDb;
private lru: LRUMap<string, CachedValue>;
public constructor (backing: BaseDb, itemCount: number = DEFAULT_ITEM_COUNT) {
this.backing = backing;
this.lru = new LRUMap(itemCount);
}
public close (): void {
l.debug((): string[] => ['close']);
this.lru.clear();
this.backing.close();
}
public open (): void {
l.debug((): string[] => ['open']);
this.lru.clear();
this.backing.open();
}
public drop (): void {
this.backing.drop();
}
public empty (): void {
l.debug((): string[] => ['empty']);
this.lru.clear();
this.backing.empty();
}
public rename (base: string, file: string): void {
this.backing.rename(base, file);
}
public maintain (fn: ProgressCb): void {
this.backing.maintain(fn);
}
public size (): number {
return this.backing.size();
}
public del (key: Uint8Array): void {
const keyStr = key.toString();
this.backing.del(key);
this.lru.set(keyStr, { value: null });
}
public get (key: Uint8Array): Uint8Array | null {
const keyStr = key.toString();
const cached = this.lru.get(keyStr);
if (cached) {
return cached.value;
}
const value = this.backing.get(key);
this.lru.set(keyStr, { value });
return value;
}
// Convenience methods used in tests
public _getLru (key: Uint8Array): CachedValue | undefined {
return this.lru.get(key.toString());
}
public put (key: Uint8Array, value: Uint8Array): void {
const keyStr = key.toString();
this.backing.put(key, value);
this.lru.set(keyStr, { value });
}
public txCommit (): void {
if (this.backing.txCommit) {
this.backing.txCommit();
}
}
public txRevert (): void {
if (this.backing.txRevert) {
this.backing.txRevert();
}
}
public txStart (): void {
if (this.backing.txStart) {
this.backing.txStart();
}
}
}

View File

@@ -1,27 +0,0 @@
// Copyright 2017-2019 @polkadot/db authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import MemoryDb from './MemoryDb';
describe('MemoryDb', (): void => {
const memory = new MemoryDb();
it('gets the combioned size of the entry values', (): void => {
memory.put(new Uint8Array([1]), new Uint8Array([1, 2, 3]));
memory.put(new Uint8Array([2]), new Uint8Array([1, 2, 3]));
memory.put(new Uint8Array([3]), new Uint8Array([1, 2, 3]));
expect(memory.size()).toEqual(9);
});
it('does not throw on the stubs', (done): void => {
memory.close();
memory.open();
memory.drop();
memory.empty();
memory.rename('foo', 'bar');
memory.maintain((): void => done());
});
});

View File

@@ -1,70 +0,0 @@
// Copyright 2017-2019 @polkadot/db authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { BaseDb, ProgressCb } from '../types';
import { logger } from '@polkadot/util';
const l = logger('db/memory');
export default class MemoryDb implements BaseDb {
private _storage: Map<string, Uint8Array> = new Map();
public close (): void {
this.empty();
}
public open (): void {
this.empty();
}
public drop (): void {
this.empty();
}
public empty (): void {
this._storage.clear();
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
public rename (base: string, file: string): void {
l.warn('rename() is not implemented');
}
public maintain (fn: ProgressCb): void {
fn({
isCompleted: true,
keys: this._storage.size,
percent: 100
});
}
public size (): number {
let size = 0;
this._storage.forEach((value): void => {
size += value.length;
});
return size;
}
public del (key: Uint8Array): void {
// l.debug(() => ['del', { key }]);
this._storage.delete(key.toString());
}
public get (key: Uint8Array): Uint8Array | null {
// l.debug(() => ['get', { key }]);
return this._storage.get(key.toString()) || null;
}
public put (key: Uint8Array, value: Uint8Array): void {
// l.debug(() => ['put', { key, value }]);
this._storage.set(key.toString(), value);
}
}

View File

@@ -1,93 +0,0 @@
// Copyright 2017-2019 @polkadot/db authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import toU8a from '@polkadot/util/string/toU8a';
import MemoryDb from './MemoryDb';
import TransactionDb from './TransactionDb';
describe('TransactionDb', (): void => {
const memory = new MemoryDb();
const db = new TransactionDb(memory);
it('passed through values immediately when not in transaction', (): void => {
const key = toU8a('test0');
const value = toU8a('value0');
db.put(key, value);
expect(memory.get(key)).toEqual(value);
});
it('commits when transaction passes (result = true, put)', (): void => {
const key = toU8a('test1');
const value = toU8a('value1');
expect(
db.transaction((): boolean => {
db.put(key, value);
return true;
})
).toEqual(true);
expect(memory.get(key)).toEqual(value);
});
it('commits when transaction passes (result = true, del)', (): void => {
const key = toU8a('test0');
expect(
db.transaction((): boolean => {
db.del(key);
return true;
})
).toEqual(true);
expect(memory.get(key)).toEqual(null);
});
it('does not commit when transaction fails (result = false)', (): void => {
const key = toU8a('test2');
const value = toU8a('value2');
expect(
db.transaction((): boolean => {
db.put(key, value);
return false;
})
).toEqual(false);
expect(memory.get(key)).toEqual(null);
});
it('does not commit when transaction throws', (): void => {
const key = toU8a('test2');
const value = toU8a('value2');
expect(
(): void => {
db.transaction((): void => {
db.put(key, value);
throw new Error('test');
});
}
).toThrow(/test/);
expect(memory.get(key)).toEqual(null);
});
it('inside the transaction, the value is set', (): void => {
const key = toU8a('test2');
const value = toU8a('value2');
db.transaction((): boolean => {
db.put(key, value);
expect(db.get(key)).toEqual(value);
return false;
});
expect(memory.get(key)).toEqual(null);
});
});

View File

@@ -1,157 +0,0 @@
// Copyright 2017-2019 @polkadot/db authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { BaseDb, TxDb, ProgressCb } from '../types';
import { assert, isNull, logger } from '@polkadot/util';
interface OverlayItem {
key: Uint8Array;
value: Uint8Array | null;
}
const l = logger('db/transact');
export default class TransactionDb implements TxDb {
private backing: BaseDb;
private txOverlay: Map<string, OverlayItem> = new Map();
private txStarted: boolean;
public constructor (backing: BaseDb) {
this.backing = backing;
this.txStarted = false;
}
public transaction<T> (fn: () => T): T {
l.debug((): string[] => ['transaction']);
try {
this.createTx();
const result = fn();
if (result) {
this.commitTx();
} else {
this.revertTx();
}
return result;
} catch (error) {
this.revertTx();
throw error;
}
}
public close (): void {
this.backing.close();
}
public open (): void {
this.backing.open();
}
public drop (): void {
this.backing.drop();
}
public empty (): void {
this.backing.empty();
}
public rename (base: string, file: string): void {
this.backing.rename(base, file);
}
public maintain (fn: ProgressCb): void {
assert(this.txStarted === false, 'Cannot maintain inside an open transaction');
this.backing.maintain(fn);
}
public size (): number {
return this.backing.size();
}
public del (key: Uint8Array): void {
if (this.txStarted) {
this.txOverlay.set(key.toString(), { key, value: null });
return;
}
this.backing.del(key);
}
public get (key: Uint8Array): Uint8Array | null {
// l.debug(() => ['get', u8aToHex(key)]);
if (this.txStarted) {
const value = this.txOverlay.get(key.toString());
if (value) {
return value.value;
}
}
return this.backing.get(key);
}
public put (key: Uint8Array, value: Uint8Array): void {
// l.debug(() => ['put', u8aToHex(key), u8aToHex(value)]);
if (this.txStarted) {
this.txOverlay.set(key.toString(), { key, value });
return;
}
return this.backing.put(key, value);
}
private createTx (): void {
l.debug((): string[] => ['createTx']);
assert(!this.txStarted, 'Cannot create a transaction when one is already active');
this.txOverlay.clear();
this.txStarted = true;
}
private commitTx (): void {
l.debug((): [string, number, string] => ['commitTx', Object.keys(this.txOverlay).length, 'keys']);
assert(this.txStarted, 'Cannot commit when not in transaction');
if (this.backing.txStart) {
this.backing.txStart();
}
this.txOverlay.forEach(({ key, value }): void => {
if (isNull(value)) {
this.backing.del(key);
} else {
this.backing.put(key, value);
}
});
if (this.backing.txCommit) {
this.backing.txCommit();
}
this.txOverlay.clear();
this.txStarted = false;
}
private revertTx (): void {
l.debug((): string[] => ['revertTx']);
assert(this.txStarted, 'Cannot revert when not in transaction');
this.txOverlay.clear();
this.txStarted = false;
}
}

View File

@@ -1,39 +0,0 @@
// Copyright 2017-2019 @polkadot/db authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
export interface ProgressValue {
isCompleted?: boolean;
keys: number;
percent: number;
}
export type ProgressCb = (progress: ProgressValue) => void;
export interface BaseDbOptions {
isCompressed?: boolean;
isLru?: boolean;
isNative?: boolean;
}
export interface BaseDb {
close (): void;
open (): void;
drop (): void;
empty (): void;
maintain (fn: ProgressCb): void;
rename (base: string, file: string): void;
size (): number;
txCommit?: () => void;
txRevert?: () => void;
txStart?: () => void;
del (key: Uint8Array): void;
get (key: Uint8Array): Uint8Array | null;
put (key: Uint8Array, value: Uint8Array): void;
}
export interface TxDb extends BaseDb {
transaction <T> (fn: () => T): T;
}

View File

@@ -0,0 +1,2 @@
# @polkadot/hw-ledger-transports

View File

@@ -0,0 +1,31 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/common/issues",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/hw-ledger-transports#readme",
"license": "Apache-2.0",
"name": "@polkadot/hw-ledger-transports",
"repository": {
"directory": "packages/hw-ledger-transports",
"type": "git",
"url": "https://github.com/polkadot-js/common.git"
},
"sideEffects": false,
"type": "module",
"version": "14.0.3",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@ledgerhq/hw-transport": "^6.31.4",
"@ledgerhq/hw-transport-webhid": "^6.29.4",
"@ledgerhq/hw-transport-webusb": "^6.29.4",
"@polkadot/util": "14.0.3",
"tslib": "^2.8.0"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-node-hid-singleton": "^6.31.5"
}
}

View File

@@ -0,0 +1,11 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import LedgerHid from '@ledgerhq/hw-transport-webhid';
import LedgerUsb from '@ledgerhq/hw-transport-webusb';
import { createDefs } from './util.js';
export { packageInfo } from './packageInfo.js';
export const transports = /*#__PURE__*/ createDefs(['webusb', LedgerUsb], ['hid', LedgerHid]);

View File

@@ -0,0 +1,8 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { createDefs } from './util.js';
export { packageInfo } from './packageInfo.js';
export const transports = /*#__PURE__*/ createDefs();

View File

@@ -0,0 +1,4 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './empty.js';

View File

@@ -0,0 +1,10 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import LedgerHid from '@ledgerhq/hw-transport-node-hid-singleton';
import { createDefs } from './util.js';
export { packageInfo } from './packageInfo.js';
export const transports = /*#__PURE__*/ createDefs(['hid', LedgerHid]);

View File

@@ -0,0 +1,11 @@
// Copyright 2017-2026 @polkadot/hw-ledger-transports authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// (packageInfo imports will be kept as-is, user-editable)
import { detectPackage } from '@polkadot/util';
import { packageInfo } from './packageInfo.js';
detectPackage(packageInfo, null, []);

View File

@@ -0,0 +1,6 @@
// Copyright 2017-2026 @polkadot/hw-ledger-transports authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/hw-ledger-transports', path: 'auto', type: 'auto', version: '14.0.3' };

View File

@@ -0,0 +1,4 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './empty.js';

View File

@@ -0,0 +1,17 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
// CJS, so we use import * syntax
import type * as HwTransport from '@ledgerhq/hw-transport';
// u2f is deprecated an therefore not added
export type TransportType = 'hid' | 'webusb';
export type Transport = HwTransport.default;
export interface TransportDef {
/** Create a transport to be used in Ledger operations */
create (): Promise<Transport>;
/** The type of the underlying transport definition */
type: TransportType;
}

View File

@@ -0,0 +1,12 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Transport, TransportDef, TransportType } from './types.js';
export function createDefs (...items: readonly [type: TransportType, Clazz: unknown][]): TransportDef[] {
return items.map(([type, Clazz]): TransportDef => ({
create: (): Promise<Transport> =>
(Clazz as Pick<TransportDef, 'create'>).create(),
type
}));
}

View File

@@ -0,0 +1,14 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/mod.ts"
],
"references": [
{ "path": "../util/tsconfig.build.json" }
]
}

View File

@@ -0,0 +1,2 @@
# @polkadot/hw-ledger

View File

@@ -0,0 +1,28 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/common/issues",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/hw-ledger#readme",
"license": "Apache-2.0",
"name": "@polkadot/hw-ledger",
"repository": {
"directory": "packages/hw-ledger",
"type": "git",
"url": "https://github.com/polkadot-js/common.git"
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
],
"type": "module",
"version": "14.0.3",
"main": "index.js",
"dependencies": {
"@polkadot/hw-ledger-transports": "14.0.3",
"@polkadot/util": "14.0.3",
"@zondax/ledger-substrate": "1.1.1",
"tslib": "^2.8.0"
}
}

View File

@@ -0,0 +1,169 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SubstrateApp } from '@zondax/ledger-substrate';
import type { Transport, TransportDef, TransportType } from '@polkadot/hw-ledger-transports/types';
import type { AccountOptions, LedgerAddress, LedgerSignature, LedgerVersion } from './types.js';
import { newSubstrateApp } from '@zondax/ledger-substrate';
import { transports } from '@polkadot/hw-ledger-transports';
import { hexAddPrefix, u8aToBuffer, u8aWrapBytes } from '@polkadot/util';
import { LEDGER_DEFAULT_ACCOUNT, LEDGER_DEFAULT_CHANGE, LEDGER_DEFAULT_INDEX, LEDGER_SUCCESS_CODE } from './constants.js';
import { ledgerApps } from './defaults.js';
export { packageInfo } from './packageInfo.js';
type Chain = keyof typeof ledgerApps;
type WrappedResult = Awaited<ReturnType<SubstrateApp['getAddress' | 'getVersion' | 'sign']>>;
/** @internal Wraps a SubstrateApp call, checking the result for any errors which result in a rejection */
async function wrapError <T extends WrappedResult> (promise: Promise<T>): Promise<T> {
const result = await promise;
if (result.return_code !== LEDGER_SUCCESS_CODE) {
throw new Error(result.error_message);
}
return result;
}
/** @internal Best-effort transport cleanup after failed operations */
async function closeTransport (transport: Transport | null): Promise<void> {
if (transport) {
try {
await transport.close();
} catch {
// Ignore cleanup errors so the original failure is preserved.
}
}
}
/** @internal Wraps a sign/signRaw call and returns the associated signature */
function sign (method: 'sign' | 'signRaw', message: Uint8Array, accountOffset = 0, addressOffset = 0, { account = LEDGER_DEFAULT_ACCOUNT, addressIndex = LEDGER_DEFAULT_INDEX, change = LEDGER_DEFAULT_CHANGE }: Partial<AccountOptions> = {}): (app: SubstrateApp) => Promise<LedgerSignature> {
return async (app: SubstrateApp): Promise<LedgerSignature> => {
const { signature } = await wrapError(app[method](account + accountOffset, change, addressIndex + addressOffset, u8aToBuffer(message)));
return {
signature: hexAddPrefix(signature.toString('hex'))
};
};
}
/**
* @name Ledger
*
* @description
* Legacy wrapper for a ledger app -
* - it connects automatically on use, creating an underlying interface as required
* - Promises reject with errors (unwrapped errors from @zondax/ledger-substrate)
* @deprecated Use LedgerGeneric for up to date integration with ledger
*/
export class Ledger {
readonly #ledgerName: string;
readonly #transportDef: TransportDef;
#app: SubstrateApp | null = null;
constructor (transport: TransportType, chain: Chain) {
const ledgerName = ledgerApps[chain];
const transportDef = transports.find(({ type }) => type === transport);
if (!ledgerName) {
throw new Error(`Unsupported Ledger chain ${chain}`);
} else if (!transportDef) {
throw new Error(`Unsupported Ledger transport ${transport}`);
}
this.#ledgerName = ledgerName;
this.#transportDef = transportDef;
}
/**
* Returns the address associated with a specific account & address offset. Optionally
* asks for on-device confirmation
*/
public async getAddress (confirm = false, accountOffset = 0, addressOffset = 0, { account = LEDGER_DEFAULT_ACCOUNT, addressIndex = LEDGER_DEFAULT_INDEX, change = LEDGER_DEFAULT_CHANGE }: Partial<AccountOptions> = {}): Promise<LedgerAddress> {
return this.withApp(async (app: SubstrateApp): Promise<LedgerAddress> => {
const { address, pubKey } = await wrapError(app.getAddress(account + accountOffset, change, addressIndex + addressOffset, confirm));
return {
address,
publicKey: hexAddPrefix(pubKey)
};
});
}
/**
* Returns the version of the Ledger application on the device
*/
public async getVersion (): Promise<LedgerVersion> {
return this.withApp(async (app: SubstrateApp): Promise<LedgerVersion> => {
const { device_locked: isLocked, major, minor, patch, test_mode: isTestMode } = await wrapError(app.getVersion());
return {
isLocked,
isTestMode,
version: [major, minor, patch]
};
});
}
/**
* Signs a transaction on the Ledger device
*/
public async sign (message: Uint8Array, accountOffset?: number, addressOffset?: number, options?: Partial<AccountOptions>): Promise<LedgerSignature> {
return this.withApp(sign('sign', message, accountOffset, addressOffset, options));
}
/**
* Signs a message (non-transactional) on the Ledger device
*/
public async signRaw (message: Uint8Array, accountOffset?: number, addressOffset?: number, options?: Partial<AccountOptions>): Promise<LedgerSignature> {
return this.withApp(sign('signRaw', u8aWrapBytes(message), accountOffset, addressOffset, options));
}
/**
* Closes any active transport connection
*/
public async disconnect (): Promise<void> {
const app = this.#app;
this.#app = null;
await closeTransport(app?.transport || null);
}
/**
* @internal
*
* Returns a created SubstrateApp to perform operations against. Generally
* this is only used internally, to ensure consistent behavior.
*/
async withApp <T> (fn: (app: SubstrateApp) => Promise<T>): Promise<T> {
let transport: Transport | null = null;
try {
if (!this.#app) {
transport = await this.#transportDef.create();
// We need this override for the actual type passing - the Deno environment
// is quite a bit stricter and it yields invalids between the two (specifically
// since we mangle the imports from .default in the types for CJS/ESM and between
// esm.sh versions this yields problematic outputs)
//
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any
this.#app = newSubstrateApp(transport as any, this.#ledgerName);
}
return await fn(this.#app);
} catch (error) {
await closeTransport(this.#app?.transport || transport);
this.#app = null;
throw error;
}
}
}

View File

@@ -0,0 +1,300 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Transport, TransportDef, TransportType } from '@polkadot/hw-ledger-transports/types';
import type { AccountOptionsGeneric, LedgerAddress, LedgerSignature, LedgerVersion } from './types.js';
import { PolkadotGenericApp } from '@zondax/ledger-substrate';
import { transports } from '@polkadot/hw-ledger-transports';
import { hexAddPrefix, u8aToBuffer, u8aWrapBytes } from '@polkadot/util';
import { ledgerApps } from './defaults.js';
export { packageInfo } from './packageInfo.js';
type Chain = keyof typeof ledgerApps;
type WrappedResult = Awaited<ReturnType<PolkadotGenericApp['getAddress' | 'getVersion' | 'sign' | 'signWithMetadata']>>;
// FIXME This type is a copy of the `class ResponseError`
// imported from `@zondax/ledger-js`. Happens because ledger-js includes
// circular dependencies. This is a hack to avoid versioning issues
// with Deno.
interface ResponseError {
errorMessage: string
returnCode: number
}
/** @internal Wraps a PolkadotGenericApp call, checking the result for any errors which result in a rejection */
async function wrapError <T extends WrappedResult> (promise: Promise<T>): Promise<T> {
let result: T;
try {
result = await promise;
} catch (e: unknown) {
// We check to see if the propagated error is the newer ResponseError type.
// The response code use to be part of the result, but with the latest breaking changes from 0.42.x
// the interface and it's types have completely changed.
if ((e as ResponseError).returnCode) {
throw new Error(`${(e as ResponseError).returnCode}: ${(e as ResponseError).errorMessage}`);
}
throw new Error((e as Error).message);
}
return result;
}
/** @internal Best-effort transport cleanup after failed operations */
async function closeTransport (transport: Transport | null): Promise<void> {
if (transport) {
try {
await transport.close();
} catch {
// Ignore cleanup errors so the original failure is preserved.
}
}
}
/** @internal Wraps a signEd25519/signRawEd25519 call and returns the associated signature */
function sign (method: 'signEd25519' | 'signRawEd25519', message: Uint8Array, slip44: number, accountIndex = 0, addressOffset = 0): (app: PolkadotGenericApp) => Promise<LedgerSignature> {
const bip42Path = `m/44'/${slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
return async (app: PolkadotGenericApp): Promise<LedgerSignature> => {
const { signature } = await wrapError(app[method](bip42Path, u8aToBuffer(message)));
return {
signature: hexAddPrefix(signature.toString('hex'))
};
};
}
/** @internal Wraps a signEcdsa/signRawEcdsa call and returns the associated signature */
function signEcdsa (method: 'signEcdsa' | 'signRawEcdsa', message: Uint8Array, slip44: number, accountIndex = 0, addressOffset = 0): (app: PolkadotGenericApp) => Promise<LedgerSignature> {
const bip42Path = `m/44'/${slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
return async (app: PolkadotGenericApp): Promise<LedgerSignature> => {
const { r, s, v } = await wrapError(app[method](bip42Path, u8aToBuffer(message)));
const signature = Buffer.concat([r, s, v]);
return {
signature: hexAddPrefix(signature.toString('hex'))
};
};
}
/** @internal Wraps a signWithMetadataEd25519 call and returns the associated signature */
function signWithMetadata (message: Uint8Array, slip44: number, accountIndex = 0, addressOffset = 0, { metadata }: Partial<AccountOptionsGeneric> = {}): (app: PolkadotGenericApp) => Promise<LedgerSignature> {
const bip42Path = `m/44'/${slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
return async (app: PolkadotGenericApp): Promise<LedgerSignature> => {
if (!metadata) {
throw new Error('The metadata option must be present when using signWithMetadata');
}
const bufferMsg = Buffer.from(message);
const { signature } = await wrapError(app.signWithMetadataEd25519(bip42Path, bufferMsg, metadata));
return {
signature: hexAddPrefix(signature.toString('hex'))
};
};
}
/** @internal Wraps a signWithMetadataEcdsa call and returns the associated signature */
function signWithMetadataEcdsa (message: Uint8Array, slip44: number, accountIndex = 0, addressOffset = 0, { metadata }: Partial<AccountOptionsGeneric> = {}): (app: PolkadotGenericApp) => Promise<LedgerSignature> {
const bip42Path = `m/44'/${slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
return async (app: PolkadotGenericApp): Promise<LedgerSignature> => {
if (!metadata) {
throw new Error('The metadata option must be present when using signWithMetadata');
}
const bufferMsg = Buffer.from(message);
const { r, s, v } = await wrapError(app.signWithMetadataEcdsa(bip42Path, bufferMsg, metadata));
const signature = Buffer.concat([r, s, v]);
return {
signature: hexAddPrefix(signature.toString('hex'))
};
};
}
/**
* @name Ledger
*
* @description
* A very basic wrapper for a ledger app -
* - it connects automatically on use, creating an underlying interface as required
* - Promises reject with errors (unwrapped errors from @zondax/ledger-substrate-js)
*/
export class LedgerGeneric {
readonly #transportDef: TransportDef;
readonly #slip44: number;
/**
* The chainId is represented by the chains token in all lowercase. Example: Polkadot -> dot
*/
readonly #chainId?: string;
/**
* The metaUrl is seen as a server url that the underlying `PolkadotGenericApp` will use to
* retrieve the signature given a tx blob, and a chainId. It is important to note that if you would like to avoid
* having any network calls made, use `signWithMetadata`, and avoid `sign`.
*/
readonly #metaUrl?: string;
#app: PolkadotGenericApp | null = null;
constructor (transport: TransportType, chain: Chain, slip44: number, chainId?: string, metaUrl?: string) {
const ledgerName = ledgerApps[chain];
const transportDef = transports.find(({ type }) => type === transport);
if (!ledgerName) {
throw new Error(`Unsupported Ledger chain ${chain}`);
} else if (!transportDef) {
throw new Error(`Unsupported Ledger transport ${transport}`);
}
this.#metaUrl = metaUrl;
this.#chainId = chainId;
this.#slip44 = slip44;
this.#transportDef = transportDef;
}
/**
* @description Returns the address associated with a specific Ed25519 account & address offset. Optionally
* asks for on-device confirmation
*/
public async getAddress (ss58Prefix: number, confirm = false, accountIndex = 0, addressOffset = 0): Promise<LedgerAddress> {
const bip42Path = `m/44'/${this.#slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
return this.withApp(async (app: PolkadotGenericApp): Promise<LedgerAddress> => {
const { address, pubKey } = await wrapError(app.getAddressEd25519(bip42Path, ss58Prefix, confirm));
return {
address,
publicKey: hexAddPrefix(pubKey)
};
});
}
/**
* @description Returns the address associated with a specific ecdsa account & address offset. Optionally
* asks for on-device confirmation
*/
public async getAddressEcdsa (confirm = false, accountIndex = 0, addressOffset = 0) {
const bip42Path = `m/44'/${this.#slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
return this.withApp(async (app: PolkadotGenericApp): Promise<LedgerAddress> => {
const { address, pubKey } = await wrapError(app.getAddressEcdsa(bip42Path, confirm));
return {
address,
publicKey: hexAddPrefix(pubKey)
};
});
}
/**
* @description Returns the version of the Ledger application on the device
*/
public async getVersion (): Promise<LedgerVersion> {
return this.withApp(async (app: PolkadotGenericApp): Promise<LedgerVersion> => {
const { deviceLocked: isLocked, major, minor, patch, testMode: isTestMode } = await wrapError(app.getVersion());
return {
isLocked: !!isLocked,
isTestMode: !!isTestMode,
version: [major || 0, minor || 0, patch || 0]
};
});
}
/**
* @description Signs a transaction on the Ledger device. This requires the LedgerGeneric class to be instantiated with `chainId`, and `metaUrl`
*/
public async sign (message: Uint8Array, accountIndex?: number, addressOffset?: number): Promise<LedgerSignature> {
return this.withApp(sign('signEd25519', message, this.#slip44, accountIndex, addressOffset));
}
/**
* @description Signs a message (non-transactional) on the Ledger device
*/
public async signRaw (message: Uint8Array, accountIndex?: number, addressOffset?: number): Promise<LedgerSignature> {
return this.withApp(sign('signRawEd25519', u8aWrapBytes(message), this.#slip44, accountIndex, addressOffset));
}
/**
* @description Signs a transaction on the Ledger device with Ecdsa. This requires the LedgerGeneric class to be instantiated with `chainId`, and `metaUrl`
*/
public async signEcdsa (message: Uint8Array, accountIndex?: number, addressOffset?: number): Promise<LedgerSignature> {
return this.withApp(signEcdsa('signEcdsa', u8aWrapBytes(message), this.#slip44, accountIndex, addressOffset));
}
/**
* @description Signs a message with Ecdsa (non-transactional) on the Ledger device
*/
public async signRawEcdsa (message: Uint8Array, accountIndex?: number, addressOffset?: number): Promise<LedgerSignature> {
return this.withApp(signEcdsa('signRawEcdsa', u8aWrapBytes(message), this.#slip44, accountIndex, addressOffset));
}
/**
* @description Signs a transaction on the ledger device provided some metadata.
*/
public async signWithMetadata (message: Uint8Array, accountIndex?: number, addressOffset?: number, options?: Partial<AccountOptionsGeneric>): Promise<LedgerSignature> {
return this.withApp(signWithMetadata(message, this.#slip44, accountIndex, addressOffset, options));
}
/**
* @description Signs a transaction on the ledger device for an ecdsa signature provided some metadata.
*/
public async signWithMetadataEcdsa (message: Uint8Array, accountIndex?: number, addressOffset?: number, options?: Partial<AccountOptionsGeneric>) {
return this.withApp(signWithMetadataEcdsa(message, this.#slip44, accountIndex, addressOffset, options));
}
/**
* Closes any active transport connection
*/
public async disconnect (): Promise<void> {
const app = this.#app;
this.#app = null;
await closeTransport(app?.transport || null);
}
/**
* @internal
*
* Returns a created PolkadotGenericApp to perform operations against. Generally
* this is only used internally, to ensure consistent bahavior.
*/
async withApp <T> (fn: (app: PolkadotGenericApp) => Promise<T>): Promise<T> {
let transport: Transport | null = null;
try {
if (!this.#app) {
transport = await this.#transportDef.create();
// We need this override for the actual type passing - the Deno environment
// is quite a bit stricter and it yields invalids between the two (specifically
// since we mangle the imports from .default in the types for CJS/ESM and between
// esm.sh versions this yields problematic outputs)
//
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any
this.#app = new PolkadotGenericApp(transport as any, this.#chainId, this.#metaUrl);
}
return await fn(this.#app);
} catch (error) {
await closeTransport(this.#app?.transport || transport);
this.#app = null;
throw error;
}
}
}

View File

@@ -0,0 +1,8 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
// This is necessary to ensure users still have access to class Ledger even though its deprecated.
//
// eslint-disable-next-line deprecation/deprecation
export { Ledger } from './Ledger.js';
export { LedgerGeneric } from './LedgerGeneric.js';

View File

@@ -0,0 +1,10 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
export const LEDGER_DEFAULT_ACCOUNT = 0x80000000;
export const LEDGER_DEFAULT_CHANGE = 0x80000000;
export const LEDGER_DEFAULT_INDEX = 0x80000000;
export const LEDGER_SUCCESS_CODE = 0x9000;

View File

@@ -0,0 +1,20 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
import { supportedApps } from '@zondax/ledger-substrate';
import { prevLedgerRecord } from './defaults.js';
describe('ledgerApps', (): void => {
for (const k of Object.keys(prevLedgerRecord)) {
it(`${k} is available in @zondax/ledger-substrate`, (): void => {
expect(
supportedApps.find(({ name }) =>
name === prevLedgerRecord[k]
)
).toBeDefined();
});
}
});

View File

@@ -0,0 +1,69 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
// These map to the known name in the @zondax/ledger-substrate/supported_apps package
// but they do not reflect all ledger apps that are supported. Since ledger now has support for all
// substrate chains via the PolkadotGenericApp, any new chains that need ledger support can be added to
// `genericLedgerApps` below.
export const prevLedgerRecord: Record<string, string> = {
acala: 'Acala',
ajuna: 'Ajuna',
'aleph-node': 'AlephZero',
astar: 'Astar',
bifrost: 'Bifrost',
'bifrost-kusama': 'BifrostKusama',
centrifuge: 'Centrifuge',
composable: 'Composable',
darwinia: 'Darwinia',
'dock-mainnet': 'Dock',
edgeware: 'Edgeware',
enjin: 'Enjin',
equilibrium: 'Equilibrium',
genshiro: 'Genshiro',
hydradx: 'HydraDX',
'interlay-parachain': 'Interlay',
karura: 'Karura',
khala: 'Khala',
kusama: 'Kusama',
matrixchain: 'Matrixchain',
nodle: 'Nodle',
origintrail: 'OriginTrail',
parallel: 'Parallel',
peaq: 'Peaq',
pendulum: 'Pendulum',
phala: 'Phala',
picasso: 'Picasso',
polkadex: 'Polkadex',
polkadot: 'Polkadot',
polymesh: 'Polymesh',
quartz: 'Quartz',
sora: 'Sora',
stafi: 'Stafi',
statemine: 'Statemine',
statemint: 'Statemint',
ternoa: 'Ternoa',
unique: 'Unique',
vtb: 'VTB',
xxnetwork: 'XXNetwork',
zeitgeist: 'Zeitgeist'
};
// Any chains moving forward that are supported by the PolkadotGenericApp from ledger will input their names below.
export const genericLedgerApps = {
bittensor: 'Bittensor',
creditcoin3: 'Creditcoin3',
dentnet: 'DENTNet',
encointer: 'Encointer',
frequency: 'Frequency',
integritee: 'Integritee',
liberland: 'Liberland',
mythos: 'Mythos',
polimec: 'Polimec',
vara: 'Vara'
};
// These match up with the keys of the knownLedger object in the @polkadot/networks/defaults/ledger.ts
export const ledgerApps: Record<string, string> = {
...prevLedgerRecord,
...genericLedgerApps
};

View File

@@ -0,0 +1,6 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './packageDetect.js';
export * from './bundle.js';

View File

@@ -0,0 +1,4 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './index.js';

View File

@@ -0,0 +1,13 @@
// Copyright 2017-2026 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// (packageInfo imports will be kept as-is, user-editable)
import { packageInfo as transportInfo } from '@polkadot/hw-ledger-transports/packageInfo';
import { detectPackage } from '@polkadot/util';
import { packageInfo as utilInfo } from '@polkadot/util/packageInfo';
import { packageInfo } from './packageInfo.js';
detectPackage(packageInfo, null, [transportInfo, utilInfo]);

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