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

@injectivelabs/test-utils

Package Overview
Dependencies
Maintainers
12
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@injectivelabs/test-utils - npm Package Compare versions

Comparing version 1.14.17-beta.2 to 1.14.17

4

dist/cjs/index.d.ts

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

export * from './mocks';
export * from './msgs';
export * from './mocks/index.js';
export * from './msgs.js';
//# sourceMappingURL=index.d.ts.map

@@ -17,4 +17,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./mocks"), exports);
__exportStar(require("./msgs"), exports);
__exportStar(require("./mocks/index.js"), exports);
__exportStar(require("./msgs.js"), exports);
//# sourceMappingURL=index.js.map

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

const networks_1 = require("@injectivelabs/networks");
const mocks_1 = require("./mocks");
const index_js_1 = require("./mocks/index.js");
const prepareEip712 = (messages) => {

@@ -12,3 +12,3 @@ const endpoints = (0, networks_1.getNetworkEndpoints)(networks_1.Network.Devnet);

const web3Msgs = msgs.map((msg) => msg.toWeb3());
const { tx, eip712 } = mocks_1.mockFactory.eip712Tx;
const { tx, eip712 } = index_js_1.mockFactory.eip712Tx;
const { ethereumChainId } = eip712;

@@ -21,3 +21,3 @@ const eip712Args = {

};
const prepareEip712Request = Object.assign(Object.assign({}, eip712), { chainId: ethereumChainId, message: web3Msgs, address: mocks_1.mockFactory.ethereumAddress });
const prepareEip712Request = Object.assign(Object.assign({}, eip712), { chainId: ethereumChainId, message: web3Msgs, address: index_js_1.mockFactory.ethereumAddress });
return { endpoints, eip712Args, prepareEip712Request };

@@ -24,0 +24,0 @@ };

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

export * from './mocks';
export * from './msgs';
export * from './mocks/index.js';
export * from './msgs.js';
//# sourceMappingURL=index.d.ts.map

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

export * from './mocks';
export * from './msgs';
export * from './mocks/index.js';
export * from './msgs.js';
//# sourceMappingURL=index.js.map
import { DEFAULT_STD_FEE } from '@injectivelabs/utils';
import { Network, getNetworkEndpoints } from '@injectivelabs/networks';
import { mockFactory } from './mocks';
import { mockFactory } from './mocks/index.js';
export const prepareEip712 = (messages) => {

@@ -5,0 +5,0 @@ const endpoints = getNetworkEndpoints(Network.Devnet);

{
"name": "@injectivelabs/test-utils",
"description": "List of test-utils and helper functions that can be reused throughout Injective's projects.",
"version": "1.14.17-beta.2",
"version": "1.14.17",
"sideEffects": false,

@@ -21,3 +21,5 @@ "author": {

"scripts": {
"build": "tsc --build --force tsconfig.build.json && tsc --build --force tsconfig.build.esm.json && yarn build:post",
"build": "yarn build:cjs && yarn build:esm && yarn build:post",
"build:cjs": "tsc --build --force tsconfig.build.json",
"build:esm": "tsc --build --force tsconfig.build.esm.json",
"build:watch": "tsc --build -w tsconfig.build.json && tsc -w --build tsconfig.build.esm.json && yarn build:post",

@@ -35,6 +37,6 @@ "build:post": "shx cp ../../etc/stub/package.json.stub dist/cjs/package.json && shx cp ../../etc/stub/package.esm.json.stub dist/esm/package.json",

"dependencies": {
"@injectivelabs/exceptions": "^1.14.17-beta.2",
"@injectivelabs/networks": "^1.14.17-beta.2",
"@injectivelabs/ts-types": "^1.14.16",
"@injectivelabs/utils": "^1.14.17-beta.2",
"@injectivelabs/exceptions": "^1.14.17",
"@injectivelabs/networks": "^1.14.17",
"@injectivelabs/ts-types": "^1.14.17",
"@injectivelabs/utils": "^1.14.17",
"axios": "^1.6.4",

@@ -46,3 +48,3 @@ "bignumber.js": "^9.0.1",

},
"gitHead": "1b13f41772841d8cff637fa4c395bc7de4b9d97d"
"gitHead": "d3515dba70c4aa808d91302311d2f6d9f6f8af63"
}

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

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