Skip to content

Releases: kadena-community/kadena.js

@kadena/kode-ui@0.20.1

21 Jan 19:48
128af2a
Compare
Choose a tag to compare

Patch Changes

  • ebc4e5c: fix the sizing of the compactdatatable

@kadena/graph@2.1.0

21 Jan 19:48
128af2a
Compare
Choose a tag to compare

Minor Changes

  • 35cad4d: We're introduced a number of deprecations to prepare to
    transition to kadindexer.io/graphql

    Changes and their resolution

    Changes without Alternative

     ✖ Field Block.target changed type from Decimal! to String!
     ✖ Field Block.weight changed type from Decimal! to String!
    

    These changes shouldn't impact anyone too much, as they're mostly internal

    Changes with a Resolution

     ✖ Field incrementedId was removed from object type Event
    

    We've removed this field, Event.orderIndex can be used to order events

    Other modifications

     ✖ Type MinerKey was removed
    

    We've simplified the schema by using FungibleAccount instead of MinerKey.

    Guards

    We've removed the Guard type and replaced it with IGuard to allow for more
    flexibility in the future. We also added KeysetGuard to represent the old
    Guard type.

    The IGuard type is a union of all the different types of guards that can be
    used in a Pact.

    Currently implemented guards are KeysetGuard and UserGuard.

    The IGuard has a field raw which can be used to retrieve any guard as a
    raw JSON object.

    They can be queried as such:

    guard {
      raw
      __typename
      ... on KeysetGuard {
        keys
        predicate
      }
      ... on UserGuard {
        fun
        args
      }
    }
     ✖ Field FungibleChainAccount.guard changed type from Guard! to IGuard!
     ✖ Type Guard was removed
     ✖ Field NonFungibleTokenBalance.guard changed type from Guard! to IGuard!
     ✔ Description A guard. Has values `keys`, `predicate` to provide backwards
      compatibility for `KeysetGuard`. on type IGuard has changed to A guard. This
      is a union of all the different types of guards that can be used in a pact.
     ✔ Deprecation reason on field IGuard.keys has changed from Use
      `... on KeysetGuard { keys predicate }` instead when working with Keysets to
      deprecated, use KeysetGuard.keys
     ✔ Directive deprecated was added to field IGuard.keys
     ✔ Deprecation reason on field IGuard.predicate has changed from Use
      `... on KeysetGuard { keys predicate }` instead when working with Keysets to
      deprecated, use KeysetGuard.predicate
     ✔ Directive deprecated was added to field IGuard.predicate
     ✔ Type RawGuard was added
     ✔ Type KeysetGuard was added
     ✔ Type UserGuard was added
    

    Default values

    We've added default values for arguments to a number of fields to make it
    easier to query the graph.

     ⚠ Default value [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
      17, 18, 19 ] was added to argument chainIds on field Query.blocksFromDepth
     ⚠ Default value [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
      17, 18, 19 ] was added to argument chainIds on field Query.blocksFromHeight
     ⚠ Default value [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
      17, 18, 19 ] was added to argument chainIds on field
      Query.completedBlockHeights
     ⚠ Default value coin was added to argument fungibleName on field
      Query.fungibleAccount
     ⚠ Default value coin was added to argument fungibleName on field
      Query.fungibleChainAccount
     ⚠ Default value [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
      17, 18, 19 ] was added to argument chainIds on field Subscription.newBlocks
     ⚠ Default value [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
      17, 18, 19 ] was added to argument chainIds on field
      Subscription.newBlocksFromDepth
    

    Query.fungibleChainAccounts

    We've introduced a new field Query.fungibleChainAccounts(chainIds: [String])
    to allow for querying multiple fungible chain accounts across chains.

     ✔ Field fungibleChainAccounts was added to object type Query
     ✔ Type for argument chainIds on field Subscription.newBlocksFromDepth changed
      from [String!]! to [String!]
    

    Deprecations and removals

    Various types had height and chainId which should've been retrieved from
    Block. We're planning to remove these fields and added deprecations.

     ✖ Type PositiveFloat was removed
     ✔ Field TransactionResult.height is deprecated
     ✔ Field TransactionResult.height has deprecation reason Use `block.height`
      instead.
     ✔ Directive deprecated was added to field TransactionResult.height
     ✔ Field TransactionResult.metadata is deprecated
     ✔ Field TransactionResult.metadata has deprecation reason Not used.
     ✔ Field TransactionResult.metadata changed type from String to String!
     ✔ Directive deprecated was added to field TransactionResult.metadata
     ✔  Field Transfer.blockHash is deprecated
     ✔  Field Transfer.blockHash has deprecation reason Use `block.hash` field
      instead.
     ✔  Field Transfer.chainId is deprecated
     ✔  Field Transfer.chainId has deprecation reason Use `block.chainId` field
      instead.
     ✔  Field Transfer.height is deprecated
     ✔  Field Transfer.height has deprecation reason Use `block.height` field
      instead.
    

@kadena/wallet-sdk@0.1.1

18 Dec 16:24
18ad5d7
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [1cba919]
    • @kadena/client-utils\@0.12.0

@kadena/kadena-cli@1.3.9

18 Dec 16:25
18ad5d7
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [1cba919]
    • @kadena/client-utils\@0.12.0

@kadena/graph@2.0.5

18 Dec 16:24
18ad5d7
Compare
Choose a tag to compare

Patch Changes

  • ee8e99b: Improve query for account.transactions. Do not query signers when not
    requested
  • Updated dependencies [1cba919]
    • @kadena/client-utils\@0.12.0

@kadena/client-utils@0.12.0

18 Dec 16:24
18ad5d7
Compare
Choose a tag to compare

Minor Changes

  • 1cba919: set the keys to sign with in safe transfer create function

@kadena/graph@2.0.4

11 Dec 15:25
817b9e8
Compare
Choose a tag to compare

Patch Changes

  • 629766c: You can now query the version of the running instance with

    query config {
      graphConfiguration {
        version
      }
    }
  • 629766c: Fix issue with pagination on transfers

@kadena/wallet-sdk@0.1.0

09 Dec 15:01
0cabf05
Compare
Choose a tag to compare

Minor Changes

  • 2b0b87d: The Kadena Wallet SDK provides a simple and unified interface to
    integrate Kadena blockchain functionalities into your wallet applications. It
    abstracts the complexities of interacting with the Kadena network, allowing
    you to focus on building feature-rich wallet experiences without
    re-implementing common integrations.

Patch Changes

  • Updated dependencies [5e9bfd0]
  • Updated dependencies [1f46bee]
    • @kadena/client\@1.16.0
    • @kadena/client-utils\@0.11.1

@kadena/pactjs-generator@1.16.0

09 Dec 15:01
0cabf05
Compare
Choose a tag to compare
@kadena/pactjs-generator@1.16.0

@kadena/pactjs-cli@1.16.0

09 Dec 15:01
0cabf05
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [5e9bfd0]
  • Updated dependencies [1f46bee]
    • @kadena/client\@1.16.0
    • @kadena/pactjs-generator\@1.16.0