@masa-finance/masa-sdk
Advanced tools
Comparing version 0.1.8 to 0.1.9
{ | ||
"name": "@masa-finance/masa-sdk", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Brand new masa SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -34,3 +34,14 @@ import { MasaClient } from "./utils"; | ||
getRegistrationPrice: (soulName: string, duration: number, paymentMethod: import("./contracts").PaymentMethod) => Promise<string | import("ethers").BigNumber>; | ||
list: (address?: string | undefined) => Promise<void>; | ||
list: (address?: string | undefined) => Promise<{ | ||
index: string; | ||
tokenUri: string; | ||
tokenDetails: [string, import("ethers").BigNumber, import("ethers").BigNumber, import("ethers").BigNumber, boolean] & { | ||
sbtName: string; | ||
identityId: import("ethers").BigNumber; | ||
tokenId: import("ethers").BigNumber; | ||
expirationDate: import("ethers").BigNumber; | ||
active: boolean; | ||
}; | ||
metadata: import("./interface").ISoulName | undefined; | ||
}[] | undefined>; | ||
loadSoulNamesByIdentityId: (identityId: import("ethers").BigNumber) => Promise<{ | ||
@@ -37,0 +48,0 @@ index: string; |
@@ -16,2 +16,13 @@ import Masa from "../masa"; | ||
}[]>; | ||
export declare const listSoulnames: (masa: Masa, address?: string) => Promise<void>; | ||
export declare const listSoulnames: (masa: Masa, address?: string) => Promise<{ | ||
index: string; | ||
tokenUri: string; | ||
tokenDetails: [string, BigNumber, BigNumber, BigNumber, boolean] & { | ||
sbtName: string; | ||
identityId: BigNumber; | ||
tokenId: BigNumber; | ||
expirationDate: BigNumber; | ||
active: boolean; | ||
}; | ||
metadata: ISoulName | undefined; | ||
}[] | undefined>; |
@@ -65,5 +65,7 @@ "use strict"; | ||
} | ||
return soulNames; | ||
} | ||
else { | ||
console.log("Not logged in please login first"); | ||
return []; | ||
} | ||
@@ -70,0 +72,0 @@ }); |
@@ -6,3 +6,14 @@ import { BigNumber } from "ethers"; | ||
getRegistrationPrice: (soulName: string, duration: number, paymentMethod: PaymentMethod) => Promise<string | BigNumber>; | ||
list: (address?: string) => Promise<void>; | ||
list: (address?: string) => Promise<{ | ||
index: string; | ||
tokenUri: string; | ||
tokenDetails: [string, BigNumber, BigNumber, BigNumber, boolean] & { | ||
sbtName: string; | ||
identityId: BigNumber; | ||
tokenId: BigNumber; | ||
expirationDate: BigNumber; | ||
active: boolean; | ||
}; | ||
metadata: import("..").ISoulName | undefined; | ||
}[] | undefined>; | ||
loadSoulNamesByIdentityId: (identityId: BigNumber) => Promise<{ | ||
@@ -9,0 +20,0 @@ index: string; |
{ | ||
"name": "@masa-finance/masa-sdk", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Brand new masa SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
136380
2015
0