Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update version in package.json #814

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 15 additions & 17 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,20 @@
"no-useless-constructor": 0,
"max-classes-per-file": 0,
"lines-between-class-members": 0,
"spaced-comment": [
2,
"always"
],
"indent": [
"no-confusing-arrow": "off",
"function-paren-newline": "off",
"comma-dangle": [
"error",
2
{
"arrays": "only-multiline",
"objects": "only-multiline",
"imports": "only-multiline",
"exports": "only-multiline",
"functions": "never"
}
],
"spaced-comment": [2, "always"],
"indent": ["error", 2],
"quotes": [
2,
"single",
Expand All @@ -56,21 +62,13 @@
"class-methods-use-this": "off",
"no-throw-literal": "off",
"no-shadow": "off",
"@typescript-eslint/no-shadow": [
"warn"
],
"@typescript-eslint/no-shadow": ["warn"]
},
"settings": {
"import/resolver": {
"node": {
"paths": [
"src"
],
"extensions": [
".js",
".jsx",
".ts"
]
"paths": ["src"],
"extensions": [".js", ".jsx", ".ts"]
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"trailingComma": "all"
"trailingComma": "none"
}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

# [3.13.24] - 17-06-2024
# [3.13.25] - 17-06-2024

### Added

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inplayer-org/inplayer.js",
"version": "3.13.24",
"version": "3.13.25",
"author": "InPlayer",
"license": "MIT",
"description": "A Javascript SDK for Inplayer's RESTful API",
Expand Down
8 changes: 4 additions & 4 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
getExternalAsset: (
assetType: string,
externalId: string,
merchantUuid?: string,
merchantUuid?: string
): string => {
let url = `/items/assets/external/${assetType}/${externalId}`;
if (merchantUuid) {
Expand Down Expand Up @@ -94,7 +94,7 @@
page: number,
startDate?: string,
endDate?: string,
type?: string,
type?: string
): string => {
let url = `/payments/transactions?exclude=store-payment&size=${size}&page=${page}`;

Expand All @@ -110,14 +110,14 @@

return url;
},
getSitePlans: (siteId: string, plansIds: string[] = []) =>

Check warning on line 113 in src/constants/index.ts

View workflow job for this annotation

GitHub Actions / Build

Missing return type on function

Check warning on line 113 in src/constants/index.ts

View workflow job for this annotation

GitHub Actions / Build

Missing return type on function
`/v3/sites/${siteId}/plans${
plansIds.length
? `q=id:(${plansIds.map((planId) => `"${planId}"`).join(' OR ')})`
: ''
}`,

getSitePlanPrices: (siteId: string, planId: string) =>

Check warning on line 120 in src/constants/index.ts

View workflow job for this annotation

GitHub Actions / Build

Missing return type on function

Check warning on line 120 in src/constants/index.ts

View workflow job for this annotation

GitHub Actions / Build

Missing return type on function
`/v3/sites/${siteId}/plans/${planId}/prices`,

// Subscriptions
Expand Down Expand Up @@ -148,7 +148,7 @@
merchantUuid: string,
page: number,
size: number,
filter: string,
filter: string
): string =>
`/v2/nfts/${merchantUuid}?filter=${filter}&page=${page}&size=${size}`,
getMerchantNFT: (merchantUuid: string, nftId: number): string =>
Expand All @@ -160,5 +160,5 @@
makeReservation: (merchantUuid: string, nftId: number): string =>
`/v2/nfts/${merchantUuid}/${nftId}/reserve`,

featureFlags: '/v2/features',
featureFlags: '/v2/features'
};
Loading
Loading