@cityofzion/bs-ethereum 2.14.1 → 2.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { TBSNetworkId, GhostMarketNDS, THasTokenParam } from '@cityofzion/blockchain-service';
|
|
2
2
|
import { IBSEthereum, TBSEthereumNetworkId } from '../../types';
|
|
3
|
-
export declare class GhostMarketNDSEthereum<N extends string, A extends TBSNetworkId> extends GhostMarketNDS {
|
|
3
|
+
export declare class GhostMarketNDSEthereum<N extends string, A extends TBSNetworkId> extends GhostMarketNDS<N, A, IBSEthereum<N, A>> {
|
|
4
4
|
static readonly CHAIN_BY_NETWORK_ID: Partial<Record<TBSEthereumNetworkId, string>>;
|
|
5
|
-
_service: IBSEthereum<N, A>;
|
|
6
5
|
constructor(service: IBSEthereum<N, A>);
|
|
7
6
|
hasToken({ collectionHash, address }: THasTokenParam): Promise<boolean>;
|
|
8
7
|
getChain(): string;
|
|
@@ -15,8 +15,7 @@ const ethers_1 = require("ethers");
|
|
|
15
15
|
const ERC20_1 = require("../../assets/abis/ERC20");
|
|
16
16
|
class GhostMarketNDSEthereum extends blockchain_service_1.GhostMarketNDS {
|
|
17
17
|
constructor(service) {
|
|
18
|
-
super();
|
|
19
|
-
this._service = service;
|
|
18
|
+
super(service);
|
|
20
19
|
}
|
|
21
20
|
hasToken(_a) {
|
|
22
21
|
return __awaiter(this, arguments, void 0, function* ({ collectionHash, address }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cityofzion/bs-ethereum",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"repository": "https://github.com/CityOfZion/blockchain-services",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@ethersproject/abstract-signer": "5.7.0",
|
|
20
20
|
"@ethersproject/properties": "5.7.0",
|
|
21
21
|
"@cityofzion/dora-ts": "~0.5.1",
|
|
22
|
-
"@cityofzion/blockchain-service": "1.22.
|
|
22
|
+
"@cityofzion/blockchain-service": "1.22.3"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@ledgerhq/hw-transport": "~6.31.11",
|