Comparing version 0.50.9 to 0.50.10
@@ -44,3 +44,3 @@ "use strict"; | ||
var SUBMIT_DECLARATION = "\n mutation(\n $period: String!,\n $year: Int!\n ) {\n submitDeclaration(\n period: $period,\n year: $year\n ) {\n ".concat(DECLARATION_FIELDS, "\n }\n }\n"); | ||
var GET_DECLARATION_STATS = "\n query getDeclarationStats($period: String!, $year: Int!) {\n viewer {\n mainAccount {\n declarationStats(\n period: $period,\n year: $year\n ) {\n amount\n uncategorized {\n id\n amount\n name\n purpose\n valutaDate\n selectedBookingDate\n category\n categoryCode\n vatCategoryCode\n vatRate\n vatAmount\n isSplit\n }\n categoryGroups {\n amount\n categoryCode\n categoryCodeTranslation\n transactions {\n id\n amount\n name\n purpose\n valutaDate\n selectedBookingDate\n category\n categoryCode\n vatCategoryCode\n vatRate\n vatAmount\n isSplit\n }\n }\n }\n }\n }\n }\n"; | ||
var GET_DECLARATION_STATS = "\n query getDeclarationStats($period: String!, $year: Int!) {\n viewer {\n mainAccount {\n declarationStats(\n period: $period,\n year: $year\n ) {\n amount\n uncategorized {\n id\n amount\n name\n purpose\n valutaDate\n selectedBookingDate\n category\n categoryCode\n vatCategoryCode\n vatRate\n vatAmount\n isSplit\n }\n categoryGroups {\n amount\n categoryCode\n categoryCodeTranslation\n transactions {\n id\n amount\n name\n purpose\n valutaDate\n selectedBookingDate\n category\n categoryCode\n vatCategoryCode\n vatRate\n vatAmount\n isSplit\n }\n }\n exitedBusinessAssetsWithVat {\n id\n exitAmount\n exitDate\n assetClass\n assetType\n }\n }\n }\n }\n }\n"; | ||
var CATEGORIZE_TRANSACTION_MUTATION = "mutation(\n $id: ID!,\n $category: TransactionCategory,\n $categoryCode: String,\n $vatCategoryCode: String,\n $date: String\n $isSplit: Boolean\n $businessAssetInput: BusinessAssetInput\n) {\n categorizeTransactionForDeclaration(\n id: $id,\n category: $category,\n categoryCode: $categoryCode\n vatCategoryCode: $vatCategoryCode,\n date: $date\n isSplit: $isSplit\n businessAssetInput: $businessAssetInput\n ) {\n category\n categoryCode\n vatCategoryCode\n date\n }\n}"; | ||
@@ -47,0 +47,0 @@ var Declaration = /** @class */ (function () { |
{ | ||
"name": "kontist", | ||
"version": "0.50.9", | ||
"version": "0.50.10", | ||
"description": "Kontist client SDK", | ||
@@ -27,2 +27,3 @@ "main": "dist/lib/index.js", | ||
"js-sha256": "^0.9.0", | ||
"querystring-es3": "^0.2.1", | ||
"ws": "^8.4.2" | ||
@@ -40,3 +41,3 @@ }, | ||
"@types/jsdom": "^16.2.14", | ||
"@types/mocha": "^9.1.0", | ||
"@types/mocha": "^10.0.6", | ||
"@types/sinon": "^10.0.9", | ||
@@ -46,3 +47,3 @@ "chai": "^4.3.6", | ||
"jsdom": "^19.0.0", | ||
"mocha": "^9.2.0", | ||
"mocha": "^10.3.0", | ||
"moment": "^2.29.1", | ||
@@ -53,3 +54,3 @@ "nyc": "^15.1.0", | ||
"typescript": "^4.5.5", | ||
"webpack": "^4.46.0", | ||
"webpack": "^5.90.3", | ||
"webpack-cli": "^4.9.2" | ||
@@ -56,0 +57,0 @@ }, |
@@ -172,2 +172,3 @@ import { expect } from "chai"; | ||
], | ||
exitedBusinessAssetsWithVat: [] | ||
}, | ||
@@ -174,0 +175,0 @@ ]; |
const path = require("path"); | ||
const CopyPlugin = require("copy-webpack-plugin"); | ||
const TerserPlugin = require("terser-webpack-plugin"); | ||
@@ -25,2 +26,17 @@ module.exports = { | ||
], | ||
resolve: { | ||
fallback: { | ||
// SEE: https://github.com/mulesoft-labs/js-client-oauth2/issues/190 | ||
querystring: require.resolve("querystring-es3"), | ||
}, | ||
}, | ||
optimization: { | ||
minimize: true, | ||
minimizer: [ | ||
new TerserPlugin({ | ||
exclude: "lib/graphql/schema.flow.js", | ||
extractComments: false, | ||
}), | ||
], | ||
}, | ||
}; |
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 too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1284455
20315
11
+ Addedquerystring-es3@^0.2.1
+ Addedquerystring-es3@0.2.1(transitive)