Skip to content

Latest commit

 

History

History
297 lines (212 loc) · 8.59 KB

CHANGELOG.md

File metadata and controls

297 lines (212 loc) · 8.59 KB

Changelog

0.11.0

Minor Changes

  • 69c3aac: Change undefined params/returns -> null

0.10.2

Patch Changes

  • 15a583d: update icon.svg + name and description

0.10.1

Patch Changes

  • b911ac9: update allowed origins

0.10.0

Minor Changes

  • 56b5049: display gas estimate to user

0.10.0-beta.0

Minor Changes

  • c6385c2: display gas estimate to user

0.9.0

Minor Changes

  • 30610d5: Refactors config to be based on ethereum provider chainid
  • 489f826: Adds extra metadata for Uniswap V3 Swap ops

Patch Changes

  • 140fd8a: Update canon addr message text

0.8.0

Minor Changes

  • d851894: setSpendKey receives and stores corresponding eoa address + remove isSpendKey set and replace with nocturne_requestSpendKeyEoa

0.7.2

Patch Changes

  • 90a88fc: Pin yarn 3.2.1, bump dependencies after post-protocol-audit redeploy

0.7.1

Patch Changes

  • 915801c2: Add optional sender field to included note superstruct to accomodate decrypted note with sender case

0.7.0

Minor Changes

  • 6fddaaa2: Address audit findings, strip newlines/carriage returns, check set spend key origin, add superstruct validation to params

Patch Changes

  • b49fd71f: Update snap content to account for new action types
  • b49fd71f: Update ActionMetadata types to be consistent
  • Updated dependencies [6fddaaa2]
  • Updated dependencies [b49fd71f]

0.6.1

Patch Changes

0.6.0

Minor Changes

  • a94caaec: - axe bip44
    • only derive signer in methods where it's needed
    • throw an error during signer derivation if there's no spend key set in db
  • a94caaec: add method nocturne_setSpendKey

Patch Changes

0.5.0

Minor Changes

  • a6275d8a: - split core in half, creating a new client package that houses NocturneClient and everything around it
    • moved all "sync adapter" interfaces into core
    • moved all "sync adapter" implementations into data-source-specific packages rpc-sync-adapters, subgraph-sync-adapters, and hasura-sync-adapters

Patch Changes

  • b8628f56: Adds plugins to fe-sdk
  • Updated dependencies [22abab87]
  • Updated dependencies [a6275d8a]

0.4.5

Patch Changes

  • Updated dependencies [e2801b16]
  • Updated dependencies [5d90ac8e]
  • Updated dependencies [8b3e1b2c]
  • Updated dependencies [f80bff6a]
  • Updated dependencies [fbfadb23]
  • Updated dependencies [5d90ac8e]
  • Updated dependencies [10b5bda4]

0.4.4

Patch Changes

0.4.3

Patch Changes

  • Updated dependencies [16dfb275]
  • Updated dependencies [dcea2acb]

0.4.2

Patch Changes

  • Updated dependencies [47a5f1e5]
  • Updated dependencies [0ed9f872]
  • Updated dependencies [46e47762]
  • Updated dependencies [4d7147b6]

0.4.1

Patch Changes

  • Updated dependencies [9fccc32f]
  • Updated dependencies [543af0b0]
  • Updated dependencies [543af0b0]

0.4.0

Minor Changes

  • 77c4063c: Add functionality to snap/fe-sdk that supports signing a canon addr registry entry and returning necessary inputs for sig check proof gen
  • 81598815: - remove all methods except for nocturne_signOperation
    • add new method nocturne_requestViewingKey

Patch Changes

  • 1ffcf31f: update contract and sdk bundler gas comp estimate numbers
  • 86d484ad: - implement plugin system for OperationRequestBuilder and update APIs accordingly
  • 6998bb7c: add resetWindowHours to deploy config in config package and deploy package
  • 589e0230: add RPC method for generating canon addr sig
  • 3be7d366: Strongly typed both sides of the JSON RPC boundary, between fe-sdk & snap. Shared in core
  • Updated dependencies [6abd69b9]
  • Updated dependencies [81598815]
  • Updated dependencies [003e7082]
  • Updated dependencies [1ffcf31f]
  • Updated dependencies [fc364ae8]
  • Updated dependencies [0cb20e3d]
  • Updated dependencies [86d484ad]
  • Updated dependencies [1ffcf31f]
  • Updated dependencies [77c4063c]
  • Updated dependencies [6998bb7c]
  • Updated dependencies [58b363a4]
  • Updated dependencies [35b0f76f]
  • Updated dependencies [77c4063c]
  • Updated dependencies [589e0230]
  • Updated dependencies [3be7d366]
  • Updated dependencies [9098e2c8]
  • Updated dependencies [58b363a4]
  • Updated dependencies [003e7082]
  • Updated dependencies [77c4063c]
  • Updated dependencies [58b363a4]
  • Updated dependencies [f8046431]

0.3.2

Patch Changes

  • use opts for get notes opts single for getBalanceForAsset

0.3.1

Patch Changes

  • 14d0ac58: fix snap<>fe-sdk bug, ensure fe-sdk stringifies all snap params, ensure snap parses them

0.3.0

Minor Changes

  • fix publish command

Patch Changes

0.2.0

Minor Changes

  • 6c0a5d7c: overhaul monorepo structure & start proper versioning system

Patch Changes

Unreleased

  • Add lastSyncedMerkleIndex usage if sync already is taking place
  • remove custom gas est call in snap and let sdk handle
  • nocturne_sync takes and propagates SyncOpts as params
  • change spend key derivation to keccak256(bip44Node.privateKey)
  • remove use of winston logger
  • fix bug where snap was parsing op metadata as .metadata not .opMetadata
  • setup browser logger for SDK to use
  • add method to fetch all inflight op digests and metadata nocturne_getInflightOpDigestsAndMetadata
  • parse metadata param in nocturne_signOperation method and pass to applyOptimisticRecordsForOp call
  • lock snaps-cli to finalized version 0.32.2 (MetaMask/snaps#1411)
  • apply op's nullifiers to SDK's optimsitic nullifiers at the end of nocturne_signOperation
  • update SDK's optimistic nullifiers after each sync
  • call loadNocturneConfigBuiltin("localhost") instead of copying config from config package into snap
  • throw error when snap_dialog returns a falsy value (unlike snap_confirm, snap_dialog doesn't do this for you);
  • snap slurps up real config - not dummy config - using JSON module
  • Snap takes handler contract addr for SDK not wallet
  • if op doesn't have gasPrice set, set it to chain's current gas price
  • set gasAssets in DUMMY_CONFIG
  • use new NocturneWalletSDK instead of NocturneContext
  • make SnapKVStore only dump on writes by putting the inner KV store in a thunk
  • use SubgraphSyncAdapter against local graph node
  • call context.sync() at the beginning of nocturne_signOperation so it's unnecessary for frontend to explicitly sync
  • remove syncLeaves method and rename syncNotes to sync (only one sync method)
  • Fix regression where key derivation was still using wallet keyword instead of snap
  • adapt to breaking changes in MM Flask
  • fix SK being derived in wrong field
  • move to monorepo
  • Bump SDK to 1.0.70-alpha
  • Bump SDK to 1.0.66-alpha
  • Bump SDK to 1.0.60-alpha to include joinsplit processing after refund processing fix
  • Add START_BLOCK and RPC_URL consts for overriding
  • Bump sdk to 1.0.55-alpha
  • Bump sdk to 1.0.50-alpha to include unawaited promises when processing refunds/joinsplits
  • print error when tryGetPreProofOperation fails
  • don't set default gas params when getting joinsplit inputs
  • update SDK
  • set node version in changelog to 18.12.1
  • remove default verificationGas and gasPrice
  • clean up resolutions
  • fix missing await bugs
  • Add permission to manifest for snap_getBip44Entropy.
  • Remove SnapDB in place of SnapKvStore after sdk db refactor (remove inheritance)
  • Update SDK after removing toJSON and fromJSON methods
  • Move to separate repo and rename flax to nocturne
  • Expose methods to sync notes, sync leaves, and provide web page with pre-proof spend tx inputs and proof inputs (currently points to hh local node and hardcode addresses)
  • Start snap package