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

kontist

Package Overview
Dependencies
Maintainers
3
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kontist - npm Package Compare versions

Comparing version 0.25.9 to 0.25.10

6

dist/lib/graphql/card.js

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

result = _d.sent();
cards = (_c = (_b = (_a = result.viewer) === null || _a === void 0 ? void 0 : _a.mainAccount) === null || _b === void 0 ? void 0 : _b.cards, (_c !== null && _c !== void 0 ? _c : []));
cards = (_c = (_b = (_a = result.viewer) === null || _a === void 0 ? void 0 : _a.mainAccount) === null || _b === void 0 ? void 0 : _b.cards) !== null && _c !== void 0 ? _c : [];
pageInfo = {

@@ -113,3 +113,3 @@ hasNextPage: false,

result = _d.sent();
return [2 /*return*/, (_c = (_b = (_a = result.viewer) === null || _a === void 0 ? void 0 : _a.mainAccount) === null || _b === void 0 ? void 0 : _b.card, (_c !== null && _c !== void 0 ? _c : null))];
return [2 /*return*/, (_c = (_b = (_a = result.viewer) === null || _a === void 0 ? void 0 : _a.mainAccount) === null || _b === void 0 ? void 0 : _b.card) !== null && _c !== void 0 ? _c : null];
}

@@ -134,3 +134,3 @@ });

result = _e.sent();
return [2 /*return*/, (_d = (_c = (_b = (_a = result.viewer) === null || _a === void 0 ? void 0 : _a.mainAccount) === null || _b === void 0 ? void 0 : _b.card) === null || _c === void 0 ? void 0 : _c.settings, (_d !== null && _d !== void 0 ? _d : null))];
return [2 /*return*/, (_d = (_c = (_b = (_a = result.viewer) === null || _a === void 0 ? void 0 : _a.mainAccount) === null || _b === void 0 ? void 0 : _b.card) === null || _c === void 0 ? void 0 : _c.settings) !== null && _d !== void 0 ? _d : null];
}

@@ -137,0 +137,0 @@ });

@@ -799,2 +799,8 @@ export declare type Maybe<T> = T | null;

iban_in?: Maybe<Array<Scalars['String']>>;
valutaDate_eq?: Maybe<Scalars['DateTime']>;
valutaDate_ne?: Maybe<Scalars['DateTime']>;
valutaDate_gt?: Maybe<Scalars['DateTime']>;
valutaDate_lt?: Maybe<Scalars['DateTime']>;
valutaDate_gte?: Maybe<Scalars['DateTime']>;
valutaDate_lte?: Maybe<Scalars['DateTime']>;
bookingDate_eq?: Maybe<Scalars['DateTime']>;

@@ -851,2 +857,8 @@ bookingDate_ne?: Maybe<Scalars['DateTime']>;

iban_in?: Maybe<Array<Scalars['String']>>;
valutaDate_eq?: Maybe<Scalars['DateTime']>;
valutaDate_ne?: Maybe<Scalars['DateTime']>;
valutaDate_gt?: Maybe<Scalars['DateTime']>;
valutaDate_lt?: Maybe<Scalars['DateTime']>;
valutaDate_gte?: Maybe<Scalars['DateTime']>;
valutaDate_lte?: Maybe<Scalars['DateTime']>;
bookingDate_eq?: Maybe<Scalars['DateTime']>;

@@ -898,3 +910,5 @@ bookingDate_ne?: Maybe<Scalars['DateTime']>;

CancellationSepaCreditTransferReturn = "CANCELLATION_SEPA_CREDIT_TRANSFER_RETURN",
CardTransaction = "CARD_TRANSACTION"
CardTransaction = "CARD_TRANSACTION",
InterestAccrued = "INTEREST_ACCRUED",
CancellationInterestAccrued = "CANCELLATION_INTEREST_ACCRUED"
}

@@ -935,3 +949,3 @@ export declare type TransactionsConnection = {

/** The user selected category for the SEPA Transfer */
category?: Maybe<Scalars['String']>;
category?: Maybe<TransactionCategory>;
/** When a transaction corresponds to a tax or vat payment, the user may specify at which date it should be considered booked */

@@ -938,0 +952,0 @@ userSelectedBookingDate?: Maybe<Scalars['DateTime']>;

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

TransactionProjectionType["CardTransaction"] = "CARD_TRANSACTION";
TransactionProjectionType["InterestAccrued"] = "INTEREST_ACCRUED";
TransactionProjectionType["CancellationInterestAccrued"] = "CANCELLATION_INTEREST_ACCRUED";
})(TransactionProjectionType = exports.TransactionProjectionType || (exports.TransactionProjectionType = {}));

@@ -444,0 +446,0 @@ var TransferStatus;

@@ -81,15 +81,15 @@ "use strict";

Transaction.prototype.fetch = function (args) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
var _a, _b, _c, _d, _e, _f, _g, _h;
return __awaiter(this, void 0, void 0, function () {
var result, transactions, pageInfo;
return __generator(this, function (_l) {
switch (_l.label) {
return __generator(this, function (_j) {
switch (_j.label) {
case 0: return [4 /*yield*/, this.client.rawQuery(FETCH_TRANSACTIONS, args)];
case 1:
result = _l.sent();
transactions = (_e = (_d = (_c = (_b = (_a = result) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.mainAccount) === null || _c === void 0 ? void 0 : _c.transactions) === null || _d === void 0 ? void 0 : _d.edges, (_e !== null && _e !== void 0 ? _e : [])).map(function (edge) { return edge.node; });
pageInfo = (_k = (_j = (_h = (_g = (_f = result) === null || _f === void 0 ? void 0 : _f.viewer) === null || _g === void 0 ? void 0 : _g.mainAccount) === null || _h === void 0 ? void 0 : _h.transactions) === null || _j === void 0 ? void 0 : _j.pageInfo, (_k !== null && _k !== void 0 ? _k : {
result = _j.sent();
transactions = ((_d = (_c = (_b = (_a = result === null || result === void 0 ? void 0 : result.viewer) === null || _a === void 0 ? void 0 : _a.mainAccount) === null || _b === void 0 ? void 0 : _b.transactions) === null || _c === void 0 ? void 0 : _c.edges) !== null && _d !== void 0 ? _d : []).map(function (edge) { return edge.node; });
pageInfo = (_h = (_g = (_f = (_e = result === null || result === void 0 ? void 0 : result.viewer) === null || _e === void 0 ? void 0 : _e.mainAccount) === null || _f === void 0 ? void 0 : _f.transactions) === null || _g === void 0 ? void 0 : _g.pageInfo) !== null && _h !== void 0 ? _h : {
hasNextPage: false,
hasPreviousPage: false,
}));
};
return [2 /*return*/, new resultPage_1.ResultPage(this, transactions, pageInfo, args)];

@@ -121,3 +121,3 @@ }

Transaction.prototype.fetchAll = function (args) {
return _super.prototype.fetchAll.call(this, (args !== null && args !== void 0 ? args : {}));
return _super.prototype.fetchAll.call(this, args !== null && args !== void 0 ? args : {});
};

@@ -124,0 +124,0 @@ Transaction.prototype.subscribe = function (onNext, onError) {

@@ -224,15 +224,15 @@ "use strict";

Transfer.prototype.fetch = function (args) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
var _a, _b, _c, _d, _e, _f, _g, _h;
return __awaiter(this, void 0, void 0, function () {
var result, transfers, pageInfo;
return __generator(this, function (_l) {
switch (_l.label) {
return __generator(this, function (_j) {
switch (_j.label) {
case 0: return [4 /*yield*/, this.client.rawQuery(FETCH_TRANSFERS, args)];
case 1:
result = _l.sent();
transfers = (_e = (_d = (_c = (_b = (_a = result) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.mainAccount) === null || _c === void 0 ? void 0 : _c.transfers) === null || _d === void 0 ? void 0 : _d.edges, (_e !== null && _e !== void 0 ? _e : [])).map(function (edge) { return edge.node; });
pageInfo = (_k = (_j = (_h = (_g = (_f = result) === null || _f === void 0 ? void 0 : _f.viewer) === null || _g === void 0 ? void 0 : _g.mainAccount) === null || _h === void 0 ? void 0 : _h.transfers) === null || _j === void 0 ? void 0 : _j.pageInfo, (_k !== null && _k !== void 0 ? _k : {
result = _j.sent();
transfers = ((_d = (_c = (_b = (_a = result === null || result === void 0 ? void 0 : result.viewer) === null || _a === void 0 ? void 0 : _a.mainAccount) === null || _b === void 0 ? void 0 : _b.transfers) === null || _c === void 0 ? void 0 : _c.edges) !== null && _d !== void 0 ? _d : []).map(function (edge) { return edge.node; });
pageInfo = (_h = (_g = (_f = (_e = result === null || result === void 0 ? void 0 : result.viewer) === null || _e === void 0 ? void 0 : _e.mainAccount) === null || _f === void 0 ? void 0 : _f.transfers) === null || _g === void 0 ? void 0 : _g.pageInfo) !== null && _h !== void 0 ? _h : {
hasNextPage: false,
hasPreviousPage: false,
}));
};
return [2 /*return*/, new resultPage_1.ResultPage(this, transfers, pageInfo, args)];

@@ -258,3 +258,3 @@ }

result = _d.sent();
return [2 /*return*/, (_c = (_b = (_a = result.viewer) === null || _a === void 0 ? void 0 : _a.mainAccount) === null || _b === void 0 ? void 0 : _b.transferSuggestions, (_c !== null && _c !== void 0 ? _c : []))];
return [2 /*return*/, (_c = (_b = (_a = result.viewer) === null || _a === void 0 ? void 0 : _a.mainAccount) === null || _b === void 0 ? void 0 : _b.transferSuggestions) !== null && _c !== void 0 ? _c : []];
}

@@ -261,0 +261,0 @@ });

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

else {
var error = (_c = (_b = event.data) === null || _b === void 0 ? void 0 : _b.error, (_c !== null && _c !== void 0 ? _c : new errors_1.RenewTokenError({
var error = (_c = (_b = event.data) === null || _b === void 0 ? void 0 : _b.error) !== null && _c !== void 0 ? _c : new errors_1.RenewTokenError({
message: "Invalid message received from server",
})));
});
return reject(error);

@@ -31,0 +31,0 @@ }

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

var errorOptions = {};
var errorDetails = (_b = (_a = graphQLError.response) === null || _a === void 0 ? void 0 : _a.errors, (_b !== null && _b !== void 0 ? _b : []))[0];
var errorDetails = ((_b = (_a = graphQLError.response) === null || _a === void 0 ? void 0 : _a.errors) !== null && _b !== void 0 ? _b : [])[0];
if (errorDetails) {

@@ -9,0 +9,0 @@ errorOptions.message = errorDetails.message;

{
"name": "kontist",
"version": "0.25.9",
"version": "0.25.10",
"description": "Kontist client SDK",

@@ -25,21 +25,21 @@ "main": "dist/lib/index.js",

"subscriptions-transport-ws": "^0.9.16",
"ws": "^7.2.1"
"ws": "^7.2.3"
},
"devDependencies": {
"@graphql-codegen/cli": "1.8.3",
"@graphql-codegen/typescript": "1.8.3",
"@types/chai": "^4.2.9",
"@graphql-codegen/cli": "^1.13.1",
"@graphql-codegen/typescript": "^1.13.1",
"@types/chai": "^4.2.11",
"@types/jsdom": "^16.1.0",
"@types/mocha": "^7.0.1",
"@types/sinon": "^7.5.1",
"@types/ws": "^7.2.1",
"@types/mocha": "^7.0.2",
"@types/sinon": "^7.5.2",
"@types/ws": "^7.2.3",
"chai": "^4.2.0",
"jsdom": "^16.2.0",
"mocha": "^7.0.1",
"jsdom": "^16.2.1",
"mocha": "^7.1.1",
"moment": "^2.24.0",
"nyc": "^15.0.0",
"sinon": "^8.1.1",
"tslint": "^6.0.0",
"typescript": "^3.7.5",
"webpack": "^4.41.6",
"tslint": "^6.1.0",
"typescript": "^3.8.3",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11"

@@ -46,0 +46,0 @@ },

Sorry, the diff of this file is too big to display

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

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