Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/linking-types

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/linking-types - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

6

CHANGELOG.md
# @atlaskit/linking-types
## 1.2.0
### Minor Changes
- [`709e46de9d0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/709e46de9d0) - New error type was added to Smart card actions
## 1.1.0

@@ -4,0 +10,0 @@

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

});
Object.defineProperty(exports, "InvokeError", {
enumerable: true,
get: function get() {
return _smartLinkActionTypes.InvokeError;
}
});
Object.defineProperty(exports, "SmartLinkActionType", {

@@ -8,0 +14,0 @@ enumerable: true,

26

dist/cjs/smart-link-action-types.js
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SmartLinkActionType = void 0;
exports.SmartLinkActionType = exports.InvokeError = void 0;
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
var _wrapNativeSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/wrapNativeSuper"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
/**

@@ -33,2 +42,15 @@ * The enum that describes Smart Link action types

* Payload from GetStatusTransitions action that contains a list of available statuses
*/
*/
var InvokeError = /*#__PURE__*/function (_Error) {
(0, _inherits2.default)(InvokeError, _Error);
var _super = _createSuper(InvokeError);
function InvokeError(message, errorCode) {
var _this;
(0, _classCallCheck2.default)(this, InvokeError);
_this = _super.call(this, message);
_this.errorCode = errorCode;
return _this;
}
return (0, _createClass2.default)(InvokeError);
}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
exports.InvokeError = InvokeError;

2

dist/cjs/version.json
{
"name": "@atlaskit/linking-types",
"version": "1.1.0",
"version": "1.2.0",
"sideEffects": false
}

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

export { SmartLinkActionType } from './smart-link-action-types';
export { SmartLinkActionType, InvokeError } from './smart-link-action-types';

@@ -27,2 +27,8 @@ /**

* Payload from GetStatusTransitions action that contains a list of available statuses
*/
*/
export class InvokeError extends Error {
constructor(message, errorCode) {
super(message);
this.errorCode = errorCode;
}
}
{
"name": "@atlaskit/linking-types",
"version": "1.1.0",
"version": "1.2.0",
"sideEffects": false
}

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

export { SmartLinkActionType } from './smart-link-action-types';
export { SmartLinkActionType, InvokeError } from './smart-link-action-types';

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

import _createClass from "@babel/runtime/helpers/createClass";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _wrapNativeSuper from "@babel/runtime/helpers/wrapNativeSuper";
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
/**

@@ -27,2 +35,14 @@ * The enum that describes Smart Link action types

* Payload from GetStatusTransitions action that contains a list of available statuses
*/
*/
export var InvokeError = /*#__PURE__*/function (_Error) {
_inherits(InvokeError, _Error);
var _super = _createSuper(InvokeError);
function InvokeError(message, errorCode) {
var _this;
_classCallCheck(this, InvokeError);
_this = _super.call(this, message);
_this.errorCode = errorCode;
return _this;
}
return _createClass(InvokeError);
}( /*#__PURE__*/_wrapNativeSuper(Error));
{
"name": "@atlaskit/linking-types",
"version": "1.1.0",
"version": "1.2.0",
"sideEffects": false
}
export type { BooleanType, NumberType, StringType, DateType, DateTimeType, TimeType, TagType, User, UserType, Status, StatusType, Link, LinkType, Icon, IconType, DatasourceResponseSchemaProperty, DatasourceDataResponseItem, DatasourceType, DatasourceResponseParameter, DatasourceResponse, DatasourceDataResponse, DatasourceDataRequest, DatasourceParameters, } from './datasource-types';
export type { InvokeRequest, InvokeRequestAction, StatusUpdateActionPayload, InvokeResponse, InvokeErrorResponse, GetStatusTransitionsInvokeResponse, } from './smart-link-action-types';
export { SmartLinkActionType } from './smart-link-action-types';
export { SmartLinkActionType, InvokeError } from './smart-link-action-types';

@@ -74,1 +74,5 @@ /**

};
export declare class InvokeError extends Error {
errorCode: number;
constructor(message: string, errorCode: number);
}
{
"name": "@atlaskit/linking-types",
"version": "1.1.0",
"version": "1.2.0",
"description": "Schema and Types for frontend and backend parts of linking platform",

@@ -5,0 +5,0 @@ "author": "Atlassian Pty Ltd",

@@ -158,2 +158,9 @@ <!-- API Report Version: 2.3 -->

// @public (undocumented)
export class InvokeError extends Error {
constructor(message: string, errorCode: number);
// (undocumented)
errorCode: number;
}
// @public

@@ -160,0 +167,0 @@ export type InvokeErrorResponse = InvokeResponse & {

@@ -136,2 +136,9 @@ ## API Report File for "@atlaskit/linking-types"

// @public (undocumented)
export class InvokeError extends Error {
constructor(message: string, errorCode: number);
// (undocumented)
errorCode: number;
}
// @public

@@ -138,0 +145,0 @@ export type InvokeErrorResponse = InvokeResponse & {

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