Skip to content

Commit 2f11ec9

Browse files
Merge pull request #799 from inplayer-org/update-missing-type
Update Asset class declaration
2 parents 579f67b + e456a84 commit 2f11ec9

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

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

5+
# [3.13.17] - 08-08-2023
6+
7+
- Modified type of `getAsset` method to align with changes from 3.13.16
8+
59
# [3.13.16] - 08-08-2023
610

711
- Modified `merchantUuid` parameter in `getAsset` method to be optional

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ export declare class Asset {
520520

521521
checkAccessForAsset(id: number): Promise<AxiosResponse<GetItemAccessV1>>;
522522
isFreeTrialUsed(id: number): Promise<AxiosResponse<boolean>>;
523-
getAsset(assetId: number, merchantUuid: string): Promise<AxiosResponse<ExternalItemDetails>>;
523+
getAsset(assetId: number, merchantUuid?: string): Promise<AxiosResponse<ExternalItemDetails>>;
524524
getExternalAsset(
525525
assetType: string,
526526
externalId: string,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inplayer-org/inplayer.js",
3-
"version": "3.13.16",
3+
"version": "3.13.17",
44
"author": "InPlayer",
55
"license": "MIT",
66
"description": "A Javascript SDK for Inplayer's RESTful API",

0 commit comments

Comments
 (0)