@ychris12138/dsh-usage-stats 0.3.0 → 0.3.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/README.md +21 -23
- package/SECURITY.md +1 -1
- package/docs/release-checklist.md +23 -11
- package/docs/release-notes-v0.3.1.md +40 -0
- package/docs/release-notes-v0.3.2.md +36 -0
- package/lib/accounts.js +3 -1
- package/lib/balance.js +115 -12
- package/lib/client.js +159 -317
- package/lib/index.js +267 -47
- package/lib/orcarouter.js +79 -0
- package/lib/provider-identity.js +3 -0
- package/package.json +6 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ychris12138/dsh-usage-stats",
|
|
3
3
|
"description": "Token usage, provider accounts, session cost estimates, budgets, and exports for the dsh web GUI",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.2",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/Ychris12138/dsh-usage-stats.git"
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
"docs/images/usage-panel.svg",
|
|
24
24
|
"docs/release-checklist.md",
|
|
25
25
|
"docs/release-notes-v0.3.0.md",
|
|
26
|
+
"docs/release-notes-v0.3.1.md",
|
|
27
|
+
"docs/release-notes-v0.3.2.md",
|
|
26
28
|
"scripts/install.mjs",
|
|
27
29
|
"README.md",
|
|
28
30
|
"LICENSE",
|
|
@@ -51,10 +53,10 @@
|
|
|
51
53
|
}
|
|
52
54
|
},
|
|
53
55
|
"scripts": {
|
|
54
|
-
"check": "npm run check:release && node --check lib/index.js && node --check lib/usage.js && node --check lib/billing.js && node --check lib/pricing.js && node --check lib/network.js && node --check lib/provider-identity.js && node --check lib/balance.js && node --check lib/subscriptions.js && node --check lib/accounts.js && node --check lib/export.js && node --check lib/client.js && node --check scripts/install.mjs && node --check scripts/smoke-client.mjs && node --check scripts/test-overlay-layering.mjs && node --check scripts/test-bundle.mjs && node --check scripts/test-install.mjs && node --check scripts/test-server.mjs && node --check scripts/test-export.mjs && node --check scripts/test-provider-identity.mjs && node --check scripts/test-pricing.mjs && node --check scripts/test-billing.mjs && node --check scripts/test-balance.mjs && node --check scripts/test-subscriptions.mjs && node --check scripts/test-accounts.mjs && node --check scripts/release-metadata.mjs && node --check scripts/check-release-metadata.mjs && node --check scripts/sync-release-version.mjs && node --check scripts/validate-fold.mjs && node --check scripts/verify-raw.mjs && node --check scripts/check-balance.mjs",
|
|
56
|
+
"check": "npm run check:release && node --check lib/index.js && node --check lib/usage.js && node --check lib/billing.js && node --check lib/pricing.js && node --check lib/network.js && node --check lib/provider-identity.js && node --check lib/orcarouter.js && node --check lib/balance.js && node --check lib/subscriptions.js && node --check lib/accounts.js && node --check lib/export.js && node --check lib/client.js && node --check scripts/install.mjs && node --check scripts/smoke-client.mjs && node --check scripts/test-overlay-layering.mjs && node --check scripts/test-bundle.mjs && node --check scripts/test-install.mjs && node --check scripts/test-server.mjs && node --check scripts/test-export.mjs && node --check scripts/test-provider-identity.mjs && node --check scripts/test-orcarouter.mjs && node --check scripts/test-pricing.mjs && node --check scripts/test-billing.mjs && node --check scripts/test-balance.mjs && node --check scripts/test-subscriptions.mjs && node --check scripts/test-accounts.mjs && node --check scripts/release-metadata.mjs && node --check scripts/check-release-metadata.mjs && node --check scripts/sync-release-version.mjs && node --check scripts/validate-fold.mjs && node --check scripts/verify-raw.mjs && node --check scripts/check-balance.mjs",
|
|
55
57
|
"check:release": "node scripts/check-release-metadata.mjs",
|
|
56
58
|
"release:sync": "node scripts/sync-release-version.mjs",
|
|
57
|
-
"test": "npm run test:bundle && npm run test:client && npm run test:overlay && npm run test:server && npm run test:export && npm run test:provider-identity && npm run test:pricing && npm run test:billing && npm run test:balance && npm run test:subscriptions && npm run test:accounts && npm run test:install",
|
|
59
|
+
"test": "npm run test:bundle && npm run test:client && npm run test:overlay && npm run test:server && npm run test:export && npm run test:provider-identity && npm run test:orcarouter && npm run test:pricing && npm run test:billing && npm run test:balance && npm run test:subscriptions && npm run test:accounts && npm run test:install",
|
|
58
60
|
"test:bundle": "node scripts/test-bundle.mjs",
|
|
59
61
|
"test:client": "node scripts/smoke-client.mjs",
|
|
60
62
|
"test:overlay": "node scripts/test-overlay-layering.mjs",
|
|
@@ -62,6 +64,7 @@
|
|
|
62
64
|
"test:server": "node scripts/test-server.mjs",
|
|
63
65
|
"test:export": "node scripts/test-export.mjs",
|
|
64
66
|
"test:provider-identity": "node scripts/test-provider-identity.mjs",
|
|
67
|
+
"test:orcarouter": "node scripts/test-orcarouter.mjs",
|
|
65
68
|
"test:pricing": "node scripts/test-pricing.mjs",
|
|
66
69
|
"test:billing": "node scripts/test-billing.mjs",
|
|
67
70
|
"test:balance": "node scripts/test-balance.mjs",
|