This repository was archived by the owner on Mar 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,11 @@ export type IFetchBalanceResponse = {
153153// `/utxo_addresses` endpoint response
154154export type IFetchUtxoAddressesResponse = string [ ] ;
155155
156+ < < < << << HEAD
156157// `/create_item_asset` endpoint response
158+ = === ===
159+ // `/create__asset` endpoint response
160+ >>> >>> > c5e7beb ( Renaming for new item structure )
157161export type ICreateItemResponse = {
158162 asset : {
159163 asset : IAssetItem ;
@@ -175,7 +179,11 @@ export enum IDrsTxHashSpecification {
175179 Default = 'Default' ,
176180}
177181
182+ < << << << HEAD
178183// `/create_item_asset` payload structure
184+ === = ===
185+ // `/create__asset` payload structure
186+ >>> > >>> c5e7beb ( Renaming for new item structure )
179187export type IItemCreationAPIPayload = {
180188 item_amount : number;
181189 script_public_key : string;
Original file line number Diff line number Diff line change @@ -468,15 +468,17 @@ export class ABlockWallet {
468468 ) ,
469469 ) ;
470470 // Generate needed headers
471- const headers = this . getRequestIdAndNonceHeadersForRoute (
472- this . mempoolRoutesPoW ,
473- IAPIRoute . CreateItemAsset ,
474- ) ;
471+ // const headers = this.getRequestIdAndNonceHeadersForRoute(
472+ // this.mempoolRoutesPoW,
473+ // IAPIRoute.CreateItemAsset,
474+ // );
475+ console . log ( 'createItemBody' , createItemBody ) ;
475476 return await axios
476477 . post < INetworkResponse > (
477478 `${ this . mempoolHost } ${ IAPIRoute . CreateItemAsset } ` ,
478479 createItemBody ,
479- { ...headers , validateStatus : ( ) => true } ,
480+ // { ...headers, validateStatus: () => true },
481+ { }
480482 )
481483 . then ( ( response ) => {
482484 return {
You can’t perform that action at this time.
0 commit comments