Skip to content

Latest commit

 

History

History
255 lines (164 loc) · 6.65 KB

CHANGELOG.md

File metadata and controls

255 lines (164 loc) · 6.65 KB

Changelog

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[unreleased]

Added

  • pubkey to AgentState

[0.6.20-prerelease] - 2024-07-10

Added

  • provideMemproofs endpoint
  • allowEmailPasswordAuth authOpts fields
  • hasMemproofs field in AgentState
  • websdk_version is now passed with authOpts to chaperone

Removed

  • chaperone version check

[0.6.19-prerelease] - 2024-03-26

Updated

  • Now compatible with @holochain/client 0.16.*

Changed

  • Replace jest with vitest

Fixed

  • Test suite now runs properly
  • Mocking browser globals in tests
  • Failing tests

[0.6.18-prerelease] - 2023-11-1

Changed

  • bumped comb version to 0.3.2

[0.6.17-prerelease] - 2023-10-22

Removed

  • border style

Changed

  • bumped comb version to 0.3.1

[0.6.16-prerelease] - 2023-10-21

Added

  • New auth option cssUrl which is then loaded as a stylesheet in the chaperone html. This only works with a custom chaperone build.
  • New auth option container which is used to specify the parent element for the chaperone iframe

[0.6.15-prerelease] - 2023-09-06

Fixed

  • undefined .mypubkey bug [(#107)]

([#107]): #107

[0.6.14-prerelease] - 2023-08-30

Added

  • Sign payload for HBS authentication

([#106]): #106

[0.6.13-prerelease] - 2023-07-26

Added

  • integration_test_mode flag [(#98)]

Changed

  • Updated @holochain/client version to 0.14.1 [(#96)]

([#98]): #98 ([#98]): #96

[0.6.12-prerelease] - 2023-06-12

Added

  • chaperone api version check, with error message for incompatible api version (#97)
  • event handlers and local state for chaperone-state and ui-state events (#97)

Changed

  • client.agent to client.agentState (#97)

[0.6.11-prerelease] - 2023-04-03

Added

  • dist/index.d.ts type declaration file (#93)
  • ChaperoneAgentState type (#93)

Fixed

  • Innacurate AgentState type (#93)

Removed

[0.6.10-prerelease] - 2023-03-03

Fixed

  • Cloning endpoints now throw when getting an error, and return the result data on a success, rather than returning the whole result.

[0.6.9-prerelease] - 2023-02-22

Changed

  • Uses AppAgentClient from @holochain/[email protected]
    • Including createCloneCell and enableCloneCell and disableCloneCell
  • Tests moved from mocha to jest
  • CI uses yarn instead of npm
  • Uses Emittery instead of EventEmitter module

Added

  • CI tests on node 16.x

Removed

  • CI tests on node 12.x (holochain/client no longer supports it)

[0.6.8-prerelease] - 2022-10-20

Changed

  • Updates api to new js client pattern (#79)
    • WebSdk implements the AppAgentClient interface
    • Zome call now unwraps succesful results and throws errors
    • See changes to README for full details of api changes
  • Switched to typescript (#78)
  • Bumped webpack version (#78)
  • switched to yarn (#78)

[0.6.7-prerelease] - 2022-08-17

Fixed

  • COMB undefined error

[0.6.6-prerelease] - 2022-06-03

Changed

  • updated comb to v0.3.0

[0.6.5-prerelease] - 2022-05-30

Removed

  • isPubPortal, publisherName and infoLink auth options

Changed

  • Renamed skipRegistration option to requireRegistrationCode

[0.6.4-prerelease] - 2022-03-28

No change

[0.6.3-prerelease] - 2022-03-28

Fixed

  • Race condition between client state and content of events

Changed

  • Updated api to reflect changes in chaperone. Emits single agent-state event when: switching to a new agent, availability changes, or on unrecoverable agent state. This replaces previous events available, unavailable, unrecoverable-agent-state
  • Uses should_show_form field of agent_state to update form state
  • No longer awaits agent state before returning from signIn/Up/Out

Removed

  • .ready method

Added

  • isPubPortal auth option

[0.6.2-prerelease] - 2022-03-22

Fixed

  • Import issue, main and module values updated

[0.6.1-prerelease] - 2022-03-22

Added

webSdkApi instances now have isAvailable, agentInfo and happId fields that are updated as chaperone state changes (#61)

Fixed

  • No longer throws an error if available event is received before .ready is called.

Changed

  • renamed registrationServer to membraneProofServer, in constructor and registration_server to membrane_proof_server in connection to chaperone.

[0.6.0-prerelease] - 2022-02-11

Removed

  • Removes signalCB param (is replaced with signal event)

Added

  • Added option for anonymous_allowed among the customized authentication options

  • Adds unrecoverable-agent-state and signal to alert types

  • Adds cellData and stateDump calls

Updated

  • Replaces connected and disconnected with available and unavailable

  • Updates ready fn to return after available event is received, instead of immediately following the ws connection

  • Updates return value for auth calls (signIn/signUp/signOut)

  • Updates the connect method to be static and take the chaperoneUrl and authFormCustomization params (previously passed directly into the class constructor)

  • Updates the class constructor params to take the child process created by Postmate once connected to Chaperone

[0.5.3] - 2021-10-10

Added

  • Added option for skip_registration (#51)

[0.5.2] - 2021-09-24

Added

  • Added option for registration_server (#50)

[0.5.1] - 2021-07-06

Added

  • Option to allow signIn/signUp to be cancelled and remain anonymous (on by default) (#39)

[0.5.0] - 2021-03-15

Added

  • holoInfo method to get host url from chaperone (#34)

[0.4.0] - 2021-03-02

Added

  • added signals.
  • added branding field to configuring the branding shown on the log in/sign-up screen

[0.3.1] - 2021-02-04

Fixed

  • Bump COMB version.

[0.3.0] - 2021-02-04

Added

  • signalCb arg to constructor, that is passed to COMB.

[0.2.2] - 2021-01-11

Fixed

  • .ready now throws any errors thrown by .connect and COMB.connect