ggez-banking-sdk 0.0.80 → 0.0.82

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.
@@ -96,7 +96,7 @@ const useRegExp = () => {
96
96
  PriceRegexPattern: /^(?!0*\.?0{1,15}$)\d+(\.\d{1,15})?$/,
97
97
  IssuerRegexPattern: /^(?!.--)[\p{L}\p{N}][^/$%^+=<>|\n\r\b\t]{1,100}$/u,
98
98
  TradeValueRegexPattern: /^\d+(\.\d{1,2})?$/,
99
- CoinRegexPattern: /^(gz|ugz)$/,
99
+ CoinRegexPattern: /^(ggz|uggz)$/,
100
100
  AssetIdRegexPattern: /^[0-9]+$/,
101
101
  AumRegexPattern: /^\d+\.\d+[MB]$/,
102
102
  ExpenseRatioRegexPattern: /^\d*\.?\d{1,2}%$/,
@@ -4,5 +4,5 @@ interface gasPriceStep {
4
4
  average: number;
5
5
  high: number;
6
6
  }
7
- export declare const chainInfo: (rpc_url: string, rest_url: string, chain_id: string, chain_name: string, ugzGasPriceStep: gasPriceStep, mgzGasPriceStep: gasPriceStep, gzGasPriceStep: gasPriceStep, uggez1GasPriceStep: gasPriceStep, mggez1GasPriceStep: gasPriceStep, ggez1GasPriceStep: gasPriceStep) => ChainInfo;
7
+ export declare const chainInfo: (rpc_url: string, rest_url: string, chain_id: string, chain_name: string, uggzGasPriceStep: gasPriceStep, uggez1GasPriceStep: gasPriceStep) => ChainInfo;
8
8
  export {};
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.chainInfo = void 0;
4
4
  // The Cosmos Hub Testnet chain parameters
5
- const chainInfo = (rpc_url, rest_url, chain_id, chain_name, ugzGasPriceStep, mgzGasPriceStep, gzGasPriceStep, uggez1GasPriceStep, mggez1GasPriceStep, ggez1GasPriceStep) => ({
5
+ const chainInfo = (rpc_url, rest_url, chain_id, chain_name, uggzGasPriceStep, uggez1GasPriceStep) => ({
6
6
  chainId: chain_id,
7
7
  chainName: chain_name,
8
8
  rpc: rpc_url,
@@ -20,93 +20,46 @@ const chainInfo = (rpc_url, rest_url, chain_id, chain_name, ugzGasPriceStep, mgz
20
20
  },
21
21
  currencies: [
22
22
  {
23
- coinDenom: "UGZ",
24
- coinMinimalDenom: "ugz",
25
- coinDecimals: 0,
26
- coinGeckoId: "STX",
27
- },
28
- {
29
- coinDenom: "MGZ",
30
- coinMinimalDenom: "mgz",
31
- coinDecimals: 3,
32
- coinGeckoId: "STX",
33
- },
34
- {
35
- coinDenom: "GZ",
36
- coinMinimalDenom: "gz",
23
+ coinDenom: "GGZ",
24
+ coinMinimalDenom: "uggz",
37
25
  coinDecimals: 6,
38
- coinGeckoId: "STX",
39
- },
40
- {
41
- coinDenom: "UGGEZ1",
42
- coinMinimalDenom: "uggez1",
43
- coinDecimals: 0,
44
- coinGeckoId: "XDC",
45
- },
46
- {
47
- coinDenom: "MGGEZ1",
48
- coinMinimalDenom: "mggez1",
49
- coinDecimals: 3,
50
- coinGeckoId: "XDC",
26
+ coinGeckoId: "",
27
+ coinImageUrl: "https://ggez.one/images/assets/GGZ.png",
51
28
  },
52
29
  {
53
30
  coinDenom: "GGEZ1",
54
- coinMinimalDenom: "ggez1",
31
+ coinMinimalDenom: "uggez1",
55
32
  coinDecimals: 6,
56
- coinGeckoId: "XDC",
33
+ coinGeckoId: "",
34
+ coinImageUrl: "https://ggez.one/images/assets/GGEZ1.png",
57
35
  },
58
36
  ],
59
37
  feeCurrencies: [
60
38
  {
61
- coinDenom: "UGZ",
62
- coinMinimalDenom: "ugz",
63
- coinDecimals: 0,
64
- coinGeckoId: "STX",
65
- gasPriceStep: ugzGasPriceStep,
66
- },
67
- {
68
- coinDenom: "MGZ",
69
- coinMinimalDenom: "mgz",
70
- coinDecimals: 3,
71
- coinGeckoId: "STX",
72
- gasPriceStep: mgzGasPriceStep,
73
- },
74
- {
75
- coinDenom: "GZ",
76
- coinMinimalDenom: "gz",
39
+ coinDenom: "GGZ",
40
+ coinMinimalDenom: "uggz",
77
41
  coinDecimals: 6,
78
- coinGeckoId: "STX",
79
- gasPriceStep: gzGasPriceStep,
80
- },
81
- {
82
- coinDenom: "UGGEZ1",
83
- coinMinimalDenom: "uggez1",
84
- coinDecimals: 0,
85
- coinGeckoId: "XDC",
86
- gasPriceStep: uggez1GasPriceStep,
87
- },
88
- {
89
- coinDenom: "MGGEZ1",
90
- coinMinimalDenom: "mggez1",
91
- coinDecimals: 3,
92
- coinGeckoId: "XDC",
93
- gasPriceStep: mggez1GasPriceStep,
42
+ coinGeckoId: "",
43
+ gasPriceStep: uggzGasPriceStep,
44
+ coinImageUrl: "https://ggez.one/images/assets/GGZ.png",
94
45
  },
95
46
  {
96
47
  coinDenom: "GGEZ1",
97
- coinMinimalDenom: "ggez1",
48
+ coinMinimalDenom: "uggez1",
98
49
  coinDecimals: 6,
99
- coinGeckoId: "XDC",
100
- gasPriceStep: ggez1GasPriceStep,
50
+ coinGeckoId: "",
51
+ gasPriceStep: uggez1GasPriceStep,
52
+ coinImageUrl: "https://ggez.one/images/assets/GGEZ1.png",
101
53
  },
102
54
  ],
103
55
  stakeCurrency: {
104
- coinDenom: "UGGEZ1",
56
+ coinDenom: "GGEZ1",
105
57
  coinMinimalDenom: "uggez1",
106
- coinDecimals: 0,
107
- coinGeckoId: "XDC",
58
+ coinDecimals: 6,
59
+ coinGeckoId: "",
60
+ coinImageUrl: "https://ggez.one/images/assets/GGEZ1.png",
108
61
  },
109
62
  features: ["stargate"],
110
- chainSymbolImageUrl: "https://res.cloudinary.com/dvgnuchjw/image/upload/v1708605304/ggez_logo_gbyz6w.jpg",
63
+ chainSymbolImageUrl: "https://ggez.one/images/favicon.png",
111
64
  });
112
65
  exports.chainInfo = chainInfo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.80",
3
+ "version": "0.0.82",
4
4
  "description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",