@33cn/chain33-rpc-api
Advanced tools
Comparing version 1.5.29 to 1.5.30
@@ -16,3 +16,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.C2cCreator = void 0; | ||
var common_1 = require("@/common"); | ||
@@ -19,0 +18,0 @@ var config_1 = require("@/config"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CommonCreator = void 0; | ||
var CommonCreator = /** @class */ (function () { | ||
@@ -5,0 +4,0 @@ function CommonCreator() { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.mainnetURL = void 0; | ||
exports.mainnetURL = 'https://jiedian1.bityuan.com:8801'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,3 @@ | ||
import HttpProvider from './HttpProvider'; | ||
import { SignParams, CreateRawTransactionParams, TokenTxParams, CreateRawTokenParams, SendToAddressParams, SymbolDailyLimit, UnfreezeContact } from './interfaces'; | ||
import HttpProvider from "./HttpProvider"; | ||
import { SignParams, CreateRawTransactionParams, TokenTxParams, CreateRawTokenParams, SendToAddressParams, SymbolDailyLimit, UnfreezeContact } from "./interfaces"; | ||
/** | ||
@@ -141,3 +141,3 @@ * @description 封装chain33 API | ||
*/ | ||
getTxByAddr({ addr, flag, count, direction, height, index }: { | ||
getTxByAddr({ addr, flag, count, direction, height, index, }: { | ||
addr: string; | ||
@@ -169,3 +169,3 @@ flag: number; | ||
*/ | ||
getAddrTx({ addr, flag, count, direction, height, index }: { | ||
getAddrTx({ addr, flag, count, direction, height, index, }: { | ||
addr: string; | ||
@@ -773,3 +773,3 @@ flag: number; | ||
*/ | ||
newAccount(label: string, url?: string): Promise<any>; | ||
newAccount(label: string, addressID: number, url?: string): Promise<any>; | ||
/** | ||
@@ -776,0 +776,0 @@ * @description 获取账户列表 GetAccounts |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.versionCompare = void 0; | ||
/** | ||
@@ -5,0 +4,0 @@ * @description 比较版本 |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getSignExecer = exports.getExecerName = exports.getAssetExecer = exports.formatSymbol = exports.getAssetSymbol = exports.isMainChain = void 0; | ||
/* export function getOrderUrl(platform: string) { | ||
@@ -5,0 +4,0 @@ return `${orderURLs[platform]}/${platform === 'bty' ? 'bityuan' : `user.p.${platform}.`}` |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.formatDigitToFloor = exports.formatDigit = exports.toNonExponential = void 0; | ||
function toNonExponential(num) { | ||
@@ -5,0 +4,0 @@ var m = num.toExponential().match(/\d(?:\.(\d*))?e([+-]\d+)/); |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./chain"), exports); | ||
__exportStar(require("./format"), exports); | ||
__export(require("./chain")); | ||
__export(require("./format")); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@33cn/chain33-rpc-api", | ||
"version": "1.5.29", | ||
"version": "1.5.30", | ||
"description": "chain33 rpc 接口封装", | ||
@@ -37,2 +37,2 @@ "main": "dist/index.js", | ||
} | ||
} | ||
} |
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 too big to display
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
183419
3641