@firmachain/firma-js 0.2.59 → 0.2.60

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.
@@ -102,9 +102,9 @@ export declare class FirmaCosmWasmCw20Service {
102
102
  getTokenInfo(contractAddress: string): Promise<Cw20TokenInfo>;
103
103
  getMinter(contractAddress: string): Promise<Cw20Minter>;
104
104
  getAllowance(contractAddress: string, owner: string, spender: string): Promise<Cw20Allowance>;
105
- getAllAllowances(contractAddress: string, owner: string, limit?: number, start_after?: string): Promise<Cw20SpenderAllowance[]>;
106
- getAllSpenderAllowances(contractAddress: string, spender: string, limit?: number, start_after?: string): Promise<Cw20SpenderAllowance[]>;
107
- getAllAccounts(contractAddress: string, limit?: number, start_after?: string): Promise<string[]>;
105
+ getAllAllowances(contractAddress: string, owner: string, limit?: number, start_after?: string | null): Promise<Cw20SpenderAllowance[]>;
106
+ getAllSpenderAllowances(contractAddress: string, spender: string, limit?: number, start_after?: string | null): Promise<Cw20SpenderAllowance[]>;
107
+ getAllAccounts(contractAddress: string, limit?: number, start_after?: string | null): Promise<string[]>;
108
108
  getMarketingInfo(contractAddress: string): Promise<Cw20MarketingInfo>;
109
109
  getDownloadLogo(contractAddress: string): Promise<string>;
110
110
  }
@@ -791,7 +791,7 @@ var FirmaCosmWasmCw20Service = /** @class */ (function () {
791
791
  };
792
792
  FirmaCosmWasmCw20Service.prototype.getAllAllowances = function (contractAddress, owner, limit, start_after) {
793
793
  if (limit === void 0) { limit = 10; }
794
- if (start_after === void 0) { start_after = ""; }
794
+ if (start_after === void 0) { start_after = null; }
795
795
  return __awaiter(this, void 0, void 0, function () {
796
796
  var query, result, data, error_8;
797
797
  return __generator(this, function (_a) {
@@ -815,7 +815,7 @@ var FirmaCosmWasmCw20Service = /** @class */ (function () {
815
815
  };
816
816
  FirmaCosmWasmCw20Service.prototype.getAllSpenderAllowances = function (contractAddress, spender, limit, start_after) {
817
817
  if (limit === void 0) { limit = 10; }
818
- if (start_after === void 0) { start_after = ""; }
818
+ if (start_after === void 0) { start_after = null; }
819
819
  return __awaiter(this, void 0, void 0, function () {
820
820
  var query, result, data, error_9;
821
821
  return __generator(this, function (_a) {
@@ -839,7 +839,7 @@ var FirmaCosmWasmCw20Service = /** @class */ (function () {
839
839
  };
840
840
  FirmaCosmWasmCw20Service.prototype.getAllAccounts = function (contractAddress, limit, start_after) {
841
841
  if (limit === void 0) { limit = 10; }
842
- if (start_after === void 0) { start_after = ""; }
842
+ if (start_after === void 0) { start_after = null; }
843
843
  return __awaiter(this, void 0, void 0, function () {
844
844
  var query, result, data, error_10;
845
845
  return __generator(this, function (_a) {
@@ -92,14 +92,14 @@ export declare class FirmaCosmWasmCw721Service {
92
92
  getOwnerFromNftID(contractAddress: string, tokenId: string): Promise<string>;
93
93
  getApproval(contractAddress: string, tokenId: string, spender: string, isIncludeExpired?: boolean): Promise<Cw721Approval>;
94
94
  getApprovals(contractAddress: string, tokenId: string, isIncludeExpired?: boolean): Promise<Cw721Approval[]>;
95
- getAllOperators(contractAddress: string, owner: string, isIncludeExpired?: boolean, limit?: number, start_after?: string): Promise<Cw721Approval[]>;
95
+ getAllOperators(contractAddress: string, owner: string, isIncludeExpired?: boolean, limit?: number, start_after?: string | null): Promise<Cw721Approval[]>;
96
96
  getOperator(contractAddress: string, owner: string, operator: string, isIncludeExpired?: boolean): Promise<Cw721Approval>;
97
97
  getTotalNfts(contractAddress: string): Promise<number>;
98
98
  getContractInfo(contractAddress: string): Promise<Cw721ContractInfo>;
99
99
  getNftTokenUri(contractAddress: string, tokenId: string): Promise<string>;
100
100
  getNftData(contractAddress: string, tokenId: string): Promise<Cw721NftInfo>;
101
- getNFTIdListOfOwner(contractAddress: string, owner: string, limit?: number, start_after?: string): Promise<string[]>;
102
- getAllNftIdList(contractAddress: string, limit?: number, start_after?: string): Promise<string[]>;
101
+ getNFTIdListOfOwner(contractAddress: string, owner: string, limit?: number, start_after?: string | null): Promise<string[]>;
102
+ getAllNftIdList(contractAddress: string, limit?: number, start_after?: string | null): Promise<string[]>;
103
103
  getMinter(contractAddress: string): Promise<string>;
104
104
  getExtension(contractAddress: string): Promise<any>;
105
105
  getOwnerShip(contractAddress: string): Promise<OwnershipResponse>;
@@ -698,7 +698,7 @@ var FirmaCosmWasmCw721Service = /** @class */ (function () {
698
698
  FirmaCosmWasmCw721Service.prototype.getAllOperators = function (contractAddress, owner, isIncludeExpired, limit, start_after) {
699
699
  if (isIncludeExpired === void 0) { isIncludeExpired = false; }
700
700
  if (limit === void 0) { limit = 10; }
701
- if (start_after === void 0) { start_after = ""; }
701
+ if (start_after === void 0) { start_after = null; }
702
702
  return __awaiter(this, void 0, void 0, function () {
703
703
  var query, result, data, error_6;
704
704
  return __generator(this, function (_a) {
@@ -833,7 +833,7 @@ var FirmaCosmWasmCw721Service = /** @class */ (function () {
833
833
  };
834
834
  FirmaCosmWasmCw721Service.prototype.getNFTIdListOfOwner = function (contractAddress, owner, limit, start_after) {
835
835
  if (limit === void 0) { limit = 10; }
836
- if (start_after === void 0) { start_after = ""; }
836
+ if (start_after === void 0) { start_after = null; }
837
837
  return __awaiter(this, void 0, void 0, function () {
838
838
  var query, result, data, error_12;
839
839
  return __generator(this, function (_a) {
@@ -857,7 +857,7 @@ var FirmaCosmWasmCw721Service = /** @class */ (function () {
857
857
  };
858
858
  FirmaCosmWasmCw721Service.prototype.getAllNftIdList = function (contractAddress, limit, start_after) {
859
859
  if (limit === void 0) { limit = 10; }
860
- if (start_after === void 0) { start_after = ""; }
860
+ if (start_after === void 0) { start_after = null; }
861
861
  return __awaiter(this, void 0, void 0, function () {
862
862
  var query, result, data, error_13;
863
863
  return __generator(this, function (_a) {
@@ -69,9 +69,9 @@ export declare class FirmaCosmWasmCwBridgeService {
69
69
  getOwner(contractAddress: string): Promise<string>;
70
70
  getAuthorizedUsers(contractAddress: string): Promise<string[]>;
71
71
  getNftInfo(contractAddress: string, tokenId: string): Promise<NftInfo>;
72
- getOwnerNfts(contractAddress: string, ownerAddress: string, limit?: number, start_after?: string): Promise<string[]>;
73
- getOwnerNftsInfo(contractAddress: string, ownerAddress: string, limit?: number, start_after?: string): Promise<NftInfo[]>;
74
- getOwnerWithdrawableNfts(contractAddress: string, ownerAddress: string, limit?: number, start_after?: string): Promise<NftInfo[]>;
75
- getOwnerUnlockableNfts(contractAddress: string, ownerAddress: string, limit?: number, start_after?: string): Promise<NftInfo[]>;
72
+ getOwnerNfts(contractAddress: string, ownerAddress: string, limit?: number, start_after?: string | null): Promise<string[]>;
73
+ getOwnerNftsInfo(contractAddress: string, ownerAddress: string, limit?: number, start_after?: string | null): Promise<NftInfo[]>;
74
+ getOwnerWithdrawableNfts(contractAddress: string, ownerAddress: string, limit?: number, start_after?: string | null): Promise<NftInfo[]>;
75
+ getOwnerUnlockableNfts(contractAddress: string, ownerAddress: string, limit?: number, start_after?: string | null): Promise<NftInfo[]>;
76
76
  getGlobalTxCounts(contractAddress: string): Promise<BridgeGlobalTxCounts>;
77
77
  }
@@ -504,7 +504,7 @@ var FirmaCosmWasmCwBridgeService = /** @class */ (function () {
504
504
  };
505
505
  FirmaCosmWasmCwBridgeService.prototype.getOwnerNfts = function (contractAddress, ownerAddress, limit, start_after) {
506
506
  if (limit === void 0) { limit = 10; }
507
- if (start_after === void 0) { start_after = ""; }
507
+ if (start_after === void 0) { start_after = null; }
508
508
  return __awaiter(this, void 0, void 0, function () {
509
509
  var query, result;
510
510
  return __generator(this, function (_a) {
@@ -521,7 +521,7 @@ var FirmaCosmWasmCwBridgeService = /** @class */ (function () {
521
521
  };
522
522
  FirmaCosmWasmCwBridgeService.prototype.getOwnerNftsInfo = function (contractAddress, ownerAddress, limit, start_after) {
523
523
  if (limit === void 0) { limit = 10; }
524
- if (start_after === void 0) { start_after = ""; }
524
+ if (start_after === void 0) { start_after = null; }
525
525
  return __awaiter(this, void 0, void 0, function () {
526
526
  var query, result;
527
527
  return __generator(this, function (_a) {
@@ -538,7 +538,7 @@ var FirmaCosmWasmCwBridgeService = /** @class */ (function () {
538
538
  };
539
539
  FirmaCosmWasmCwBridgeService.prototype.getOwnerWithdrawableNfts = function (contractAddress, ownerAddress, limit, start_after) {
540
540
  if (limit === void 0) { limit = 10; }
541
- if (start_after === void 0) { start_after = ""; }
541
+ if (start_after === void 0) { start_after = null; }
542
542
  return __awaiter(this, void 0, void 0, function () {
543
543
  var query, result;
544
544
  return __generator(this, function (_a) {
@@ -555,7 +555,7 @@ var FirmaCosmWasmCwBridgeService = /** @class */ (function () {
555
555
  };
556
556
  FirmaCosmWasmCwBridgeService.prototype.getOwnerUnlockableNfts = function (contractAddress, ownerAddress, limit, start_after) {
557
557
  if (limit === void 0) { limit = 10; }
558
- if (start_after === void 0) { start_after = ""; }
558
+ if (start_after === void 0) { start_after = null; }
559
559
  return __awaiter(this, void 0, void 0, function () {
560
560
  var query, result;
561
561
  return __generator(this, function (_a) {
@@ -69,6 +69,6 @@ export declare class FirmaCosmWasmCwMarketplaceService {
69
69
  getGasEstimationCancelSale(wallet: FirmaWalletService, contractAddress: string, tokenId: string): Promise<number>;
70
70
  getConfig(contractAddress: string): Promise<MarketplaceConfig>;
71
71
  getOwner(contractAddress: string): Promise<string>;
72
- getRegisterList(contractAddress: string, limit?: number, start_after?: string): Promise<MarketplaceRegisterData[]>;
73
- getRegisterListByAddress(contractAddress: string, address: string, limit?: number, start_after?: string): Promise<MarketplaceRegisterData[]>;
72
+ getRegisterList(contractAddress: string, limit?: number, start_after?: string | null): Promise<MarketplaceRegisterData[]>;
73
+ getRegisterListByAddress(contractAddress: string, address: string, limit?: number, start_after?: string | null): Promise<MarketplaceRegisterData[]>;
74
74
  }
@@ -420,7 +420,7 @@ var FirmaCosmWasmCwMarketplaceService = /** @class */ (function () {
420
420
  };
421
421
  FirmaCosmWasmCwMarketplaceService.prototype.getRegisterList = function (contractAddress, limit, start_after) {
422
422
  if (limit === void 0) { limit = 10; }
423
- if (start_after === void 0) { start_after = ""; }
423
+ if (start_after === void 0) { start_after = null; }
424
424
  return __awaiter(this, void 0, void 0, function () {
425
425
  var query, result;
426
426
  return __generator(this, function (_a) {
@@ -437,7 +437,7 @@ var FirmaCosmWasmCwMarketplaceService = /** @class */ (function () {
437
437
  };
438
438
  FirmaCosmWasmCwMarketplaceService.prototype.getRegisterListByAddress = function (contractAddress, address, limit, start_after) {
439
439
  if (limit === void 0) { limit = 10; }
440
- if (start_after === void 0) { start_after = ""; }
440
+ if (start_after === void 0) { start_after = null; }
441
441
  return __awaiter(this, void 0, void 0, function () {
442
442
  var query, result;
443
443
  return __generator(this, function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firmachain/firma-js",
3
- "version": "0.2.59",
3
+ "version": "0.2.60",
4
4
  "description": "The Official FirmaChain Javascript SDK written in Typescript",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",