@bitgo-beta/sdk-coin-coreum 1.0.1-beta.142 → 1.0.1-beta.1421

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 (47) hide show
  1. package/dist/src/coreum.js +1 -1
  2. package/dist/src/lib/constants.d.ts +1 -2
  3. package/dist/src/lib/constants.d.ts.map +1 -1
  4. package/dist/src/lib/constants.js +9 -8
  5. package/dist/src/lib/index.js +18 -8
  6. package/dist/src/lib/transactionBuilderFactory.js +1 -1
  7. package/dist/src/lib/utils.d.ts.map +1 -1
  8. package/dist/src/lib/utils.js +19 -12
  9. package/dist/src/tcoreum.js +1 -1
  10. package/dist/test/resources/coreum.d.ts +56 -0
  11. package/dist/test/resources/coreum.d.ts.map +1 -0
  12. package/dist/test/resources/coreum.js +45 -0
  13. package/dist/test/resources/tcoreum.d.ts +206 -0
  14. package/dist/test/resources/tcoreum.d.ts.map +1 -0
  15. package/dist/test/resources/tcoreum.js +353 -0
  16. package/dist/test/unit/coreum.d.ts +2 -0
  17. package/dist/test/unit/coreum.d.ts.map +1 -0
  18. package/dist/test/unit/coreum.js +471 -0
  19. package/dist/test/unit/keyPair.d.ts +2 -0
  20. package/dist/test/unit/keyPair.d.ts.map +1 -0
  21. package/dist/test/unit/keyPair.js +94 -0
  22. package/dist/test/unit/transaction.d.ts +2 -0
  23. package/dist/test/unit/transaction.d.ts.map +1 -0
  24. package/dist/test/unit/transaction.js +220 -0
  25. package/dist/test/unit/transactionBuilder/StakingActivateBuilder.d.ts +2 -0
  26. package/dist/test/unit/transactionBuilder/StakingActivateBuilder.d.ts.map +1 -0
  27. package/dist/test/unit/transactionBuilder/StakingActivateBuilder.js +154 -0
  28. package/dist/test/unit/transactionBuilder/StakingDeactivateBuilder.d.ts +2 -0
  29. package/dist/test/unit/transactionBuilder/StakingDeactivateBuilder.d.ts.map +1 -0
  30. package/dist/test/unit/transactionBuilder/StakingDeactivateBuilder.js +153 -0
  31. package/dist/test/unit/transactionBuilder/StakingWithdrawRewardsBuilder.d.ts +2 -0
  32. package/dist/test/unit/transactionBuilder/StakingWithdrawRewardsBuilder.d.ts.map +1 -0
  33. package/dist/test/unit/transactionBuilder/StakingWithdrawRewardsBuilder.js +154 -0
  34. package/dist/test/unit/transactionBuilder/transactionBuilder.d.ts +2 -0
  35. package/dist/test/unit/transactionBuilder/transactionBuilder.d.ts.map +1 -0
  36. package/dist/test/unit/transactionBuilder/transactionBuilder.js +112 -0
  37. package/dist/test/unit/transactionBuilder/transferBuilder.d.ts +2 -0
  38. package/dist/test/unit/transactionBuilder/transferBuilder.d.ts.map +1 -0
  39. package/dist/test/unit/transactionBuilder/transferBuilder.js +189 -0
  40. package/dist/test/unit/utils.d.ts +2 -0
  41. package/dist/test/unit/utils.d.ts.map +1 -0
  42. package/dist/test/unit/utils.js +51 -0
  43. package/dist/tsconfig.tsbuildinfo +1 -0
  44. package/package.json +13 -10
  45. package/.eslintignore +0 -5
  46. package/.mocharc.yml +0 -8
  47. package/CHANGELOG.md +0 -316
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@bitgo-beta/sdk-coin-coreum",
3
- "version": "1.0.1-beta.142",
3
+ "version": "1.0.1-beta.1421",
4
4
  "description": "BitGo SDK coin library for Coreum",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "yarn tsc --build --incremental --verbose .",
9
9
  "fmt": "prettier --write .",
10
- "check-fmt": "prettier --check .",
10
+ "check-fmt": "prettier --check '**/*.{ts,js,json}'",
11
11
  "clean": "rm -r ./dist",
12
12
  "lint": "eslint --quiet .",
13
13
  "prepare": "npm run build",
@@ -18,7 +18,7 @@
18
18
  "author": "BitGo SDK Team <sdkteam@bitgo.com>",
19
19
  "license": "MIT",
20
20
  "engines": {
21
- "node": ">=18 <21"
21
+ "node": ">=20 <25"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
@@ -40,18 +40,21 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@bitgo-beta/abstract-cosmos": "1.0.1-beta.279",
44
- "@bitgo-beta/sdk-core": "8.2.1-beta.298",
45
- "@bitgo-beta/sdk-lib-mpc": "8.2.0-beta.290",
46
- "@bitgo-beta/statics": "15.1.1-beta.301",
43
+ "@bitgo-beta/abstract-cosmos": "1.0.1-beta.1562",
44
+ "@bitgo-beta/sdk-core": "8.2.1-beta.1581",
45
+ "@bitgo-beta/sdk-lib-mpc": "8.2.0-beta.1574",
46
+ "@bitgo-beta/statics": "15.1.1-beta.1584",
47
47
  "@cosmjs/amino": "^0.29.5",
48
48
  "@cosmjs/encoding": "^0.29.5",
49
49
  "@cosmjs/stargate": "^0.29.5",
50
50
  "bignumber.js": "^9.1.1"
51
51
  },
52
52
  "devDependencies": {
53
- "@bitgo-beta/sdk-api": "1.10.1-beta.297",
54
- "@bitgo-beta/sdk-test": "^8.0.5"
53
+ "@bitgo-beta/sdk-api": "1.10.1-beta.1580",
54
+ "@bitgo-beta/sdk-test": "^9.1.25"
55
55
  },
56
- "gitHead": "b39be4fa4c632161bfa4a0418a3798ca3c8079a6"
56
+ "gitHead": "7d11e076a25aae4d014e93eb419d8861e6680b1b",
57
+ "files": [
58
+ "dist"
59
+ ]
57
60
  }
package/.eslintignore DELETED
@@ -1,5 +0,0 @@
1
- node_modules
2
- .idea
3
- public
4
- dist
5
-
package/.mocharc.yml DELETED
@@ -1,8 +0,0 @@
1
- require: 'ts-node/register'
2
- timeout: '60000'
3
- reporter: 'min'
4
- reporter-option:
5
- - 'cdn=true'
6
- - 'json=false'
7
- exit: true
8
- spec: ['test/unit/**/*.ts']
package/CHANGELOG.md DELETED
@@ -1,316 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [20.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-coreum@19.0.4...@bitgo/sdk-coin-coreum@20.0.0) (2024-03-28)
7
-
8
- ### Features
9
-
10
- - **abstract-cosmos:** added redelegation for cosmos coins ([8ea18ab](https://github.com/BitGo/BitGoJS/commit/8ea18ab0ca115ba9b61335e69d34790f0c046e7b))
11
- - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
12
-
13
- ### BREAKING CHANGES
14
-
15
- - **root:** Node 16 is no longer supported in bitgojs.
16
- TICKET: WP-1100
17
-
18
- ## [19.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-coreum@19.0.3...@bitgo/sdk-coin-coreum@19.0.4) (2024-03-19)
19
-
20
- **Note:** Version bump only for package @bitgo/sdk-coin-coreum
21
-
22
- ## [19.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-coreum@19.0.2...@bitgo/sdk-coin-coreum@19.0.3) (2024-03-11)
23
-
24
- **Note:** Version bump only for package @bitgo/sdk-coin-coreum
25
-
26
- ## [19.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-coreum@19.0.1...@bitgo/sdk-coin-coreum@19.0.2) (2024-02-28)
27
-
28
- **Note:** Version bump only for package @bitgo/sdk-coin-coreum
29
-
30
- ## [19.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-coreum@19.0.0...@bitgo/sdk-coin-coreum@19.0.1) (2024-02-22)
31
-
32
- **Note:** Version bump only for package @bitgo/sdk-coin-coreum
33
-
34
- # 19.0.0 (2024-02-19)
35
-
36
- ### Bug Fixes
37
-
38
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
39
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
40
-
41
- ### Code Refactoring
42
-
43
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
44
-
45
- ### BREAKING CHANGES
46
-
47
- - rename coin module, coin name, named exports for coreum
48
-
49
- # 18.0.0 (2024-01-30)
50
-
51
- ### Bug Fixes
52
-
53
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
54
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
55
-
56
- ### Code Refactoring
57
-
58
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
59
-
60
- ### BREAKING CHANGES
61
-
62
- - rename coin module, coin name, named exports for coreum
63
-
64
- # 17.0.0 (2024-01-26)
65
-
66
- ### Bug Fixes
67
-
68
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
69
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
70
-
71
- ### Code Refactoring
72
-
73
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
74
-
75
- ### BREAKING CHANGES
76
-
77
- - rename coin module, coin name, named exports for coreum
78
-
79
- # 16.0.0 (2024-01-26)
80
-
81
- ### Bug Fixes
82
-
83
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
84
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
85
-
86
- ### Code Refactoring
87
-
88
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
89
-
90
- ### BREAKING CHANGES
91
-
92
- - rename coin module, coin name, named exports for coreum
93
-
94
- # 15.0.0 (2024-01-25)
95
-
96
- ### Bug Fixes
97
-
98
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
99
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
100
-
101
- ### Code Refactoring
102
-
103
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
104
-
105
- ### BREAKING CHANGES
106
-
107
- - rename coin module, coin name, named exports for coreum
108
-
109
- # 14.0.0 (2024-01-22)
110
-
111
- ### Bug Fixes
112
-
113
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
114
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
115
-
116
- ### Code Refactoring
117
-
118
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
119
-
120
- ### BREAKING CHANGES
121
-
122
- - rename coin module, coin name, named exports for coreum
123
-
124
- # 13.0.0 (2024-01-09)
125
-
126
- ### Bug Fixes
127
-
128
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
129
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
130
-
131
- ### Code Refactoring
132
-
133
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
134
-
135
- ### BREAKING CHANGES
136
-
137
- - rename coin module, coin name, named exports for coreum
138
-
139
- # 12.0.0 (2024-01-03)
140
-
141
- ### Bug Fixes
142
-
143
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
144
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
145
-
146
- ### Code Refactoring
147
-
148
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
149
-
150
- ### BREAKING CHANGES
151
-
152
- - rename coin module, coin name, named exports for coreum
153
-
154
- # 11.0.0 (2023-12-18)
155
-
156
- ### Bug Fixes
157
-
158
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
159
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
160
-
161
- ### Code Refactoring
162
-
163
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
164
-
165
- ### BREAKING CHANGES
166
-
167
- - rename coin module, coin name, named exports for coreum
168
-
169
- # 10.0.0 (2023-12-12)
170
-
171
- ### Bug Fixes
172
-
173
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
174
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
175
-
176
- ### Code Refactoring
177
-
178
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
179
-
180
- ### BREAKING CHANGES
181
-
182
- - rename coin module, coin name, named exports for coreum
183
-
184
- # 9.0.0 (2023-12-09)
185
-
186
- ### Bug Fixes
187
-
188
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
189
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
190
-
191
- ### Code Refactoring
192
-
193
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
194
-
195
- ### BREAKING CHANGES
196
-
197
- - rename coin module, coin name, named exports for coreum
198
-
199
- # 8.0.0 (2023-12-05)
200
-
201
- ### Bug Fixes
202
-
203
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
204
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
205
-
206
- ### Code Refactoring
207
-
208
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
209
-
210
- ### BREAKING CHANGES
211
-
212
- - rename coin module, coin name, named exports for coreum
213
-
214
- # 7.0.0 (2023-11-28)
215
-
216
- ### Bug Fixes
217
-
218
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
219
-
220
- ### Code Refactoring
221
-
222
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
223
-
224
- ### BREAKING CHANGES
225
-
226
- - rename coin module, coin name, named exports for coreum
227
-
228
- # 6.0.0 (2023-11-24)
229
-
230
- ### Bug Fixes
231
-
232
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
233
-
234
- ### Code Refactoring
235
-
236
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
237
-
238
- ### BREAKING CHANGES
239
-
240
- - rename coin module, coin name, named exports for coreum
241
-
242
- # 5.0.0 (2023-11-17)
243
-
244
- ### Bug Fixes
245
-
246
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
247
-
248
- ### Code Refactoring
249
-
250
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
251
-
252
- ### BREAKING CHANGES
253
-
254
- - rename coin module, coin name, named exports for coreum
255
-
256
- # 4.0.0 (2023-11-13)
257
-
258
- ### Bug Fixes
259
-
260
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
261
-
262
- ### Code Refactoring
263
-
264
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
265
-
266
- ### BREAKING CHANGES
267
-
268
- - rename coin module, coin name, named exports for coreum
269
-
270
- # 3.0.0 (2023-11-13)
271
-
272
- ### Bug Fixes
273
-
274
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
275
-
276
- ### Code Refactoring
277
-
278
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
279
-
280
- ### BREAKING CHANGES
281
-
282
- - rename coin module, coin name, named exports for coreum
283
-
284
- # 2.0.0 (2023-11-13)
285
-
286
- ### Bug Fixes
287
-
288
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
289
-
290
- ### Code Refactoring
291
-
292
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
293
-
294
- ### BREAKING CHANGES
295
-
296
- - rename coin module, coin name, named exports for coreum
297
-
298
- # 1.2.0 (2023-10-20)
299
-
300
- ### Bug Fixes
301
-
302
- - **sdk-coin-core:** fix failing coreum test ([60a5a3b](https://github.com/BitGo/BitGoJS/commit/60a5a3bbd18800d4d8ad516cbc3265a38c5f1302))
303
-
304
- ### Features
305
-
306
- - **sdk-coin-core:** add coreum sdk ([af73ccd](https://github.com/BitGo/BitGoJS/commit/af73ccd445b52dcf378ebd18260e628de0687043))
307
-
308
- # 1.1.0 (2023-10-18)
309
-
310
- ### Bug Fixes
311
-
312
- - **sdk-coin-core:** fix failing coreum test ([60a5a3b](https://github.com/BitGo/BitGoJS/commit/60a5a3bbd18800d4d8ad516cbc3265a38c5f1302))
313
-
314
- ### Features
315
-
316
- - **sdk-coin-core:** add coreum sdk ([af73ccd](https://github.com/BitGo/BitGoJS/commit/af73ccd445b52dcf378ebd18260e628de0687043))