@brozarti/spincome 0.1.0 → 0.1.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/brozarti-spincome-0.1.1.tgz +0 -0
- package/dist/cli.js +2 -2
- package/dist/config.js +1 -1
- package/package.json +1 -1
- package/src/cli.ts +2 -2
- package/src/config.ts +1 -1
|
Binary file
|
package/dist/cli.js
CHANGED
|
@@ -123,9 +123,9 @@ async function main() {
|
|
|
123
123
|
const settingsPath = CLAUDE_SETTINGS_PATHS[0];
|
|
124
124
|
injectHook(settingsPath);
|
|
125
125
|
console.log("\n All set! Ads will appear after Claude Code tool calls.");
|
|
126
|
-
console.log(`\n Your referral link: https://spincome.
|
|
126
|
+
console.log(`\n Your referral link: https://spincome-marketplace-git-main-spincome.vercel.app/r/${myReferralCode}`);
|
|
127
127
|
console.log(" Share it -- you earn 10% of every referred developer's earnings, forever.");
|
|
128
|
-
console.log("\n Dashboard: https://spincome.
|
|
128
|
+
console.log("\n Dashboard: https://spincome-marketplace-git-main-spincome.vercel.app/dev\n");
|
|
129
129
|
rl.close();
|
|
130
130
|
}
|
|
131
131
|
main().catch((err) => {
|
package/dist/config.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.writeConfig = writeConfig;
|
|
|
9
9
|
const os_1 = __importDefault(require("os"));
|
|
10
10
|
const path_1 = __importDefault(require("path"));
|
|
11
11
|
const fs_1 = __importDefault(require("fs"));
|
|
12
|
-
exports.API_BASE = process.env.SPINCOME_API_URL ?? "https://spincome.
|
|
12
|
+
exports.API_BASE = process.env.SPINCOME_API_URL ?? "https://spincome-marketplace-git-main-spincome.vercel.app/api";
|
|
13
13
|
const CONFIG_PATH = path_1.default.join(os_1.default.homedir(), ".spincome", "config.json");
|
|
14
14
|
function readConfig() {
|
|
15
15
|
try {
|
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -112,9 +112,9 @@ async function main() {
|
|
|
112
112
|
injectHook(settingsPath);
|
|
113
113
|
|
|
114
114
|
console.log("\n All set! Ads will appear after Claude Code tool calls.");
|
|
115
|
-
console.log(`\n Your referral link: https://spincome.
|
|
115
|
+
console.log(`\n Your referral link: https://spincome-marketplace-git-main-spincome.vercel.app/r/${myReferralCode}`);
|
|
116
116
|
console.log(" Share it -- you earn 10% of every referred developer's earnings, forever.");
|
|
117
|
-
console.log("\n Dashboard: https://spincome.
|
|
117
|
+
console.log("\n Dashboard: https://spincome-marketplace-git-main-spincome.vercel.app/dev\n");
|
|
118
118
|
|
|
119
119
|
rl.close();
|
|
120
120
|
}
|
package/src/config.ts
CHANGED
|
@@ -2,7 +2,7 @@ import os from "os";
|
|
|
2
2
|
import path from "path";
|
|
3
3
|
import fs from "fs";
|
|
4
4
|
|
|
5
|
-
export const API_BASE = process.env.SPINCOME_API_URL ?? "https://spincome.
|
|
5
|
+
export const API_BASE = process.env.SPINCOME_API_URL ?? "https://spincome-marketplace-git-main-spincome.vercel.app/api";
|
|
6
6
|
|
|
7
7
|
export interface Config {
|
|
8
8
|
developerKey: string;
|