Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ordinalsbot

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ordinalsbot - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

4

dist/types/runes_types.d.ts

@@ -1,3 +0,5 @@

import { InscriptionCharge, InscriptionFile, InscriptionOrderState, OrderType } from "./v1";
import { Delegate, InscriptionCharge, InscriptionFile, InscriptionOrderState, OrderType } from "./v1";
export interface RunesEtchOrderRequest {
files?: InscriptionFile[];
delegates?: Delegate[];
rune: string;

@@ -4,0 +6,0 @@ supply: number;

@@ -20,5 +20,16 @@ export interface InscriptionTransaction {

metadataSize?: number;
metaprotocol?: string;
}
export interface Delegate {
delegateId: string;
tx?: InscriptionTransaction;
sent?: string;
metadataDataURL?: string;
metadataUrl?: string;
metadataSize?: number;
metaprotocol?: string;
}
export interface InscriptionOrderRequest {
files: InscriptionFile[];
files?: InscriptionFile[];
delegates?: Delegate[];
fee?: number;

@@ -35,3 +46,3 @@ lowPostage?: boolean;

projectTag?: string;
batchMode?: string;
batchMode?: BatchModeType;
}

@@ -107,3 +118,4 @@ export interface InscriptionOrderParentRequest {

lowPostage?: boolean;
direct?: boolean;
type?: OrderType;
batchMode?: BatchModeType;
additionalFee?: number;

@@ -206,3 +218,3 @@ baseFee?: number;

projectTag?: string;
batchMode?: string;
batchMode?: BatchModeType;
}

@@ -280,7 +292,13 @@ type InscriptionInventoryData = {

RUNE_MINT = "rune-mint",
RUNE_LAUNCHPAD_MINT = "rune-launchpad-mint",
BULK = "bulk",
DIRECT = "direct",
BRC20 = "brc20"
BRC20 = "brc20",
MANAGED = "managed"
}
export declare enum BatchModeType {
SEPARATE_OUTPUTS = "separate-outputs",
SHARED_OUTPUT = "shared-output"
}
export {};
//# sourceMappingURL=v1.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrderType = exports.InscriptionOrderState = void 0;
exports.BatchModeType = exports.OrderType = exports.InscriptionOrderState = void 0;
var InscriptionOrderState;

@@ -22,6 +22,13 @@ (function (InscriptionOrderState) {

OrderType["RUNE_MINT"] = "rune-mint";
OrderType["RUNE_LAUNCHPAD_MINT"] = "rune-launchpad-mint";
OrderType["BULK"] = "bulk";
OrderType["DIRECT"] = "direct";
OrderType["BRC20"] = "brc20";
OrderType["MANAGED"] = "managed";
})(OrderType = exports.OrderType || (exports.OrderType = {}));
var BatchModeType;
(function (BatchModeType) {
BatchModeType["SEPARATE_OUTPUTS"] = "separate-outputs";
BatchModeType["SHARED_OUTPUT"] = "shared-output";
})(BatchModeType = exports.BatchModeType || (exports.BatchModeType = {}));
//# sourceMappingURL=v1.js.map
{
"name": "ordinalsbot",
"version": "0.2.2",
"version": "0.2.3",
"description": "Node.js library for OrdinalsBot API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,4 +0,7 @@

import { InscriptionCharge, InscriptionFile, InscriptionOrderState, OrderType } from "./v1";
import { Delegate, InscriptionCharge, InscriptionFile, InscriptionOrderState, OrderType } from "./v1";
export interface RunesEtchOrderRequest {
files?: InscriptionFile[];
delegates?: Delegate[];
rune: string;

@@ -5,0 +8,0 @@

@@ -53,4 +53,31 @@ export interface InscriptionTransaction {

metadataSize?: number;
/** Metaprotocol field to be included in the inscription data */
metaprotocol?: string;
}
export interface Delegate {
/** valid inscription id e.g. 552448ac8b668f2b8610a4c9aa1d82dbcc3cb1b28139ad99309563aad4f1b0c1i0 */
delegateId: string;
/** Inscription transaction details */
tx?: InscriptionTransaction;
/*
For some transactions this gets set to the txid
that inscription gets sent to user receiveAddress
*/
sent?: string;
// only 1 of metadataDataURL or metadataUrl should be present. not both!
/* metadata json to be stored on chain */
metadataDataURL?: string;
metadataUrl?: string;
metadataSize?: number;
/** Metaprotocol field to be included in the inscription data */
metaprotocol?: string;
}
export interface InscriptionOrderRequest {

@@ -72,4 +99,7 @@ /*

*/
files: InscriptionFile[];
files?: InscriptionFile[];
/** files OR delegates array is mandatory for an order */
delegates?: Delegate[];
/**

@@ -136,3 +166,3 @@ * Miner fee that will be paid while inscribing the ordinals in sats/byte.

batchMode?: string;
batchMode?: BatchModeType;
}

@@ -240,9 +270,14 @@

/**
* Estimate fees for a direct inscription order
* `/inscribe` endpoint which will be cheaper
* (default = false)
* Type of inscription order that is being requested.
* (default = managed)
*/
direct?: boolean;
type?: OrderType;
/**
* Type of batch mode that is being requested.
* (optional)
*/
batchMode?: BatchModeType;
/**
* Additional fee(in satoshis) to be added to order total and passed to your referral code.

@@ -495,3 +530,3 @@ */

batchMode?: string;
batchMode?: BatchModeType;

@@ -608,5 +643,12 @@ }

RUNE_MINT = 'rune-mint',
RUNE_LAUNCHPAD_MINT = 'rune-launchpad-mint',
BULK = 'bulk',
DIRECT = 'direct',
BRC20 = 'brc20',
MANAGED = 'managed',
}
export enum BatchModeType {
SEPARATE_OUTPUTS = 'separate-outputs',
SHARED_OUTPUT = 'shared-output'
}

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc