Skip to content

Commit

Permalink
refactor: add safeMode flag to publish and mint flow
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcrazycoder committed Jul 25, 2023
1 parent 1fd04cf commit e4ed9a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sdk/src/inscription/collection.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { OrditApi, OrdTransaction, verifyMessage } from "..";
import { GetWalletOptions, OrditApi, OrdTransaction, verifyMessage } from "..";
import { Network } from "../config/types";

export async function publishCollection({
Expand Down Expand Up @@ -125,7 +125,7 @@ function validateInscriptions(inscriptions: CollectionInscription[] = []) {
return true;
}

export type PublishCollectionOptions = {
export type PublishCollectionOptions = Pick<GetWalletOptions, 'safeMode'> & {
feeRate?: number;
postage?: number;
mediaType?: string;
Expand Down Expand Up @@ -154,7 +154,7 @@ export type CollectionInscription = {
sri?: string;
};

export type MintFromCollectionOptions = {
export type MintFromCollectionOptions = Pick<GetWalletOptions, 'safeMode'> & {
feeRate?: number;
postage?: number;
mediaType?: string;
Expand Down

0 comments on commit e4ed9a4

Please sign in to comment.