You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@mintbase-js/sdk

Package Overview
Dependencies
Maintainers
2
Versions
1324
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mintbase-js/sdk - npm Package Compare versions

Comparing version

to
0.6.1

6

lib/execute/execute.utils.js

@@ -11,8 +11,4 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateSigningOptions = exports.flattenArgs = exports.convertGenericCallToWalletCall = exports.genericBatchExecute = exports.callbackUrlFormatter = exports.checkCallbackUrl = void 0;
const bn_js_1 = __importDefault(require("bn.js"));
const errors_1 = require("../errors");

@@ -92,3 +88,3 @@ /**

try {
outcomes.push(yield account.functionCall(Object.assign({ contractId: call.contractAddress, methodName: call.methodName, args: call.args, gas: new bn_js_1.default(call.gas), attachedDeposit: new bn_js_1.default(call.deposit) }, (callbackUrl && { walletCallbackUrl: callbackUrl }))));
outcomes.push(yield account.functionCall(Object.assign({ contractId: call.contractAddress, methodName: call.methodName, args: call.args, gas: BigInt(call.gas), attachedDeposit: BigInt(call.deposit) }, (callbackUrl && { walletCallbackUrl: callbackUrl }))));
}

@@ -95,0 +91,0 @@ catch (err) {

5

lib/types.d.ts
import { Wallet } from '@near-wallet-selector/core';
import BN from 'bn.js';
import { Account } from 'near-api-js';

@@ -134,4 +133,4 @@ import type { Optional, Transaction } from '@near-wallet-selector/core';

args: T;
gas: string | BN;
deposit: string | BN;
gas: string;
deposit: string;
signerId?: string;

@@ -138,0 +137,0 @@ callbackUrl?: string;

{
"name": "@mintbase-js/sdk",
"version": "0.6.1-wallet-base64-encode-nonce-redirect-9d276b3.0",
"version": "0.6.1",
"description": "Core functions for Mintbase JS SDK",

@@ -23,9 +23,8 @@ "main": "lib/index.js",

"dependencies": {
"bn.js": "5.2.1",
"near-api-js": "^2.1.4"
"near-api-js": "^4.0.3"
},
"devDependencies": {
"@near-wallet-selector/core": "8.9.3"
"@near-wallet-selector/core": "8.9.12"
},
"gitHead": "4191d9e45b4c118136818f39375d87466d735908"
"gitHead": "0b37f578d2f8df548c459be94d4b7988a2bd8af8"
}

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