Skip to content

Commit

Permalink
App review timeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur2136 committed Feb 26, 2024
1 parent d4f3c50 commit 49624dc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
8 changes: 7 additions & 1 deletion packages/cli/src/commands/publish/PublishCliSubmit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { AccountInfo, Connection, Keypair, PublicKey } from "@solana/web3.js";
import type { SignWithPublisherKeypair } from "@solana-mobile/dapp-store-publishing-tools";
import { publishSubmit } from "@solana-mobile/dapp-store-publishing-tools";
import nacl from "tweetnacl";
import { checkMintedStatus } from "../../CliUtils.js";
import { checkMintedStatus, showMessage } from "../../CliUtils.js";
import { Buffer } from "buffer";
import { loadPublishDetailsWithChecks } from "../../config/PublishDetails.js";

Expand All @@ -25,6 +25,12 @@ export const publishSubmitCommand = async ({
compliesWithSolanaDappStorePolicies = false,
requestorIsAuthorized = false,
}: PublishSubmitCommandInput) => {
showMessage(
`Publishing Estimates`,
"New app submissions take around 3-4 business days for review.",
"warning"
);

if (!compliesWithSolanaDappStorePolicies) {
console.error(
"ERROR: Cannot submit a request for which the requestor does not attest that it complies with Solana dApp Store policies"
Expand Down
9 changes: 8 additions & 1 deletion packages/cli/src/commands/publish/PublishCliUpdate.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Connection, Keypair } from "@solana/web3.js";
import type { SignWithPublisherKeypair } from "@solana-mobile/dapp-store-publishing-tools";
import { publishUpdate } from "@solana-mobile/dapp-store-publishing-tools";
import { checkMintedStatus } from "../../CliUtils.js";
import { checkMintedStatus, showMessage } from "../../CliUtils.js";
import nacl from "tweetnacl";
import { loadPublishDetailsWithChecks } from "../../config/PublishDetails.js";

Expand All @@ -26,6 +26,13 @@ export const publishUpdateCommand = async ({
requestorIsAuthorized = false,
critical = false,
}: PublishUpdateCommandInput) => {

showMessage(
`Publishing Estimates`,
"App update approvals take around 1-2 business days for review.",
"warning"
);

if (!compliesWithSolanaDappStorePolicies) {
console.error(
"ERROR: Cannot submit a request for which the requestor does not attest that it complies with Solana dApp Store policies"
Expand Down

0 comments on commit 49624dc

Please sign in to comment.