@bitgo-beta/sdk-coin-coreum 1.0.1-beta.152 → 1.0.1-beta.1521

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 +57 -0
  11. package/dist/test/resources/coreum.d.ts.map +1 -0
  12. package/dist/test/resources/coreum.js +46 -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 +74 -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 -320
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@bitgo-beta/sdk-coin-coreum",
3
- "version": "1.0.1-beta.152",
3
+ "version": "1.0.1-beta.1521",
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"
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.289",
44
- "@bitgo-beta/sdk-core": "8.2.1-beta.308",
45
- "@bitgo-beta/sdk-lib-mpc": "8.2.0-beta.300",
46
- "@bitgo-beta/statics": "15.1.1-beta.311",
43
+ "@bitgo-beta/abstract-cosmos": "1.0.1-beta.1662",
44
+ "@bitgo-beta/sdk-core": "8.2.1-beta.1681",
45
+ "@bitgo-beta/sdk-lib-mpc": "8.2.0-beta.1675",
46
+ "@bitgo-beta/statics": "15.1.1-beta.1686",
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.307",
54
- "@bitgo-beta/sdk-test": "^8.0.6"
53
+ "@bitgo-beta/sdk-api": "1.10.1-beta.1680",
54
+ "@bitgo-beta/sdk-test": "^9.1.35"
55
55
  },
56
- "gitHead": "2ecc9145b6299f5f52d580f2a3a2b11651b64ddb"
56
+ "gitHead": "126b3848ac42081e4407155c3eb696a4c1a59fde",
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,320 +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.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-coreum@20.0.0...@bitgo/sdk-coin-coreum@20.0.1) (2024-04-05)
7
-
8
- **Note:** Version bump only for package @bitgo/sdk-coin-coreum
9
-
10
- # [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)
11
-
12
- ### Features
13
-
14
- - **abstract-cosmos:** added redelegation for cosmos coins ([8ea18ab](https://github.com/BitGo/BitGoJS/commit/8ea18ab0ca115ba9b61335e69d34790f0c046e7b))
15
- - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
16
-
17
- ### BREAKING CHANGES
18
-
19
- - **root:** Node 16 is no longer supported in bitgojs.
20
- TICKET: WP-1100
21
-
22
- ## [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)
23
-
24
- **Note:** Version bump only for package @bitgo/sdk-coin-coreum
25
-
26
- ## [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)
27
-
28
- **Note:** Version bump only for package @bitgo/sdk-coin-coreum
29
-
30
- ## [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)
31
-
32
- **Note:** Version bump only for package @bitgo/sdk-coin-coreum
33
-
34
- ## [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)
35
-
36
- **Note:** Version bump only for package @bitgo/sdk-coin-coreum
37
-
38
- # 19.0.0 (2024-02-19)
39
-
40
- ### Bug Fixes
41
-
42
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
43
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
44
-
45
- ### Code Refactoring
46
-
47
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
48
-
49
- ### BREAKING CHANGES
50
-
51
- - rename coin module, coin name, named exports for coreum
52
-
53
- # 18.0.0 (2024-01-30)
54
-
55
- ### Bug Fixes
56
-
57
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
58
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
59
-
60
- ### Code Refactoring
61
-
62
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
63
-
64
- ### BREAKING CHANGES
65
-
66
- - rename coin module, coin name, named exports for coreum
67
-
68
- # 17.0.0 (2024-01-26)
69
-
70
- ### Bug Fixes
71
-
72
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
73
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
74
-
75
- ### Code Refactoring
76
-
77
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
78
-
79
- ### BREAKING CHANGES
80
-
81
- - rename coin module, coin name, named exports for coreum
82
-
83
- # 16.0.0 (2024-01-26)
84
-
85
- ### Bug Fixes
86
-
87
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
88
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
89
-
90
- ### Code Refactoring
91
-
92
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
93
-
94
- ### BREAKING CHANGES
95
-
96
- - rename coin module, coin name, named exports for coreum
97
-
98
- # 15.0.0 (2024-01-25)
99
-
100
- ### Bug Fixes
101
-
102
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
103
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
104
-
105
- ### Code Refactoring
106
-
107
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
108
-
109
- ### BREAKING CHANGES
110
-
111
- - rename coin module, coin name, named exports for coreum
112
-
113
- # 14.0.0 (2024-01-22)
114
-
115
- ### Bug Fixes
116
-
117
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
118
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
119
-
120
- ### Code Refactoring
121
-
122
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
123
-
124
- ### BREAKING CHANGES
125
-
126
- - rename coin module, coin name, named exports for coreum
127
-
128
- # 13.0.0 (2024-01-09)
129
-
130
- ### Bug Fixes
131
-
132
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
133
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
134
-
135
- ### Code Refactoring
136
-
137
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
138
-
139
- ### BREAKING CHANGES
140
-
141
- - rename coin module, coin name, named exports for coreum
142
-
143
- # 12.0.0 (2024-01-03)
144
-
145
- ### Bug Fixes
146
-
147
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
148
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
149
-
150
- ### Code Refactoring
151
-
152
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
153
-
154
- ### BREAKING CHANGES
155
-
156
- - rename coin module, coin name, named exports for coreum
157
-
158
- # 11.0.0 (2023-12-18)
159
-
160
- ### Bug Fixes
161
-
162
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
163
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
164
-
165
- ### Code Refactoring
166
-
167
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
168
-
169
- ### BREAKING CHANGES
170
-
171
- - rename coin module, coin name, named exports for coreum
172
-
173
- # 10.0.0 (2023-12-12)
174
-
175
- ### Bug Fixes
176
-
177
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
178
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
179
-
180
- ### Code Refactoring
181
-
182
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
183
-
184
- ### BREAKING CHANGES
185
-
186
- - rename coin module, coin name, named exports for coreum
187
-
188
- # 9.0.0 (2023-12-09)
189
-
190
- ### Bug Fixes
191
-
192
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
193
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
194
-
195
- ### Code Refactoring
196
-
197
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
198
-
199
- ### BREAKING CHANGES
200
-
201
- - rename coin module, coin name, named exports for coreum
202
-
203
- # 8.0.0 (2023-12-05)
204
-
205
- ### Bug Fixes
206
-
207
- - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
208
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
209
-
210
- ### Code Refactoring
211
-
212
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
213
-
214
- ### BREAKING CHANGES
215
-
216
- - rename coin module, coin name, named exports for coreum
217
-
218
- # 7.0.0 (2023-11-28)
219
-
220
- ### Bug Fixes
221
-
222
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
223
-
224
- ### Code Refactoring
225
-
226
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
227
-
228
- ### BREAKING CHANGES
229
-
230
- - rename coin module, coin name, named exports for coreum
231
-
232
- # 6.0.0 (2023-11-24)
233
-
234
- ### Bug Fixes
235
-
236
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
237
-
238
- ### Code Refactoring
239
-
240
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
241
-
242
- ### BREAKING CHANGES
243
-
244
- - rename coin module, coin name, named exports for coreum
245
-
246
- # 5.0.0 (2023-11-17)
247
-
248
- ### Bug Fixes
249
-
250
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
251
-
252
- ### Code Refactoring
253
-
254
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
255
-
256
- ### BREAKING CHANGES
257
-
258
- - rename coin module, coin name, named exports for coreum
259
-
260
- # 4.0.0 (2023-11-13)
261
-
262
- ### Bug Fixes
263
-
264
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
265
-
266
- ### Code Refactoring
267
-
268
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
269
-
270
- ### BREAKING CHANGES
271
-
272
- - rename coin module, coin name, named exports for coreum
273
-
274
- # 3.0.0 (2023-11-13)
275
-
276
- ### Bug Fixes
277
-
278
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
279
-
280
- ### Code Refactoring
281
-
282
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
283
-
284
- ### BREAKING CHANGES
285
-
286
- - rename coin module, coin name, named exports for coreum
287
-
288
- # 2.0.0 (2023-11-13)
289
-
290
- ### Bug Fixes
291
-
292
- - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
293
-
294
- ### Code Refactoring
295
-
296
- - rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))
297
-
298
- ### BREAKING CHANGES
299
-
300
- - rename coin module, coin name, named exports for coreum
301
-
302
- # 1.2.0 (2023-10-20)
303
-
304
- ### Bug Fixes
305
-
306
- - **sdk-coin-core:** fix failing coreum test ([60a5a3b](https://github.com/BitGo/BitGoJS/commit/60a5a3bbd18800d4d8ad516cbc3265a38c5f1302))
307
-
308
- ### Features
309
-
310
- - **sdk-coin-core:** add coreum sdk ([af73ccd](https://github.com/BitGo/BitGoJS/commit/af73ccd445b52dcf378ebd18260e628de0687043))
311
-
312
- # 1.1.0 (2023-10-18)
313
-
314
- ### Bug Fixes
315
-
316
- - **sdk-coin-core:** fix failing coreum test ([60a5a3b](https://github.com/BitGo/BitGoJS/commit/60a5a3bbd18800d4d8ad516cbc3265a38c5f1302))
317
-
318
- ### Features
319
-
320
- - **sdk-coin-core:** add coreum sdk ([af73ccd](https://github.com/BitGo/BitGoJS/commit/af73ccd445b52dcf378ebd18260e628de0687043))