coreum-js 2.7.0 → 2.8.1

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.
Files changed (49) hide show
  1. package/README.md +1 -1
  2. package/dist/main/client/index.d.ts +3 -3
  3. package/dist/main/client/index.js +11 -8
  4. package/dist/main/coreum/asset/ft/v1/token.d.ts +1 -2
  5. package/dist/main/coreum/asset/ft/v1/token.js +34 -19
  6. package/dist/main/coreum/asset/nft/v1/nft.d.ts +1 -2
  7. package/dist/main/coreum/asset/nft/v1/nft.js +2 -8
  8. package/dist/main/coreum/index.d.ts +2 -0
  9. package/dist/main/coreum/index.js +6 -2
  10. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.d.ts +67 -0
  11. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.js +173 -0
  12. package/dist/main/cosmos/index.d.ts +1 -0
  13. package/dist/main/cosmos/index.js +16 -1
  14. package/dist/main/cosmos/tx/signing/v1beta1/signing.d.ts +1938 -0
  15. package/dist/main/cosmos/tx/signing/v1beta1/signing.js +547 -0
  16. package/dist/main/cosmos/tx/v1beta1/tx.d.ts +3468 -0
  17. package/dist/main/cosmos/tx/v1beta1/tx.js +1277 -0
  18. package/dist/main/signers/index.d.ts +0 -1
  19. package/dist/main/signers/index.js +1 -2
  20. package/dist/main/types/msgs.d.ts +13 -13
  21. package/dist/main/types/signing.d.ts +0 -1
  22. package/dist/main/types/signing.js +1 -2
  23. package/dist/module/client/index.d.ts +3 -3
  24. package/dist/module/client/index.js +6 -3
  25. package/dist/module/coreum/asset/ft/v1/token.d.ts +1 -2
  26. package/dist/module/coreum/asset/ft/v1/token.js +34 -19
  27. package/dist/module/coreum/asset/nft/v1/nft.d.ts +1 -2
  28. package/dist/module/coreum/asset/nft/v1/nft.js +2 -8
  29. package/dist/module/coreum/index.d.ts +2 -0
  30. package/dist/module/coreum/index.js +3 -1
  31. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.d.ts +67 -0
  32. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.js +165 -0
  33. package/dist/module/cosmos/index.d.ts +1 -0
  34. package/dist/module/cosmos/index.js +2 -1
  35. package/dist/module/cosmos/tx/signing/v1beta1/signing.d.ts +1938 -0
  36. package/dist/module/cosmos/tx/signing/v1beta1/signing.js +535 -0
  37. package/dist/module/cosmos/tx/v1beta1/tx.d.ts +3468 -0
  38. package/dist/module/cosmos/tx/v1beta1/tx.js +1259 -0
  39. package/dist/module/signers/index.d.ts +0 -1
  40. package/dist/module/signers/index.js +1 -2
  41. package/dist/module/types/msgs.d.ts +13 -13
  42. package/dist/module/types/signing.d.ts +0 -1
  43. package/dist/module/types/signing.js +1 -2
  44. package/package.json +6 -13
  45. package/CHANGELOG.md +0 -345
  46. package/dist/main/signers/dcent.d.ts +0 -1
  47. package/dist/main/signers/dcent.js +0 -41
  48. package/dist/module/signers/dcent.d.ts +0 -1
  49. package/dist/module/signers/dcent.js +0 -31
@@ -1,3 +1,2 @@
1
- export * from "./dcent";
2
1
  export * from "./offline";
3
2
  export * from "./signer";
@@ -1,4 +1,3 @@
1
- export * from "./dcent";
2
1
  export * from "./offline";
3
2
  export * from "./signer";
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc2lnbmVycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFNBQVMsQ0FBQztBQUN4QixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLFVBQVUsQ0FBQyJ9
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc2lnbmVycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLFVBQVUsQ0FBQyJ9
@@ -16,36 +16,36 @@ export declare namespace FTMsgs {
16
16
  subunit: string;
17
17
  precision: number;
18
18
  initialAmount: string;
19
- description: string;
20
- features: Feature[];
19
+ description?: string;
20
+ features?: Feature[];
21
21
  /**
22
22
  * burn_rate is a number between 0 and 1 which will be multiplied by send amount to determine
23
23
  * burn_amount. This value will be burnt on top of the send amount.
24
24
  */
25
- burnRate: string;
25
+ burnRate?: string;
26
26
  /**
27
27
  * send_commission_rate is a number between 0 and 1 which will be multiplied by send amount to determine
28
28
  * amount sent to the token issuer account.
29
29
  */
30
- sendCommissionRate: string;
30
+ sendCommissionRate?: string;
31
31
  }
32
32
  interface MsgMint {
33
33
  sender: string;
34
- coin?: Coin;
34
+ coin: Coin;
35
35
  }
36
36
  interface MsgBurn {
37
37
  sender: string;
38
- coin?: Coin;
38
+ coin: Coin;
39
39
  }
40
40
  interface MsgFreeze {
41
41
  sender: string;
42
42
  account: string;
43
- coin?: Coin;
43
+ coin: Coin;
44
44
  }
45
45
  interface MsgUnfreeze {
46
46
  sender: string;
47
47
  account: string;
48
- coin?: Coin;
48
+ coin: Coin;
49
49
  }
50
50
  interface MsgGloballyFreeze {
51
51
  sender: string;
@@ -58,7 +58,7 @@ export declare namespace FTMsgs {
58
58
  interface MsgSetWhitelistedLimit {
59
59
  sender: string;
60
60
  account: string;
61
- coin?: Coin;
61
+ coin: Coin;
62
62
  }
63
63
  }
64
64
  export declare namespace NFTMsgs {
@@ -78,12 +78,12 @@ export declare namespace NFTMsgs {
78
78
  issuer: string;
79
79
  symbol: string;
80
80
  name: string;
81
- description: string;
81
+ description?: string;
82
82
  uri: string;
83
- uriHash: string;
83
+ uriHash?: string;
84
84
  data?: Any;
85
- features: ClassFeature[];
86
- royaltyRate: string;
85
+ features?: ClassFeature[];
86
+ royaltyRate?: string;
87
87
  }
88
88
  /** MsgMint defines message for the Mint method. */
89
89
  interface MsgMint {
@@ -5,7 +5,6 @@ export interface MultisigAccount {
5
5
  threshold: number;
6
6
  }
7
7
  export declare enum WalletMethods {
8
- DCENT = "dcent",
9
8
  OFFLINE = "offline",
10
9
  COSMOSTATION = "cosmostation",
11
10
  MNEMONIC = "mnemonic",
@@ -1,6 +1,5 @@
1
1
  export var WalletMethods;
2
2
  (function (WalletMethods) {
3
- WalletMethods["DCENT"] = "dcent";
4
3
  WalletMethods["OFFLINE"] = "offline";
5
4
  WalletMethods["COSMOSTATION"] = "cosmostation";
6
5
  WalletMethods["MNEMONIC"] = "mnemonic";
@@ -12,4 +11,4 @@ export var ExtensionWallets;
12
11
  ExtensionWallets["COSMOSTATION"] = "cosmostation";
13
12
  ExtensionWallets["LEAP"] = "leap";
14
13
  })(ExtensionWallets || (ExtensionWallets = {}));
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90eXBlcy9zaWduaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFBLE1BQU0sQ0FBTixJQUFZLGFBTVg7QUFORCxXQUFZLGFBQWE7SUFDdkIsZ0NBQWUsQ0FBQTtJQUNmLG9DQUFtQixDQUFBO0lBQ25CLDhDQUE2QixDQUFBO0lBQzdCLHNDQUFxQixDQUFBO0lBQ3JCLDhCQUFhLENBQUE7QUFDZixDQUFDLEVBTlcsYUFBYSxLQUFiLGFBQWEsUUFNeEI7QUFZRCxNQUFNLENBQU4sSUFBWSxnQkFJWDtBQUpELFdBQVksZ0JBQWdCO0lBQzFCLG1DQUFlLENBQUE7SUFDZixpREFBNkIsQ0FBQTtJQUM3QixpQ0FBYSxDQUFBO0FBQ2YsQ0FBQyxFQUpXLGdCQUFnQixLQUFoQixnQkFBZ0IsUUFJM0IifQ==
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90eXBlcy9zaWduaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFBLE1BQU0sQ0FBTixJQUFZLGFBS1g7QUFMRCxXQUFZLGFBQWE7SUFDdkIsb0NBQW1CLENBQUE7SUFDbkIsOENBQTZCLENBQUE7SUFDN0Isc0NBQXFCLENBQUE7SUFDckIsOEJBQWEsQ0FBQTtBQUNmLENBQUMsRUFMVyxhQUFhLEtBQWIsYUFBYSxRQUt4QjtBQVlELE1BQU0sQ0FBTixJQUFZLGdCQUlYO0FBSkQsV0FBWSxnQkFBZ0I7SUFDMUIsbUNBQWUsQ0FBQTtJQUNmLGlEQUE2QixDQUFBO0lBQzdCLGlDQUFhLENBQUE7QUFDZixDQUFDLEVBSlcsZ0JBQWdCLEtBQWhCLGdCQUFnQixRQUkzQiJ9
package/package.json CHANGED
@@ -1,25 +1,21 @@
1
1
  {
2
2
  "name": "coreum-js",
3
- "version": "2.7.0",
3
+ "version": "2.8.1",
4
4
  "description": "JS/TS Library to to easily make use of the Coreum Blockchain",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",
7
+ "homepage": "https://github.com/PulsaraLabs/coreum-js",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/PulsaraLabs/coreum-js.git"
11
+ },
7
12
  "scripts": {
8
13
  "build": "rm -rf ./dist && npm run build:main && npm run build:module",
9
14
  "test": "ts-node test.ts",
10
- "build:version": "npm run build && standard-version && git add -A",
11
15
  "build:main": "npx tsc -p tsconfig.json",
12
16
  "build:module": "npx tsc -p tsconfig.module.json",
13
17
  "generate:docs": "npx typedoc --plugin typedoc-plugin-missing-exports --plugin typedoc-plugin-markdown src/index.ts && rm ./docs/README.md"
14
18
  },
15
- "pre-commit": [
16
- "build:version"
17
- ],
18
- "standard-version": {
19
- "skip": {
20
- "commit": true
21
- }
22
- },
23
19
  "keywords": [],
24
20
  "author": "",
25
21
  "license": "ISC",
@@ -36,9 +32,7 @@
36
32
  "@cosmostation/extension-client": "^0.1.15",
37
33
  "bech32": "^2.0.0",
38
34
  "bignumber.js": "^9.1.1",
39
- "dcent-web-connector": "^0.12.0",
40
35
  "eventemitter3": "^5.0.0",
41
- "pre-commit": "^1.2.2",
42
36
  "ws": "^8.13.0"
43
37
  },
44
38
  "devDependencies": {
@@ -49,7 +43,6 @@
49
43
  "@types/react": "^18.0.37",
50
44
  "@types/ws": "^8.5.4",
51
45
  "cosmjs-types": "^0.7.1",
52
- "standard-version": "^9.5.0",
53
46
  "ts-node": "^10.9.1",
54
47
  "typedoc": "^0.24.4",
55
48
  "typedoc-plugin-markdown": "^3.15.3",
package/CHANGELOG.md DELETED
@@ -1,345 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ## [2.7.0](https://github.com/PyramydLabs/coreum-js/compare/v2.6.9...v2.7.0) (2023-06-28)
6
-
7
-
8
- ### Features
9
-
10
- * multisg account creation ([d106c53](https://github.com/PyramydLabs/coreum-js/commit/d106c530e66c5dbbaf8a80a990bc70b7c0906ee6))
11
-
12
- ### [2.6.9](https://github.com/CooperFoundation/coreum-js/compare/v2.6.8...v2.6.9) (2023-06-22)
13
-
14
-
15
- ### Bug Fixes
16
-
17
- * creating query client with no signer ([a3e1f81](https://github.com/CooperFoundation/coreum-js/commit/a3e1f81df25089adcb8c149b9ec24c8ef79a0224))
18
-
19
- ### [2.6.8](https://github.com/CooperFoundation/coreum-js/compare/v2.6.7...v2.6.8) (2023-06-12)
20
-
21
- ### [2.6.7](https://github.com/CooperFoundation/coreum-js/compare/v2.6.6...v2.6.7) (2023-05-31)
22
-
23
- ### [2.6.6](https://github.com/StreiaDF/coreum-js/compare/v2.6.5...v2.6.6) (2023-05-27)
24
-
25
- ### [2.6.5](https://github.com/StreiaDF/coreum-js/compare/v2.6.4...v2.6.5) (2023-05-26)
26
-
27
-
28
- ### Bug Fixes
29
-
30
- * subscription ([adeca44](https://github.com/StreiaDF/coreum-js/commit/adeca44fb0d2fcde00e65e878dba9bc0a5deb3f3))
31
-
32
- ### [2.6.4](https://github.com/StreiaDF/coreum-js/compare/v2.6.3...v2.6.4) (2023-05-19)
33
-
34
- ### [2.6.3](https://github.com/StreiaDF/coreum-js/compare/v2.6.2...v2.6.3) (2023-05-19)
35
-
36
- ### [2.6.2](https://github.com/StreiaDF/coreum-js/compare/v2.6.1...v2.6.2) (2023-05-19)
37
-
38
- ### [2.6.1](https://github.com/StreiaDF/coreum-js/compare/v2.6.0...v2.6.1) (2023-05-19)
39
-
40
- ## [2.6.0](https://github.com/StreiaDF/coreum-js/compare/v2.5.17...v2.6.0) (2023-05-19)
41
-
42
-
43
- ### Features
44
-
45
- * custom ws endpoint ([0b5e504](https://github.com/StreiaDF/coreum-js/commit/0b5e50460f51fc4804a2bd9ee202246d7b922578))
46
-
47
- ### [2.5.17](https://github.com/StreiaDF/coreum-js/compare/v2.5.16...v2.5.17) (2023-05-19)
48
-
49
-
50
- ### Bug Fixes
51
-
52
- * mnemonic init ([aeabe25](https://github.com/StreiaDF/coreum-js/commit/aeabe25c743ba22c1ecce5f23b9f063006957e5c))
53
-
54
- ### [2.5.16](https://github.com/StreiaDF/coreum-js/compare/v2.5.15...v2.5.16) (2023-05-18)
55
-
56
-
57
- ### Bug Fixes
58
-
59
- * address undefined ([186925f](https://github.com/StreiaDF/coreum-js/commit/186925f2a10151d9d98c1c83749535a468d042a4))
60
-
61
- ### [2.5.15](https://github.com/StreiaDF/coreum-js/compare/v2.5.14...v2.5.15) (2023-05-18)
62
-
63
- ### [2.5.14](https://github.com/StreiaDF/coreum-js/compare/v2.5.13...v2.5.14) (2023-05-17)
64
-
65
- ### [2.5.13](https://github.com/StreiaDF/coreum-js/compare/v2.5.12...v2.5.13) (2023-05-17)
66
-
67
- ### [2.5.12](https://github.com/StreiaDF/coreum-js/compare/v2.5.11...v2.5.12) (2023-05-17)
68
-
69
- ### [2.5.11](https://github.com/StreiaDF/coreum-js/compare/v2.5.10...v2.5.11) (2023-05-17)
70
-
71
- ### [2.5.10](https://github.com/StreiaDF/coreum-js/compare/v2.5.9...v2.5.10) (2023-05-17)
72
-
73
- ### [2.5.9](https://github.com/StreiaDF/coreum-js/compare/v2.5.8...v2.5.9) (2023-05-17)
74
-
75
- ### [2.5.8](https://github.com/StreiaDF/coreum-js/compare/v2.5.7...v2.5.8) (2023-05-17)
76
-
77
- ### [2.5.7](https://github.com/StreiaDF/coreum-js/compare/v2.5.6...v2.5.7) (2023-05-16)
78
-
79
- ### [2.5.6](https://github.com/StreiaDF/coreum-js/compare/v2.5.5...v2.5.6) (2023-05-16)
80
-
81
- ### [2.5.5](https://github.com/StreiaDF/coreum-js/compare/v2.5.4...v2.5.5) (2023-05-11)
82
-
83
- ### [2.5.4](https://github.com/StreiaDF/coreum-js/compare/v2.5.2...v2.5.4) (2023-05-11)
84
-
85
- ### [2.5.2](https://github.com/StreiaDF/coreum-js/compare/v2.5.1...v2.5.2) (2023-05-11)
86
-
87
-
88
- ### Bug Fixes
89
-
90
- * added export for ft util method ([faa6772](https://github.com/StreiaDF/coreum-js/commit/faa6772482b2e40fe4bd4d8a2faf88bee8b0e689))
91
-
92
- ### [2.5.1](https://github.com/StreiaDF/coreum-js/compare/v2.5.0...v2.5.1) (2023-05-08)
93
-
94
- ## [2.5.0](https://github.com/StreiaDF/coreum-js/compare/v2.4.1...v2.5.0) (2023-05-08)
95
-
96
-
97
- ### Features
98
-
99
- * Added possible Leap support AND added util function parseTokenFeatures ([398b211](https://github.com/StreiaDF/coreum-js/commit/398b211027f321b960ecad585d6590b501551396))
100
-
101
- ### [2.4.1](https://github.com/StreiaDF/coreum-js/compare/v2.4.0...v2.4.1) (2023-05-08)
102
-
103
- ## 2.4.0 (2023-05-04)
104
-
105
-
106
- ### Features
107
-
108
- * Added cosmostation support ([ba190c7](https://github.com/StreiaDF/coreum-js/commit/ba190c760c7d4e5ad5363e3e967c9312ca82901a))
109
- * added more extensions ([9c0e218](https://github.com/StreiaDF/coreum-js/commit/9c0e21828d9b7f99dbd1466acdb882149441a126))
110
-
111
-
112
- ### Bug Fixes
113
-
114
- * added address getter ([2ef259e](https://github.com/StreiaDF/coreum-js/commit/2ef259e1d367ee34930c5e11c4067296713f00cc))
115
- * added address getter ([34024e5](https://github.com/StreiaDF/coreum-js/commit/34024e500a074e787fbd63883dda30022d7894b7))
116
- * added return type to getter ([d2d17f5](https://github.com/StreiaDF/coreum-js/commit/d2d17f59fc8a526ba9b1e229f4090ec2117c6c4c))
117
- * change configuration and props ([f0890f3](https://github.com/StreiaDF/coreum-js/commit/f0890f3dd3ea48994c5895f74e7060d5851f0292))
118
- * denom price ([dddfebd](https://github.com/StreiaDF/coreum-js/commit/dddfebddc25245a121ced9ce113828b8bacde0e7))
119
- * exporting everything from types/coreum ([11e5af7](https://github.com/StreiaDF/coreum-js/commit/11e5af7a19c75db75dd04ffad23eaeb03fc0eb51))
120
- * exporting extension wallets enum ([434465e](https://github.com/StreiaDF/coreum-js/commit/434465e8117ccfd7ebbb1c626049d1309e265ae1))
121
- * removed paths ([cfca129](https://github.com/StreiaDF/coreum-js/commit/cfca12967c41b62e1ac5771360f9f8a013ad50b7))
122
- * tsconfig json ([253df0a](https://github.com/StreiaDF/coreum-js/commit/253df0a3285d9c838dc6ace1b038744b6c789dc8))
123
- * typo in FT MsgMint ([93a84f6](https://github.com/StreiaDF/coreum-js/commit/93a84f61947090a1e3375c99a456baeb6ee29bac))
124
-
125
- ### [2.3.5](https://github.com/AlOaks/mantle/compare/v2.3.4...v2.3.5) (2023-05-03)
126
-
127
-
128
- ### Bug Fixes
129
-
130
- * typo in FT MsgMint ([93a84f6](https://github.com/AlOaks/mantle/commit/93a84f61947090a1e3375c99a456baeb6ee29bac))
131
-
132
- ### [2.3.4](https://github.com/AlOaks/mantle/compare/v2.3.3...v2.3.4) (2023-05-03)
133
-
134
- ### [2.3.3](https://github.com/AlOaks/mantle/compare/v2.3.2...v2.3.3) (2023-05-02)
135
-
136
- ### [2.3.2](https://github.com/AlOaks/mantle/compare/v2.3.1...v2.3.2) (2023-05-01)
137
-
138
- ### [2.3.1](https://github.com/AlOaks/mantle/compare/v2.3.0...v2.3.1) (2023-05-01)
139
-
140
- ## [2.3.0](https://github.com/AlOaks/mantle/compare/v2.2.1...v2.3.0) (2023-04-29)
141
-
142
-
143
- ### Features
144
-
145
- * added more extensions ([9c0e218](https://github.com/AlOaks/mantle/commit/9c0e21828d9b7f99dbd1466acdb882149441a126))
146
-
147
- ### [2.2.1](https://github.com/AlOaks/mantle/compare/v2.2.0...v2.2.1) (2023-04-29)
148
-
149
-
150
- ### Bug Fixes
151
-
152
- * exporting extension wallets enum ([434465e](https://github.com/AlOaks/mantle/commit/434465e8117ccfd7ebbb1c626049d1309e265ae1))
153
-
154
- ## [2.2.0](https://github.com/AlOaks/mantle/compare/v2.1.1...v2.2.0) (2023-04-28)
155
-
156
-
157
- ### Features
158
-
159
- * Added cosmostation support ([ba190c7](https://github.com/AlOaks/mantle/commit/ba190c760c7d4e5ad5363e3e967c9312ca82901a))
160
-
161
- ### [2.1.1](https://github.com/AlOaks/mantle/compare/v2.0.14...v2.1.1) (2023-04-28)
162
-
163
- ### [2.0.14](https://github.com/AlOaks/mantle/compare/v2.0.13...v2.0.14) (2023-04-26)
164
-
165
- ### [2.0.13](https://github.com/AlOaks/mantle/compare/v2.0.12...v2.0.13) (2023-04-26)
166
-
167
- ### [2.0.12](https://github.com/AlOaks/mantle/compare/v2.0.11...v2.0.12) (2023-04-26)
168
-
169
-
170
- ### Bug Fixes
171
-
172
- * added return type to getter ([d2d17f5](https://github.com/AlOaks/mantle/commit/d2d17f59fc8a526ba9b1e229f4090ec2117c6c4c))
173
-
174
- ### [2.0.11](https://github.com/AlOaks/mantle/compare/v2.0.10...v2.0.11) (2023-04-26)
175
-
176
-
177
- ### Bug Fixes
178
-
179
- * added address getter ([2ef259e](https://github.com/AlOaks/mantle/commit/2ef259e1d367ee34930c5e11c4067296713f00cc))
180
-
181
- ### [2.0.10](https://github.com/AlOaks/mantle/compare/v2.0.9...v2.0.10) (2023-04-26)
182
-
183
-
184
- ### Bug Fixes
185
-
186
- * added address getter ([34024e5](https://github.com/AlOaks/mantle/commit/34024e500a074e787fbd63883dda30022d7894b7))
187
-
188
- ### [2.0.9](https://github.com/AlOaks/mantle/compare/v2.0.8...v2.0.9) (2023-04-26)
189
-
190
-
191
- ### Bug Fixes
192
-
193
- * denom price ([dddfebd](https://github.com/AlOaks/mantle/commit/dddfebddc25245a121ced9ce113828b8bacde0e7))
194
-
195
- ### [2.0.8](https://github.com/AlOaks/mantle/compare/v2.0.7...v2.0.8) (2023-04-26)
196
-
197
- ### [2.0.7](https://github.com/AlOaks/mantle/compare/v2.0.6...v2.0.7) (2023-04-26)
198
-
199
- ### [2.0.6](https://github.com/AlOaks/mantle/compare/v2.0.5...v2.0.6) (2023-04-26)
200
-
201
-
202
- ### Bug Fixes
203
-
204
- * removed paths ([cfca129](https://github.com/AlOaks/mantle/commit/cfca12967c41b62e1ac5771360f9f8a013ad50b7))
205
-
206
- ### [2.0.5](https://github.com/AlOaks/mantle/compare/v2.0.4...v2.0.5) (2023-04-26)
207
-
208
-
209
- ### Bug Fixes
210
-
211
- * exporting everything from types/coreum ([11e5af7](https://github.com/AlOaks/mantle/commit/11e5af7a19c75db75dd04ffad23eaeb03fc0eb51))
212
-
213
- ### [2.0.4](https://github.com/AlOaks/mantle/compare/v2.0.3...v2.0.4) (2023-04-26)
214
-
215
-
216
- ### Bug Fixes
217
-
218
- * tsconfig json ([253df0a](https://github.com/AlOaks/mantle/commit/253df0a3285d9c838dc6ace1b038744b6c789dc8))
219
-
220
- ### [2.0.3](https://github.com/AlOaks/mantle/compare/v2.0.2...v2.0.3) (2023-04-26)
221
-
222
-
223
- ### Bug Fixes
224
-
225
- * change configuration and props ([f0890f3](https://github.com/AlOaks/mantle/commit/f0890f3dd3ea48994c5895f74e7060d5851f0292))
226
-
227
- ### [2.0.2](https://github.com/AlOaks/mantle/compare/v2.0.1...v2.0.2) (2023-04-26)
228
-
229
- ### [2.0.1](https://github.com/AlOaks/mantle/compare/v1.0.58...v2.0.1) (2023-04-26)
230
-
231
- ### [1.0.58](https://github.com/AlOaks/coreumjs/compare/v1.0.57...v1.0.58) (2023-04-25)
232
-
233
- ### [1.0.57](https://github.com/AlOaks/coreumjs/compare/v1.0.56...v1.0.57) (2023-04-25)
234
-
235
- ### [1.0.56](https://github.com/AlOaks/coreumjs/compare/v1.0.55...v1.0.56) (2023-04-25)
236
-
237
- ### [1.0.55](https://github.com/AlOaks/coreumjs/compare/v1.0.54...v1.0.55) (2023-04-25)
238
-
239
- ### [1.0.54](https://github.com/AlOaks/coreumjs/compare/v1.0.53...v1.0.54) (2023-04-25)
240
-
241
- ### [1.0.53](https://github.com/AlOaks/coreumjs/compare/v1.0.52...v1.0.53) (2023-04-25)
242
-
243
- ### [1.0.52](https://github.com/AlOaks/coreumjs/compare/v1.0.51...v1.0.52) (2023-04-25)
244
-
245
- ### [1.0.51](https://github.com/AlOaks/coreumjs/compare/v1.0.50...v1.0.51) (2023-04-25)
246
-
247
- ### [1.0.50](https://github.com/AlOaks/coreumjs/compare/v1.0.49...v1.0.50) (2023-04-25)
248
-
249
- ### [1.0.49](https://github.com/AlOaks/coreumjs/compare/v1.0.48...v1.0.49) (2023-04-25)
250
-
251
- ### [1.0.48](https://github.com/AlOaks/coreumjs/compare/v1.0.47...v1.0.48) (2023-04-25)
252
-
253
- ### [1.0.47](https://github.com/AlOaks/coreumjs/compare/v1.0.46...v1.0.47) (2023-04-25)
254
-
255
- ### [1.0.46](https://github.com/AlOaks/coreumjs/compare/v1.0.45...v1.0.46) (2023-04-25)
256
-
257
- ### [1.0.45](https://github.com/AlOaks/coreumjs/compare/v1.0.44...v1.0.45) (2023-04-25)
258
-
259
- ### [1.0.44](https://github.com/AlOaks/coreumjs/compare/v1.0.43...v1.0.44) (2023-04-25)
260
-
261
- ### [1.0.43](https://github.com/AlOaks/coreumjs/compare/v1.0.42...v1.0.43) (2023-04-25)
262
-
263
- ### [1.0.42](https://github.com/AlOaks/coreumjs/compare/v1.0.41...v1.0.42) (2023-04-25)
264
-
265
- ### [1.0.41](https://github.com/AlOaks/coreumjs/compare/v1.0.40...v1.0.41) (2023-04-25)
266
-
267
- ### [1.0.40](https://github.com/AlOaks/coreumjs/compare/v1.0.39...v1.0.40) (2023-04-25)
268
-
269
- ### [1.0.39](https://github.com/AlOaks/coreumjs/compare/v1.0.38...v1.0.39) (2023-04-25)
270
-
271
- ### [1.0.38](https://github.com/AlOaks/coreumjs/compare/v1.0.37...v1.0.38) (2023-04-25)
272
-
273
- ### [1.0.37](https://github.com/AlOaks/coreumjs/compare/v1.0.36...v1.0.37) (2023-04-25)
274
-
275
- ### [1.0.36](https://github.com/AlOaks/coreumjs/compare/v1.0.35...v1.0.36) (2023-04-23)
276
-
277
- ### [1.0.35](https://github.com/AlOaks/coreumjs/compare/v1.0.34...v1.0.35) (2023-04-23)
278
-
279
- ### [1.0.34](https://github.com/AlOaks/coreumjs/compare/v1.0.33...v1.0.34) (2023-04-23)
280
-
281
- ### [1.0.33](https://github.com/AlOaks/coreumjs/compare/v1.0.32...v1.0.33) (2023-04-23)
282
-
283
- ### [1.0.32](https://github.com/AlOaks/coreumjs/compare/v1.0.31...v1.0.32) (2023-04-23)
284
-
285
- ### [1.0.31](https://github.com/AlOaks/coreumjs/compare/v1.0.30...v1.0.31) (2023-04-23)
286
-
287
- ### [1.0.30](https://github.com/AlOaks/coreumjs/compare/v1.0.29...v1.0.30) (2023-04-23)
288
-
289
- ### [1.0.29](https://github.com/AlOaks/coreumjs/compare/v1.0.28...v1.0.29) (2023-04-23)
290
-
291
- ### [1.0.28](https://github.com/AlOaks/coreumjs/compare/v1.0.27...v1.0.28) (2023-04-23)
292
-
293
- ### [1.0.27](https://github.com/AlOaks/coreumjs/compare/v1.0.26...v1.0.27) (2023-04-23)
294
-
295
- ### [1.0.26](https://github.com/AlOaks/coreumjs/compare/v1.0.25...v1.0.26) (2023-04-23)
296
-
297
- ### [1.0.25](https://github.com/AlOaks/coreumjs/compare/v1.0.24...v1.0.25) (2023-04-23)
298
-
299
- ### [1.0.24](https://github.com/AlOaks/coreumjs/compare/v1.0.23...v1.0.24) (2023-04-23)
300
-
301
- ### [1.0.23](https://github.com/AlOaks/coreumjs/compare/v1.0.22...v1.0.23) (2023-04-22)
302
-
303
- ### [1.0.22](https://github.com/AlOaks/coreumjs/compare/v1.0.21...v1.0.22) (2023-04-20)
304
-
305
- ### [1.0.21](https://github.com/AlOaks/coreumjs/compare/v1.0.20...v1.0.21) (2023-04-20)
306
-
307
- ### [1.0.20](https://github.com/AlOaks/coreumjs/compare/v1.0.19...v1.0.20) (2023-04-20)
308
-
309
- ### [1.0.19](https://github.com/AlOaks/coreumjs/compare/v1.0.18...v1.0.19) (2023-04-20)
310
-
311
- ### [1.0.18](https://github.com/AlOaks/coreumjs/compare/v1.0.17...v1.0.18) (2023-04-20)
312
-
313
- ### [1.0.17](https://github.com/AlOaks/coreumjs/compare/v1.0.16...v1.0.17) (2023-04-20)
314
-
315
- ### [1.0.16](https://github.com/AlOaks/coreumjs/compare/v1.0.15...v1.0.16) (2023-04-19)
316
-
317
- ### [1.0.15](https://github.com/AlOaks/coreumjs/compare/v1.0.14...v1.0.15) (2023-04-19)
318
-
319
- ### [1.0.14](https://github.com/AlOaks/coreumjs/compare/v1.0.13...v1.0.14) (2023-04-18)
320
-
321
- ### [1.0.13](https://github.com/AlOaks/coreumjs/compare/v1.0.12...v1.0.13) (2023-04-18)
322
-
323
- ### [1.0.12](https://github.com/AlOaks/coreumjs/compare/v1.0.11...v1.0.12) (2023-04-18)
324
-
325
- ### [1.0.11](https://github.com/AlOaks/coreumjs/compare/v1.0.10...v1.0.11) (2023-04-15)
326
-
327
- ### [1.0.10](https://github.com/AlOaks/coreumjs/compare/v1.0.9...v1.0.10) (2023-04-15)
328
-
329
- ### [1.0.9](https://github.com/AlOaks/coreumjs/compare/v1.0.8...v1.0.9) (2023-04-14)
330
-
331
- ### [1.0.8](https://github.com/AlOaks/coreumjs/compare/v1.0.7...v1.0.8) (2023-04-14)
332
-
333
- ### [1.0.7](https://github.com/AlOaks/coreumjs/compare/v1.0.6...v1.0.7) (2023-04-14)
334
-
335
- ### [1.0.6](https://github.com/AlOaks/coreumjs/compare/v1.0.5...v1.0.6) (2023-04-14)
336
-
337
- ### [1.0.5](https://github.com/AlOaks/coreumjs/compare/v1.0.4...v1.0.5) (2023-04-14)
338
-
339
- ### 1.0.4 (2023-04-14)
340
-
341
- ### 1.0.3 (2023-04-14)
342
-
343
- ### 1.0.2 (2023-04-14)
344
-
345
- ### 1.0.1 (2023-04-14)
@@ -1 +0,0 @@
1
- export {};
@@ -1,41 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- var _DCentSigner_signerID;
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const signing_1 = require("../types/signing");
8
- const signer_1 = __importDefault(require("./signer"));
9
- const DcentWebConnector = require("dcent-web-connector");
10
- class DCentSigner extends signer_1.default {
11
- constructor() {
12
- super(...arguments);
13
- _DCentSigner_signerID.set(this, signing_1.WalletMethods.DCENT);
14
- }
15
- async sign() { }
16
- async requestConnection() {
17
- try {
18
- const info = await DcentWebConnector.getAccountInfo();
19
- const coreum_account = info.body.parameter.account.find((acc) => acc.coin_name === "COREUM");
20
- if (typeof coreum_account === "undefined") {
21
- throw new Error("Ripple Account Not Found.");
22
- }
23
- const coreum_address = await DcentWebConnector.getAddress("coreum", coreum_account.address_path);
24
- if (coreum_address.body.parameter.address) {
25
- DcentWebConnector.popupWindowClose();
26
- }
27
- return {
28
- address: coreum_address.body.parameter.address,
29
- };
30
- }
31
- catch (e) {
32
- console.log(e);
33
- throw {
34
- thrower: e.thrower || "requestConnection: Dcent",
35
- error: e,
36
- };
37
- }
38
- }
39
- }
40
- _DCentSigner_signerID = new WeakMap();
41
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGNlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc2lnbmVycy9kY2VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSw4Q0FBaUQ7QUFDakQsc0RBQThCO0FBRTlCLE1BQU0saUJBQWlCLEdBQUcsT0FBTyxDQUFDLHFCQUFxQixDQUFDLENBQUM7QUFDekQsTUFBTSxXQUFZLFNBQVEsZ0JBQU07SUFBaEM7O1FBQ0UsZ0NBQVksdUJBQWEsQ0FBQyxLQUFLLEVBQUM7SUFvQ2xDLENBQUM7SUFsQ0MsS0FBSyxDQUFDLElBQUksS0FBbUIsQ0FBQztJQUU5QixLQUFLLENBQUMsaUJBQWlCO1FBQ3JCLElBQUk7WUFDRixNQUFNLElBQUksR0FBRyxNQUFNLGlCQUFpQixDQUFDLGNBQWMsRUFBRSxDQUFDO1lBRXRELE1BQU0sY0FBYyxHQUFHLElBQUksQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQ3JELENBQUMsR0FBMEIsRUFBRSxFQUFFLENBQUMsR0FBRyxDQUFDLFNBQVMsS0FBSyxRQUFRLENBQzNELENBQUM7WUFFRixJQUFJLE9BQU8sY0FBYyxLQUFLLFdBQVcsRUFBRTtnQkFDekMsTUFBTSxJQUFJLEtBQUssQ0FBQywyQkFBMkIsQ0FBQyxDQUFDO2FBQzlDO1lBRUQsTUFBTSxjQUFjLEdBQUcsTUFBTSxpQkFBaUIsQ0FBQyxVQUFVLENBQ3ZELFFBQVEsRUFDUixjQUFjLENBQUMsWUFBWSxDQUM1QixDQUFDO1lBRUYsSUFBSSxjQUFjLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxPQUFPLEVBQUU7Z0JBQ3pDLGlCQUFpQixDQUFDLGdCQUFnQixFQUFFLENBQUM7YUFDdEM7WUFFRCxPQUFPO2dCQUNMLE9BQU8sRUFBRSxjQUFjLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxPQUFPO2FBQy9DLENBQUM7U0FDSDtRQUFDLE9BQU8sQ0FBTSxFQUFFO1lBQ2YsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQztZQUNmLE1BQU07Z0JBQ0osT0FBTyxFQUFFLENBQUMsQ0FBQyxPQUFPLElBQUksMEJBQTBCO2dCQUNoRCxLQUFLLEVBQUUsQ0FBQzthQUNULENBQUM7U0FDSDtJQUNILENBQUM7Q0FDRiJ9
@@ -1 +0,0 @@
1
- export {};
@@ -1,31 +0,0 @@
1
- import { WalletMethods } from "../types/signing";
2
- import Signer from "./signer";
3
- const DcentWebConnector = require("dcent-web-connector");
4
- class DCentSigner extends Signer {
5
- #signerID = WalletMethods.DCENT;
6
- async sign() { }
7
- async requestConnection() {
8
- try {
9
- const info = await DcentWebConnector.getAccountInfo();
10
- const coreum_account = info.body.parameter.account.find((acc) => acc.coin_name === "COREUM");
11
- if (typeof coreum_account === "undefined") {
12
- throw new Error("Ripple Account Not Found.");
13
- }
14
- const coreum_address = await DcentWebConnector.getAddress("coreum", coreum_account.address_path);
15
- if (coreum_address.body.parameter.address) {
16
- DcentWebConnector.popupWindowClose();
17
- }
18
- return {
19
- address: coreum_address.body.parameter.address,
20
- };
21
- }
22
- catch (e) {
23
- console.log(e);
24
- throw {
25
- thrower: e.thrower || "requestConnection: Dcent",
26
- error: e,
27
- };
28
- }
29
- }
30
- }
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGNlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc2lnbmVycy9kY2VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDakQsT0FBTyxNQUFNLE1BQU0sVUFBVSxDQUFDO0FBRTlCLE1BQU0saUJBQWlCLEdBQUcsT0FBTyxDQUFDLHFCQUFxQixDQUFDLENBQUM7QUFDekQsTUFBTSxXQUFZLFNBQVEsTUFBTTtJQUM5QixTQUFTLEdBQUcsYUFBYSxDQUFDLEtBQUssQ0FBQztJQUVoQyxLQUFLLENBQUMsSUFBSSxLQUFtQixDQUFDO0lBRTlCLEtBQUssQ0FBQyxpQkFBaUI7UUFDckIsSUFBSTtZQUNGLE1BQU0sSUFBSSxHQUFHLE1BQU0saUJBQWlCLENBQUMsY0FBYyxFQUFFLENBQUM7WUFFdEQsTUFBTSxjQUFjLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsT0FBTyxDQUFDLElBQUksQ0FDckQsQ0FBQyxHQUEwQixFQUFFLEVBQUUsQ0FBQyxHQUFHLENBQUMsU0FBUyxLQUFLLFFBQVEsQ0FDM0QsQ0FBQztZQUVGLElBQUksT0FBTyxjQUFjLEtBQUssV0FBVyxFQUFFO2dCQUN6QyxNQUFNLElBQUksS0FBSyxDQUFDLDJCQUEyQixDQUFDLENBQUM7YUFDOUM7WUFFRCxNQUFNLGNBQWMsR0FBRyxNQUFNLGlCQUFpQixDQUFDLFVBQVUsQ0FDdkQsUUFBUSxFQUNSLGNBQWMsQ0FBQyxZQUFZLENBQzVCLENBQUM7WUFFRixJQUFJLGNBQWMsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLE9BQU8sRUFBRTtnQkFDekMsaUJBQWlCLENBQUMsZ0JBQWdCLEVBQUUsQ0FBQzthQUN0QztZQUVELE9BQU87Z0JBQ0wsT0FBTyxFQUFFLGNBQWMsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLE9BQU87YUFDL0MsQ0FBQztTQUNIO1FBQUMsT0FBTyxDQUFNLEVBQUU7WUFDZixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO1lBQ2YsTUFBTTtnQkFDSixPQUFPLEVBQUUsQ0FBQyxDQUFDLE9BQU8sSUFBSSwwQkFBMEI7Z0JBQ2hELEtBQUssRUFBRSxDQUFDO2FBQ1QsQ0FBQztTQUNIO0lBQ0gsQ0FBQztDQUNGIn0=