@memfork/cli 0.1.10 → 0.1.11
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/config.d.ts +2 -0
- package/dist/config.js +2 -0
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export interface ResolvedConfig {
|
|
|
74
74
|
defaultBranch: string;
|
|
75
75
|
rpcUrl?: string;
|
|
76
76
|
packageId?: string;
|
|
77
|
+
sponsorUrl?: string;
|
|
77
78
|
}
|
|
78
79
|
export declare function projectConfigPath(cwd?: string): string;
|
|
79
80
|
export declare function credentialsPath(): string;
|
|
@@ -104,6 +105,7 @@ export declare function toClientConfig(r: ResolvedConfig): {
|
|
|
104
105
|
network: "testnet" | "mainnet" | "devnet" | "localnet";
|
|
105
106
|
rpcUrl: string | undefined;
|
|
106
107
|
packageId: string | undefined;
|
|
108
|
+
sponsorUrl: string | undefined;
|
|
107
109
|
memwal: {
|
|
108
110
|
accountId: string;
|
|
109
111
|
delegateKey: string;
|
package/dist/config.js
CHANGED
|
@@ -185,6 +185,7 @@ export function resolveConfig(opts = {}) {
|
|
|
185
185
|
defaultBranch: project?.defaultBranch ?? "main",
|
|
186
186
|
rpcUrl: env["MEMFORK_RPC_URL"] ?? project?.rpcUrl,
|
|
187
187
|
packageId: env["MEMFORK_PACKAGE_ID"] ?? project?.packageId,
|
|
188
|
+
sponsorUrl: env["MEMFORK_SPONSOR_URL"] ?? project?.["sponsorUrl"],
|
|
188
189
|
};
|
|
189
190
|
}
|
|
190
191
|
/**
|
|
@@ -198,6 +199,7 @@ export function toClientConfig(r) {
|
|
|
198
199
|
network: r.network,
|
|
199
200
|
rpcUrl: r.rpcUrl,
|
|
200
201
|
packageId: r.packageId,
|
|
202
|
+
sponsorUrl: r.sponsorUrl,
|
|
201
203
|
memwal: {
|
|
202
204
|
accountId: r.memwalAccountId,
|
|
203
205
|
delegateKey: r.memwalKey,
|