All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.0.1 (2021-02-12)
- fetch-store: call /stores/me when authenticated (f2d17df)
1.0.0 (2021-02-12)
1.0.0-rc.6 (2021-01-28)
- request-api: fix bypassing 'axiosConfig' to @ecomplus/client store (6b8a9bc)
1.0.0-rc.5 (2021-01-24)
- pkg: fix entry files path (cdn and node) (2fd8be4)
1.0.0-rc.4 (2021-01-24)
1.0.0-rc.3 (2021-01-20)
- instance:
ecomAuth.session
is undefined
- events: emit new updateAuthentication and updateStore events (fd800d8)
- instance: session object is internal only (security) (a9a317b)
1.0.0-rc.2 (2021-01-19)
- request-api: fix parsing base method args (21a7ca1)
1.0.0-rc.1 (2021-01-19)
- emitter: fix handling instance events (d39b882)
1.0.0-rc.0 (2021-01-07)
- create-ecomplus-session: removed old 'newAdminSession' method
- check-login: removed old 'isLogin' method
- fetch-store: add new 'fetchStore' method with cache (2d82108)
-
deps: bump @ecomplus/client to v2 (adcf75c)
-
check-login: rename method to 'checkLogin' (091a824)
-
create-ecomplus-session: rename to 'createEcomplusSession' (bda4bc9)
1.0.0-rc (2021-01-07)
0.4.1 (2019-12-05)
- fetch-authentication: fix calling self.requestApi (612f8f2)
0.4.0 (2019-11-18)
0.3.2 (2019-11-17)
0.3.1 (2019-11-06)
- fetch-authentication: fetch Store API and return respective auth (dcda880)
- fetch-authentication: save authentication in session for 30s (d2ea162)
- get-authentication-id: return session.my_id (1659bc1)
- methods: #9 (2c1e95e)
- fetch-authentication: fix handling authentication unset timeout (cb0b398)
0.3.0 (2019-11-05)
- 'apiRequest' method removed (to 'requestApi')
- api-request: changed apiRquest method params
0.2.0 (2019-11-04)
- api-request: changed apiRequest method arguments
- api-request: pass options object to ecomClient.store (7f857c2)
0.1.3 (2019-11-04)
0.1.2 (2019-11-04)
0.1.1 (2019-11-04)
- api-request: set authentication id correctly to ecomClient (d59e190)
- myId for authenticated request (83f2316)
0.1.0 (2019-11-01)
- admin-session: add new session method (3128fbe)
- method: add request api method #4 (5fd0aa9)
- session-id: save instance session key and unique ID (2d634f7)
- check authentication (75ead33)
- destroy session and emit event (5f3a301)
- login via email (6a1c0ad)
- request login and set session (910534c)
- returns authentication if user logged in (845ca78)
- saves credentials in session and emit login event (daf6c2b)
- setup methods (19ecc83)
- #3: session property made private (c18b00e), closes #3
- admin-session: renaming 'newSession' to 'newAdminSession' (eb352aa)
- get-session: returns session even without login (empty session) (b00571c)
- is-logged: call Date.getTime (valueOf is usally internal method) (b8f599c)
- set-session: emit login event with 'self', not 'session' (9c760dc)
- #8 (965ccf6)
- correct property name (cc9d66d)