playermint-ctl
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -15,2 +15,3 @@ import bigInt = require('big-integer'); | ||
export function callGetBalance(config: Config): Promise<bigint>; | ||
export function callGetBfNfts(config: Config,token:String): Promise<[NftInfo]>; | ||
@@ -27,2 +28,9 @@ export type NetworkId = 0 | 1; | ||
export type NftInfo = { | ||
name : string, | ||
filename : string, | ||
royalties : number, | ||
description : string | ||
}; | ||
export type Config = { | ||
@@ -33,4 +41,4 @@ kupoConfig: ServerConfig, | ||
logLevel: LogLevel, | ||
networkId: NetworkId | ||
projectId: String | ||
networkId: NetworkId, | ||
projectId: String, | ||
}; | ||
@@ -83,2 +91,2 @@ | ||
userId: string | ||
}; | ||
}; |
@@ -57,1 +57,6 @@ const playermint = import("./dist/bundle"); | ||
} | ||
exports.callGetBfNfts = async (config,token) => { | ||
const pm = await playermint; | ||
return pm.callGetBfNfts(config)(token)(); | ||
} |
{ | ||
"name": "playermint-ctl", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2978153
68895