New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@trezor/transport

Package Overview
Dependencies
Maintainers
4
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trezor/transport - npm Package Compare versions

Comparing version 1.1.24 to 1.1.25

17

CHANGELOG.md

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

# 1.1.25
- fix: from g:tsx to local tsx in prepublish script (d21d698b2)
- chore(suite): autofix newlines (c82455e74)
- chore(utils): remove build step requirement from @trezor/utils (#11176) (6cd3d3c81)
- feat(connect): add support for StellarClaimClaimableBalanceOp. (51a3e294d)
- chore(repo): ESLint refactor + speed up 70% (#11143) (44fa12a79)
- chore: update various dependencies (no major update) (fecd89f6e)
- chore: use global tsx (c21d81f66)
- chore: update typescript and use global tsc (84bc9b8bd)
- chore: use global rimraf (5a6759eff)
- chore: update prettier (00fe229e0)
- chore: upgrade jest to 29.7.0 (3c656dc0b)
- chore: upgrade jest (004938e24)
- chore: update root dependencies (fac6d99ec)
- chore: updated deprecated jest syntax (d3f8043f0)
# 1.1.21

@@ -2,0 +19,0 @@

2

lib/api/abstract.d.ts
/// <reference types="node" />
import { TypedEmitter } from '@trezor/utils/lib/typedEventEmitter';
import { TypedEmitter } from '@trezor/utils';
import type { AnyError, AsyncResultWithTypedError, Success, Logger } from '../types';

@@ -4,0 +4,0 @@ import * as ERRORS from '../errors';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractApi = void 0;
const typedEventEmitter_1 = require("@trezor/utils/lib/typedEventEmitter");
const utils_1 = require("@trezor/utils");
const result_1 = require("../utils/result");
class AbstractApi extends typedEventEmitter_1.TypedEmitter {
class AbstractApi extends utils_1.TypedEmitter {
constructor({ logger }) {

@@ -8,0 +8,0 @@ super();

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

/// <reference types="w3c-web-usb" />
/// <reference types="node" />
/// <reference types="w3c-web-usb" />
import { AbstractApi, AbstractApiConstructorParams } from './abstract';

@@ -4,0 +4,0 @@ import { AsyncResultWithTypedError } from '../types';

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

import { TypedEmitter } from '@trezor/utils/lib/typedEventEmitter';
import { TypedEmitter } from '@trezor/utils';
import type { HandleMessageParams, HandleMessageResponse, Sessions } from './types';

@@ -3,0 +3,0 @@ import type { Descriptor, Success } from '../types';

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

const utils_1 = require("@trezor/utils");
const typedEventEmitter_1 = require("@trezor/utils/lib/typedEventEmitter");
const utils_2 = require("@trezor/utils");
const ERRORS = tslib_1.__importStar(require("../errors"));
const lockDuration = 1000 * 4;
class SessionsBackground extends typedEventEmitter_1.TypedEmitter {
class SessionsBackground extends utils_2.TypedEmitter {
constructor() {

@@ -12,0 +12,0 @@ super(...arguments);

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

import { TypedEmitter } from '@trezor/utils/lib/typedEventEmitter';
import { TypedEmitter } from '@trezor/utils';
import { Descriptor } from '../types';

@@ -3,0 +3,0 @@ import { EnumerateDoneRequest, AcquireIntentRequest, ReleaseIntentRequest, ReleaseDoneRequest, GetPathBySessionRequest, AcquireDoneRequest, RegisterBackgroundCallbacks } from './types';

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

const utils_1 = require("@trezor/utils");
const typedEventEmitter_1 = require("@trezor/utils/lib/typedEventEmitter");
class SessionsClient extends typedEventEmitter_1.TypedEmitter {
const utils_2 = require("@trezor/utils");
class SessionsClient extends utils_2.TypedEmitter {
constructor({ requestFn, registerBackgroundCallbacks, }) {

@@ -9,0 +9,0 @@ super();

import * as protobuf from 'protobufjs/light';
import { ScheduleActionParams, ScheduledAction, Deferred } from '@trezor/utils';
import { TypedEmitter } from '@trezor/utils/lib/typedEventEmitter';
import { TypedEmitter } from '@trezor/utils';
import { PROTOCOL_MALFORMED, TransportProtocol } from '@trezor/protocol';

@@ -5,0 +5,0 @@ import { MessageFromTrezor } from '@trezor/protobuf';

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

const utils_1 = require("@trezor/utils");
const typedEventEmitter_1 = require("@trezor/utils/lib/typedEventEmitter");
const utils_2 = require("@trezor/utils");
const result_1 = require("../utils/result");

@@ -29,3 +29,3 @@ const ERRORS = tslib_1.__importStar(require("../errors"));

exports.isTransportInstance = isTransportInstance;
class AbstractTransport extends typedEventEmitter_1.TypedEmitter {
class AbstractTransport extends utils_2.TypedEmitter {
constructor(params) {

@@ -32,0 +32,0 @@ const { messages, signal, logger } = params || {};

@@ -101,3 +101,3 @@ import { Deferred } from '@trezor/utils';

};
type: keyof import("@trezor/protobuf/lib/messages").MessageType;
type: keyof import("@trezor/protobuf/src/messages").MessageType;
}> | {

@@ -163,3 +163,3 @@ success: false;

};
type: keyof import("@trezor/protobuf/lib/messages").MessageType;
type: keyof import("@trezor/protobuf/src/messages").MessageType;
}>>;

@@ -166,0 +166,0 @@ abort: () => void;

@@ -136,3 +136,3 @@ import { Deferred } from '@trezor/utils';

};
type: keyof import("@trezor/protobuf/lib/messages").MessageType;
type: keyof import("@trezor/protobuf/src/messages").MessageType;
}>>;

@@ -202,3 +202,3 @@ abort: () => void;

};
type: keyof import("@trezor/protobuf/lib/messages").MessageType;
type: keyof import("@trezor/protobuf/src/messages").MessageType;
}>>;

@@ -205,0 +205,0 @@ abort: () => void;

@@ -12,4 +12,4 @@ /// <reference types="node" />

};
type: keyof import("@trezor/protobuf/lib/messages").MessageType;
type: keyof import("@trezor/protobuf/src/messages").MessageType;
}>;
//# sourceMappingURL=receive.d.ts.map
{
"name": "@trezor/transport",
"version": "1.1.24",
"version": "1.1.25",
"description": "Low level library facilitating protocol buffers based communication with Trezor devices",

@@ -37,4 +37,4 @@ "npmPublishAccess": "public",

"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'",
"type-check": "tsc --build tsconfig.json",
"build:lib": "rimraf -rf lib && yarn tsc --build ./tsconfig.lib.json",
"type-check": "yarn g:tsc --build tsconfig.json",
"build:lib": "yarn g:rimraf -rf lib && yarn g:tsc --build ./tsconfig.lib.json",
"publish:lib": "./scripts/publish-lib.sh",

@@ -48,19 +48,17 @@ "test:unit": "jest",

"@trezor/trezor-user-env-link": "1.0.2",
"@types/bytebuffer": "^5.0.46",
"@types/sharedworker": "^0.0.105",
"@types/w3c-web-usb": "^1.0.9",
"jest": "29.5.0",
"rimraf": "^5.0.5",
"@types/bytebuffer": "^5.0.48",
"@types/sharedworker": "^0.0.111",
"@types/w3c-web-usb": "^1.0.10",
"jest": "29.7.0",
"ts-node": "^10.9.1",
"tsx": "^4.6.2",
"typescript": "5.3.2"
"tsx": "^4.7.0"
},
"dependencies": {
"@trezor/protobuf": "1.0.8",
"@trezor/protocol": "1.0.5",
"@trezor/utils": "9.0.21",
"@trezor/protobuf": "1.0.9",
"@trezor/protocol": "1.0.6",
"@trezor/utils": "9.0.22",
"cross-fetch": "^4.0.0",
"json-stable-stringify": "^1.0.2",
"json-stable-stringify": "^1.1.1",
"long": "^4.0.0",
"protobufjs": "7.2.5",
"protobufjs": "7.2.6",
"usb": "^2.11.0"

@@ -67,0 +65,0 @@ },

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