Skip to content
Compare
Choose a tag to compare
@alber70g alber70g released this 09 Nov 09:09
· 3584 commits to main since this release

Change Log - @kadena/client

1.6.1

Patch Changes

  • 445fb2c: Fix pred type for keysets

1.6.0

Patch Changes

1.5.0

Minor Changes

  • d62a23f: Generate provenance statement during npm publish

Patch Changes

  • 69eec05: Fix the issue with continuation to ensure that the proof is a
    string before utilizing string methods.
  • fec8dfa: Upgrade typescript and @types/node dependencies
  • f6c52c3: Expose two new functions:
    • getHostUrl to use with @kadena/client-utils package
    • submitOne to make piping easier. As the piped arguments can be ambiguous
      (array or single transaction)
  • f1259ea: Migrate packages from Jest to Vitest
  • Updated dependencies [badc7c2]
  • Updated dependencies [831c022]
  • Updated dependencies [2a0e92c]
  • Updated dependencies [3e00cf2]
  • Updated dependencies [c8bbec3]
  • Updated dependencies [b51b865]
  • Updated dependencies [a664a95]
  • Updated dependencies [c143687]
  • Updated dependencies [591bf03]
  • Updated dependencies [d62a23f]
  • Updated dependencies [fec8dfa]
  • Updated dependencies [eede696]
  • Updated dependencies [699e73b]
  • Updated dependencies [7e5bfb2]
  • Updated dependencies [a664a95]
  • Updated dependencies [c375cb1]
    • @kadena/chainweb-node-client\@0.5.0
    • @kadena/cryptography-utils\@0.4.0
    • @kadena/pactjs\@0.4.0

1.4.0

Minor Changes

  • f6ff574: Add feature to allow signing with keypair:

    const signWithKeystore = createSignWithKeypair([keyPair, keyPair2]);
    const [signedTx1, signedTx2] = await signWithKeystore([tx1, tx2]);
    const signedTx3 = await signWithKeystore(tx3);

1.3.0

Minor Changes

  • 1723073: Adds signWithEckoWallet and quicksignWithEckoWallet

Patch Changes

  • Updated dependencies [8adef24]
  • Updated dependencies [242b568]
  • Updated dependencies [664140f]
    • @kadena/chainweb-node-client\@0.4.4
    • @kadena/cryptography-utils\@0.3.8
    • @kadena/pactjs\@0.3.2

1.2.0

Minor Changes

  • b8b8661: Add createEckoWalletSign() and createEckoWalletQuicksign().
    This creates a wrapper for the eckoWALLET API

This log was last generated on Mon, 21 Aug 2023 10:31:32 GMT and should not be
manually modified.

1.1.0

Mon, 21 Aug 2023 10:31:32 GMT

Minor changes

  • Make addSignatures public

Updates

  • throw error for duplicated keys while using addData
  • Literal class for handeling literal values during pact expression creation

1.0.0

Fri, 04 Aug 2023 16:10:02 GMT

Updates

  • Make the API more flexible by splitting it into three steps - build
    transactions | signing and | submitting
  • Accepts multiple code in one transactions
  • Refactoring types and suggest all related capabilities of the functions
  • exposing sighWithChainWeaver and SignWithWalletConnect
  • deprecating poll and send
  • introducing submit pollStatus dirtyRead preflight
    signatureVerification runPact

0.6.1

Mon, 10 Jul 2023 14:25:54 GMT

Version update only

0.6.0

Mon, 10 Jul 2023 14:20:26 GMT

Minor changes

  • Implemented new Chain ID type from @kadena/chainweb-node-client
  • PactCommand's pollUntil now rejects with the result of the request instead
    of the instance of the PactCommand class

Updates

  • small docs changes
  • Consistent fenced code block shell language
  • Improve accessibility of the @kadena/client readme
  • Remove unused dependencies + fix some lint config

0.5.0

Tue, 04 Jul 2023 08:27:48 GMT

Minor changes

  • Adds signWithWalletConnect and quicksignWithWalletConnect

Patches

  • added /spv to the apiHost in cont command

Updates

  • Add repo-wide markdown formatting
  • Complete the formatting trilogy
  • Introduce generic package doc headers
  • Housekeeping npm-published files
  • Replace lint-staged with explicit format script
  • Rename master branch to main
  • apply new lint rules

0.4.0

Thu, 22 Jun 2023 09:46:33 GMT

Minor changes

  • Creation of ContCommand class to enable cont type commands

Patches

  • small fix regarding stringified proof in cont command

Updates

  • Added encoding library to support the cross-fetch library

0.3.1

Tue, 13 Jun 2023 13:17:28 GMT

Patches

  • Set this.nonce to the created nonce to make it publicly available
  • Update to typescript 5

0.3.0

Thu, 01 Jun 2023 20:18:44 GMT

Minor changes

  • Add localWithoutSignatureVerification function in command builder
  • Adds setNonceCreator() to allow the user to set a custom nonce

Patches

  • Fix type for addCap, add requestKey to IPactCommand

Updates

  • Fix usage of repository and npx in package.json
  • Removed localWithoutSignatureVerification

0.1.10

Fri, 03 Mar 2023 11:24:59 GMT

Version update only

0.1.9

Mon, 27 Feb 2023 15:39:44 GMT

Version update only

0.1.8

Mon, 27 Feb 2023 14:25:39 GMT

Patches

  • Expose requestKey on PactCommand
  • update /quickSign to /quicksign in client/signWithChainweaver
  • Update with KIP 0015 signing api standard

Updates

  • Updates docs on using PactCommand

0.1.7

Thu, 02 Feb 2023 16:30:09 GMT

Patches

  • BREAKING: Pact.modules functions will accept for numbers only IPactDecimal or
    IPactInteger

0.1.6

Thu, 02 Feb 2023 11:57:26 GMT

Patches

  • Do not convert js typeof 'number' to decimals

Updates

  • change dependency @kadena-dev/eslint-config and @kadena-dev/heft-rig

0.1.5

Wed, 21 Dec 2022 12:17:18 GMT

Patches

  • Renames callPollUntilTimeout to pollUntil. Adds an onCall callback to
    pollUntil which gets called after each poll

0.1.4

Mon, 19 Dec 2022 13:39:19 GMT

Patches

  • Fix callPollUntilTimeout to not catch when an empty object is returned from
    /poll

0.1.3

Mon, 19 Dec 2022 12:54:50 GMT

Patches

  • Added (postinstall) helpers to make retrieving and generating contracts
    easier.
  • Added a callPollUntilTimeout function which calls the /poll endpoint until
    the transaction is successful or the request times out

0.1.2

Thu, 15 Dec 2022 14:56:25 GMT

Patches

  • When proprerties of a non-malleable transaction change, remove cmd, hash
    and signatures from the transaction to issue a recalculation of the cmd
    and hash.

0.1.1

Fri, 09 Dec 2022 12:07:57 GMT

Updates

  • Updated docs

0.1.0

Tue, 29 Nov 2022 16:14:08 GMT

Minor changes

  • BREAKING: Removes createTransaction, replaced by createCommand.
  • Adds send and addSignatures to CommandBuilder.
  • Adds local and poll to CommandBuilder.

0.0.5

Wed, 02 Nov 2022 12:29:53 GMT

Patches

  • fix signWithChainweaver
  • use ChainwebNetworkId for networkId

0.0.4

Tue, 01 Nov 2022 11:21:25 GMT

Patches

  • fix wrong response type signWithChainweaver

0.0.3

Fri, 28 Oct 2022 11:53:11 GMT

Patches

  • Updated readme
  • use .kadena/pactjs-generated to prevent deletion

Updates

  • Adds launch-post