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

@tatumio/shared-testing-common

Package Overview
Dependencies
Maintainers
3
Versions
323
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tatumio/shared-testing-common - npm Package Compare versions

Comparing version 2.0.1-alpha.237 to 2.0.1-alpha.238

src/lib/test-factory/common.test-factory.d.ts

12

package.json
{
"name": "@tatumio/shared-testing-common",
"version": "2.0.1-alpha.237",
"version": "2.0.1-alpha.238",
"license": "MIT",

@@ -8,11 +8,7 @@ "main": "./src/index.js",

"dependencies": {
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.237",
"@tatumio/api-client": "2.0.1-alpha.237",
"axios": "^0.25.0",
"form-data": "^4.0.0",
"@tatumio/shared-core": "2.0.1-alpha.237",
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.237",
"bignumber.js": "^9.0.2"
"@tatumio/api-client": "2.0.1-alpha.238",
"axios": "^0.26.0",
"form-data": "^4.0.0"
},
"peerDependencies": {}
}

@@ -7,3 +7,3 @@ import ExpectExtendMap = jest.ExpectExtendMap;

export * from './lib/test-factory/wallet.test-factory';
export * from './lib/test-factory/blockchain.test-factory';
export * from './lib/test-factory/common.test-factory';
export declare const expectExtendMap: ExpectExtendMap;

@@ -10,0 +10,0 @@ declare global {

@@ -11,3 +11,3 @@ "use strict";

(0, tslib_1.__exportStar)(require("./lib/test-factory/wallet.test-factory"), exports);
(0, tslib_1.__exportStar)(require("./lib/test-factory/blockchain.test-factory"), exports);
(0, tslib_1.__exportStar)(require("./lib/test-factory/common.test-factory"), exports);
exports.expectExtendMap = {

@@ -14,0 +14,0 @@ toThrowSdkErrorWithCode: jest_extensions_1.toThrowSdkErrorWithCode,

@@ -0,4 +1,18 @@

import { TronWallet } from '@tatumio/api-client';
import 'jest/index';
import { BlockchainTestData } from '../shared-testing';
import { SdkWithWalletFunctions } from '@tatumio/shared-blockchain-abstract';
interface SdkWithWalletFunctions {
generateAddressFromXPub(xpub: string, i: number, options?: {
testnet: boolean;
}): string;
generatePrivateKeyFromMnemonic(mnemonic: string, i: number, options?: {
testnet: boolean;
}): Promise<string>;
generateAddressFromPrivateKey(privateKey: string, options?: {
testnet: boolean;
}): string;
generateWallet(mnemonic?: string, options?: {
testnet: boolean;
}): Promise<TronWallet>;
}
export declare const walletTestFactory: {

@@ -10,1 +24,2 @@ generateBlockchainWallet: (sdk: SdkWithWalletFunctions, testData: BlockchainTestData, givenMnemonic?: string) => void;

};
export {};

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