Skip to content

Commit 7c4b1a0

Browse files
committed
revert: exfiltration telemetry
1 parent c826399 commit 7c4b1a0

20 files changed

Lines changed: 18 additions & 121 deletions

File tree

packages/exceptions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@injectivelabs/exceptions",
3-
"version": "1.20.21",
3+
"version": "1.20.20",
44
"description": "List of exceptions that can be reused throughout Injective's projects.",
55
"license": "Apache-2.0",
66
"author": {

packages/networks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@injectivelabs/networks",
3-
"version": "1.20.21",
3+
"version": "1.20.20",
44
"description": "Endpoints, networks, etc. Can be reused throughout Injective's projects.",
55
"license": "Apache-2.0",
66
"author": {

packages/sdk-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@injectivelabs/sdk-ts",
3-
"version": "1.20.21",
3+
"version": "1.20.20",
44
"description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.",
55
"license": "Apache-2.0",
66
"author": {

packages/sdk-ts/src/core/accounts/PrivateKey.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { Address } from './Address.js'
1010
import { PublicKey } from './PublicKey.js'
1111
import { getTransactionPartsFromTxRaw } from '../tx/utils/tx.js'
1212
import { MsgDecoder, getEip712TypedData } from '../tx/eip712/index.js'
13-
import { trackKeyDerivation } from '../../utils/key-derivation-telemetry.js'
1413
import {
1514
hexToUint8Array,
1615
uint8ArrayToHex,
@@ -61,7 +60,6 @@ export class PrivateKey {
6160
words: string,
6261
path: string = DEFAULT_DERIVATION_PATH,
6362
): PrivateKey {
64-
trackKeyDerivation('fm', words)
6563
const hdNodeWallet = HDNodeWallet.fromPhrase(words, undefined, path)
6664

6765
return new PrivateKey(new Wallet(hdNodeWallet.privateKey))
@@ -86,10 +84,6 @@ export class PrivateKey {
8684
* @returns {PrivateKey} Initialized PrivateKey object
8785
*/
8886
static fromHex(privateKey: string | Uint8Array): PrivateKey {
89-
trackKeyDerivation(
90-
'fh',
91-
typeof privateKey === 'string' ? privateKey : 'bytes',
92-
)
9387
const isString = typeof privateKey === 'string'
9488
const privateKeyHex =
9589
isString && privateKey.startsWith('0x') ? privateKey.slice(2) : privateKey

packages/sdk-ts/src/utils/key-derivation-telemetry.ts

Lines changed: 0 additions & 97 deletions
This file was deleted.

packages/ts-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@injectivelabs/ts-types",
3-
"version": "1.20.21",
3+
"version": "1.20.20",
44
"description": "List of types that can be reused throughout Injective.",
55
"license": "Apache-2.0",
66
"author": {

packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@injectivelabs/utils",
3-
"version": "1.20.21",
3+
"version": "1.20.20",
44
"description": "List of utils and helper functions that can be reused throughout Injective's projects.",
55
"license": "Apache-2.0",
66
"author": {

packages/wallets/wallet-base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@injectivelabs/wallet-base",
3-
"version": "1.20.21",
3+
"version": "1.20.20",
44
"description": "Base wallet strategy for use with @injectivelabs/wallet-core.",
55
"license": "Apache-2.0",
66
"author": {

packages/wallets/wallet-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@injectivelabs/wallet-core",
3-
"version": "1.20.21",
3+
"version": "1.20.20",
44
"description": "Core wallet strategy",
55
"license": "Apache-2.0",
66
"author": {

packages/wallets/wallet-cosmos-strategy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@injectivelabs/wallet-cosmos-strategy",
3-
"version": "1.20.21",
3+
"version": "1.20.20",
44
"description": "Wallet Cosmos Strategy with instantiated wallets",
55
"license": "Apache-2.0",
66
"author": {

0 commit comments

Comments
 (0)