Skip to content

Latest commit

 

History

History
788 lines (551 loc) · 72.9 KB

CHANGELOG.md

File metadata and controls

788 lines (551 loc) · 72.9 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.26.0 (2023-09-02)

Bug Fixes

  • hydration: fix calculation of subscription end date (492ded3)

Chores

  • ci: use node lts (9e940f8)
  • deps-dev: bump @playwright/test from 1.35.0 to 1.35.1 (e77f65b)
  • deps-dev: bump @playwright/test from 1.35.1 to 1.37.1 (d6da63b)
  • deps-dev: bump chai from 4.3.7 to 4.3.8 (43b8bfb)
  • deps-dev: bump eslint from 8.42.0 to 8.44.0 (cc2271a)
  • deps-dev: bump eslint from 8.44.0 to 8.46.0 (d8ba969)
  • deps-dev: bump eslint from 8.46.0 to 8.48.0 (c3acf82)
  • deps-dev: bump mongodb-memory-server from 8.13.0 to 8.15.1 (0883c4b)
  • deps-dev: bump nodemon from 2.0.22 to 3.0.1 (ee85eb8)
  • deps-dev: bump puppeteer from 20.5.0 to 20.7.4 (7d8d6cb)
  • deps-dev: bump puppeteer from 20.7.4 to 20.9.0 (7fd5f4a)
  • deps: bump @discue/mongodb-resource-client from 0.3.0 to 0.7.0 (99ec590)
  • deps: bump @discue/mongodb-resource-client from 0.7.0 to 0.8.0 (042af03)
  • deps: bump html-entities from 2.3.5 to 2.4.0 (7eca6a4)
  • deps: bump mongodb from 5.7.0 to 6.0.0 (1151819)
  • deps: update resource client (7684454)
  • hooks: also store effective cancel date (7e337dc)
  • update date field selector (9957077)

0.25.0 (2023-06-10)

Features

  • storage: allow passing mongo client (8b962fe)
  • use discue mongo db storage client (f8c2707)

Chores

  • deps-dev: bump puppeteer from 20.4.0 to 20.5.0 (c44dd79)
  • deps: bump actions/stale from 7 to 8 (75ad3fd)
  • deps: update dependencies (e853f1b)

0.24.0 (2023-05-28)

Features

  • add actual server middleware (08e1427)
  • add body parser module (b30f1a9)
  • add client function to create customData objects (ca75e16)
  • add get start and end date method (3797f07)
  • add html encoder (d4cd798)
  • add jsdoc to main export to enable typings (9453b92)
  • add method to compile payments list (8b90029)
  • add method to compile status trail (5fe2b5f)
  • add methods for payments hooks (f13ab2f)
  • add mongodb storage module (72c21f0)
  • add upcoming payment also to payments trail (7c34369)
  • after sub updated deactivate prev sub (5fad2c5)
  • allow logging of outgoing requests (1fee644)
  • allow resource name to be customized (00f81f9)
  • allow subs to be stored in nested collections (8f7b875)
  • allow to calc sub state in the future (2bba501)
  • also store alert id and name in status models (ed8bff1)
  • api: add get order method (2765fcc)
  • api: add get plan by id method (a1b1fcd)
  • api: add get single subscription method (552d513)
  • api: add get subscription payments method (4c5909e)
  • api: add list plans method (f5d5ba9)
  • api: add list products method (be6f391)
  • api: add refund payment method (a9d68e2)
  • api: add service for paddle subscriptions api (a1d2af1)
  • api: allow pagination and fetching all subs (df3ecae)
  • api: enable customization of http params (4c8f6cb)
  • api: ensure api is always initialized before first request (d96ec94)
  • api: import got only once (84ad151)
  • calculate subscription status per subscription plan id (9eb1e30)
  • do not add upcoming payment if sub expires before (11816de)
  • dont store subscription in subcollection (572e8f0)
  • export api constructor too (96f6011)
  • extract ids from namespaced object (66de639)
  • handle errors in middleware gracefully (1913ac7)
  • html encode also all subscription events (95353ba)
  • implement create, update and cancel subscription (bbb716b)
  • implement get subscription info method (a200371)
  • middleware: emit events after successful hook processing (190f0a5)
  • return future subscription info too (e6b1803)
  • return payment trail per sub plan id (9437d7d)
  • return start/end date per sub plan id (23538c6)
  • return status trail per sub plan id (251576a)
  • sort payments trail descending (0d833f3)
  • sort status trail also descending (72009a2)
  • subscription-hydration: also hydrate payments (1a81dc5)
  • subscription-hydration: also store instalments and sale_gross values (d423e66)
  • subscription-hydration: check if plan already active (5d0d90e)
  • subscription-hydration: require plan id instead of subscription id param (48394ce)
  • subscription-hydration: set effective cancellation date based on last payment (931d9e6)
  • subscription-info: add cancel subscription method (888c5f2)
  • subscription-info: add find subscription id method (7ff3dbc)
  • subscription-info: add update subscription plan method (3acc96f)
  • subscription-info: allow hydration of local status (2afa7dd)
  • subscription-info: catch and log api errors (8dcc0f0)
  • subscription-info: check whether sub was already hydrated (872caa5)
  • subscription-info: expect object or resource ids (50e037a)
  • subscription-info: return update and cancel url too (b15b5a9)
  • subscription-info: use custom data to verify api client (7a71780)
  • subscriptioninfo: return more details for hydrated payments (137d157)
  • throw errors if arguments are falsy (8ef9797)
  • update module exports (2b4e952)
  • use mongodb storage module (cc8e939)

Bug Fixes

  • cannot import without es6 (3e1eb50)
  • check if payments exists before accessing one of them (1712868)
  • html-encoder: do not encode value false (f14de08)
  • middleware: handle of failed and refunded payments (6c7420c)
  • module exports (d09a39a)
  • null pointers when using resource name starting with _ (69c2f19)
  • payments overwritten by subscription hooks (c28f44a)
  • start_at property not used in condition (a8817f5)
  • subscription-info: return subscription and not parent object (af8d208)
  • timestamp not passed to get stard and end dates (fa504db)
  • used wrong quantity property name (aafae89)

Refactorings

  • add comments and extract to smaller methods (ec0a44a)
  • api: add api version to path elements (cfee2b2)
  • api: create base urls for vendor and checkout api (497eca1)
  • extract get subscription plan id to separate method (6231ce6)
  • move subscription hooks handling to own component (f769074)
  • prepare usage of nested firestore resource (d4fddb8)
  • promote subscription hydration to own component (012fa3b)
  • rename all status methods (3621661)
  • rename local variable (ed9a076)
  • rename private method name (0fa4c74)
  • rename sub not found variable (08c65d2)
  • split hook handling and subscription info components (a5adf16)
  • subscription-hooks: do not flatten objects (497bbbe)
  • subscription-hooks: return promise instead of waiting it (7e9e228)
  • use event_time instead of start_time for status (ab0a2ec)
  • use event_time instead of start_time for status (45d2d2c)
  • use singular for main component exports (c09c1e3)

Chores

  • add and update bash scripts (1a7158c)
  • add firestore functions (0d41cc2)
  • add hook server (cb187a7)
  • add jsdoc description to cancel subscription method (c845af3)
  • add local firebase emulator config (25eaf32)
  • add missing whitespace (9db8c27)
  • add order details callback (1c3ae84)
  • add payloads of client events (3ebd4fd)
  • add prefix to pre checkout placeholder (1e713c5)
  • add simple logger (aad2ddf)
  • add start date for placeholder (e664c2b)
  • add test script (5308880)
  • allow 10s clockdrift checking sub activeness (c77e094)
  • allow node globals (02b929e)
  • also kill hook server if necessary (52be3a7)
  • also store subscription id for cancellation events (4f73b3f)
  • ci: add secrets to e2e test environment (c5a0714)
  • ci: increase test timeout (4a47350)
  • ci: install playwright deps before e2e tests (5ccd204)
  • ci: run also e2e tests (ab2265d)
  • ci: run only one job in parallel (3962cad)
  • ci: use node 16 (4e4b62a)
  • decrease logging (e6fa37d)
  • deps-dev: bump @playwright/test from 1.25.1 to 1.26.1 (ec11ed7)
  • deps-dev: bump @playwright/test from 1.28.0 to 1.28.1 (1c838e8)
  • deps-dev: bump @playwright/test from 1.29.1 to 1.30.0 (ac2c6ed)
  • deps-dev: bump @playwright/test from 1.30.0 to 1.31.1 (a1ec3d0)
  • deps-dev: bump chai from 4.3.6 to 4.3.7 (5e5ed59)
  • deps-dev: bump eslint from 8.23.0 to 8.24.0 (ba6d98c)
  • deps-dev: bump eslint from 8.24.0 to 8.26.0 (cc75438)
  • deps-dev: bump eslint from 8.30.0 to 8.31.0 (075e140)
  • deps-dev: bump eslint from 8.31.0 to 8.33.0 (f925f25)
  • deps-dev: bump eslint from 8.33.0 to 8.35.0 (bd322b5)
  • deps-dev: bump express from 4.18.1 to 4.18.2 (036c12f)
  • deps-dev: bump firebase-tools from 11.19.0 to 11.22.0 (cd5f827)
  • deps-dev: bump firebase-tools from 11.22.0 to 11.24.0 (b178099)
  • deps-dev: bump firebase-tools from 11.8.0 to 11.13.0 (f4b4159)
  • deps-dev: bump mocha from 10.0.0 to 10.1.0 (6ec5c32)
  • deps-dev: bump nodemon from 2.0.19 to 2.0.20 (1a5574e)
  • deps-dev: bump puppeteer from 16.2.0 to 17.0.0 (ab7c437)
  • deps-dev: bump puppeteer from 17.0.0 to 18.0.5 (66d5835)
  • deps-dev: bump puppeteer from 18.0.5 to 19.2.0 (507a9cf)
  • deps-dev: bump puppeteer from 19.4.1 to 19.6.2 (8b16085)
  • deps-dev: bump puppeteer from 19.6.3 to 19.7.2 (321de3a)
  • deps: bump actions/stale from 5 to 6 (3ab054b)
  • deps: bump actions/stale from 6 to 7 (857662c)
  • deps: bump firebase-admin from 11.0.1 to 11.2.0 (16f531a)
  • deps: bump firebase-admin from 11.2.0 to 11.3.0 (138944c)
  • deps: bump firebase-admin from 11.4.1 to 11.5.0 (8a4538a)
  • deps: bump got from 12.4.1 to 12.5.1 (432a01a)
  • deps: bump got from 12.5.1 to 12.5.2 (5e30051)
  • deps: install e2e test dependencies (7cde9cf)
  • deps: install got (b09c7b1)
  • deps: install html entities (fea9bb4)
  • deps: install mongodb dep (f655a93)
  • deps: make firebase tools a dev dep (829bc39)
  • deps: remove dependency to playwright-core (b057a17)
  • deps: remove firebase, add mongodb dependencies (3b72445)
  • deps: update dependencies (6c2bd92)
  • deps: update dependencies (029c9cc)
  • deps: update dependencies (f3edfd7)
  • deps: update dependencies (682932d)
  • deps: update dependencies (a214011)
  • do not encode payments twice (b388245)
  • do not reassign result (cc8e2b4)
  • do not source hidden env file (7e51518)
  • do not store signature with payments (186f446)
  • docs: add jsdoc to all functions (567adb1)
  • docs: add jsdoc types (0b86cae)
  • docs: update readme (aae9412)
  • docs: update readme (fe85bf0)
  • docs: update readme (27d145f)
  • error-handler: during tests always return 200 (d213d48)
  • firebase: prevent port collisions (452a180)
  • fix type on description (4372e05)
  • gitignore: ignore test-results folder (637faad)
  • handle unknown events gracefully (694d1f1)
  • hooks: do not store unit_price (68485d7)
  • lint: dont require unix style line ending (bad298f)
  • log binary and args when starting and stopping (9a8e67f)
  • logger: update name (085fc1c)
  • make git ignore .env.local files (ee5ea4e)
  • make sure test scripts actually run (e06602b)
  • on ci/cd envs return 202 even if not found (5cb2502)
  • prevent duplicate code when handling payments (5bf1ffd)
  • release: 0.10.0 (c767990)
  • release: 0.10.1 (b7d2cb7)
  • release: 0.11.0 (d5d9c9e)
  • release: 0.12.0 (28f70e2)
  • release: 0.13.0 (b638156)
  • release: 0.14.0 (faaa24a)
  • release: 0.15.0 (fc2ebf0)
  • release: 0.15.1 (41b3d5d)
  • release: 0.16.0 (cc92090)
  • release: 0.17.0 (0422459)
  • release: 0.18.0 (fd4cffb)
  • release: 0.19.0 (b5fe118)
  • release: 0.2.0 (ae5cf2c)
  • release: 0.20.0 (1ded858)
  • release: 0.21.0 (456df1b)
  • release: 0.22.0 (c243686)
  • release: 0.23.0 (56dd77f)
  • release: 0.23.1 (b94248f)
  • release: 0.3.0 (de69d81)
  • release: 0.4.0 (c0878f1)
  • release: 0.5.0 (e4fb96b)
  • release: 0.6.0 (ebe76c0)
  • release: 0.7.0 (9124863)
  • release: 0.8.0 (5046e4c)
  • release: 0.9.0 (f16162c)
  • remove client.js (2f2b730)
  • remove firebase artifacts (75424eb)
  • remove unused firebase modules (d822895)
  • remove unused flatten component (88e7af5)
  • remove unused import (be6f57d)
  • remove unused imports (c8de53d)
  • reset version (771ce96)
  • run firebase emulator before all tests (7415561)
  • run test script (1c87211)
  • run tests before releases (7d07774)
  • skip tests before release (6ae5844)
  • sort list also in sub status descending (0d07b9f)
  • store also checkout id of cancelled events (8b907cd)
  • subscription-hooks: add resource name property (bf33010)
  • subscription-hydration: do not require checkout id (81c30b1)
  • subscription-hydration: hide private instance properties (36130ff)
  • subscription-hydration: store sale gross and payment amount as string (40e55f8)
  • subscription-info: add logging (d4254c6)
  • subscription-info: delete unused method (a77b331)
  • subscription-info: require also hook storage instance (af31996)
  • subscription-info: update constructor jsdoc (726cd7e)
  • update module name in logger (19d1b1b)
  • update name and reset version (a5d364c)
  • update package name (678be12)
  • update readme (c3b6a2b)
  • update readme (62105bb)
  • update release scripts (6d62594)
  • update resource name (f8ea29d)
  • update subscription plan ids (a3a547e)
  • update test scripts (94ee0ef)
  • update what is logged and when (3e62e4d)

0.23.1 (2023-02-25)

Bug Fixes

  • null pointers when using resource name starting with _ (c209063)

0.23.0 (2023-02-25)

Features

  • allow resource name to be customized (42ab972)

Chores

  • deps-dev: bump @playwright/test from 1.29.1 to 1.30.0 (2b413cf)
  • deps-dev: bump eslint from 8.31.0 to 8.33.0 (2d69506)
  • deps-dev: bump firebase-tools from 11.19.0 to 11.22.0 (91f759d)
  • deps-dev: bump puppeteer from 19.4.1 to 19.6.2 (5f60534)
  • deps: bump firebase-admin from 11.4.1 to 11.5.0 (dba7120)
  • deps: update dependencies (126b282)

0.22.0 (2023-01-20)

Features

  • subscription-info: return update and cancel url too (0959d5f)

0.21.0 (2023-01-18)

Features

  • subscription-hydration: also store instalments and sale_gross values (b1482c0)
  • subscriptioninfo: return more details for hydrated payments (a13489c)

Chores

  • subscription-hydration: store sale gross and payment amount as string (64b3a60)

0.20.0 (2023-01-08)

Features

  • subscription-hydration: require plan id instead of subscription id param (9e2f32a)
  • subscription-info: add find subscription id method (a6db41e)

Refactorings

  • subscription-hooks: do not flatten objects (d7d5bac)
  • subscription-hooks: return promise instead of waiting it (95be565)

Chores

  • remove unused flatten component (6ace030)
  • subscription-hooks: add resource name property (4b39dd4)
  • subscription-hydration: hide private instance properties (b39c13d)
  • subscription-info: update constructor jsdoc (e466977)

0.19.0 (2023-01-07)

Features

  • api: add get subscription payments method (8e7a294)
  • subscription-hydration: also hydrate payments (c6c254c)
  • subscription-hydration: check if plan already active (fd4ed5d)
  • subscription-hydration: set effective cancellation date based on last payment (85cfd3b)

Bug Fixes

  • html-encoder: do not encode value false (5ad8987)

Refactorings

  • promote subscription hydration to own component (9d3436b)
  • use singular for main component exports (2ccd3c9)

Chores

  • add order details callback (e9de247)
  • subscription-hydration: do not require checkout id (50baca2)

0.18.0 (2023-01-03)

Features

  • api: add get plan by id method (a700319)
  • middleware: emit events after successful hook processing (4764578)
  • subscription-info: expect object or resource ids (4df224b)

Bug Fixes

  • subscription-info: return subscription and not parent object (f184ad7)

Chores

  • deps-dev: bump eslint from 8.30.0 to 8.31.0 (8750ddf)
  • deps: bump actions/stale from 6 to 7 (f89f55b)
  • deps: update dependencies (523ca9e)
  • do not source hidden env file (891c5e0)
  • firebase: prevent port collisions (e49452a)
  • fix type on description (fc6132d)

0.17.0 (2022-12-24)

Features

  • add jsdoc to main export to enable typings (2143b3c)

Chores

  • update module name in logger (3c6df94)

0.16.0 (2022-12-10)

Features

  • allow logging of outgoing requests (4f4bde3)

Bug Fixes

  • middleware: handle of failed and refunded payments (9045cf0)

Chores

  • add simple logger (3dc4b94)
  • deps-dev: bump @playwright/test from 1.28.0 to 1.28.1 (83fb530)
  • deps-dev: bump chai from 4.3.6 to 4.3.7 (8dd28d7)
  • deps-dev: bump express from 4.18.1 to 4.18.2 (548740f)
  • deps-dev: bump mocha from 10.0.0 to 10.1.0 (bf95f5b)
  • deps: bump firebase-admin from 11.2.0 to 11.3.0 (4b83bfa)

0.15.1 (2022-11-27)

Bug Fixes

0.15.0 (2022-11-27)

Features

  • add client function to create customData objects (66abf90)
  • api: add get order method (8055f97)
  • extract ids from namespaced object (77542b8)
  • subscription-info: use custom data to verify api client (4ca8117)

Refactorings

  • api: add api version to path elements (344a0fa)
  • api: create base urls for vendor and checkout api (a7ad551)

Chores

  • error-handler: during tests always return 200 (ac64039)
  • subscription-info: add logging (69c7c01)
  • subscription-info: delete unused method (ae2b96b)

0.14.0 (2022-11-19)

Features

  • api: ensure api is always initialized before first request (de0344c)

0.13.0 (2022-11-17)

Features

  • api: add get single subscription method (606d247)
  • handle errors in middleware gracefully (7adeaa2)
  • subscription-info: allow hydration of local status (48aa964)
  • subscription-info: check whether sub was already hydrated (dbb2df2)

Bug Fixes

  • cannot import without es6 (7700a88)

Refactorings

  • rename sub not found variable (6cb69f8)

Chores

  • add missing whitespace (7ff0354)
  • add payloads of client events (3d069ab)
  • also kill hook server if necessary (d796a2f)
  • ci: increase test timeout (cb9aff0)
  • ci: use node 16 (2607bac)
  • deps-dev: bump eslint from 8.24.0 to 8.26.0 (f1e1f01)
  • deps-dev: bump nodemon from 2.0.19 to 2.0.20 (9b9cfa4)
  • deps-dev: bump puppeteer from 18.0.5 to 19.2.0 (f6f215e)
  • deps: bump firebase-admin from 11.0.1 to 11.2.0 (5d2617f)
  • deps: bump got from 12.5.1 to 12.5.2 (0f6a15d)
  • deps: update dependencies (8d1a9aa)
  • hooks: do not store unit_price (c5441d5)
  • log binary and args when starting and stopping (9566c48)
  • on ci/cd envs return 202 even if not found (992064e)
  • store also checkout id of cancelled events (55c88b6)
  • subscription-info: require also hook storage instance (86081b1)

0.12.0 (2022-10-13)

Features

  • api: add list plans method (0dcb855)
  • api: add list products method (03f3327)
  • api: allow pagination and fetching all subs (23c4432)
  • api: enable customization of http params (9780123)
  • export api constructor too (7fa7dbe)

Chores

  • skip tests before release (3cf108b)

0.11.0 (2022-10-12)

Features

  • api: import got only once (542e40b)
  • subscription-info: add cancel subscription method (09656f0)
  • subscription-info: add update subscription plan method (e19306b)
  • subscription-info: catch and log api errors (7fa6791)

Refactorings

  • extract get subscription plan id to separate method (3dc38bf)

Chores

  • add jsdoc description to cancel subscription method (c03b6a8)
  • update readme (1fa863e)

0.10.1 (2022-10-09)

Bug Fixes

  • timestamp not passed to get stard and end dates (9481284)

0.10.0 (2022-10-09)

Features

  • return future subscription info too (68a6b04)

0.9.0 (2022-10-02)

Features

  • do not add upcoming payment if sub expires before (92f0661)

Bug Fixes

  • check if payments exists before accessing one of them (4e6739f)

Chores

  • ci: run only one job in parallel (931145a)
  • deps-dev: bump @playwright/test from 1.25.1 to 1.26.1 (a6a914f)
  • deps-dev: bump eslint from 8.23.0 to 8.24.0 (e29f1c8)
  • deps-dev: bump firebase-tools from 11.8.0 to 11.13.0 (6c5e286)
  • deps-dev: bump puppeteer from 17.0.0 to 18.0.5 (765f918)
  • deps: bump actions/stale from 5 to 6 (5eddd24)
  • deps: bump got from 12.4.1 to 12.5.1 (5f6e29f)

0.8.0 (2022-09-30)

Features

  • implement get subscription info method (f061e6a)

Refactorings

  • move subscription hooks handling to own component (e29ecb9)
  • rename private method name (38a7281)
  • split hook handling and subscription info components (5adb158)

Chores

0.7.0 (2022-09-27)

Features

  • sort payments trail descending (24e5ce3)
  • sort status trail also descending (54f9128)

Chores

  • sort list also in sub status descending (f886837)
  • update release scripts (c7b3094)

0.6.0 (2022-09-27)

Features

  • add upcoming payment also to payments trail (45e746d)
  • api: add refund payment method (3a7d4eb)
  • html encode also all subscription events (953bc16)

Chores

  • add prefix to pre checkout placeholder (11bd7c8)
  • ci: install playwright deps before e2e tests (97b8a7a)
  • deps: remove dependency to playwright-core (be28b9a)
  • do not reassign result (b89a13c)
  • handle unknown events gracefully (a8f1c24)
  • prevent duplicate code when handling payments (0709909)
  • update resource name (c98bc6b)

0.5.0 (2022-09-14)

Features

  • after sub updated deactivate prev sub (9e301d3)
  • api: add service for paddle subscriptions api (f6fc40d)

Refactorings

Chores

  • allow 10s clockdrift checking sub activeness (ba9ab0e)
  • also store subscription id for cancellation events (596b85e)
  • ci: add secrets to e2e test environment (243cb51)
  • decrease logging (ad75551)
  • deps: install got (629fd9c)
  • make git ignore .env.local files (b43eebc)
  • update what is logged and when (a877918)

0.4.0 (2022-09-11)

Features

  • add get start and end date method (db8e775)
  • add method to compile payments list (93b2704)
  • add method to compile status trail (7dfe368)
  • calculate subscription status per subscription plan id (f0e02bd)
  • return payment trail per sub plan id (bc4c0bd)
  • return start/end date per sub plan id (9a217a9)
  • return status trail per sub plan id (9f1444b)

Refactorings

  • use event_time instead of start_time for status (b2fc819)
  • use event_time instead of start_time for status (bb107dc)

Chores

  • add start date for placeholder (54d837f)
  • do not store signature with payments (e697625)
  • docs: add jsdoc to all functions (1596d8c)
  • docs: add jsdoc types (609ba17)
  • docs: update readme (8fbb40a)

0.3.0 (2022-09-08)

Features

  • dont store subscription in subcollection (6ff74fb)

Refactorings

  • rename all status methods (1dfe541)

Chores

  • docs: update readme (6afe36d)
  • make sure test scripts actually run (591a7a1)
  • run tests before releases (43b7821)

0.2.0 (2022-09-04)

Features

  • add actual server middleware (62ebb98)
  • add body parser module (c46543f)
  • add html encoder (d4cd798)
  • add methods for payments hooks (6eeb570)
  • allow subs to be stored in nested collections (cb76db8)
  • allow to calc sub state in the future (76012fe)
  • also store alert id and name in status models (0f0c913)
  • implement create, update and cancel subscription (bbb716b)
  • throw errors if arguments are falsy (8ef9797)
  • update module exports (c6908ef)

Bug Fixes

  • payments overwritten by subscription hooks (f8a5682)
  • start_at property not used in condition (6999310)
  • used wrong quantity property name (aafae89)

Refactorings

  • add comments and extract to smaller methods (8f22288)
  • prepare usage of nested firestore resource (422f5f7)

Chores

  • add and update bash scripts (6c6e030)
  • add firestore functions (0d41cc2)
  • add hook server (f0d7416)
  • add local firebase emulator config (25eaf32)
  • add test script (5308880)
  • allow node globals (bfebb3b)
  • ci: run also e2e tests (269955d)
  • deps-dev: bump puppeteer from 16.2.0 to 17.0.0 (638874c)
  • deps: install e2e test dependencies (4dcd2ac)
  • deps: install html entities (fea9bb4)
  • deps: make firebase tools a dev dep (510a0d3)
  • deps: update dependencies (c19c04a)
  • do not encode payments twice (d364979)
  • docs: update readme (af94536)
  • remove unused import (7d17ca0)
  • remove unused imports (91e5ed4)
  • run firebase emulator before all tests (7415561)
  • run test script (1c87211)
  • update test scripts (982e078)

0.1.0 (2022-08-21)

Chores