Skip to content

Commit

Permalink
Merge pull request #150 from Itheum/d-david
Browse files Browse the repository at this point in the history
D david
  • Loading branch information
bucurdavid authored Sep 26, 2024
2 parents 2786601 + 638fe44 commit 75323ef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "@itheum/sdk-mx-data-nft",
"version": "3.7.0-alpha.5",
"description": "SDK for Itheum's Data NFT Technology on MultiversX and Solana",
"version": "3.7.0-alpha.6",
"description": "SDK for Itheum's Data NFT Technology on MultiversX Blockchain",

"main": "out/index.js",
"types": "out/index.d.js",
"files": [
Expand Down
5 changes: 4 additions & 1 deletion src/datanft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ export class DataNft implements DataNftType {
stream?: boolean;
nestedIdxToStream?: number;
asDeputyOnAppointerAddr?: string;
cacheDurationSeconds?: number;
}): Promise<ViewDataReturnType> {
try {
// S: run any format specific validation
Expand Down Expand Up @@ -575,7 +576,9 @@ export class DataNft implements DataNftType {
this.nonce
)}&chainId=${chainId}&mvxNativeAuthEnable=1&mvxNativeAuthMaxExpirySeconds=${
p.mvxNativeAuthMaxExpirySeconds
}&mvxNativeAuthOrigins=${mvxNativeAuthOriginsToBase64}`;
}&mvxNativeAuthOrigins=${mvxNativeAuthOriginsToBase64}&cacheDurationSeconds=${
p.cacheDurationSeconds || 0
}`;

type FetchConfig = {
[key: string]: any;
Expand Down

0 comments on commit 75323ef

Please sign in to comment.