@ztimson/momentum 0.52.1 → 0.52.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts.map +1 -1
- package/dist/index.cjs +22 -12
- package/dist/index.mjs +22 -12
- package/dist/payments.d.ts +12 -2
- package/dist/payments.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,gBAAgB,EAAM,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AAEpC,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,CAAC;AAEnF,qBAAa,MAAO,SAAQ,gBAAgB;IA0C/B,OAAO,CAAC,GAAG;IAAO,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAxCvD,6BAA6B;IAC7B,IAAI,MAAM,YAAyD;IAEnE,OAAO,CAAC,cAAc,CAAS;IAC/B,gCAAgC;IAChC,IAAI,aAAa,IACkB,OAAO,CADS;IACnD,OAAO,KAAK,aAAa,QAGxB;IAED,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,oCAAoC;IACpC,IAAI,QAAQ,IAAI,QAAQ,CAWvB;IAED,iCAAiC;IACjC,IAAI,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAGvD;IAED,OAAO,CAAC,IAAI,CAAC,CAAU;IACvB,gCAAgC;IAChC,IAAI,GAAG,IAAI,OAAO,CAIjB;gBAEmB,GAAG,EAAE,GAAG,EAAmB,QAAQ,EAAE,QAAQ;IAKjE;;;;OAIG;IACG,MAAM,CAAC,MAAM,CAAC,E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=> __defNormalProp(obj, typeof key !== "sy
|
|
|
842
842
|
const parsedFind = makeArray(filter).map((pe) => new PathEvent(pe));
|
|
843
843
|
return parsedTarget.filter((t) => {
|
|
844
844
|
if (!t.fullPath && t.all) return true;
|
|
845
|
-
return !!parsedFind.find((f) => f.fullPath.startsWith(t.fullPath) && (f.all || t.all || t.methods.intersection(f.methods).length));
|
|
845
|
+
return !!parsedFind.find((f) => (t.fullPath.startsWith(f.fullPath) || f.fullPath.startsWith(t.fullPath)) && (f.all || t.all || t.methods.intersection(f.methods).length));
|
|
846
846
|
});
|
|
847
847
|
}
|
|
848
848
|
/**
|
|
@@ -1500,18 +1500,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1500
1500
|
meta2.content = value;
|
|
1501
1501
|
document.head.append(meta2);
|
|
1502
1502
|
};
|
|
1503
|
-
|
|
1503
|
+
if (!this.settings.cache.keys().length) reload = true;
|
|
1504
|
+
let settings = await (reload ? this.settings.all(false, true) : this.settings.cache);
|
|
1505
|
+
if (reload == null) this.settings.all(false, true).then(() => this.inject(false));
|
|
1504
1506
|
if (settings["title"]) document.querySelectorAll(".momentum-title").forEach((el) => el.innerText = settings["title"]);
|
|
1505
1507
|
if (settings["description"]) document.querySelectorAll(".momentum-description").forEach((el) => el.innerText = settings["description"]);
|
|
1506
1508
|
if (settings["version"]) document.querySelectorAll(".momentum-version").forEach((el) => el.innerText = settings["version"]);
|
|
1507
1509
|
if (settings["logo"]) document.querySelectorAll(".momentum-logo").forEach((el) => el.src = settings["logo"]);
|
|
1508
|
-
meta("name", "theme-color", (_a = settings["theme"]) == null ? void 0 : _a.background);
|
|
1509
|
-
document.body.classList.add(((_b = settings["theme"]) == null ? void 0 : _b.darkMode) ? "theme-dark" : "theme-light");
|
|
1510
|
-
document.body.classList.remove(((_c = settings["theme"]) == null ? void 0 : _c.darkMode) ? "theme-light" : "theme-dark");
|
|
1511
|
-
document.body.style.setProperty("--theme-backdrop", (_d = settings["theme"]) == null ? void 0 : _d.background);
|
|
1512
|
-
document.body.style.setProperty("--theme-primary", (_e = settings["theme"]) == null ? void 0 : _e.primary);
|
|
1513
|
-
document.body.style.setProperty("--theme-accent", (_f = settings["theme"]) == null ? void 0 : _f.accent);
|
|
1514
|
-
document.body.style.setProperty("--theme-contrast", blackOrWhite((_g = settings["theme"]) == null ? void 0 : _g.background));
|
|
1515
1510
|
meta("name", "description", settings["description"]);
|
|
1516
1511
|
meta("itemprop", "name", settings["title"]);
|
|
1517
1512
|
meta("itemprop", "description", settings["description"]);
|
|
@@ -1542,6 +1537,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1542
1537
|
if (!dismissed && !this.pwa && this.mobile) this.pwaPrompt();
|
|
1543
1538
|
}, 6e4);
|
|
1544
1539
|
}
|
|
1540
|
+
meta("name", "theme-color", (_a = settings["theme"]) == null ? void 0 : _a.background);
|
|
1541
|
+
document.body.classList.add(((_b = settings["theme"]) == null ? void 0 : _b.darkMode) ? "theme-dark" : "theme-light");
|
|
1542
|
+
document.body.classList.remove(((_c = settings["theme"]) == null ? void 0 : _c.darkMode) ? "theme-light" : "theme-dark");
|
|
1543
|
+
const style = document.querySelector("style.momentum-theme") || document.createElement("style");
|
|
1544
|
+
style.classList.add("momentum-theme");
|
|
1545
|
+
style.innerHTML = `
|
|
1546
|
+
:root {
|
|
1547
|
+
--theme-backdrop: ${(_d = settings["theme"]) == null ? void 0 : _d.background} !important;
|
|
1548
|
+
--theme-primary: ${(_e = settings["theme"]) == null ? void 0 : _e.primary} !important;
|
|
1549
|
+
--theme-accent: ${(_f = settings["theme"]) == null ? void 0 : _f.accent} !important;
|
|
1550
|
+
--theme-contrast: ${blackOrWhite((_g = settings["theme"]) == null ? void 0 : _g.background)} !important;
|
|
1551
|
+
}
|
|
1552
|
+
`;
|
|
1553
|
+
if (!style.parentElement) document.head.append(style);
|
|
1545
1554
|
this.emit(PES`client/inject:c`, this.platform);
|
|
1546
1555
|
}
|
|
1547
1556
|
/**
|
|
@@ -2009,12 +2018,13 @@ ${log}`;
|
|
|
2009
2018
|
...this.opts
|
|
2010
2019
|
};
|
|
2011
2020
|
}
|
|
2012
|
-
async checkout(cart,
|
|
2021
|
+
async checkout(cart, opts = {}) {
|
|
2013
2022
|
if (!(cart == null ? void 0 : cart.length)) throw new Error("Please add items to cart`");
|
|
2014
2023
|
const request = await this.api.request({ url: "/api/payments", body: {
|
|
2015
2024
|
cart,
|
|
2016
|
-
|
|
2017
|
-
|
|
2025
|
+
recipient: opts == null ? void 0 : opts.recipient,
|
|
2026
|
+
invoice: opts == null ? void 0 : opts.invoice,
|
|
2027
|
+
extra: opts == null ? void 0 : opts.extra
|
|
2018
2028
|
} });
|
|
2019
2029
|
this.emit(PES`payments:c`, request.token);
|
|
2020
2030
|
return request.token;
|
package/dist/index.mjs
CHANGED
|
@@ -838,7 +838,7 @@ class PathEvent {
|
|
|
838
838
|
const parsedFind = makeArray(filter).map((pe) => new PathEvent(pe));
|
|
839
839
|
return parsedTarget.filter((t) => {
|
|
840
840
|
if (!t.fullPath && t.all) return true;
|
|
841
|
-
return !!parsedFind.find((f) => f.fullPath.startsWith(t.fullPath) && (f.all || t.all || t.methods.intersection(f.methods).length));
|
|
841
|
+
return !!parsedFind.find((f) => (t.fullPath.startsWith(f.fullPath) || f.fullPath.startsWith(t.fullPath)) && (f.all || t.all || t.methods.intersection(f.methods).length));
|
|
842
842
|
});
|
|
843
843
|
}
|
|
844
844
|
/**
|
|
@@ -1496,18 +1496,13 @@ class Client extends PathEventEmitter {
|
|
|
1496
1496
|
meta2.content = value;
|
|
1497
1497
|
document.head.append(meta2);
|
|
1498
1498
|
};
|
|
1499
|
-
|
|
1499
|
+
if (!this.settings.cache.keys().length) reload = true;
|
|
1500
|
+
let settings = await (reload ? this.settings.all(false, true) : this.settings.cache);
|
|
1501
|
+
if (reload == null) this.settings.all(false, true).then(() => this.inject(false));
|
|
1500
1502
|
if (settings["title"]) document.querySelectorAll(".momentum-title").forEach((el) => el.innerText = settings["title"]);
|
|
1501
1503
|
if (settings["description"]) document.querySelectorAll(".momentum-description").forEach((el) => el.innerText = settings["description"]);
|
|
1502
1504
|
if (settings["version"]) document.querySelectorAll(".momentum-version").forEach((el) => el.innerText = settings["version"]);
|
|
1503
1505
|
if (settings["logo"]) document.querySelectorAll(".momentum-logo").forEach((el) => el.src = settings["logo"]);
|
|
1504
|
-
meta("name", "theme-color", (_a = settings["theme"]) == null ? void 0 : _a.background);
|
|
1505
|
-
document.body.classList.add(((_b = settings["theme"]) == null ? void 0 : _b.darkMode) ? "theme-dark" : "theme-light");
|
|
1506
|
-
document.body.classList.remove(((_c = settings["theme"]) == null ? void 0 : _c.darkMode) ? "theme-light" : "theme-dark");
|
|
1507
|
-
document.body.style.setProperty("--theme-backdrop", (_d = settings["theme"]) == null ? void 0 : _d.background);
|
|
1508
|
-
document.body.style.setProperty("--theme-primary", (_e = settings["theme"]) == null ? void 0 : _e.primary);
|
|
1509
|
-
document.body.style.setProperty("--theme-accent", (_f = settings["theme"]) == null ? void 0 : _f.accent);
|
|
1510
|
-
document.body.style.setProperty("--theme-contrast", blackOrWhite((_g = settings["theme"]) == null ? void 0 : _g.background));
|
|
1511
1506
|
meta("name", "description", settings["description"]);
|
|
1512
1507
|
meta("itemprop", "name", settings["title"]);
|
|
1513
1508
|
meta("itemprop", "description", settings["description"]);
|
|
@@ -1538,6 +1533,20 @@ class Client extends PathEventEmitter {
|
|
|
1538
1533
|
if (!dismissed && !this.pwa && this.mobile) this.pwaPrompt();
|
|
1539
1534
|
}, 6e4);
|
|
1540
1535
|
}
|
|
1536
|
+
meta("name", "theme-color", (_a = settings["theme"]) == null ? void 0 : _a.background);
|
|
1537
|
+
document.body.classList.add(((_b = settings["theme"]) == null ? void 0 : _b.darkMode) ? "theme-dark" : "theme-light");
|
|
1538
|
+
document.body.classList.remove(((_c = settings["theme"]) == null ? void 0 : _c.darkMode) ? "theme-light" : "theme-dark");
|
|
1539
|
+
const style = document.querySelector("style.momentum-theme") || document.createElement("style");
|
|
1540
|
+
style.classList.add("momentum-theme");
|
|
1541
|
+
style.innerHTML = `
|
|
1542
|
+
:root {
|
|
1543
|
+
--theme-backdrop: ${(_d = settings["theme"]) == null ? void 0 : _d.background} !important;
|
|
1544
|
+
--theme-primary: ${(_e = settings["theme"]) == null ? void 0 : _e.primary} !important;
|
|
1545
|
+
--theme-accent: ${(_f = settings["theme"]) == null ? void 0 : _f.accent} !important;
|
|
1546
|
+
--theme-contrast: ${blackOrWhite((_g = settings["theme"]) == null ? void 0 : _g.background)} !important;
|
|
1547
|
+
}
|
|
1548
|
+
`;
|
|
1549
|
+
if (!style.parentElement) document.head.append(style);
|
|
1541
1550
|
this.emit(PES`client/inject:c`, this.platform);
|
|
1542
1551
|
}
|
|
1543
1552
|
/**
|
|
@@ -2005,12 +2014,13 @@ class Payments extends PathEventEmitter {
|
|
|
2005
2014
|
...this.opts
|
|
2006
2015
|
};
|
|
2007
2016
|
}
|
|
2008
|
-
async checkout(cart,
|
|
2017
|
+
async checkout(cart, opts = {}) {
|
|
2009
2018
|
if (!(cart == null ? void 0 : cart.length)) throw new Error("Please add items to cart`");
|
|
2010
2019
|
const request = await this.api.request({ url: "/api/payments", body: {
|
|
2011
2020
|
cart,
|
|
2012
|
-
|
|
2013
|
-
|
|
2021
|
+
recipient: opts == null ? void 0 : opts.recipient,
|
|
2022
|
+
invoice: opts == null ? void 0 : opts.invoice,
|
|
2023
|
+
extra: opts == null ? void 0 : opts.extra
|
|
2014
2024
|
} });
|
|
2015
2025
|
this.emit(PES`payments:c`, request.token);
|
|
2016
2026
|
return request.token;
|
package/dist/payments.d.ts
CHANGED
|
@@ -13,13 +13,23 @@ export type Card = {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
+
export type PaymentAccount = {
|
|
17
|
+
_id?: string;
|
|
18
|
+
username: string;
|
|
19
|
+
balance: number;
|
|
20
|
+
subscriptions: {
|
|
21
|
+
_id: string;
|
|
22
|
+
created: Date;
|
|
23
|
+
interval: number;
|
|
24
|
+
}[];
|
|
25
|
+
};
|
|
16
26
|
export type PaymentOptions = {
|
|
17
27
|
/** Path to payment page */
|
|
18
28
|
paymentUrl?: string;
|
|
19
29
|
};
|
|
20
30
|
export type PaymentTransaction = Meta & {
|
|
21
|
-
/**
|
|
22
|
-
|
|
31
|
+
/** Deliver to user/email */
|
|
32
|
+
recipient: string;
|
|
23
33
|
/** Purchased items */
|
|
24
34
|
receipt: {
|
|
25
35
|
_id: number | string;
|
package/dist/payments.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments.d.ts","sourceRoot":"","sources":["../src/payments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAM,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,IAAI,GAAG;IAClB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE;QACT,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE;YACT,WAAW,CAAC,EAAE,MAAM,CAAC;SACrB,CAAA;KACD,CAAA;CACD,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG;IACvC,
|
|
1
|
+
{"version":3,"file":"payments.d.ts","sourceRoot":"","sources":["../src/payments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAM,MAAM,gBAAgB,CA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ACR,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACtB,MAAM,EAAE,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,QAAS,SAAQ,gBAAgB;aAQE,IAAI,EAAE,cAAc;IAPnE,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAO;IAE3B,OAAO,CAAC,MAAM,CAAS;IAEvB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;gBAEH,GAAG,EAAE,GAAG,GAAG,MAAM,EAAkB,IAAI,GAAE,cAAmB;YAU1D,QAAQ;YAYR,IAAI;IAYZ,OAAO,CAAC,QAAQ,CAAC,EAAE,MAAM;IAMzB,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAO9C,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAahD,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC;IAW9E;;;;;OAKG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,GAAE,MAAwB,GAAG,OAAO,CAAC,MAAM,CAAC;CAqB/E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ztimson/momentum",
|
|
3
|
-
"version": "0.52.
|
|
3
|
+
"version": "0.52.2",
|
|
4
4
|
"description": "Client library for momentum",
|
|
5
5
|
"keywords": ["Momentum"],
|
|
6
6
|
"author": "Zak Timson <zaktimson@gmail.com>",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"postbuild": "node -e \"const fs=require('fs');fs.cpSync('dist/index.mjs','../server/public/momentum.mjs');fs.cpSync('dist/index.cjs','../server/public/momentum.js');fs.cpSync('dist/momentum.worker.js','../server/public/momentum.worker.js')\""
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@ztimson/utils": "0.23.
|
|
27
|
+
"@ztimson/utils": "0.23.11",
|
|
28
28
|
"var-persist": "^1.0.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|