ggez-banking-sdk 0.0.79 → 0.0.81

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.
@@ -35,6 +35,7 @@ export type PromotionDetails = {
35
35
  };
36
36
  export type SocialMediaPlatform = "twitter" | "instagram" | "facebook" | "linkedin" | "youtube";
37
37
  export interface Gift {
38
+ id: number;
38
39
  promotion_id: number;
39
40
  promotion_code: string;
40
41
  type: GGEZGiftType;
@@ -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, mggzGasPriceStep: gasPriceStep, ggzGasPriceStep: gasPriceStep, uggez1GasPriceStep: gasPriceStep, mggez1GasPriceStep: gasPriceStep, ggez1GasPriceStep: 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, mggzGasPriceStep, ggzGasPriceStep, uggez1GasPriceStep, mggez1GasPriceStep, ggez1GasPriceStep) => ({
6
6
  chainId: chain_id,
7
7
  chainName: chain_name,
8
8
  rpc: rpc_url,
@@ -20,20 +20,20 @@ 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",
23
+ coinDenom: "UGGZ",
24
+ coinMinimalDenom: "uggz",
25
25
  coinDecimals: 0,
26
26
  coinGeckoId: "STX",
27
27
  },
28
28
  {
29
- coinDenom: "MGZ",
30
- coinMinimalDenom: "mgz",
29
+ coinDenom: "MGGZ",
30
+ coinMinimalDenom: "mggz",
31
31
  coinDecimals: 3,
32
32
  coinGeckoId: "STX",
33
33
  },
34
34
  {
35
- coinDenom: "GZ",
36
- coinMinimalDenom: "gz",
35
+ coinDenom: "GGZ",
36
+ coinMinimalDenom: "ggz",
37
37
  coinDecimals: 6,
38
38
  coinGeckoId: "STX",
39
39
  },
@@ -58,25 +58,25 @@ const chainInfo = (rpc_url, rest_url, chain_id, chain_name, ugzGasPriceStep, mgz
58
58
  ],
59
59
  feeCurrencies: [
60
60
  {
61
- coinDenom: "UGZ",
62
- coinMinimalDenom: "ugz",
61
+ coinDenom: "UGGZ",
62
+ coinMinimalDenom: "uggz",
63
63
  coinDecimals: 0,
64
64
  coinGeckoId: "STX",
65
- gasPriceStep: ugzGasPriceStep,
65
+ gasPriceStep: uggzGasPriceStep,
66
66
  },
67
67
  {
68
- coinDenom: "MGZ",
69
- coinMinimalDenom: "mgz",
68
+ coinDenom: "MGGZ",
69
+ coinMinimalDenom: "mggz",
70
70
  coinDecimals: 3,
71
71
  coinGeckoId: "STX",
72
- gasPriceStep: mgzGasPriceStep,
72
+ gasPriceStep: mggzGasPriceStep,
73
73
  },
74
74
  {
75
- coinDenom: "GZ",
76
- coinMinimalDenom: "gz",
75
+ coinDenom: "GGZ",
76
+ coinMinimalDenom: "ggz",
77
77
  coinDecimals: 6,
78
78
  coinGeckoId: "STX",
79
- gasPriceStep: gzGasPriceStep,
79
+ gasPriceStep: ggzGasPriceStep,
80
80
  },
81
81
  {
82
82
  coinDenom: "UGGEZ1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.79",
3
+ "version": "0.0.81",
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",