@injectivelabs/test-utils
Advanced tools
Comparing version 1.14.14 to 1.14.15-beta.0
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 |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43607
29
638
9
2
+ Added@injectivelabs/exceptions@1.14.19(transitive)
+ Added@injectivelabs/grpc-web@0.0.1(transitive)
+ Added@injectivelabs/networks@1.14.19(transitive)
+ Added@injectivelabs/ts-types@1.14.19(transitive)
+ Added@injectivelabs/utils@1.14.19(transitive)
+ Addedbrowser-headers@0.4.1(transitive)
+ Addedgoogle-protobuf@3.21.4(transitive)
+ Addedhttp-status-codes@2.3.0(transitive)