ordinalsbot
Advanced tools
Comparing version 0.0.4 to 0.0.6
@@ -19,3 +19,3 @@ "use strict"; | ||
? `https://api.ordinalsbot.com` | ||
: `https://signet.ordinalsbot.com/api`, | ||
: `https://testnet-api.ordinalsbot.com`, | ||
timeout: 30000, | ||
@@ -22,0 +22,0 @@ headers: { |
@@ -0,1 +1,9 @@ | ||
export interface InscriptionTransaction { | ||
commit: string; | ||
reveal: string; | ||
inscription: string; | ||
fees: number; | ||
satpoint?: string; | ||
updatedAt?: string; | ||
} | ||
export interface OrdinalsBotFile { | ||
@@ -7,2 +15,3 @@ size: number; | ||
url?: string; | ||
tx?: InscriptionTransaction; | ||
} | ||
@@ -9,0 +18,0 @@ export interface OrdinalsBotOrderRequest { |
{ | ||
"name": "ordinalsbot", | ||
"version": "0.0.4", | ||
"version": "0.0.6", | ||
"description": "Node.js library for OrdinalsBot API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -37,3 +37,3 @@ import axios, { AxiosInstance } from "axios"; | ||
? `https://api.ordinalsbot.com` | ||
: `https://signet.ordinalsbot.com/api`, | ||
: `https://testnet-api.ordinalsbot.com`, | ||
timeout: 30000, | ||
@@ -40,0 +40,0 @@ headers: { |
@@ -0,1 +1,21 @@ | ||
export interface InscriptionTransaction { | ||
/** Transaction ID of the commit transaction */ | ||
commit: string; | ||
/** Transaction ID of the reveal transaction */ | ||
reveal: string; | ||
/** Inscription ID */ | ||
inscription: string; | ||
/** Fees paid for the inscription in satoshis */ | ||
fees: number; | ||
/** Satpoint of the inscription */ | ||
satpoint?: string; | ||
/** ISO timestamp of inscription */ | ||
updatedAt?: string; | ||
} | ||
export interface OrdinalsBotFile { | ||
@@ -16,2 +36,5 @@ /** Size of the file to be inscribed in bytes */ | ||
url?: string; | ||
/** Inscription transaction details */ | ||
tx?: InscriptionTransaction; | ||
}; | ||
@@ -18,0 +41,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42499
776