Skip to main content

Changelogs

Changelogs

Client

Jul 8, 2024

Contributors

    javadkh2

1.13.0

Minors

  • Fixed addSignatures for signatues object with pubKey + exported parseAsPactValue

Patches

  • Updated dependencies

    • @kadena/chainweb-node-client@0.6.3
    • @kadena/cryptography-utils@0.4.4
    • @kadena/pactjs@0.4.3

Jul 1, 2024

Contributors

    ash-vd

1.12.1

Patches

  • Deprecated wallet function names (createSignWithX to provide a clearer naming scheme.

    The following functions have been deprecated:

    • createWalletConnectSign -> createSignWithWalletConnect
    • createWalletConnectQuicksign -> createQuicksignWithWalletConnect
    • createEckoWalletSign -> createSignWithEckoWallet
    • createEckoWalletQuicksign -> createQuicksignWithEckoWallet

Jun 14, 2024

Contributors

    javadkh2

1.12.0

Minors

Jun 3, 2024

Contributors

    javadkh2

1.11.2

Patches

  • Pin sensitive dependencies to specific versions

  • Updated dependencies \

  • Updated dependencies \

    • @kadena/cryptography-utils@0.4.4
    • @kadena/chainweb-node-client@0.6.2

Apr 25, 2024

Contributors

    MRVDH

1.11.1

Patches

  • Package updates

  • Updated dependencies \

    • @kadena/chainweb-node-client@0.6.1
    • @kadena/cryptography-utils@0.4.3
    • @kadena/pactjs@0.4.3

Mar 18, 2024

Contributors

    javadkh2

1.11.0

Minors

  • added support for confirmationDepth in client added pollOne as an alternative to listen that uses /poll endpoint

Patches

  • Updated dependencies \

    • @kadena/chainweb-node-client@0.6.0

Mar 11, 2024

Contributors

    javadkh2

1.10.1

Patches

Mar 11, 2024

Contributors

    javadkh2

1.10.0

Minors

  • Added support for verifiers in @kadena/client

Feb 29, 2024

Contributors

    javadkh2

1.9.0

Minors

  • Add WebAuthn as a valid scheme for signers

Patches

  • Fix parse objects and arrays to pact values

  • Add Record<string,any> to PactValue type

    • @kadena/chainweb-node-client@0.5.3
    • @kadena/cryptography-utils@0.4.2
    • @kadena/pactjs@0.4.2

Feb 12, 2024

Contributors

    javadkh2

1.8.1

Patches

  • Updated dependencies \

    • @kadena/chainweb-node-client@0.5.3

Jan 4, 2024

Contributors

    ash-vd

1.8.0

Minors

  • Adds support for a custom url to signWithChainweaver

Dec 14, 2023

Contributors

    javadkh2

1.7.0

Minors

  • intruduce PactReturnType in order to extract pact functions return type

  • Extract capability type from pure string pact code

  • Resolved the issue with Ikeypair type with two different signatures

Patches

  • let users pass Literal or =>string as function inputs to cover more advanced usecases.

    • @kadena/chainweb-node-client@0.5.2
    • @kadena/cryptography-utils@0.4.2
    • @kadena/pactjs@0.4.2

Nov 27, 2023

Contributors

    javadkh2

1.6.4

Patches

  • Fix pactjs-cli to send hash with txs; fixed the issue after chainweb-node update

Nov 13, 2023

Contributors

    javadkh2

1.6.3

Patches

  • Fix createEckoWalletQuicksign to work with updated interface

Nov 6, 2023

Contributors

    javadkh2

1.6.1

Patches

Oct 27, 2023

Contributors

    webpro

1.6.0

Patches

  • No auto-globals for vitest specs

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

    • @kadena/chainweb-node-client@0.5.1
    • @kadena/cryptography-utils@0.4.1
    • @kadena/pactjs@0.4.1

Oct 26, 2023

Contributors

    javadkh2webpro

1.5.0

Minors

  • Generate provenance statement during npm publish

Patches

  • Fix the issue with continuation to ensure that the proof is a string before utilizing string methods.

  • Upgrade typescript and @types/node dependencies

  • 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
  • Migrate packages from Jest to Vitest

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

    • @kadena/chainweb-node-client@0.5.0
    • @kadena/cryptography-utils@0.4.0
    • @kadena/pactjs@0.4.0

Sep 15, 2023

Contributors

    alber70g

1.4.0

Minors

  • Add feature to allow signing with keypair:

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

Sep 6, 2023

Contributors

    webpro

1.3.0

Minors

  • Adds signWithEckoWallet and quicksignWithEckoWallet

Patches

  • Updated dependencies \

  • Updated dependencies \

  • Updated dependencies \

    • @kadena/chainweb-node-client@0.4.4
    • @kadena/cryptography-utils@0.3.8
    • @kadena/pactjs@0.3.2

Aug 29, 2023

Contributors

    alber70g

1.2.0

Minors

  • Add createEckoWalletSign and createEckoWalletQuicksign. This creates a wrapper for the [eckoWALLET API][1]

-

1.1.0

Minors

  • Make addSignatures public

Misc

  • throw error for duplicated keys while using addData

  • Literal class for handeling literal values during pact expression creation

-

1.0.0

Misc

  • 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

-

0.6.0

Minors

  • 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

Misc

  • 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

Minors

  • Adds signWithWalletConnect and quicksignWithWalletConnect

Misc

  • added /spv to the apiHost in cont command

  • 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

Minors

  • Creation of ContCommand class to enable cont type commands

Misc

  • small fix regarding stringified proof in cont command

  • Added encoding library to support the cross-fetch library

-

0.3.1

Misc

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

  • Update to typescript 5

-

0.3.0

Minors

  • Add localWithoutSignatureVerification function in command builder

  • Adds setNonceCreator to allow the user to set a custom nonce

Misc

  • Fix type for addCap, add requestKey to IPactCommand

  • Fix usage of repository and npx in package.json

  • Removed localWithoutSignatureVerification

-

0.1.10

-

0.1.9

-

0.1.8

Misc

  • Expose requestKey on PactCommand

  • update /quickSign to /quicksign in client/signWithChainweaver

  • Update with KIP 0015 signing api standard

  • Updates docs on using PactCommand

-

0.1.7

Misc

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

-

0.1.6

Misc

  • Do not convert js typeof 'number' to decimals

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

-

0.1.5

Misc

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

-

0.1.4

Misc

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

-

0.1.3

Misc

  • 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

Misc

  • 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

Misc

  • Updated docs

-

0.1.0

Minors

  • BREAKING: Removes createTransaction, replaced by createCommand.

  • Adds send and addSignatures to CommandBuilder.

  • Adds local and poll to CommandBuilder.

-

0.0.5

Misc

  • fix signWithChainweaver

  • use ChainwebNetworkId for networkId

-

0.0.4

Misc

  • fix wrong response type signWithChainweaver

-

0.0.3

Misc

  • Updated readme

  • use .kadena/pactjs-generated to prevent deletion

  • Adds launch-post