- Update readme to use newly Web Monetization class
- (Feat): add
.setBiasGroup()
to Web Monetization class - (Addjust):
affiliate
as default ID for Web Monetization class setupDynamicRevshare function.
Initlaize WebMonetization class. Early affiliate and bias system implemented.
Adjustment from migrating from Fundme.js to Webfunding.js
- Migrate to webfunding repo
- Allow
getPaymentPointerSharePercentage
andcreateWebfundingLeaderboard
to get revenue share stats among contributors.
- New site added to package.json.
- FEATURE: new feature splitFund(amount) can return an array of parameter's fraction based on established fundme pointer pool.
- rename package entry .ts file
fundme.ts
->index.ts
.
- Bump dependencies
- Install dependabot
- tests: improve to 100% coverage
- Hotfix: fix nodejs env check error (now for real)
- Hotfix: fix require undefined error on browser.
- Fix: critical error when using ES Modules version.
- FEATURE: basic calculation of relative weight is now live!
- Removing rollup typescript plugin and use Babel instead, allowing to use upcoming modern javascript feature (such as nullish coalescing, etc).
- bump dependencies.
- FEATURE: Server-side fund() now live.
- Hash custom syntax
#
for declaring weight cleaned on single pointer fund(). - Errors now more readable.
- Refactor main.ts
- FEATURE: Custom syntax with
<template webfunding></template>
tags.
- Now you can use string to provide payment pointer address weight with modifier
#
. For example:$wallet.address.com/test#22
will be read as having$wallet.address.com/test
as its address and has22
weight. - Fix: error parsing JSON
<script webfunding>
if the content isstring
.
- Add examples for using fundme.js in the browser.
- Now
<script webfunding>
will throw an error if its type notapplication/json
. - Test: add test for
<script webfunding>
type.
- Change production IIFE script name from
fund
tofundme
. Calling fundme.js in browser now usingfundme.fund()
(previouslyfund.fund()
with IIFE). - Add Server-Side on the roadmap.
- Previous NPM publish is accidental and the document isn't clear yet, now README.md has been updated.
- Make it clear that this is a client-side library and tested with ES Module imports
- Link github repo to package.json
- Hello world!