Skip to content

Latest commit

 

History

History
482 lines (305 loc) · 8.21 KB

CHANGELOG.md

File metadata and controls

482 lines (305 loc) · 8.21 KB

@turnkey/viem

0.6.7

Patch Changes

0.6.6

Patch Changes

0.6.5

Patch Changes

0.6.4

Patch Changes

0.6.3

Patch Changes

0.6.2

Patch Changes

0.6.1

Patch Changes

0.6.0

Minor Changes

  • 2bb9ea0: Add synchronous createAccount variant (thank you @mshrieve)

    • Closes #349
    • Originally attributed to #348
    • Upshot: no change required if your setup was working. However, if you would like a synchronous option for creating a Viem account, now you may do so with createAccountWithAddress

Patch Changes

0.5.0

Minor Changes

  • 848f8d3: Support awaiting consensus and improve error handling

    • Add new error types that extend BaseError (and thus implement error.walk)
      • TurnkeyConsensusNeededError wraps consensus-related errors
      • TurnkeyActivityError wraps base Turnkey errors
    • Add a few new helper functions:
      • serializeSignature serializes a raw signature
      • isTurnkeyActivityConsensusNeededError and isTurnkeyActivityError use error.walk to check the type of a Viem error

Patch Changes

0.4.31

Patch Changes

0.4.30

Patch Changes

  • Updated dependencies [bab5393]
  • Updated dependencies [a16073c]
  • Updated dependencies [7e7d209]

0.4.29

Patch Changes

0.4.28

Patch Changes

0.4.27

Patch Changes

0.4.26

Patch Changes

0.4.25

Patch Changes

0.4.24

Patch Changes

0.4.23

Patch Changes

0.4.22

Patch Changes

0.4.21

Patch Changes

0.4.20

Patch Changes

  • d59e1b6: Add export of turnkey viem account functions
  • Updated dependencies [e4b29da]

0.4.19

Patch Changes

0.4.18

Patch Changes

0.4.17

Patch Changes

0.4.16

Patch Changes

0.4.15

Patch Changes

  • a6502e6: Add support for new Turnkey Client types

0.4.14

Patch Changes

0.4.13

Patch Changes

0.4.12

Patch Changes

0.4.11

Patch Changes

0.4.10

Patch Changes

0.4.9

Patch Changes

0.4.8

Patch Changes

  • 4794c64: Updated dependencies

0.4.7

Patch Changes

0.4.6

Patch Changes

0.4.5

Patch Changes

0.4.4

Patch Changes

0.4.3

Patch Changes

0.4.2

Patch Changes

0.4.1

Patch Changes

0.4.0

Minor Changes

  • Use rollup to build ESM and CommonJS, fix ESM support (#174)

Patch Changes

0.3.4

Patch Changes

0.3.3

Patch Changes

0.3.2

Patch Changes

0.3.0

Minor Changes

  • cf8631a: Update interface to support signWith

This change supports signing with wallet account addresses, private key addresses, or private key IDs. See below for an example:

const httpClient = new TurnkeyClient(
  {
    baseUrl: "https://api.turnkey.com",
  },
  // This uses API key credentials.
  // If you're using passkeys, use `@turnkey/webauthn-stamper` to collect webauthn signatures:
  // new WebauthnStamper({...options...})
  new ApiKeyStamper({
    apiPublicKey: "...",
    apiPrivateKey: "...",
  })
);

// Create the Viem custom account
const turnkeyAccount = await createAccount({
  client: httpClient,
  organizationId: "...",
  signWith: "...",
  // optional; will be fetched from Turnkey if not provided
  ethereumAddress: "...",
});

0.2.7

Patch Changes

0.2.6

Patch Changes

  • 59dcd2f: Unpin typescript
  • da7c960: Bump Viem dependency to fix getAddresses() for LocalAccount
  • Updated dependencies
  • Updated the shape of signing

0.2.5

Patch Changes

0.2.4

Patch Changes

  • 0ec2d94: Addresses a bug when signing raw messages (see #116)

0.2.3

Patch Changes

0.2.2

Patch Changes

0.2.1

Patch Changes

  • Fix code sample in the README; add more details and links

0.2.0

Minor Changes

  • Add new createAccount method and deprecates the existing createApiAccount. createAccount offers a superset of functionality and works with stampers (@turnkey/api-key-stamper / @turnkey/webauthn-stamper) to integrate with API keys or passkeys.

Patch Changes

0.1.1

Patch Changes

  • README updates

0.1.0

Initial release!