Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@tanker/identity

Package Overview
Dependencies
Maintainers
5
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanker/identity - npm Package Compare versions

Comparing version
3.1.0
to
3.2.0
+2
-0
dist/browser/errors/errors/InvalidArgument.js

@@ -19,2 +19,4 @@ "use strict";

_this = _super.call(this, 'InvalidArgument', message) || this;
// Set the prototype explicitly.
Object.setPrototypeOf(_this, InvalidArgument.prototype);
return _this;

@@ -21,0 +23,0 @@ }

+4
-2

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

var tslib_1 = require("tslib");
var make_error_1 = require("make-error");
var TankerError = /** @class */ (function (_super) {

@@ -12,2 +11,5 @@ tslib_1.__extends(TankerError, _super);

var _this = _super.call(this) || this;
// Set the prototype explicitly.
// See https://github.com/Microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
Object.setPrototypeOf(_this, TankerError.prototype);
_this.name = name;

@@ -23,3 +25,3 @@ if (typeof message === 'string') {

return TankerError;
}(make_error_1.BaseError));
}(Error));
exports.TankerError = TankerError;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TANKER_IDENTITY_SDK_VERSION = void 0;
exports.TANKER_IDENTITY_SDK_VERSION = '3.1.0';
exports.TANKER_IDENTITY_SDK_VERSION = '3.2.0';

@@ -13,3 +13,5 @@ import { TankerError } from '../TankerError';

super('InvalidArgument', message);
// Set the prototype explicitly.
Object.setPrototypeOf(this, InvalidArgument.prototype);
}
}

@@ -1,5 +0,7 @@

import { BaseError } from 'make-error';
export class TankerError extends BaseError {
export class TankerError extends Error {
constructor(name = 'TankerError', message) {
super();
// Set the prototype explicitly.
// See https://github.com/Microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
Object.setPrototypeOf(this, TankerError.prototype);
this.name = name;

@@ -6,0 +8,0 @@ if (typeof message === 'string') {

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

export const TANKER_IDENTITY_SDK_VERSION = '3.1.0';
export const TANKER_IDENTITY_SDK_VERSION = '3.2.0';

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

super('InvalidArgument', message);
// Set the prototype explicitly.
Object.setPrototypeOf(this, InvalidArgument.prototype);
}
}
exports.InvalidArgument = InvalidArgument;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TankerError = void 0;
const make_error_1 = require("make-error");
class TankerError extends make_error_1.BaseError {
class TankerError extends Error {
constructor(name = 'TankerError', message) {
super();
// Set the prototype explicitly.
// See https://github.com/Microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
Object.setPrototypeOf(this, TankerError.prototype);
this.name = name;

@@ -9,0 +11,0 @@ if (typeof message === 'string') {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TANKER_IDENTITY_SDK_VERSION = void 0;
exports.TANKER_IDENTITY_SDK_VERSION = '3.1.0';
exports.TANKER_IDENTITY_SDK_VERSION = '3.2.0';

@@ -1,5 +0,4 @@

import { BaseError } from 'make-error';
export declare class TankerError extends BaseError {
export declare class TankerError extends Error {
constructor(name?: string, message?: string);
toString(): string;
}

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

export declare const TANKER_IDENTITY_SDK_VERSION = "3.1.0";
export declare const TANKER_IDENTITY_SDK_VERSION = "3.2.0";
{
"name": "@tanker/identity",
"version": "3.1.0",
"version": "3.2.0",
"description": "Tanker Identity SDK",

@@ -29,4 +29,3 @@ "author": "Tanker Team",

"dependencies": {
"@tanker/crypto": "^2.15.0",
"make-error": "^1.3.6"
"@tanker/crypto": "^2.15.0"
},

@@ -33,0 +32,0 @@ "devDependencies": {