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.14 to 1.14.15-beta.0

dist/cjs/msgs.d.ts

1

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

@@ -18,2 +18,3 @@ "use strict";

__exportStar(require("./mocks"), exports);
__exportStar(require("./msgs"), exports);
//# sourceMappingURL=index.js.map

@@ -0,1 +1,2 @@

import { ChainId, EthereumChainId } from '@injectivelabs/ts-types';
export declare const injUsdtSpotMarket: {

@@ -58,2 +59,3 @@ marketId: string;

export declare const mockFactory: {
ethereumAddress: string;
injectiveAddress: string;

@@ -125,3 +127,22 @@ injectiveAddress2: string;

orderHash2: string;
MAX_TIMEOUT_HEIGHT: number;
eip712Tx: {
tx: {
chainId: ChainId;
ethereumChainId: EthereumChainId;
accountNumber: string;
sequence: string;
timeoutHeight: string;
memo: string;
};
eip712: {
chainId: ChainId;
ethereumChainId: EthereumChainId;
accountNumber: number;
sequence: number;
timeoutHeight: number;
memo: string;
};
};
};
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mockFactory = exports.injUsdtDerivativeMarket = exports.injUsdtSpotMarket = void 0;
const ts_types_1 = require("@injectivelabs/ts-types");
const ethereumAddress = '0xaf79152ac5df276d9a8e1e2e22822f9713474902';
const injectiveAddress = 'inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku';

@@ -14,2 +16,3 @@ const injectiveAddress2 = 'inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku';

const orderHash2 = '0x3b1bcc8ab01e1e0f1f2cf9de5f44267bed6368fabd62adbcf3826a207340194e';
const MAX_TIMEOUT_HEIGHT = 9999999999999;
exports.injUsdtSpotMarket = {

@@ -72,2 +75,3 @@ marketId: '0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0',

exports.mockFactory = {
ethereumAddress,
injectiveAddress,

@@ -85,3 +89,22 @@ injectiveAddress2,

orderHash2,
MAX_TIMEOUT_HEIGHT,
eip712Tx: {
tx: {
chainId: ts_types_1.ChainId.Devnet,
ethereumChainId: ts_types_1.EthereumChainId.Sepolia,
accountNumber: '1',
sequence: '1',
timeoutHeight: '9999',
memo: '',
},
eip712: {
chainId: ts_types_1.ChainId.Devnet,
ethereumChainId: ts_types_1.EthereumChainId.Sepolia,
accountNumber: 1,
sequence: 1,
timeoutHeight: 9999,
memo: '',
},
},
};
//# sourceMappingURL=index.js.map
export * from './mocks';
export * from './msgs';
//# sourceMappingURL=index.d.ts.map
export * from './mocks';
export * from './msgs';
//# sourceMappingURL=index.js.map

@@ -0,1 +1,2 @@

import { ChainId, EthereumChainId } from '@injectivelabs/ts-types';
export declare const injUsdtSpotMarket: {

@@ -58,2 +59,3 @@ marketId: string;

export declare const mockFactory: {
ethereumAddress: string;
injectiveAddress: string;

@@ -125,3 +127,22 @@ injectiveAddress2: string;

orderHash2: string;
MAX_TIMEOUT_HEIGHT: number;
eip712Tx: {
tx: {
chainId: ChainId;
ethereumChainId: EthereumChainId;
accountNumber: string;
sequence: string;
timeoutHeight: string;
memo: string;
};
eip712: {
chainId: ChainId;
ethereumChainId: EthereumChainId;
accountNumber: number;
sequence: number;
timeoutHeight: number;
memo: string;
};
};
};
//# sourceMappingURL=index.d.ts.map

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

import { ChainId, EthereumChainId } from '@injectivelabs/ts-types';
const ethereumAddress = '0xaf79152ac5df276d9a8e1e2e22822f9713474902';
const injectiveAddress = 'inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku';

@@ -11,2 +13,3 @@ const injectiveAddress2 = 'inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku';

const orderHash2 = '0x3b1bcc8ab01e1e0f1f2cf9de5f44267bed6368fabd62adbcf3826a207340194e';
const MAX_TIMEOUT_HEIGHT = 9_999_999_999_999;
export const injUsdtSpotMarket = {

@@ -69,2 +72,3 @@ marketId: '0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0',

export const mockFactory = {
ethereumAddress,
injectiveAddress,

@@ -82,3 +86,22 @@ injectiveAddress2,

orderHash2,
MAX_TIMEOUT_HEIGHT,
eip712Tx: {
tx: {
chainId: ChainId.Devnet,
ethereumChainId: EthereumChainId.Sepolia,
accountNumber: '1',
sequence: '1',
timeoutHeight: '9999',
memo: '',
},
eip712: {
chainId: ChainId.Devnet,
ethereumChainId: EthereumChainId.Sepolia,
accountNumber: 1,
sequence: 1,
timeoutHeight: 9999,
memo: '',
},
},
};
//# sourceMappingURL=index.js.map

7

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

@@ -35,2 +35,5 @@ "author": {

"dependencies": {
"@injectivelabs/networks": "^1.14.13",
"@injectivelabs/ts-types": "^1.14.15-beta.0",
"@injectivelabs/utils": "^1.14.15-beta.0",
"axios": "^1.6.4",

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

},
"gitHead": "e995ed8eeedafffd463e64816ab5493ab28d6f01"
"gitHead": "a9ffecb93cf82cfb03175423de30d6b80f2b563d"
}

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

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