@bitgo-beta/sdk-coin-stx 1.4.3-alpha.43 → 1.4.3-alpha.430
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.
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +24 -9
- package/dist/src/lib/abstractContractBuilder.js +2 -2
- package/dist/src/lib/constants.d.ts +2 -1
- package/dist/src/lib/constants.d.ts.map +1 -1
- package/dist/src/lib/constants.js +5 -3
- package/dist/src/lib/contractBuilder.js +10 -10
- package/dist/src/lib/fungibleTokenTransferBuilder.d.ts +62 -0
- package/dist/src/lib/fungibleTokenTransferBuilder.d.ts.map +1 -0
- package/dist/src/lib/fungibleTokenTransferBuilder.js +131 -0
- package/dist/src/lib/iface.d.ts +56 -0
- package/dist/src/lib/iface.d.ts.map +1 -1
- package/dist/src/lib/iface.js +1 -1
- package/dist/src/lib/index.js +23 -9
- package/dist/src/lib/keyPair.js +18 -19
- package/dist/src/lib/sendmanyBuilder.js +11 -11
- package/dist/src/lib/transaction.d.ts.map +1 -1
- package/dist/src/lib/transaction.js +31 -15
- package/dist/src/lib/transactionBuilder.js +12 -12
- package/dist/src/lib/transactionBuilderFactory.d.ts +2 -0
- package/dist/src/lib/transactionBuilderFactory.d.ts.map +1 -1
- package/dist/src/lib/transactionBuilderFactory.js +9 -2
- package/dist/src/lib/transferBuilder.js +4 -4
- package/dist/src/lib/utils.d.ts +25 -2
- package/dist/src/lib/utils.d.ts.map +1 -1
- package/dist/src/lib/utils.js +141 -62
- package/dist/src/register.d.ts.map +1 -1
- package/dist/src/register.js +5 -1
- package/dist/src/sip10Token.d.ts +22 -0
- package/dist/src/sip10Token.d.ts.map +1 -0
- package/dist/src/sip10Token.js +128 -0
- package/dist/src/stx.d.ts +146 -2
- package/dist/src/stx.d.ts.map +1 -1
- package/dist/src/stx.js +420 -11
- package/dist/src/tstx.js +1 -1
- package/dist/test/fixtures.d.ts +119 -0
- package/dist/test/fixtures.d.ts.map +1 -0
- package/dist/test/fixtures.js +147 -0
- package/dist/test/unit/keyPair.d.ts +2 -0
- package/dist/test/unit/keyPair.d.ts.map +1 -0
- package/dist/test/unit/keyPair.js +144 -0
- package/dist/test/unit/resources.d.ts +97 -0
- package/dist/test/unit/resources.d.ts.map +1 -0
- package/dist/test/unit/resources.js +144 -0
- package/dist/test/unit/sip10Token.d.ts +2 -0
- package/dist/test/unit/sip10Token.d.ts.map +1 -0
- package/dist/test/unit/sip10Token.js +374 -0
- package/dist/test/unit/stx.d.ts +2 -0
- package/dist/test/unit/stx.d.ts.map +1 -0
- package/dist/test/unit/stx.js +470 -0
- package/dist/test/unit/transaction.d.ts +2 -0
- package/dist/test/unit/transaction.d.ts.map +1 -0
- package/dist/test/unit/transaction.js +83 -0
- package/dist/test/unit/transactionBuilder/contractBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/contractBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/contractBuilder.js +421 -0
- package/dist/test/unit/transactionBuilder/fungibleTokenTransferBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/fungibleTokenTransferBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/fungibleTokenTransferBuilder.js +187 -0
- package/dist/test/unit/transactionBuilder/sendmanyBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/sendmanyBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/sendmanyBuilder.js +140 -0
- package/dist/test/unit/transactionBuilder/transferBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/transferBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/transferBuilder.js +347 -0
- package/dist/test/unit/util.d.ts +2 -0
- package/dist/test/unit/util.d.ts.map +1 -0
- package/dist/test/unit/util.js +326 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +13 -11
- package/.eslintignore +0 -5
- package/.mocharc.yml +0 -8
- package/CHANGELOG.md +0 -127
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitgo-beta/sdk-coin-stx",
|
|
3
|
-
"version": "1.4.3-alpha.
|
|
3
|
+
"version": "1.4.3-alpha.430",
|
|
4
4
|
"description": "BitGo SDK coin library for Stacks",
|
|
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": ">=
|
|
21
|
+
"node": ">=20 <23"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
@@ -40,21 +40,23 @@
|
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@bitgo-beta/sdk-core": "2.4.1-alpha.
|
|
44
|
-
"@bitgo-beta/
|
|
45
|
-
"@bitgo-beta/
|
|
43
|
+
"@bitgo-beta/sdk-core": "2.4.1-alpha.433",
|
|
44
|
+
"@bitgo-beta/secp256k1": "1.0.1-alpha.391",
|
|
45
|
+
"@bitgo-beta/statics": "10.0.1-alpha.433",
|
|
46
|
+
"@noble/curves": "1.8.1",
|
|
46
47
|
"@stacks/network": "^4.3.0",
|
|
47
48
|
"@stacks/transactions": "2.0.1",
|
|
48
49
|
"bignumber.js": "^9.0.0",
|
|
49
50
|
"bn.js": "^5.2.1",
|
|
50
|
-
"elliptic": "^6.5.2",
|
|
51
51
|
"ethereumjs-util": "7.1.5",
|
|
52
52
|
"lodash": "^4.17.15"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@bitgo-beta/sdk-api": "1.6.1-alpha.
|
|
56
|
-
"@bitgo-beta/sdk-test": "^1.
|
|
57
|
-
"@types/elliptic": "^6.4.12"
|
|
55
|
+
"@bitgo-beta/sdk-api": "1.6.1-alpha.433",
|
|
56
|
+
"@bitgo-beta/sdk-test": "^9.1.19"
|
|
58
57
|
},
|
|
59
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "7835e2e18a44b657528177d045e43a6f1b54dbcd",
|
|
59
|
+
"files": [
|
|
60
|
+
"dist"
|
|
61
|
+
]
|
|
60
62
|
}
|
package/.mocharc.yml
DELETED
package/CHANGELOG.md
DELETED
|
@@ -1,127 +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
|
-
## [2.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@2.0.1...@bitgo/sdk-coin-stx@2.0.2) (2023-04-25)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
9
|
-
|
|
10
|
-
## [2.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@2.0.0...@bitgo/sdk-coin-stx@2.0.1) (2023-04-20)
|
|
11
|
-
|
|
12
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
13
|
-
|
|
14
|
-
# [2.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.15...@bitgo/sdk-coin-stx@2.0.0) (2023-04-13)
|
|
15
|
-
|
|
16
|
-
### Features
|
|
17
|
-
|
|
18
|
-
- **sdk-coin-stx:** update stx staking contract name ([e0701e0](https://github.com/BitGo/BitGoJS/commit/e0701e00d2aeb83459da518c2e7482cdfac68489))
|
|
19
|
-
|
|
20
|
-
### BREAKING CHANGES
|
|
21
|
-
|
|
22
|
-
- **sdk-coin-stx:** The old pox contract is no longer allowed, pox-2 must be used
|
|
23
|
-
|
|
24
|
-
BG-71631
|
|
25
|
-
|
|
26
|
-
## [1.4.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.14...@bitgo/sdk-coin-stx@1.4.15) (2023-02-17)
|
|
27
|
-
|
|
28
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
29
|
-
|
|
30
|
-
## [1.4.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.11...@bitgo/sdk-coin-stx@1.4.14) (2023-02-16)
|
|
31
|
-
|
|
32
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
33
|
-
|
|
34
|
-
## [1.4.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.11...@bitgo/sdk-coin-stx@1.4.13) (2023-02-08)
|
|
35
|
-
|
|
36
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
37
|
-
|
|
38
|
-
## [1.4.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.11...@bitgo/sdk-coin-stx@1.4.12) (2023-01-30)
|
|
39
|
-
|
|
40
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
41
|
-
|
|
42
|
-
## [1.4.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.10...@bitgo/sdk-coin-stx@1.4.11) (2023-01-25)
|
|
43
|
-
|
|
44
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
45
|
-
|
|
46
|
-
## [1.4.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.9...@bitgo/sdk-coin-stx@1.4.10) (2022-12-23)
|
|
47
|
-
|
|
48
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
49
|
-
|
|
50
|
-
## [1.4.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.8...@bitgo/sdk-coin-stx@1.4.9) (2022-12-20)
|
|
51
|
-
|
|
52
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
53
|
-
|
|
54
|
-
## [1.4.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.7...@bitgo/sdk-coin-stx@1.4.8) (2022-12-09)
|
|
55
|
-
|
|
56
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
57
|
-
|
|
58
|
-
## [1.4.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.6...@bitgo/sdk-coin-stx@1.4.7) (2022-12-06)
|
|
59
|
-
|
|
60
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
61
|
-
|
|
62
|
-
## [1.4.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.5...@bitgo/sdk-coin-stx@1.4.6) (2022-12-01)
|
|
63
|
-
|
|
64
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
65
|
-
|
|
66
|
-
## [1.4.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.0...@bitgo/sdk-coin-stx@1.4.5) (2022-11-29)
|
|
67
|
-
|
|
68
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
69
|
-
|
|
70
|
-
## [1.4.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.0...@bitgo/sdk-coin-stx@1.4.4) (2022-11-04)
|
|
71
|
-
|
|
72
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
73
|
-
|
|
74
|
-
## [1.4.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.0...@bitgo/sdk-coin-stx@1.4.2) (2022-10-27)
|
|
75
|
-
|
|
76
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
77
|
-
|
|
78
|
-
## [1.4.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.4.0...@bitgo/sdk-coin-stx@1.4.1) (2022-10-25)
|
|
79
|
-
|
|
80
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
81
|
-
|
|
82
|
-
# [1.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.1.0-rc.6...@bitgo/sdk-coin-stx@1.4.0) (2022-10-18)
|
|
83
|
-
|
|
84
|
-
### Bug Fixes
|
|
85
|
-
|
|
86
|
-
- **core:** fix bip32/ecpair, API vs Interface ([bec9c1e](https://github.com/BitGo/BitGoJS/commit/bec9c1e6ff0c23108dc27e171abdd3e4d2cfdfb1))
|
|
87
|
-
- **root:** align versions of bitcoinjs-lib ([b7eb929](https://github.com/BitGo/BitGoJS/commit/b7eb92998836a5945627ef1c80d74414b11f4867))
|
|
88
|
-
|
|
89
|
-
### Features
|
|
90
|
-
|
|
91
|
-
- update to work with bitcoinjs-lib@6 ([1950934](https://github.com/BitGo/BitGoJS/commit/1950934d9426385ee12b204cc7456327e4480618))
|
|
92
|
-
|
|
93
|
-
# [1.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.1.0-rc.6...@bitgo/sdk-coin-stx@1.1.0) (2022-07-19)
|
|
94
|
-
|
|
95
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
96
|
-
|
|
97
|
-
# [1.1.0-rc.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.1.0-rc.4...@bitgo/sdk-coin-stx@1.1.0-rc.6) (2022-07-19)
|
|
98
|
-
|
|
99
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
100
|
-
|
|
101
|
-
# [1.1.0-rc.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.1.0-rc.4...@bitgo/sdk-coin-stx@1.1.0-rc.5) (2022-07-18)
|
|
102
|
-
|
|
103
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
104
|
-
|
|
105
|
-
# [1.1.0-rc.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.1.0-rc.3...@bitgo/sdk-coin-stx@1.1.0-rc.4) (2022-07-15)
|
|
106
|
-
|
|
107
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
108
|
-
|
|
109
|
-
# [1.1.0-rc.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.1.0-rc.1...@bitgo/sdk-coin-stx@1.1.0-rc.3) (2022-07-15)
|
|
110
|
-
|
|
111
|
-
### Features
|
|
112
|
-
|
|
113
|
-
- **account-lib:** get rid of old ethereum lib ([abd2247](https://github.com/BitGo/BitGoJS/commit/abd2247047218d8cbd8ec7067d227721357f5fcc))
|
|
114
|
-
|
|
115
|
-
# [1.1.0-rc.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.1.0-rc.1...@bitgo/sdk-coin-stx@1.1.0-rc.2) (2022-07-14)
|
|
116
|
-
|
|
117
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
118
|
-
|
|
119
|
-
# [1.1.0-rc.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-stx@1.1.0-rc.0...@bitgo/sdk-coin-stx@1.1.0-rc.1) (2022-07-12)
|
|
120
|
-
|
|
121
|
-
**Note:** Version bump only for package @bitgo/sdk-coin-stx
|
|
122
|
-
|
|
123
|
-
# 1.1.0-rc.0 (2022-07-11)
|
|
124
|
-
|
|
125
|
-
### Features
|
|
126
|
-
|
|
127
|
-
- **sdk-coin-stx:** refactor stx to its own module ([80866b4](https://github.com/BitGo/BitGoJS/commit/80866b4161349efa513f801c0830029e5d5f36a3))
|